.testimonial {
    background-color: var(--dark-blue);
    padding: 150px 0 45px;
}

.testimonial-heading {
    margin-bottom: 30px;
    position: relative;
}

.testimonial-heading h2,
.testimonial-heading .btn {
    color: var( --white );
}

.testimonial-heading .btn span {
    position: relative;
    z-index: 1;
}

.testimonial-heading .btn-icon:hover::after {
    z-index: 0;
}

.testimonial-slide-item {
    background-color: var( --white );
    box-shadow: 0 0 30px rgba(var(--dark-blue),0.13);
    border-radius: 6px;
    padding: 65px 16px 25px 20px;
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slide-item p {
    padding: 0 15px 0 0;
    position: relative;
    max-height: 246px;
    margin-bottom: 20px;
    overflow: auto;
}

.testimonial-slide-item:before {
    content: "\e911";
    position: absolute;
    top: 24px;
    font-size: 20px;
    font-family: 'icomoon';
    left: 22px;
    color: var( --red );
    width: 36px;
    height: 36px;
    border-radius: 50px;
    border: 2px solid var( --red );
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide-item:after {
    content: "";
    position: absolute;
    width: 92%;
    bottom: 37px;
    left: 0;
    height: 20%;
    background: rgba(var(--light-blue-03),0.4374124649859944);
    background: linear-gradient(180deg, rgba(var(--light-blue-03),0.4374124649859944) 0%, rgba(var(--light-blue-03),1) 100%);
}

.testimonial-slide-item h5 {
    color: var(--black-01);
    font-weight: 500;
    font-size: 17px;
    position: relative;
    z-index: 1;
}

.js-testimonial-slider {
    padding-bottom: 38px;
}

.js-testimonial-slider .slick-track {
    display: flex;
    justify-content: center;
}

.js-testimonial-slider.slick-initialized .slick-slide {
    height: auto;
    transition: transform 1s ease;
}

.js-testimonial-slider.slick-initialized .slick-slide div {
    height: 100%;
}

.js-testimonial-slider.slick-initialized .slick-slide div .testimonial-slide-item div {
    height: auto;
}

.testimonial-slide-item p::-webkit-scrollbar {
  width: 11px;
  z-index: 99;
  position: relative;
}

.testimonial-slide-item p::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: var( --white );
  width: 14px;
  box-shadow: inset 0 0 6px rgba(var(--black-01),0.3);
}

.testimonial-slide-item p::-webkit-scrollbar-thumb {
  background: var( --red ); 
  border-radius: 10px;
}

.testimonial-slide-item p::-webkit-scrollbar-thumb:hover {
  background: var( --red ); 
}

.js-testimonial-slider.slick-slide:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--black-01),0.5);
  transition: transform 0.4s;
}

.testimonial-heading svg {
    width: 153px;
    height: 39px;
    position: absolute;
    left: 50%;
    margin-left: 75px;
    top: -25px;
    transform: translate(-50%, 0);
}

.spotlight + .testimonial {
    margin-top: -88px;
}

.testimonial .btn:hover::before {
    z-index: 0;
}

.testimonial-avatar-images {
    display: none;
}

.testimonial .wp-gr.wpac .wp-google-name a {
    color: #fff !important;
}

.testimonial .wp-gr .wp-google-left img {
    background: #fff !important;
}

.testimonial .wp-gr .wp-google-powered {
    color: #fff !important;
}

@media( max-width : 767px ) {
    .js-testimonial-slider .slick-slider {
        margin: 0 15px;
    }

    .js-testimonial-slider .slick-slide {
        margin: 0 15px;
    }
}

