/* =========================================
   TESTIMONIALS SECTION
========================================= */

.testimonials-section {
    padding: 100px 0;
    background: #f4f7fc;
}


.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================
   HEADING
========================================= */

.testimonials-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}


.testimonials-heading .section-label {
    display: inline-block;
    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #2fa7a0;
}


.testimonials-title {
    margin: 0 0 20px;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;

    color: #172a54;
}


.testimonials-title span {
    display: block;
}


.testimonials-title span:last-child {
    color: #2fa7a0;
}


.testimonials-description {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.8;

    color: #667085;
}


/* =========================================
   GRID
========================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* =========================================
   CARD
========================================= */

.testimonial-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e7ecf3;
    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(23, 42, 84, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.testimonial-card:hover {
    transform: translateY(-6px);

    border-color: rgba(47, 167, 160, 0.35);

    box-shadow:
        0 20px 45px rgba(23, 42, 84, 0.09);
}


/* =========================================
   QUOTE
========================================= */

.testimonial-quote-mark {
    margin-bottom: 10px;

    font-size: 56px;
    line-height: 1;

    font-weight: 800;

    color: #2fa7a0;
}


/* =========================================
   TYPE
========================================= */

.testimonial-type {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #2fa7a0;
}


/* =========================================
   TITLE
========================================= */

.testimonial-card h3 {
    margin: 0 0 18px;

    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;

    color: #172a54;
}


/* =========================================
   TEXT
========================================= */

.testimonial-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #667085;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .testimonials-grid {
        grid-template-columns: 1fr;
    }


    .testimonial-card {
        padding: 28px;
    }

}


@media (max-width: 600px) {

    .testimonials-section {
        padding: 70px 0;
    }


    .testimonials-container {
        padding: 0 18px;
    }


    .testimonials-heading {
        margin-bottom: 38px;
    }


    .testimonials-title {
        font-size: 32px;
    }


    .testimonial-card {
        padding: 24px;
    }


    .testimonial-card h3 {
        font-size: 19px;
    }


    .testimonial-card p {
        font-size: 14px;
    }

}