
/* =================================
   TESTIMONIAL SECTION
================================= */

.testimonials-section {
    padding: 85px 0;
    background: #F5F8FA;
}

.testimonial-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.testimonial-label {
    display: inline-block;
    color: #4B8B45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-heading h2 {
    color: #173B63;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.testimonial-heading p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-line {
    width: 60px;
    height: 4px;
    background: #F4A51C;
    border-radius: 5px;
    margin: 18px auto 0;
}

/* TESTIMONIAL GRID */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

/* TESTIMONIAL CARD */

.testimonial-card {
    position: relative;
    background: #FFFFFF;
    padding: 32px 27px;
    border: 1px solid #E7EDF2;
    border-radius: 10px;
    box-shadow: 0 7px 22px rgba(23, 59, 99, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(23, 59, 99, 0.10);
}

/* QUOTE ICON */

.quote-icon {
    position: absolute;
    top: 12px;
    right: 23px;
    color: #F4A51C;
    font-family: Georgia, serif;
    font-size: 75px;
    line-height: 1;
    opacity: 0.8;
}

/* STARS */

.testimonial-stars {
    color: #F4A51C;
    font-size: 17px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* TESTIMONIAL TEXT */

.testimonial-text {
    color: #505B68;
    font-size: 15px;
    line-height: 1.85;
    min-height: 125px;
    margin-bottom: 25px;
}

/* PERSON DETAILS */

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid #E9EEF2;
}

.person-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #173B63;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
}

.testimonial-person h3 {
    color: #173B63;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-person span {
    color: #7A8491;
    font-size: 12px;
}

/* FEATURED CARD */

.testimonial-card.featured {
    border-top: 4px solid #4B8B45;
}

/* BOTTOM CTA */

.testimonial-bottom {
    margin-top: 45px;
    padding: 25px 30px;
    background: #173B63;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-bottom p {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.testimonial-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: #F4A51C;
    color: #173B63;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: #FFFFFF;
    color: #173B63;
}

.testimonial-btn span {
    font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-heading h2 {
        font-size: 29px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card:last-child {
        grid-column: auto;
    }

    .testimonial-text {
        min-height: auto;
    }

    .testimonial-bottom {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}
