/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: var(--primary-color, #1c3f60);
    padding: 80px 5%;
    color: #fff;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 56px;
}

.testimonials-header p.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
}

.testimonials-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

.testimonials-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.testimonials-stars svg {
    width: 20px;
    height: 20px;
    fill: #d4a853;
}

.testimonials-rating-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* --- Testimonial Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* --- Individual Card --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card stars */
.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-card__stars svg {
    width: 16px;
    height: 16px;
    fill: #d4a853;
}

/* Quote text */
.testimonial-card__quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px 0;
    flex-grow: 1;
}

/* Attribution */
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.testimonial-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.testimonial-card__detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    letter-spacing: 0.02em;
}

/* --- CTA below testimonials --- */
.testimonials-cta {
    text-align: center;
    margin-top: 48px;
}

.testimonials-cta a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 12px 32px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.testimonials-cta a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 5%;
    }

    .testimonials-header {
        margin-bottom: 40px;
    }

    .testimonials-header h2 {
        font-size: 1.6rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }
}