@media (min-width: 768px) {
    .testimonial-avatar-images {
        display: block;
    }

    .spotlight + .testimonial {
        margin-top: -64px;
    }

    .testimonial {
        padding: 158px 0 98px;
    }

    .testimonial-heading h2 br {
        display: none;
    }

    .testimonial-heading svg {
        margin-left: 235px;
        top: -19px;
    }

    .js-testimonial-slider.slick-initialized .slick-slide {
        transform: translateX(321px) scale(0.8);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current + .slick-slide {
        transform: scale(0.8) translateX(-408px);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current {
        transform: translate(0);
        z-index: 3;
    }

    .js-testimonial-slider.slick-initialized .slick-slide:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(var(--black-01),0.49);
        background: linear-gradient(90deg, rgba(var(--black-01),0.49) 0%, rgba(var(--black-01),0) 100%);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current + .slick-slide:after {
        background: rgba(var(--black-01),0.49);
        background: linear-gradient(270deg, rgba(var(--black-01),0.49) 0%, rgba(var(--black-01),0) 100%);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current:after {
        display: none;
    }

    .testimonial-wrapper {
        position: relative;
    }

    .testimonial-heading {
        margin-bottom: 46px;
    }

    .testimonial-avatar-images ul li:before {
        display: none;
    }

    .testimonial-avatar-images ul li {
        padding: 0;
        margin: 0;
        position: absolute;
    }

    .testimonial-avatar-item {
        width: 42px;
        height: 42px;
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 0 85px rgba(var(--blue),1);
    }

    .testimonial-avatar-images ul li:nth-child(3), 
    .testimonial-avatar-images ul li:last-child {
        display: none;
    }

    .testimonial-avatar-images ul li:nth-child(2) .testimonial-avatar-item, 
    .testimonial-avatar-images ul li:nth-child(5) .testimonial-avatar-item {
        width: 62px;
        height: 62px;
    }

    .testimonial-avatar-images ul li:first-child {
        top: 76px;
        left: 80px;
    }

    .testimonial-avatar-images ul li:nth-child(2) {
        top: 114px;
        left: 16px;
    }

    .testimonial-avatar-images ul li:nth-child(4) {
        top: 76px;
        right: 80px;
    }

    .testimonial-avatar-images ul li:nth-child(5) {
        top: 114px;
        right: 16px;
    }

    .testimonial-heading h2 {
        padding-bottom: 36px;
        font-size: 40px;
    }

    .testimonial-slide-item:before {
        top: 22px;
        font-size: 22px;
        left: 30px;
        width: 43px;
        height: 43px;
    }

    .testimonial-slide-item {
        padding: 65px 16px 25px 30px;
    }

    .testimonial-avatar-images {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 684px;
    }
}

@media( min-width : 900px ) {
    .js-testimonial-slider.slick-initialized .slick-slide {
        transform: translateX(460px) scale(0.8);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current + .slick-slide {
        transform: scale(0.8) translateX(-560px);
    }
}


@media (min-width: 1200px) {
    .testimonial-avatar-images {
        width: 1174px;
        height: calc(100% - 225px);
        top: 187px;
    }

    .testimonial-avatar-images ul li:nth-child(2) {
        top: 50%;
        left: 0;
        margin-top: -10px;
        transform: translate(0, -50%);
    }

    .testimonial-avatar-images ul li:nth-child(5) {
        top: 50%;
        right: 0;
        margin-top: -10px;
        transform: translate(0, -50%);
    }

    .testimonial-avatar-item {
        width: 90px;
        height: 90px;
    }

    .testimonial-avatar-images ul li:nth-child(2) .testimonial-avatar-item,
    .testimonial-avatar-images ul li:nth-child(5) .testimonial-avatar-item {
        width: 108px;
        height: 108px;
    }

    .testimonial-avatar-images ul li:nth-child(3),
    .testimonial-avatar-images ul li:last-child {
        display: block;
    }

    .testimonial-avatar-images ul li:nth-child(3) {
        bottom: -48px;
        left: 54px;
    }

    .testimonial-avatar-images ul li:last-child {
        bottom: -48px;
        right: 54px;
    }

    .testimonial-avatar-images ul li:first-child {
        top: -80px;
        left: 54px;
    }

    .testimonial-avatar-images ul li:nth-child(4) {
        top: -80px;
        right: 54px;
    }

    .js-testimonial-slider {
        position: relative;
        z-index: 1;
        max-width: 834px;
        margin: 0 auto;
    }

    .testimonial {
        padding: 204px 0 114px;
    }
    
    body:not(.home) .testimonial {
        padding-top: 104px;
    }

    body:not(.home) .spotlight + .testimonial {
        padding-top: 204px;
    }
    
    .js-testimonial-slider.slick-initialized .slick-slide {
        transform: translateX(343px) scale(0.8);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current + .slick-slide {
        transform: scale(0.8) translateX(-427px);
    }

    .js-testimonial-slider.slick-initialized .slick-slide.slick-current {
        transform: translate(0);
        z-index: 3;
        min-width: 464px;
        max-width: 464px;
    }

    .js-testimonial-slider.slick-initialized .slick-slide div {
        height: 453px;
    }

    .testimonial-slide-item:after {
        height: 30%;
    }

    .js-testimonial-slider {
        padding-bottom: 48px;
    }    

    .testimonial-slide-item {
        padding: 89px 16px 25px 30px;
    }

    .testimonial-slide-item:before {
        top: 30px;
    }

    .spotlight + .testimonial {
        margin-top: -108px;
    }
}

@media (min-width: 1400px) {
    .testimonial-avatar-images {
        width: 1264px;
    }
}

/* Google Review for Testimonials */

.google-testimonial-container div.grw-slider-header {
    display: none!important;
}

.google-testimonial-container {
    /* max-width: 800px; */
    width: 100%;
    margin: 0 auto;
}

.wp-gr .grw-slider .grw-row {
    justify-content: center!important;
}

.wp-gr .grw-slider .grw-slider-dot.active {
    width: 99px!important;
    background-color: var( --red )!important;
}

.wp-gr .grw-slider .grw-slider-dot {
    width: 42px!important;
    background-color: var( --white )!important;
}

.wp-gr .grw-slider .grw-slider-dots {
    margin-top: 20px!important;
    width: 100%!important;
}

.wp-gr .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border::before {
    content: "\e911"!important;
    position: absolute!important;
    top: 24px!important;
    font-size: 20px!important;
    font-family: 'icomoon'!important;
    left: 22px!important;
    color: var( --red )!important;
    width: 36px!important;
    height: 36px!important;
    border-radius: 50px!important;
    border: 2px solid var( --red )!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.wp-gr .grw-slider .grw-slider-review-inner>svg {
    display: none!important;
}

.wp-gr .grw-slider-review .wp-google-left {
    display: none!important;
}

.wp-gr .grw-slider .grw-slider-review-inner {
    padding: 89px 16px 25px 30px!important;
}

@media( min-width : 1200px ) {
    .wp-gr .grw-slider .grw-slider-dots {
        margin-top: 50px!important;
    }

    .wp-gr .grw-slider .grw-slider-review-inner {
        padding: 89px 16px 25px 30px!important;
    }
}