/*==================================================
    TESTIMONIAL SECTION
==================================================*/

.testimonial-section {
    padding: 100px 0;
    background: #f8fbff;
    overflow: hidden;
}

/*==================================================
    SECTION HEADING
==================================================*/

.testimonial-section .section-heading {
    margin-bottom: 60px;
}

.testimonial-section .section-badge {
    display: inline-block;
    padding: 10px 24px;
    background: #eaf2ff;
    color: #0d6efd;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.testimonial-section h2 {
    font-size: 46px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.testimonial-section h2 span {
    color: #0d6efd;
}

.testimonial-section .section-heading > p {
    max-width: 720px;
    margin: auto;
    color: #64748b;
    line-height: 1.8;
}

/*==================================================
    GOOGLE REVIEW
==================================================*/

.google-review {
    width: 270px;
    margin: 0 auto 60px;
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.google-review img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 15px;
}

.google-review h3 {
    font-size: 40px;
    color: #0d6efd;
    font-weight: 700;
}

.google-review .stars {
    color: #ffc107;
    letter-spacing: 3px;
    font-size: 20px;
    margin: 10px 0;
}

.google-review span {
    color: #64748b;
    font-size: 14px;
}

/*==================================================
    SWIPER
==================================================*/

.testimonialSwiper {
    padding: 20px 10px 60px;
    overflow: hidden;
}

.testimonialSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/*==================================================
    TESTIMONIAL CARD
==================================================*/

.testimonial-card {
    width: 100%;
    background: #fff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: 0.35s;
    position: relative;
    border: 1px solid #eef2f7;

    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(13, 110, 253, 0.15);
}

/*==================================================
    QUOTE ICON
==================================================*/

.testimonial-card .quote {
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    margin-bottom: 25px;

    flex-shrink: 0;
}

/*==================================================
    REVIEW TEXT
==================================================*/

.testimonial-card > p {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
    margin: 0 0 30px;

    flex-grow: 1;
}

/*==================================================
    STUDENT
==================================================*/

.testimonial-card .student {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: auto;
}

/*==================================================
    STUDENT IMAGE
==================================================*/

.testimonial-card .student img {
    width: 70px !important;
    height: 70px !important;

    min-width: 70px !important;
    max-width: 70px !important;

    min-height: 70px !important;
    max-height: 70px !important;

    object-fit: cover !important;

    border-radius: 50% !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 3px solid #eaf2ff !important;

    flex: 0 0 70px !important;
}

/*==================================================
    STUDENT NAME
==================================================*/

.testimonial-card .student > div {
    min-width: 0;
}

.testimonial-card .student h4 {
    margin: 0 0 5px;

    color: #0f172a;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.3;
}

.testimonial-card .student span {
    color: #64748b;

    font-size: 14px;

    line-height: 1.4;
}

/*==================================================
    SWIPER PAGINATION
==================================================*/

.testimonialSwiper .swiper-pagination {
    bottom: 10px;
}

.testimonialSwiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 0.5;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/*==================================================
    MOBILE
==================================================*/

@media (max-width: 991px) {

    .testimonial-section {
        padding: 70px 0;
    }

    .testimonial-section h2 {
        font-size: 38px;
    }

}

@media (max-width: 767px) {

    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-section h2 {
        font-size: 32px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card .quote {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .testimonial-card .student img {
        width: 60px !important;
        height: 60px !important;

        min-width: 60px !important;
        max-width: 60px !important;

        min-height: 60px !important;
        max-height: 60px !important;

        flex: 0 0 60px !important;
    }

    .testimonial-card .student h4 {
        font-size: 16px;
    }

}

/*==================================================
    EXTRA SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .testimonial-section h2 {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 22px;
    }

}