/* Partners (Parceiros) Scrolling Logo Animation */
.partners-section {
    padding: 60px 0;
    overflow: hidden;
    background-color: transparent;
    /* Or any background you prefer */
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--e-global-typography-secondary-font-family), "Varela", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--e-global-color-accent);
}

.partners-carousel-track {
    display: flex;
    gap: 50px;
    /* Space between logos */
    animation: scrollLogos 20s linear infinite;
    will-change: transform;
    width: max-content;
    /* Ensure the track is wide enough */
}

/* Pause animation on hover if desired */
.partners-carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    /* Adjust based on logo needs */
    height: 100px;
    /* Consistent height */
}

.partner-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    /* Optional: Make logos grayscale initially */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

    100% {
        transform: translateX(-33.33%);
        /* Scroll one-third of the width since we triplicated the content (original + 2 copies) */
    }
}

/* Specific responsiveness */
@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0;
    }

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

    .partners-carousel-track {
        gap: 30px;
        animation-duration: 15s;
        /* Slightly faster on mobile if needed or keep same */
    }

    .partner-logo {
        min-width: 120px;
        height: 80px;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 60px;
    }
}