:root {
    --primary-color: #CFFF0E;
    --secondary-color: #0F2E51;
    --text-color: #333;
    --bg-color: #fff;
    --transition-speed: 0.6s;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

main {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    opacity: 0;
    animation: fadeInUp 1s var(--ease) forwards;
}

#banner1 {
    animation-delay: 0.2s;
}

#banner2 {
    animation-delay: 0.4s;
}

#banner3 {
    animation-delay: 0.6s;
}

#partners {
    animation-delay: 0.8s;
}

#banner5 {
    animation-delay: 1s;
}

.banner-container {
    width: 100%;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Absolute Buttons */
.abs-btn {
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 10;
    border-radius: 50px;
    background-color: transparent;
    transition: transform 0.3s var(--ease);
}

.abs-btn:hover {
    transform: scale(1.02);
}

/* Specific Positions (Desktop) */
.btn-banner1 {
    bottom: 27.5%;
    left: 4.1%;
    width: 36.5%;
    height: 8.5%;
}

.btn-banner2 {
    bottom: 21%;
    left: 65.7%;
    width: 13.5%;
    height: 4.5%;
}

.btn-banner5 {
    bottom: 28.5%;
    left: 6.2%;
    width: 33.3%;
    height: 8.5%;
}

/* Slider Section */
.slider-section {
    width: 100%;
    padding: 0;
    background: white;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.slider-wrapper {
    width: 100%;
    margin: 0;
    position: relative;
    padding: 0;
}

.slider-track {
    display: flex;
    transition: transform var(--transition-speed) var(--ease);
}

.slide-item {
    min-width: 100%;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: white;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-slide1 {
    bottom: 15.5%;
    left: 44.1%;
    width: 39.7%;
    height: 10.5%;
}

.btn-slide2 {
    bottom: 15.5%;
    left: 42.4%;
    width: 53.6%;
    height: 10.5%;
}

.btn-slide3 {
    bottom: 15.5%;
    left: 42.1%;
    width: 52.4%;
    height: 10.5%;
}

/* Partners Section - Infinite Loop Fix */
.partners-section {
    width: 100%;
    padding: 80px 0;
    background-color: white;
    text-align: center;
    overflow: hidden;
}

.partners-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scrollInfinite 25s linear infinite;
}

.partner-logo {
    display: inline-block;
    padding: 0 50px;
    /* Instead of gap, use padding for perfect 50% split */
    height: 80px;
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Floater WhatsApp */
.wa-floater {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s var(--ease);
    text-decoration: none;
}

.wa-floater:hover {
    transform: scale(1.1) rotate(10deg);
}

.wa-floater svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Mobile */
@media (max-width: 767px) {
    .btn-banner1 {
        top: 27.8%;
        left: 20%;
        width: 60%;
        height: 3.2%;
        bottom: auto;
    }

    .btn-banner2 {
        top: 86.8%;
        left: 38% !important;
        width: 24%;
        height: 1.8%;
        bottom: auto;
    }

    .btn-banner5 {
        top: 34.3%;
        left: 9.8%;
        width: 80.5%;
        height: 5.5%;
        bottom: auto;
    }

    .btn-slide1 {
        bottom: 5.2%;
        left: 11.5%;
        width: 77%;
        height: 4.5%;
    }

    .btn-slide2 {
        bottom: 3.8%;
        left: 30%;
        width: 46%;
        height: 4.5%;
    }

    .btn-slide3 {
        bottom: 3.8%;
        left: 17.5%;
        width: 71%;
        height: 4.5%;
    }

    .partners-section {
        padding: 40px 0;
    }

    .partners-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .partner-logo {
        padding: 0 25px;
        height: 50px;
    }
}