.partners-wrapper {
    padding: 2rem 0;
    background: white;
    margin-top: -2rem; /* To remove gap between hero and partners section */
}

.partners-wrapper h2 {
    margin-bottom: 2rem;
}

.partners-scroll {
    overflow: hidden;
    padding: 20px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos-slide {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logos-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.partners-scroll:hover .logos-slide {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logos-slide img {
        height: 40px;
        margin: 0 20px;
    }
}