.testimonial-slider-sec {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;

    & .heading-46 {
        margin-bottom: 5px;

        & + p {
            margin-bottom: 55px;
        }
    }
    &:last-child { 
        margin-bottom: 0;
    }
}

.testimonial-slider {
    display: inline-block;
    width: calc(100% + 12px);
    margin: 0 -6px;
    padding-bottom: 50px;
    /* padding: 0 70px 100px; */
    text-align: left;

    & .slide-box {
        padding: 0 6px;
        line-height: 0.8;
    }

}

.testimonial-slider-sec .testimonial-slider {
    &:not(.slick-initialized) {
        display: inline-flex;

        & > .slide-box {
            flex: 1;

            & .testimonial-box {
                background: #F8F6F2;
            }
        }

        & > .slide-box:not(:nth-child(-n+3)) {
            display: none;
        }
    }
}

.testimonial-slider.slick-dotted.slick-slider {
    margin-bottom: 0;
    padding-bottom: 50px;
    bottom: 0;

    & .slick-dots {
        gap: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.testimonial-box {
    display: inline-flex;
    flex-direction: column;
    padding: 68px 54px 62px;
    background-color: #F8F6F2;
    border-radius: 20px
}

.testimonial-box > .testimonial-title {
    font-size: 20px;
    font-weight: bold;
    color: #2D2D2D;
    letter-spacing: 0;
    margin-bottom: 20px;
    line-height: 1.33;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 52px;
    padding-bottom: 0 !important;
}

.customcroll {
    overflow-y: hidden;
    height: 220px;
    padding-right: 10px;
    margin-bottom: 30px;
}

.customcroll:hover {
    overflow-y: auto;
    transition: all ease-out 0.3s;
    -webkit-transition: all ease-out 0.3s;
    -moz-transition: all ease-out 0.3s;
    -ms-transition: all ease-out 0.3s;
    &::-webkit-scrollbar {
        width: 4px;
        transition: all ease-out 0.3s;
        -webkit-transition: all ease-out 0.3s;
        -moz-transition: all ease-out 0.3s;
        -ms-transition: all ease-out 0.3s;
    }
}

.customcroll::-webkit-scrollbar-track {
    background: #ccc;
    border-color: #fff;
}

.customcroll::-webkit-scrollbar-thumb {
    background: #252b2b;
}

.testimonial-box p {
    font-size: 16px;
    line-height: 1.42;
    color: #171717;
    margin-bottom: 0px;
}

.testinonial-wrap {
    display: inline-block;
    width: 100%;
    gap: 10px;
    /* padding-top: 20px;
    border-top: 1px solid rgb(0 0 0 / 10%); */
}

.author_wrap {
    display: inline-flex;
    flex-grow: 1;
    flex-direction: column;
}

.author-nm {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.25;
    margin-bottom: 5px;
    color: #171717;

}

.testimonial-slider.slick-slider .slick-prev {
    left: 7px !important;
}

.testimonial-slider.slick-slider .slick-next {
    right: 7px;
}

.testimonial-slider.slick-slider + .btn-border {
    margin-top: -54px;
    line-height: 100%;
    display: flex;
    width: fit-content;
    margin: -48px auto 0;
}

.testimonials-sec {
    text-align: center;
}

.testimonials-sec .testimonial-slider {
    display: inline-flex;
    flex-wrap: wrap;
    row-gap: 34px;
    padding: 0 0px 50px;
    text-align: left;

    & > .slide-box {
        width: 25%;
        flex: unset;

        & .testimonial-box {
            background-color: #ECEEF0;
        }
    }
}

/* -------------------------------------------------testimonials-sec------------------------------------ */
.testimonials-listing-sec {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.testimonials-list {
    display: inline-flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 50px;
    text-align: left;
    margin-bottom: 50px;

    & > .slide-box {
        width: calc(33.33% - 33.33px);
        & .testimonial-box {
            height: 100%;
        }
        & .customcroll { 
            min-height: unset;
            height: auto;
            max-height: 220px;
        }
    }
}
.loadme {
    display: none;
}
/* -------------------------------------------------testimonials-sec------------------------------------ */

@media (max-width: 1800px) {

}

@media (max-width: 1599.98px) {
    .testimonial-slider-sec .float-img {
        left: -240px;
    }

}

/* Extra Large devices (large desktops, less than 1440px) */

@media (max-width: 1439.98px) {

    .testimonial-slider {
        width: calc(100% + 30px);
        margin: 0 -15px;

        & .slide-box {
            padding: 0 15px;
        }
    }

    .testimonial-box {
        padding: 60px 40px 60px;
    }

    .testimonials-list { 
        gap: 30px;
        & > .slide-box {
            width: calc(33.33% - 20px);
        }
    }
}

@media (max-width: 1199.98px) {
    .testimonial-box {
        padding: 35px 34px 35px;
    }

    .testimonial-slider.slick-slider .slick-prev {
        left: -7px !important;
    }

    .testimonial-slider.slick-slider .slick-next {
        right: -7px;
    }

    .testimonial-slider {
        width: calc(100% + 20px);
        margin: 0 -10px;

        & .slide-box {
            padding: 0 10px;
        }
    }
    .testimonials-list { 
        gap: 30px;
        & > .slide-box {
            width: calc(50% - 15px);
        }
    }
}

/* Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {

    .testimonial-slider-sec {
        & .flex-container {
            padding-bottom: 40px;
            gap: 25px;

            & .left-side-content {
                width: 100%;

                & .heading-44 {
                    margin-bottom: 20px;
                }

                & > .img-wrap {
                    margin-bottom: 20px;
                }
            }

            & .right-side-slider-wrap {
                width: 100%;
            }
        }
    }

    .testimonial-slider-sec .float-img {
        display: none;
    }

    .testimonial-slider-sec {
        & .heading-46 {
            & + p {
                margin-bottom: 30px;
            }
        }
    }
}

/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {

    .testimonial-slider {
        padding-right: 15vw;

        & .slick-list {
            overflow: visible;
        }
    }
    .testimonial-box {
        padding: 25px;
    }
    .testimonial-slider-sec .testimonial-slider {
        &:not(.slick-initialized) {
            padding-right: 0vw;
        }
    }

    .testimonials-list { 
        gap: 10px;
        & > .slide-box {
            width: calc(50% - 5px);
            & .testimonial-box { 
                border-radius: 10px;
            }
        }

    }

}

/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    .testimonial-slider-sec {
        & .flex-container {
            & .left-side-content {
                text-align: center;
                & .sm-title {
                    margin-inline: auto;
                }
            }
        }
    }

    

    .testimonial-box > p {
        font-size: 16px;
        height: 239px;
    }

    .testimonial-slider-sec .testimonial-slider {
        &:not(.slick-initialized) {
            & > .slide-box:not(:nth-child(-n+1)) {
                display: none;
            }
        }
    }

    .testimonial-slider {
        padding-right: 0vw;
    }
    .customcroll { height: 150px; }
    .testimonial-slider-sec .testimonial-slider {
        &:not(.slick-initialized) {
            & > .slide-box:not(:nth-child(-n+3)) {
                display: none;
            }
        }
    }
    .testimonials-list { 
        & > .slide-box {
            width: calc(100%);
        }

    }
}
