.partners-section {
    padding: 80px 20px;
    background: #f8f9fb;
    text-align: center;
}

.partners-header h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #192850;
}

.partners-header p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #333;
}

/* Infinite Scroll Without Duplicates */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;

    /* fade edges */
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.partners-inner {
    display: flex;
    gap: 80px;
    animation: scrollOneSet 12s linear infinite;
}

.partners-inner img {
    width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s ease;
}

.partners-inner img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Keyframes to loop based on container width */
@keyframes scrollOneSet {
    0% {
        transform: translateX(100%);
    }

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

/* Testimonial */
.partner-testimonial {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 30px;
    background: #192850;
    color: #fff;
    border-radius: 12px;
    animation: fadeUp 1s ease;
}

.partner-testimonial blockquote {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.partner-name {
    opacity: 0.8;
}

/* Fade Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .partners-inner img {
        width: 80px;
    }
}
