/* testimonial start */

.testimonial{
    padding: 50px 0;
}

.testimonial-container{
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
}

.testimonial .testimonial-lhs{
    max-width: 350px;
}

.testimonial .testimonial-lhs p{
    font-size: 12px;
    line-height: 19px;
}

.testimonial .testimonial-lhs .testimonial-desc {
    padding-bottom: 20px;
}

.testimonial .testimonial-lhs .testimonial-controls{
    display: flex;
    margin-top: 30px;
    gap: 10px;
    cursor: pointer;
}

.testimonial .testimonial-lhs .testimonial-controls .testimonial-left img,
.testimonial .testimonial-lhs .testimonial-controls .testimonial-right img{
    transform: rotate(180deg);
}

.testimonial .testimonial-lhs .testimonial-controls .testimonial-right img{
    transform: rotate(0deg);   
}

.testimonial .testimonial-lhs .testimonial-arrows {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: unset;
    right: unset;
    z-index: 1;
}

.testimonial .testimonial-lhs .testimonial-arrows::after {
    content: "";
}

.testimonial .testimonial-lhs h3 {
    font-family: var(--poppins-700);
    font-size: 14px;
    line-height: 19px;
}

.testimonial .testimonial-rhs{
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    scroll-behavior: smooth;
    display: flex;
    min-height: 400px;
    height: 400px;
}

.testimonial .testimonial-rhs.no-transition{
    scroll-behavior: smooth;
}

.testimonial .testimonial-rhs.dragging{
    scroll-behavior: auto;
    cursor: grab;
}

.testimonial .testimonial-rhs.dragging img{
    pointer-events: none;
}

.testimonial .testimonial-rhs img{
    min-width: 400px;
    max-width: 400px;
    object-fit: contain;
    height: 340px;
    margin-left: 14px;
    transition: all .5s ease-in-out;
}

.testimonial .testimonial-rhs img.swiper-slide-active {
    min-width: 400px;
    max-width: 400px;
    height: 400px;
    object-fit: contain;
    object-position: top;
    transition: all .5s ease-in-out;
}

.testimonial .testimonial-rhs img:first-child{
    margin-left: 0px;
}

.testimonial .testimonial-rhs img.active-card{
    min-width: 400px;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: top;
    transition: all .5s ease-in-out;
}

.testimonial .testimonial-lhs .testimonial-arrows.active {
    background-color:  var(--red);
}

.testimonial-card{
    display: none;
}

.testimonial-card.active {
    display: block;
}

@media screen and (max-width:1080px) and (min-width:767px) {

    .testimonial .testimonial-rhs{
        min-height: 250px;
    }

    .testimonial .testimonial-lhs {
        max-width: 250px;
    }

}

@media screen and (max-width:767px){

    .testimonial{
        padding: 25px 0;
    }

    .testimonial .testimonial-rhs{
        min-height: 250px;
        height: 250px;
        width: 100%;
    }

    .testimonial .testimonial-rhs img:first-child{
        margin-left: 0;
    }

    .testimonial .testimonial-rhs img {
        height: 200px;
        min-width: 100%;
        max-width: 100%;
    }

    .testimonial .testimonial-rhs img.active-card {
        height: 250px;
    }

    .testimonial .testimonial-rhs img.swiper-slide-active {
        width: 100%;
        height: 250px;
        min-width: 100%;
        max-width: 100%;
    }

    .testimonial-container {
        flex-direction: column-reverse;
    }

    .testimonial .testimonial-lhs .testimonial-arrows {
        width: 30px;
        height: 30px;
    }

    .testimonial .testimonial-lhs .testimonial-arrows img{
        width: 15px;
        height: 15px;
    }

    .testimonial .testimonial-container {
        gap: 15px;
        margin-top: 20px;
    }
    
}



/* testimonial end */