.testimonials-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.testimonial-row {
    display: flex;
    gap: 2rem;
    animation: scroll-left 40s linear infinite;
}

.testimonial-row:nth-child(2) {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.testimonial-card {
    min-width: 350px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.testimonial-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2rem 0;
    }

    .testimonials-grid {
        gap: 1.5rem;
    }

    .testimonial-card {
        min-width: 250px;
        padding: 1.25rem;
    }

    .testimonial-icon {
        width: 25px;
        height: 25px;
        font-size: 0.625rem;
    }

    .testimonial-text {
        font-size: var(--font-size-xs);
        margin-bottom: 0.75rem;
    }

    .testimonial-author {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonial-row {
        animation-duration: 50s;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-grid {
        gap: 1.5rem;
    }

    .testimonial-row {
        gap: 1.5rem;
        animation-duration: 60s;
    }

    .testimonial-card {
        min-width: 300px;
        padding: 1.25rem;
    }

    .testimonial-icon {
        width: 25px;
        height: 25px;
        font-size: 0.65rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
    }

    .testimonial-author {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .testimonial-card {
        min-width: 260px;
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 0.75rem;
    }

    .testimonial-author {
        font-size: 0.75rem;
    }
}