body.home .review-block {
    background: #f7f7f7;
}
.et_pb_section.our-services.testimonial_video_sec{
    position: relative;
    z-index: 0;
}
/* Prevent layout shift */
.gr-google-reviews {
    opacity: 0;
    visibility: hidden;
}
.gr-google-reviews.slick-initialized {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

body .review_inner .et_pb_code {
    min-height: auto;
}

.et_pb_section.new-reviews-sec.et_section_regular .et_pb_module.et_pb_text {
    margin: 0;
}

body.home .reviews.et_pb_section.new-reviews-sec.et_section_regular {
    padding-bottom: 80px !important;
}

body:not(.home) .reviews.et_pb_section.new-reviews-sec.et_section_regular {
    padding-bottom: 100px !important;
    padding-top: 95px !important;
}

.et_pb_section.review-inner-section.new-inner-sec {
    padding-top: 90px;
    padding-bottom: 100px;
}

.review-block {
    background: #fff;
    padding: 40px 40px 32px;
    border-radius: 10px;
    position: relative;
    height: 100%;
    text-align: center;
}

.et_pb_section.new-reviews-sec.et_section_regular h2 {
    padding-bottom: 26px;
}

/* body .et_pb_section.new-reviews-sec.et_section_regular {
    background: #f7f7f7 !important;
} */
.review-block:after {
    content: '';
    background-image: url('../images/Group-133.svg');
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    right: 30px;
    top: 30px;
    position: absolute;
    background-size: 100%;
}

.gr-review-item {
    padding: 0 20px;
}

.gr-google-reviews {
    display: flex;
}

.gr-google-reviews .slick-list {
    margin: 0 -20px;
}

.gr-google-reviews .slick-track {
    display: flex !important;
}

.gr-google-reviews:not(.slick-initialized) {
    width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
    max-height: 358px;
}

.gr-google-reviews:not(.slick-initialized) .gr-review-item {
    width: 33.33% !important;
}

.gr-google-reviews .slick-slide {
    height: inherit !important;
}

h2.gr-popup-title {
    padding-right: 0 !important;
}

body .review-block h3,
body h2.gr-popup-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    color: #000;
    padding-bottom: 0px;
    margin-bottom: 0;
    margin-top: 0px;
    font-family: "Roboto";
        text-transform: capitalize;
}

body .review-block h3 {
    margin-bottom: 8px;
}

body h2.gr-popup-title {
    text-align: left;
    margin-bottom: 8px;
    padding-bottom: 0 !important;
}

.review-block p.gr-review-text {
    font-size: 16px;
    line-height: 30px;
    color: rgb(0, 0, 0);
    font-weight: 400;
    font-family: "Roboto";
}

/* Container relative */
.gr-google-reviews {
    position: relative;
}

/* Common arrow button */
.gr-google-reviews button.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 22px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    padding: 0;
    box-shadow: none;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
}


.gr-google-reviews button.slick-arrow::before,
.gr-google-reviews button.slick-arrow svg {
    display: none;
}


.gr-google-reviews button.slick-arrow:hover {
    opacity: 0.6;
}

.gr-google-reviews button.slick-next {
    right: -38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='13' height='22' viewBox='0 0 13 22'%3E%3Cimage id='right-arrow_2_copy' data-name='right-arrow (2) copy' width='13' height='22' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAWCAYAAAAb+hYkAAAAVElEQVQ4jWNgYGBQYWBguMDAwHCGgYFBhoFIANLwH4rvEKvxJJImojWCFNwZ1TiYNZ5jIjbZEAtIDpBRDcQmG1A2JzmdXSQnu4MKFpBG4goWBgYGAEApXoFdKrg4AAAAAElFTkSuQmCC'/%3E%3C/svg%3E%0A");
}


.gr-google-reviews button.slick-prev {
    left: -38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='14' height='23' viewBox='0 0 14 23'%3E%3Cimage id='right-arrow_2_' data-name='right-arrow (2)' width='14' height='23' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAXCAYAAAA7kX6CAAAAtklEQVQ4jc3SMQrCMBSA4V9EQaGz4ikEF/EAjh11cC94Axedu6qDJ/ACBVcndw/gDTyAgiBKoAEJz75XXfpDlpCPhEcoUR9IgFYZNAZuwAs4Ag0LioFHjvwa/oLUG7+hdhGaCuigoRnwDFAGNKuB5gLaa9NLAuBRvQi5rgE6W5A70AFGH3td4A6cNFwD1sJzVxr0pQJOq4+XAt7k81BbCHj3LzYl4YEVu7/s0QWIrNA1AbZAD+ANzUFjp54BhywAAAAASUVORK5CYII='/%3E%3C/svg%3E%0A");
}


