/* Testimonials Section */
.testimonials {
    background: var(--color-surface);
}

.testimonials-container {
    max-width: 1400px;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    animation: marquee 15s linear infinite;
    width: 100%;
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 340px;
    max-width: 460px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.name {
    color: var(--text-primary);
}

.meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rating {
    color: #F2A900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.quote {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .testimonial-card {
        min-width: 300px;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
        padding: 1rem;
    }

    .testimonial-header {
        gap: 0.5rem;
    }

    .avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .name {
        font-size: 0.9rem;
    }

    .meta {
        font-size: 0.8rem;
    }

    .quote {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: 260px;
        max-width: 280px;
        padding: 0.875rem;
    }

    .testimonial-header {
        margin-bottom: 0.5rem;
    }

    .avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .name {
        font-size: 0.85rem;
    }

    .meta {
        font-size: 0.75rem;
    }

    .rating {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .quote {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .testimonial-card {
        min-width: 240px;
        max-width: 260px;
        padding: 0.75rem;
    }
}

@media print {
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

