/* Standalone Partners Section Styles */

.custom-partners-section {
    width: 100%;
    padding: 80px 0;
    background-color: #e6bd43 !important; /* Force explicit yellow background */
    overflow: hidden;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
}

.custom-partners-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    color: #191B1D;
    letter-spacing: 1px;
}

.partners-ticker-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.partners-ticker-track {
    display: flex;
    width: fit-content;
    animation: scroll-ticker 40s linear infinite;
}

.partners-ticker-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.partner-logo-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-logo-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Assumes we clone the content once */
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .custom-partners-section {
        padding: 50px 0;
    }
    .custom-partners-section .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .partner-logo-item {
        width: 150px;
        height: 100px;
        margin: 0 15px;
    }
}
