/*=========================================================
  GOOGLE REVIEW SECTION
=========================================================*/

.google-review-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg,#ffffff 0%,#f8faff 100%);
    overflow: hidden;
}

    .google-review-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(66,133,244,.06);
        top: -180px;
        right: -150px;
    }

    .google-review-section::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(123,97,255,.05);
        bottom: -150px;
        left: -150px;
    }


/*=========================================================
  HEADING
=========================================================*/

.review-heading {
    position: relative;
    z-index: 2;
}

.review-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    background: #eef4ff;
    color: #4285F4;
    font-weight: 600;
    font-size: 15px;
}

    .review-subtitle img {
        width: 22px;
    }

.review-heading h2 {
    font-size: 46px;
    font-weight: 800;
    margin-top: 20px;
    color: #202124;
}

.review-heading p {
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 17px;
    line-height: 1.8;
    color: #6b7280;
}


/*=========================================================
  GOOGLE SUMMARY BOX
=========================================================*/

.google-rating-summary {
    width: fit-content;
    margin: 55px auto;
    display: flex;
    align-items: center;
    gap: 35px;
    background: #fff;
    padding: 22px 35px;
    border-radius: 70px;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
    position: relative;
    z-index: 2;
}

.rating-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .rating-left img {
        width: 48px;
    }

    .rating-left strong {
        display: block;
        font-size: 34px;
        color: #202124;
        line-height: 1;
    }

.rating-divider {
    width: 1px;
    height: 50px;
    background: #E6EAF2;
}

.rating-right {
    font-size: 18px;
    color: #5f6368;
}

    .rating-right strong {
        color: #202124;
    }


/*=========================================================
  GOOGLE STARS
=========================================================*/

.google-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

    .google-stars i {
        color: #FFC107;
        font-size: 18px;
    }

    .google-stars span {
        margin-left: 10px;
        font-weight: 700;
        color: #202124;
    }


/*=========================================================
  SLIDER
=========================================================*/

.googleReviewSlider {
    position: relative;
    overflow: hidden;
    padding: 20px 8px 80px;
}

    .googleReviewSlider .swiper-wrapper {
        align-items: stretch;
    }

    .googleReviewSlider .swiper-slide {
        display: flex;
        height: auto;
        justify-content: center;
        align-items: stretch;
    }


/*=========================================================
  NAVIGATION
=========================================================*/

.google-prev,
.google-next {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: #4285F4;
    border: 2px solid #EDF2FF;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transition: .35s;
}

    .google-prev:hover,
    .google-next:hover {
        background: #4285F4;
        color: #fff;
        border-color: #4285F4;
    }

    .google-prev::after,
    .google-next::after {
        font-size: 18px;
        font-weight: 700;
    }

    .google-prev.swiper-button-prev {
        top: 65%;
        transform: translateY(-50%);
    }

    .google-next.swiper-button-next {
        top: 65%;
        transform: translateY(-50%);
    }

/*=========================================================
  PAGINATION
=========================================================*/

.google-pagination {
    bottom: 0 !important;
}

    .google-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        border-radius: 30px;
        background: #D9E5FF;
        opacity: 1;
        transition: .35s;
    }

    .google-pagination .swiper-pagination-bullet-active {
        width: 34px;
        background: #4285F4;
    }

/*=========================================================
  Gemini Style
=========================================================*/

/*=========================================================
  GOOGLE REVIEW CARD
=========================================================*/

.google-review-card {
    position: relative;
    width: 100%;
    max-width:390px;
    height: 100%;
    min-height:360px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 26px;
    padding: 28px;
    overflow: hidden;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
}

    .google-review-card::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1.5px;
        border-radius: inherit;
        background: linear-gradient( 135deg, #4285F4, #34A853, #FBBC05, #EA4335 );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .google-review-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(66,133,244,.15);
    }


/*=========================================================
  REVIEW TOP
=========================================================*/

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.review-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 50px;
    background: #eef4ff;
    color: #4285F4;
    font-size: 13px;
    font-weight: 600;
}

.google-logo {
    width: 28px;
    height: 28px;
}


/*=========================================================
  USER INFO
=========================================================*/

.review-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.review-user h4 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: #202124;
}


/*=========================================================
  COUNTRY
=========================================================*/

.country {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
}

    .country img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        object-fit: cover;
    }


/*=========================================================
  STAR RATING
=========================================================*/

.google-review-card .google-stars {
    margin-bottom: 18px;
}

    .google-review-card .google-stars i {
        color: #FFC107;
        font-size: 18px;
    }


/*=========================================================
  REVIEW TEXT
=========================================================*/

.review-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.9;
    color: #5f6368;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

    .review-text::before {
        content: "\201C";
        position: absolute;
        left: -8px;
        top: -24px;
        font-size: 70px;
        color: rgba(66,133,244,.08);
        font-family: serif;
        line-height: 1;
        z-index: -1;
    }


/*=========================================================
  FOOTER
=========================================================*/

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf2f7;
    padding-top: 18px;
}

    .review-footer img {
        width: 22px;
    }

    .review-footer span {
        margin-left: 8px;
        font-size: 14px;
        color: #5f6368;
        flex: 1;
    }

    .review-footer small {
        color: #9aa0a6;
        font-size: 13px;
    }


