.testimonials {
    position: relative;
}

.testimonials-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.testimonials-curve {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 2;
}

.testimonials-content {
    position: relative;
    z-index: 1;
    background: rgba(48,99,142,0.72);
    padding: 100px 0 45px;
    color: #fff;
}

.testimonials .sub-heading {
    color: #ffffff;
}

.testimonials .sub-heading::after {
    color: #ffffff;
}

.testimonials h2 {
    color: #fff;
}

.testimonial-slide-item {
    background: #fff;
    padding: 32px 32px 26px 32px;
    position: relative;
    text-align: center;
    color: #616773;
    margin: 0 16px;
}

.testimonial-slide-item:after {
    content: "\e911";
    position: absolute;
    left: 32px;
    top: -84px;
    font-weight: normal;
    font-family: 'icomoon';
    font-size: 88px;
    color: #C0111E;
}
.testimonial-slide-item:after{
    content: unset;
}
.quote-icon{
    position: absolute;
    width: 41px;
    height: 41px;
    left: -16px;
    top:-16px;
    background: var( --darkblue--hover);
    z-index: 99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-icon i {
    color: var(--teal);
    font-size: 22px;
}

.testimonial-slide-item h3 {
    color: #192846;
    font-size: 16px;
    font-weight: 400;
    line-height: 2em;
    margin-top: 12px;
    margin-bottom: 12px;
}

.testimonial-slide-item h3 span {
    font-weight: 700;
}

.testimonial-slide-item-btn {
    margin-top: 10px;
    bottom: 20px;
}

.testimonial-content-right {
    margin-top: 32px;
}

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

.js-testimonial-slider.slick-initialized .slick-slide {
    vertical-align: top;
}

.js-testimonial-slider .slick-track {
    display: flex !important;
    padding-top: 56px;
}

.js-testimonial-slider .slick-slide {
    height: inherit !important;
}

.js-testimonial-slider .slick-slide > div {
    /* height: 100%; */
}

.js-testimonial-slider .slick-slide .testimonial-slide-item {
    height: inherit;
}

.js-testimonial-slider .slick-arrow {
    left: 50%;
    color: #fff;
    opacity: 0.57;
    transform: translate(-50%, 0);
}

.js-testimonial-slider .slick-next {
    margin-left: 27px;
}

.js-testimonial-slider .slick-prev {
    margin-left: -27px;
}

.js-testimonial-slider .slick-arrow:hover {
    opacity: 1;
}

.testimonial-slide-item-btn .btn {
    font-size: 16px;
}

.inner-testimonials {
    background: rgb(21,147,255);
    background: linear-gradient(135deg, rgba(21,147,255,1) 0%, rgba(25,40,70,1) 100%);
}

.inner-testimonials .testimonials-content{
    background: transparent;
    padding: 45px 0 45px;
}
.bg-white+ .inner-testimonial .testimonials-content{
    padding: 45px 0 45px;
}

.inner-testimonials .testimonial-slide-item {
    padding: 32px 34px 26px 34px;
}

.testimonial-slide-item {
    min-height: 346px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fx-slider.slick-initialized .fx-slide.testimonial-slide-item {
    display: flex;
    opacity: 1;
}

.testimonial-slide-item-desc {
    max-height: 160px;
    overflow-y: auto;
    padding-right: 15px;
}

.testimonial-slide-item-desc::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.testimonial-slide-item-desc::-webkit-scrollbar-thumb {
    background: var(--blue);

}

.testimonial-slide-item-desc::-webkit-scrollbar-track {
    background: rgb(0, 0, 0, 0.1);
}

@media(min-width: 768px) {

    .testimonials h2 {
        max-width: 430px;
    }

    .testimonials-content {
        padding: 145px 0 65px;
    }

    .testimonial-slide-item-desc p {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .inner-testimonials .testimonials-content ,
    .bg-white+ .inner-testimonial .testimonials-content {
        padding: 64px 0;
    }

    .testimonial-slide-item{
        margin: 0 32px;
    }
    .quote-icon{
        width: 61px;
        height: 61px;
        left: -32px;
        top:-32px;
    
    }
    .quote-icon i {
        font-size: 32px;
    }
}

@media (min-width: 1025px) {
    .testimonial-slide-item-btn {
        position: absolute;
    }
}

@media(min-width: 1200px) {
    .testimonial-content-flex {
        display: flex;
        align-items: center;
        padding: 0;
    }

    .testimonial-content-left {
        /* max-width: 878px;
        width: calc(100% - 550px); */
    }

    .testimonials h2 {
        max-width: 640px;
    }

    .testimonial-content-right {
        padding-left: 40px;
        margin-top: 0;
        /* width:550px; */
    }

    .testimonials-content {
        padding: 169px 0 77px;
    }

    .js-testimonial-slider .slick-slide {
        width: 497px;
        margin: 0 32px;
        padding-left: 32px;
    }

    .inner-testimonials .testimonials-content ,
    .bg-white+ .inner-testimonial .testimonials-content {
        padding: 72px 0 72px;
    }

    .inner-testimonials .testimonial-content-left {
        width: 391px;
    }

    .inner-testimonials .testimonial-content-right {
        width: calc(100% - 391px);
    }

    .inner-testimonials .js-testimonial-slider {
        margin-right: -63px;
    }

    .inner-testimonials .js-testimonial-slider .slick-arrow {
        left: unset;
        right: 63px;
        transform: unset;
    }

    .inner-testimonials .js-testimonial-slider .slick-prev {
        margin-left: 0;
        margin-right: 55px;
    }

    .inner-testimonials h2 {
        padding-bottom: 35px;
    }
    .testimonials-content a:not(.btn):hover{
        color: #fff;
    }
}

@media(min-width: 1600px) {
    .testimonials-content {
        padding: 186px 0 96px;
    }

  

    .testimonials h2 {
        max-width: 100%;
    }

    .js-testimonial-slider {
        margin-right: -63px;
    }

    .testimonials-curve {
        top: -40px;
    }

    .js-testimonial-slider .slick-arrow {
        left: unset;
        right: 63px;
        transform: unset;
    }

    .js-testimonial-slider .slick-prev {
        margin-left: 0;
        margin-right: 55px;
    }

    .inner-testimonials .testimonial-content-right {
        width: calc(100% - 531px);
    }

    .inner-testimonials .testimonial-content-left {
        width: 531px;
    }
}