.review-block .gr-review-rating {
    margin-bottom: 18px;
    font-size: 25px;
    line-height: 18px;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    column-gap: 12px;
}

.star.filled {
    color: #fbbc04;
    width: 19px;
    height: 20px;
}

.star.filled path {
    fill: #FFC828;
}

.star.empty path {
    fill: #ccc;
}

.star.empty {
    color: #ccc;
}

.review-block p.gr-review-time {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    font-family: 'Inter';
    margin-bottom: 15px;
    color: #000;
}

/* Popup */
div#gr-review-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.gr-popup-content {
    position: absolute;
    background: #fff;
    max-width: 870px;
    width: 90%;
    padding: 0;
    border-radius: 10px;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0;
    justify-content: center;
    height: auto;
    overflow: auto;
    display: block;
}

.gr-inner {
    height: auto;
    padding: 40px;
    max-height: 50vh;
    overflow: auto;
}

a.gr-read-more {
    font-family: "Roboto";
    display: block;
    width: fit-content;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    margin: 2px auto 0px auto;
    text-decoration: underline;
    transition: all .3s ease;
}

.et_pb_module.et_pb_code.review_list.new-reviews-code {
    padding: 0;
}

a.gr-read-more:hover {
    color: #005fab;
}

.gr-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #000;
    transition: 0.5s;
}

span.close-popup:hover {
    color: #005fab;
}

.gr-popup-body {
    margin-bottom: 0;
}

.gr-popup-body p {
    font-family: "Roboto";
    margin-bottom: 0;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: #000;
}

img.review_img {
    display: flex;
    padding-bottom: 0px;
    margin: 0 auto;
    margin-bottom: 10px;
}

div#gr-review-popup img.review_img {
    margin: 0;
    margin-bottom: 10px;
}

body.popup-open {
    overflow: hidden;
}

.review-block img.emoji,
.gr-popup-content img.emoji {
    display: inline;
    border: none;
    box-shadow: none;
    height: 1em;
    width: 1em;
    margin: 0 0.07em;
    vertical-align: -0.1em;
    background: none;
    padding: 0;
}

body.popup-open .et_pb_section.gallery-section.et_section_regular {
    overflow: hidden;
    z-index: 0;
}

/* new css start */
.page-id-44 .review-block,
.single-service .review-block {
    background: #F9F7F5;
}

/* new css */
/* listing reviews start */
.gr-layout-list .gr-reviews-container {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 40px);
    row-gap: 40px;
    margin: 0 -20px;
}

.gr-layout-list .gr-reviews-container .gr-review-item-list {
    width: calc(100% / 3);
    padding: 0 20px;
    /* background: red; */
}

.gr-layout-list .gr-reviews-container .gr-review-item-list .review-block {
    background: #f7f7f7;
}

.gr-google-reviews-list.gr-layout-list {
    width: 100%;
}

.gr-load-more-container a {
    cursor: pointer;
}

