/* Partners Section - Figma Design - Infinite Logo Carousel */
.partners-section {
    background-color: #E8E2D9; /* Beige background like in Figma */
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Partners Group Styling */
.partners-group {
    margin-bottom: 40px;
}

.member-group {
    margin-top: 30px;
    margin-bottom: 0;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.orange-bar {
    width: 6px;
    height: 60px;
    background-color: #DE5700;
    border-radius: 3px;
    flex-shrink: 0;
}

.section-title {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-size: 55px;
    font-weight: bold;
    color: #3A3A3A;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Single Logo Wrapper - When only one logo exists */
.single-logo-wrapper {
    padding-left: 26px;
}

.single-logo-wrapper .partner-item,
.single-logo-wrapper .member-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
}

/* ============================================
   INFINITE MARQUEE ANIMATION STYLES
   ============================================ */

.logo-marquee-wrapper {
    overflow: hidden;
    padding-left: 26px;
    width: 100%;
}

.logo-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.logo-marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee-scroll 8s linear infinite;
    will-change: transform;
}

/* Keyframe animation for infinite scroll */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Logo items */
.logo-item {
    flex-shrink: 0;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
}

.partner-item img {
    max-height: 100px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
}

.member-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px 15px;
}

.member-item img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
}

/* Pause animation on hover (optional - remove if you don't want this) */
/*
.logo-marquee:hover .logo-marquee-content {
    animation-play-state: paused;
}
*/

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .orange-bar {
        height: 40px;
        width: 4px;
    }

    .section-header {
        gap: 15px;
        margin-bottom: 30px;
    }

    .logo-marquee-wrapper,
    .single-logo-wrapper {
        padding-left: 19px; /* Adjust for smaller orange bar */
    }

    .logo-marquee-content {
        gap: 30px;
    }

    .partner-item img {
        max-height: 80px;
        max-width: 220px;
    }

    .member-item img {
        max-height: 60px;
        max-width: 140px;
    }

    .partners-group {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

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

    .logo-marquee-content {
        gap: 25px;
    }

    .partner-item img {
        max-height: 70px;
        max-width: 180px;
    }

    .member-item img {
        max-height: 50px;
        max-width: 120px;
    }
}
