* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: font1;
    src: url(/assets/font/Gilroy-Bold.ttf);
}

body {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

nav {
    z-index: 99999 !important;
}

h3 {
    font-family: font1 !important;
}

html {
    scroll-behavior: smooth;
}


.menu-item {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-item.active {
    opacity: 1;
    transform: translateY(0);
}


.sidebar {
    position: fixed;
    top: 0;
    right: -260px;
    /* Hide sidebar by default */
    width: 250px;
    height: 100%;
    background-color: #000;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
    /* Show sidebar when active */
}

.toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.toggle-btn span {
    display: block;
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

.toggle-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.toggle-btn.active span:nth-child(2) {
    opacity: 0;
}

.toggle-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.bg_hero {
    background-image: url(/assets/images/bg-hero.png);
    background-repeat: no-repeat;
    /* background-position: center; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.bg_gif {
    background-image: url(/assets/images/gif.gif);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.container_main {
    padding: 0px 120px;
}




/* slider  */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 8px;
}

.box {
    flex: 0 0 25%;
    text-align: center;
    margin: auto;
}



/* slider  */

.new-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.new-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.new-box {
    flex: 0 0 25%;
    /* Show 4 boxes per row */
    text-align: center;
    width: 100%;
    margin: auto;

}


.scaleup {

    transition: transform 0.3s ease;
    /* Smooth transition for scaling */
}

.scaleup:hover {
    transform: scale(1.2);
    /* Scale up to 120% on hover */
}


.upanddown {
    animation: moveUpDown 2s ease-in-out infinite;
}


.leftright {

    animation: moveLeftRight 2s ease-in-out infinite;
}


.bounce {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-10px);
    }
}

@keyframes moveLeftRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }
}

@keyframes moveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}





@media screen and (min-width: 480px) and (max-width:768px) {
    .toggle-btn {
        left: auto;
        right: 20px;
    }

    .container_main {
        padding: 0px 40px;
    }


    .box {
        flex: 0 0 50%;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .new-box {
        flex: 0 0 50%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin: auto;
    }

}

@media screen and (max-width: 480px) {
    .toggle-btn {
        left: auto;
        right: 20px;
    }

    .container_main {
        padding: 0px 20px;
    }

    .box {
        flex: 0 0 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin: auto;

    }

    .new-box {
        flex: 0 0 100%;
        text-align: center;
        display: flex;
        margin: auto;
    }
}