/* =========================================================
   TESTIMONIALS PAGE
========================================================= */


/* =========================================================
   HERO SECTION
========================================================= */

.testimonials-hero {
    min-height: 325px;
    background: turquoise;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;
}


.testimonials-hero-content {
    max-width: 850px;
    margin: 0 auto;
}


.testimonials-hero h1 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;
    font-size: 52px;
    line-height: 1.6;
    font-weight: 700;

    color: white;
}


.testimonials-hero p {
    max-width: 750px;
    margin: 0 auto;

    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;

    color: white;
}


/* =========================================================
   TESTIMONIALS SECTION
========================================================= */

.testimonials-section {
    background: #ffffff;

    padding: 80px 20px;
}


.testimonials-container {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.testimonials-header {
    grid-column: 1 / -1;

    text-align: center;

    margin-bottom: 25px;
}


.testimonials-header h2 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;

    color: #080808;
}


.testimonials-header p {
    max-width: 700px;

    margin: 0 auto;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    line-height: 1.7;

    color: #50657a;
}


/* =========================================================
   SHARE YOUR STORY BUTTON
========================================================= */

.story-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 25px;

    padding: 13px 24px;

    background: #df1b32;
    color: #ffffff;

    text-decoration: none;

    border-radius: 8px;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.story-button i {
    font-size: 14px;
}


.story-button:hover {
    background: #c9152a;

    transform: translateY(-2px);
}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.testimonial-card {
    background: #ffffff;

    border: 1px solid #cbd9dc;

    border-radius: 14px;

    padding: 35px 30px;

    text-align: left;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.testimonial-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   QUOTE ICON
========================================================= */

.quote-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #08b8bd;

    border-radius: 50%;

    margin-bottom: 22px;
}


.quote-icon i {
    color: #ffffff;

    font-size: 18px;
}


/* =========================================================
   TESTIMONIAL TEXT
========================================================= */

.testimonial-text {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 17px;
    line-height: 1.7;

    color: #17324d;
}


/* =========================================================
   DIVIDER
========================================================= */

.testimonial-divider {
    width: 50px;
    height: 2px;

    background: #08b8bd;

    margin: 25px 0 18px;
}


/* =========================================================
   TESTIMONIAL NAME
========================================================= */

.testimonial-card h3 {
    margin: 0 0 6px;

    font-family: "Playfair Display", serif;

    font-size: 21px;
    line-height: 1.4;

    font-weight: 700;

    color: #080808;
}


/* =========================================================
   TESTIMONIAL ROLE
========================================================= */

.testimonial-card span {
    display: block;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
    line-height: 1.5;

    color: #50657a;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .testimonials-hero {
        min-height: 280px;

        padding: 50px 20px;
    }


    .testimonials-hero h1 {
        font-size: 42px;
    }


    .testimonials-hero p {
        font-size: 17px;
    }


    .testimonials-section {
        padding: 60px 20px;
    }


    .testimonials-container {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .testimonials-header h2 {
        font-size: 32px;
    }


    .testimonials-header p {
        font-size: 16px;
    }


    .testimonial-card {
        padding: 30px 25px;
    }


    .testimonial-text {
        font-size: 16px;
    }

}