/* =========================================
   HOSPITAL TESTIMONIALS
========================================= */

.hospital-testimonials {
    background: #f8faf9;
    overflow: hidden;
}


/* Badge */

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    background: #dff5ed;
    color: #136a60;
    font-size: 12px;
    letter-spacing: 1px;
}

.testimonial-badge span {
    font-size: 15px;
}


/* Heading */

.testimonial-heading {
    color: #12372a;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.testimonial-description {
    color: #626d68;
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
}


/* Rating */

.rating-summary {
    border-radius: 16px;
    background: #fff;
}

.testimonial-stars {
    color: #e5a719;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-number {
    color: #12372a;
    font-size: 18px;
    font-weight: 700;
}

.rating-number small {
    color: #6c757d;
    font-size: 12px;
    font-weight: 400;
}

.verified-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: #e5f5ee;
    border-radius: 30px;
    color: #136a60;
    font-size: 12px;
    font-weight: 600;
}


/* Navigation */

.testimonial-navigation {
    gap: 10px;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #12372a;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    transition: .25s ease;
}

.testimonial-nav-btn:hover {
    background: #12372a;
    color: #fff;
    transform: translateY(-2px);
}


/* Dots */

.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.testimonial-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 20px;
    background: #cbd8d2;
    cursor: pointer;
    transition: .3s ease;
}

.testimonial-dot.active {
    width: 30px;
    background: #12372a;
}


/* Trust */

.testimonial-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial-trust div {
    color: #68736e;
    font-size: 12px;
    font-weight: 600;
}

.testimonial-trust span {
    color: #136a60;
}


/* =========================================
   TESTIMONIAL CAROUSEL
========================================= */

.testimonials-carousel {
    width: 100%;
    overflow: hidden;
    padding: 15px 0 25px;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform .5s ease;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 380px;
}


/* Card */

.testimonial-card {
    min-height: 315px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
    transition: .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .09);
}

.testimonial-card-footer {
    border-top: 1px solid #edf0ee;
}


/* Verified */

.verified-label {
    padding: 5px 10px;
    border-radius: 30px;
    background: #e5f5ee;
    color: #136a60;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}


/* Message */

.testimonial-message {
    color: #35403b;
    font-size: 15px;
    line-height: 1.8;
}


/* Patient */

.patient-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #12372a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.patient-name {
    color: #12372a;
    font-size: 15px;
    font-weight: 700;
}

.patient-location {
    color: #717a76;
    font-size: 12px;
}

.patient-service {
    padding: 7px 10px;
    border-radius: 5px;
    background: #edf4f1;
    color: #136a60;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}


/* =========================================
   CTA
========================================= */

.testimonials-cta {
    padding: 38px 40px;
    border-radius: 18px;
    background: #12372a;
    color: #fff;
}

.cta-label {
    display: block;
    margin-bottom: 8px;
    color: #a4f1e4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.testimonials-cta h3 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.3;
}

.testimonials-cta p {
    color: #c3ebd8;
    font-size: 14px;
    line-height: 1.6;
}

.cta-primary,
.cta-secondary {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
}

.cta-primary {
    background: #a4f1e4;
    color: #002116;
}

.cta-primary:hover {
    background: #fff;
    color: #002116;
}

.cta-secondary {
    background: #29483d;
    color: #fff;
}

.cta-secondary:hover {
    background: #3b5d51;
    color: #fff;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .testimonial-heading {
        font-size: 32px;
    }

    .testimonial-description {
        font-size: 15px;
    }

    .testimonial-slide {
        flex: 0 0 calc(100vw - 55px);
    }

    .testimonial-card {
        min-height: 320px;
    }

    .testimonial-card-footer .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .patient-service {
        margin-top: 5px;
    }

    .testimonial-trust {
        flex-direction: column;
        gap: 10px;
    }

    .testimonials-cta {
        padding: 30px 22px;
    }

    .testimonials-cta h3 {
        font-size: 23px;
    }

}