.owl-carousel img {
    width: auto !important;
}

.owl-theme.slider .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    background: #d8f5ea;
    transition: .2s;
}

.owl-theme.slider .owl-dots .owl-dot.active span {
    width: 42px;
}

.owl-theme.slider .owl-dots .owl-dot.active span, 
.owl-theme.slider .owl-dots .owl-dot:hover span {
    background: #40d39e;
    transition: .2s;
}

.owl-nav {
    position: absolute;
    z-index: 15;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

@media(max-width: 991px) {
    .before-after .owl-nav {
        top: 48%;
    }
}

.owl-nav button {
    position: relative;
    width: 23px;
    margin: 0 !important;
    background: none !important;
}

.owl-nav button svg {
    height: 35px;
    fill: #40d39e;
    transition: .2s;
}

.owl-nav button:hover svg {
    fill: #146cb4;
    transition: .2s;
}

/*testimonials - begin*/
.testimonials {
    padding-top: 20px;
}

.quote {
    max-height: 55px;
}

.slider-stars {
    max-height: 31px;
}

@media(max-width: 1260px) {
    .quote, .slider-stars {
        margin: 0 auto;
    }
}

@media(max-width: 991px) {
    .quote {
        max-height: 50px;
    }
    .slider-stars {
        max-height: 30px;
    }
}

.slider-stars {
    margin-top: 25px;
}

/*arrows - begin*/
.owl-nav button.owl-prev {
    left: -40px;
}

.owl-nav button.owl-next {
    right: -40px;
}

@media(max-width: 1310px) {
    .slider-block {
        padding: 0 20px;
    }
    .owl-nav button.owl-prev {
        left: -30px;
    }
    .owl-nav button.owl-next {
        right: -30px;
    }
}

@media(max-width: 580px) {
    .slider-block {
        padding: 0;
    }
}
/*arrows - end*/

.testimonials .owl-nav button.owl-prev {
    left: -70px;
}

.testimonials .owl-nav button.owl-next {
    right: -70px;
}

@media(max-width: 580px) {
    .slider .owl-nav {
        display: none !important;
    }
}

.owl-dots {
    padding-top: 70px;
}

@media(max-width: 1600px) {
    .owl-dots {
        padding-top: 40px;
    }
}

@media(max-width: 1260px) {
    .owl-dots {
        padding-top: 30px;
    }
}

@media(max-width: 991px) {
    .owl-dots {
        padding-top: 20px;
    }
}

.testimonials .owl-dots {
    padding-top: 30px;
}

@media(max-width: 1260px) {
    .testimonials .owl-dots {
        justify-content: center;
    }
    .testimonials .slider-item {
        text-align: center;
    }
}
/*testimonials - end*/

/*before - after - begin*/
.slider-block {
    position: relative;
}

.before-after {
    position: relative;
    padding-top: 100px;
}

@media(max-width: 991px) {
    .before-after {
        padding-top: 30px;
    }
}

.before-after .owl-item {
    padding: 10px;
}

.slider-item {
    position: relative;
}

.before-col {
    position: relative;
    z-index: 12;
    width: 100%;
    max-width: 50%;
}

.after {
    width: 100%;
    max-width: 63%;
    position: absolute;
    z-index: 15;
    right: 0;
    bottom: 10px;
}

@media(max-width: 991px) {
    .before-col {
        max-width: 100%;
    }
    .after {
        position: relative;
        max-width: 100%;
        bottom: auto;
        margin-top: 30px;
    }
}

.before-after {
    position: relative;
}

.result-block {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    padding-bottom: 25px;
}

@media(max-width: 767px) {
    .result-block {
        padding: 15px;
        padding-bottom: 25px;
    }
}

.result-title {
    position: relative;
    font-family: 'Poppins';
    font-size: 31px;
    font-style: italic;
    line-height: 1;
    color: #000;
    text-align: center;
    padding-top: 10px;
}

@media(max-width: 1260px) {
    .result-title {
        font-size: 27px;
        padding-top: 5px;
    }
}

.before-col .result-title {
    right: 15%;
}

@media(max-width: 991px) {
    .before-col .result-title {
        right: auto;
    }
}

@media(max-width: 767px) {
    .result-title {
        font-size: 24px;
    }
}

.before-image, .after-image {
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    border-radius: 7px;
}

.before-image {
    height: 430px;
}

.after-image {
    height: 510px;
}

@media(max-width: 1260px) {
    .before-image {
        height: 300px;
    }
    .after-image {
        height: 400px;
    }
}

@media(max-width: 991px) {
    .before-image, .after-image {
        height: 360px;
    }
}

@media(max-width: 767px) {
    .before-image, .after-image {
        height: 270px;
    }
}

@media(max-width: 450px) {
    .before-image, .after-image {
        height: 220px;
    }
}

.slider-js {
    max-height: 250px;
    position: absolute;
    bottom: 15%;
    left: 8%;
}

@media(max-width: 991px) {
    .slider-js {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        margin-top: 30px;
    }
}

.slider-js-block {
    height: 420px;
}

@media(max-width: 1260px) {
    .slider-js {
        max-height: 200px;
    }
}

@media(max-width: 991px) {
    .slider-js-block {
        height: auto;
    }
    .slider-js {
        max-height: 120px;
    }
}

@media(max-width: 767px) {
    .slider-js {
        max-height: 80px;
    }
}

.before-after-img {
    max-width: 530px;
    position: absolute;
    top: 25px;
    right: 0;
}

@media(max-width: 1260px) {
    .before-after-img {
        max-width: 400px;
    }
}

@media(max-width: 991px) {
    .before-after-img {
        max-width: 100%;
        max-height: 350px;
        position: relative;
        top: auto;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 30px;
    }
}

@media(max-width: 767px) {
    .before-after-img {
        max-height: 280px;
    }
}
/*before - after - end*/