/* =========================================================
   GOOGLE REVIEWS SECTION
   ========================================================= */

.review-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   FIXED 1200px CONTAINER
   ========================================================= */

.review-section .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.review-section .section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
}

.review-section .section-title {
    margin: 0;
    color: #101828;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.review-section .section-text {
    max-width: 760px;
    margin: 18px auto 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   GOOGLE SUMMARY
   ========================================================= */

.google-summary {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 28px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(16, 24, 40, .08);
}


/* =========================================================
   GOOGLE LEFT
   ========================================================= */

.google-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.google-left img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.google-left h3 {
    margin: 0;
    color: #101828;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}


/* =========================================================
   GOOGLE STARS
   ========================================================= */

.google-left .stars {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    margin: 8px 0 5px;
}

.google-left .stars i {
    color: #fbbc04;
    font-size: 17px;
}

.google-left p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.google-left p span {
    color: #101828;
    font-weight: 700;
}


/* =========================================================
   GOOGLE BUTTON
   ========================================================= */

.google-summary .btn {
    flex-shrink: 0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}


/* =========================================================
   REVIEW SLIDER
   ========================================================= */

.review-slider {
    position: relative;
    width: 100%;
}


/* =========================================================
   REVIEW TRACK
   ========================================================= */

.review-track {
    display: flex;
    align-items: stretch;
    gap: 24px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 8px 5px 25px;

    scroll-behavior: smooth;
    scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   REVIEW CARD
   ========================================================= */

.review-box {
    position: relative;

    flex: 0 0 calc((100% - 48px) / 3);

    min-width: 0;
    min-height: 260px;

    padding: 28px 25px;

    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(16, 24, 40, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.review-box:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(16, 24, 40, .12);
}


/* =========================================================
   REVIEW TOP
   ========================================================= */

.review-top {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 50%;

    object-fit: cover;
}


/* =========================================================
   REVIEW AVATAR FALLBACK
   ========================================================= */

.review-avatar-text {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #0d6efd;
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   REVIEW NAME
   ========================================================= */

.review-name {
    color: #101828;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.review-date {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   REVIEW RATING
   ========================================================= */

.review-rating {
    display: flex;
    align-items: center;
    gap: 3px;

    margin-bottom: 14px;
}

.review-rating i {
    color: #fbbc04;
    font-size: 15px;
}

.review-rating span {
    margin-left: 7px;
    color: #667085;
    font-size: 13px;
}


/* =========================================================
   REVIEW TEXT
   ========================================================= */

.review-text {
    margin: 0;

    color: #475467;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   SLIDER ARROWS
   ========================================================= */

.review-arrow {
    position: absolute;
    top: 50%;

    z-index: 10;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #0d6efd;
    color: #ffffff;

    box-shadow:
        0 6px 18px rgba(13, 110, 253, .25);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.review-arrow:hover {
    transform: translateY(-50%) scale(1.06);

    box-shadow:
        0 9px 22px rgba(13, 110, 253, .32);
}

.review-arrow.prev {
    left: -22px;
}

.review-arrow.next {
    right: -22px;
}

.review-arrow i {
    font-size: 15px;
}


/* =========================================================
   LOADING
   ========================================================= */

.review-track .loading {
    width: 100%;
    padding: 45px 20px;

    text-align: center;

    color: #667085;
    font-size: 15px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .review-section {
        padding: 80px 0;
    }

    .review-section .section-title {
        font-size: 36px;
    }

    .google-summary {
        max-width: 100%;
    }

    .review-box {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .review-arrow.prev {
        left: 5px;
    }

    .review-arrow.next {
        right: 5px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .review-section {
        padding: 65px 0;
    }

    .review-section .section-title {
        font-size: 30px;
    }

    .review-section .section-text {
        font-size: 15px;
    }

    .google-summary {
        padding: 24px 20px;

        flex-direction: column;
        align-items: flex-start;

        gap: 22px;
    }

    .google-left {
        width: 100%;
    }

    .google-summary .btn {
        width: 100%;
        text-align: center;
    }

    .review-box {
        flex: 0 0 100%;
        min-height: 240px;
    }

    .review-arrow {
        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .review-section {
        padding: 55px 0;
    }

    .review-section .section-title {
        font-size: 27px;
    }

    .google-left {
        gap: 16px;
    }

    .google-left img {
        width: 48px;
        height: 48px;
    }

    .google-left h3 {
        font-size: 32px;
    }

    .review-box {
        padding: 24px 20px;
    }

}