/* Testimonials Section */
.testimonials {
    padding: 6em 2em;
}

.testimonials .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

.testimonials .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 3em;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--g-gap);
    max-width: 1200px;
    margin: 0 auto;
}

/* Testimonial Item */
.testimonial-item {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 2em 1.5em;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-item:nth-child(1) {
    animation-delay: 0.3s;
}

.testimonial-item:nth-child(2) {
    animation-delay: 0.5s;
}

.testimonial-item:nth-child(3) {
    animation-delay: 0.7s;
}

.testimonial-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Quote */
.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1.5em;
    line-height: 1.6;
    position: relative;
}

.testimonial-quote::before {
    content: "“";
    font-size: 2rem;
    color: var(--color-highlight);
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

/* Client Info */
.testimonial-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
}

.testimonial-client img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-client span {
    font-weight: 600;
    color: var(--color-primary);
}

/* Responsive */
@media screen and (max-width: 576px) {
    .testimonials .section-title {
        font-size: 2rem;
    }

    .testimonials .section-subtitle {
        font-size: 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-client img {
        width: 40px;
        height: 40px;
    }
}