.gr-load-more-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* listing reviews end */
@media screen and (max-width: 1500px) {
    .et_pb_section.new-reviews-sec.et_section_regular {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .gr-google-reviews button.slick-prev {
        left: -35px;
    }

    .gr-google-reviews button.slick-next {
        right: -35px;
    }
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1199px) {
    /* body .review-block h3 {
        font-size: 22px;
        line-height: 28px;
        bottom: 29px;
    } */

    /* body h2.gr-popup-title {
        font-size: 20px;
        line-height: 30px;
    } */

    a.gr-read-more {
        margin: 12px auto 0px auto;
    }

    .review-block p.gr-review-text,
    .gr-popup-body p {
        font-size: 16px;
        line-height: 28px;

    }

    .gr-inner {
        padding: 40px 30px;
    }

    .review-block .gr-review-rating {
        margin-bottom: 14px;
        gap: 8px;
    }

    img.review_img {
        /* padding-bottom: 10px; */
        width: 100%;
        max-width: 42px;
    }

    /* .gr-review-item {
        padding: 0 12px;
    }

    .gr-google-reviews .slick-list {
        margin: 0 -12px;
    } */

    .review-block {
        padding: 30px 25px 30px;
    }



    .gr-google-reviews .slick-arrow {
        top: auto !important;
        bottom: -60px !important;
    }

    .gr-google-reviews .slick-prev {
        left: calc(50% - 25px) !important;
    }

    .gr-google-reviews .slick-next {
        right: calc(50% - 25px) !important;
    }

    div#gr-review-popup img.review_img {
        margin-bottom: 15px;
    }

    .gr-layout-list .gr-reviews-container .gr-review-item-list {
        padding: 0 10px;
    }

    .gr-layout-list .gr-reviews-container {
        width: calc(100% + 20px);
        row-gap: 20px;
        margin: 0 -10px;
    }

    .gr-load-more-container {
        margin-top: 30px;
    }

    .gr-review-item {
        padding: 0 10px;
    }

    .gr-google-reviews .slick-list {
        margin: 0 -10px;
    }

    body.home .reviews.et_pb_section.new-reviews-sec.et_section_regular {
        padding-bottom: 70px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body:not(.home) .reviews.et_pb_section.new-reviews-sec.et_section_regular {
        padding-bottom: 70px !important;
        padding-top: 65px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .et_pb_section.review-inner-section.new-inner-sec {
        padding-top: 60px;
        padding-bottom: 70px;
    }
}


@media screen and (max-width: 980px) {


    body .review-block h3 {
        bottom: 25px;
    }

    .gr-google-reviews:not(.slick-initialized) {
        max-height: 340px;
    }

    .gr-google-reviews:not(.slick-initialized) .gr-review-item {
        width: 50% !important;
    }

    .gr-layout-list .gr-reviews-container .gr-review-item-list {
        width: calc(100% / 2);
    }

    .review-block {
        padding: 26px 30px 26px;
    }

}

@media screen and (max-width: 767px) {

    body .review-block h3,
    body h2.gr-popup-title {
        font-size: 18px;
        line-height: 25px;
    }

    .gr-google-reviews button.slick-prev.slick-arrow {
        right: 40px;
    }

    a.gr-read-more {
        font-size: 16px;
        line-height: 28px;
    }


    .review-block:after {
        height: 40px;
        width: 40px;
        right: 25px;
        top: 25px;
    }

    /* .gr-google-reviews .slick-arrow {
        height: 32px;
        width: 32px;
        top: -55px;
    } */
    img.review_img {
        margin-bottom: 12px;
    }

    .gr-google-reviews .slick-arrow {
        bottom: -52px !important;
        height: 25px;

    }

    .review-block p.gr-review-time {
        margin-bottom: 12px;
    }

    .review-block .elementor-widget-rating {
        margin-bottom: 15px;
    }

    .review-block {
        padding: 20px 25px 20px;
    }

    .gr-popup-content {
        max-width: 100%;
    }

    img.review_img {
        width: 40px;
    }

    .gr-google-reviews:not(.slick-initialized) {
        max-height: 320px;
    }

    .gr-google-reviews:not(.slick-initialized) .gr-review-item {
        width: 100% !important;
    }

    body .review-block h3 {
        bottom: 20px;
    }

    .gr-google-reviews .slick-prev {
        left: calc(50% - 25px) !important;
    }

    .gr-google-reviews .slick-next {
        right: calc(50% - 25px) !important;
    }

    .gr-layout-list .gr-reviews-container .gr-review-item-list {
        width: calc(100% / 1);
    }

    .review-block .gr-review-rating {
        margin-bottom: 12px;
    }

    body.home .reviews.et_pb_section.new-reviews-sec.et_section_regular {
        padding-bottom: 60px !important;

    }

    body:not(.home) .reviews.et_pb_section.new-reviews-sec.et_section_regular {
        padding-bottom: 60px !important;
        padding-top: 55px !important;
    }

    .gr-google-reviews button.slick-arrow {
        width: 12px;
        height: 20px;
    }

    .et_pb_section.new-reviews-sec.et_section_regular h2 {
        padding-bottom: 20px;
    }

    .et_pb_section.review-inner-section.new-inner-sec {
        padding-top: 50px;
        padding-bottom: 60px;
    }
}






@media screen and (max-width: 479px) {
    .review-block:after {
        height: 32px;
        width: 32px;
    }

    .gr-inner {
        max-height: 60vh;
        height: auto;
    }

    .gr-inner {
        padding: 25px;
    }

    .gr-google-reviews .slick-arrow svg {
        width: 16px;
        height: 12px;
    }
}