/*=========================================================
  HOVER EFFECTS
=========================================================*/

.google-review-card:hover .review-avatar {
    transform: scale(1.06);
    transition: .35s;
}

.google-review-card:hover .review-category {
    background: #4285F4;
    color: #fff;
}

.google-review-card:hover .google-logo {
    transform: rotate(10deg) scale(1.08);
    transition: .35s;
}

.google-review-card:hover .review-text::before {
    color: rgba(66,133,244,.15);
}


/*=========================================================
  Responsive
=========================================================*/

/*=========================================================
  CARD ANIMATIONS
=========================================================*/

.google-review-card,
.review-avatar,
.review-category,
.google-logo,
.review-text,
.review-footer {
    transition: all .35s ease;
}

    .google-review-card:hover .review-footer {
        border-color: #dce7ff;
    }

        .google-review-card:hover .review-footer small {
            color: #4285F4;
        }

    .google-review-card:hover .review-user h4 {
        color: #4285F4;
    }

    .google-review-card:hover .country {
        color: #202124;
    }


    /*=========================================================
  FLOATING SHAPES
=========================================================*/

    .google-review-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(66,133,244,.04);
        top: -90px;
        right: -90px;
        transition: .5s;
    }

    .google-review-card:hover::after {
        transform: scale(1.2);
    }


/*=========================================================
  IMAGE ANIMATION
=========================================================*/

.review-avatar {
    transition: transform .4s ease;
}

.google-review-card:hover .review-avatar {
    transform: scale(1.08) rotate(-2deg);
}


/*=========================================================
  CATEGORY ANIMATION
=========================================================*/

.review-category {
    transition: .35s;
}

.google-review-card:hover .review-category {
    background: linear-gradient(135deg,#4285F4,#6C63FF);
    color: #fff;
}


/*=========================================================
  GOOGLE LOGO
=========================================================*/

.google-logo {
    transition: .35s;
}

.google-review-card:hover .google-logo {
    transform: rotate(10deg);
}


/*=========================================================
  NAVIGATION POSITION
=========================================================*/

.googleReviewSlider .swiper-button-prev {
    left: -30px;
}

.googleReviewSlider .swiper-button-next {
    right: -30px;
}


/*=========================================================
  TABLET
=========================================================*/

@media (max-width:991px) {

    .google-review-section {
        padding: 70px 0;
    }

    .review-heading h2 {
        font-size: 36px;
    }

    .review-heading p {
        font-size: 16px;
    }

    .google-rating-summary {
        flex-direction: column;
        gap: 20px;
        border-radius: 28px;
        padding: 24px;
    }

    .rating-divider {
        width: 100%;
        height: 1px;
    }

    .googleReviewSlider .swiper-button-prev {
        left: -8px;
    }

    .googleReviewSlider .swiper-button-next {
        right: -8px;
    }
}


/*=========================================================
  MOBILE
=========================================================*/

@media (max-width:767px) {

    .google-review-section {
        padding: 60px 0;
    }

    .review-heading h2 {
        font-size: 30px;
    }

    .review-heading p {
        font-size: 15px;
    }

    .review-subtitle {
        font-size: 14px;
        padding: 8px 18px;
    }

    .google-rating-summary {
        width: 100%;
        padding: 20px;
        border-radius: 22px;
    }

    .rating-left strong {
        font-size: 28px;
    }

    .rating-right {
        font-size: 15px;
        text-align: center;
    }

    .google-review-card {
        padding: 22px;
        border-radius: 22px;
    }

    .review-avatar {
        width: 64px;
        height: 64px;
    }

    .review-user h4 {
        font-size: 18px;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .review-footer {
        flex-wrap: wrap;
        gap: 8px;
    }

    .googleReviewSlider {
        padding-bottom: 70px;
    }

        .googleReviewSlider .swiper-button-prev,
        .googleReviewSlider .swiper-button-next {
            width: 44px;
            height: 44px;
        }

        .googleReviewSlider .swiper-button-prev {
            left: 0;
        }

        .googleReviewSlider .swiper-button-next {
            right: 0;
        }
}


/*=========================================================
  SMALL MOBILE
=========================================================*/

@media (max-width:480px) {

    .google-review-card {
        padding: 18px;
    }

    .review-avatar {
        width: 56px;
        height: 56px;
    }

    .review-user {
        gap: 12px;
    }

        .review-user h4 {
            font-size: 17px;
        }

    .country {
        font-size: 13px;
    }

    .review-text {
        font-size: 13px;
    }

    .google-stars i {
        font-size: 16px;
    }
}


/*=========================================================
  ACCESSIBILITY
=========================================================*/

.google-review-card:focus-visible {
    outline: 3px solid #4285F4;
    outline-offset: 5px;
}

.google-prev:focus-visible,
.google-next:focus-visible {
    outline: 3px solid #4285F4;
}


/*=========================================================
  PERFORMANCE
=========================================================*/

.google-review-card,
.review-avatar,
.google-logo {
    will-change: transform;
}