/* ======================================
TESTIMONIAL SECTION
====================================== */

.testimonials{

    padding:30px 0;

    background:
    radial-gradient(circle at 8% 20%,#d8e8ff 0%,transparent 18%),
    radial-gradient(circle at 92% 20%,#d8e8ff 0%,transparent 18%),
    #f8fbff;

    overflow:hidden;

}


/* ======================================
HEADER
====================================== */


.section-title{

    text-align:center;

    margin-bottom:30px;

}


.testimonial-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:7px 18px;

    border:1px solid #ff7a00;

    border-radius:30px;

    background:#fff;

    color:#ff7a00;

    font-size:13px;

    font-weight:800;

}


.section-title h2{

    font-size:36px;

    font-weight:900;

    color:#071C63;

}


.section-title h2 span{

    color:#ff7a00;

}


.section-title p{

    max-width:650px;

    margin:10px auto;

    color:#667085;

}


/* ======================================
SLIDER
====================================== */


.testimonial-slider-wrapper{

    position:relative;

    max-width:1200px;

    margin:auto;

}


.testimonial-slider{

    padding:70px 30px 65px;

    overflow-x:hidden !important;

    overflow-y:visible !important;

}


.swiper-wrapper{

    align-items:center;

}


.swiper-slide{

    height:auto;

    overflow:visible;

}


/* ======================================
CARD
====================================== */


.testimonial-card{

    height:330px;

    background:#fff;

    border-radius:20px;

    padding:70px 35px 25px;

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    overflow:visible;

    box-shadow:
    0 18px 45px rgba(7,28,99,.13);

}


/* ACTIVE CARD */


.swiper-slide-active .testimonial-card{

    height:350px;


    background:
    linear-gradient(
        120deg,
        rgba(7,28,99,.88),
        rgba(11,95,255,.88)
    );


    border-right:6px solid #ff7a00;

    border-bottom:6px solid #ff7a00;

}


/* ======================================
QUOTE ICON
====================================== */


.quote-icon{

    width:55px;

    height:55px;

    border-radius:50%;

    background:#fff;

    position:absolute;

    top:35px;

    left:35px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#006cff;

    font-size:24px;

    z-index:20;

    box-shadow:
    0 15px 35px rgba(7,28,99,.15);

}


.swiper-slide-active .quote-icon{

    width:55px;

    height:55px;

    top:35px;

    left:52px;

    transform:translateX(-50%);

    color:#ff7a00;

}



/* ======================================
STARS
====================================== */


.stars{

    position:absolute;

    top:70px;

    right:35px;

    color:#ffbf00;

    font-size:15px;

}



/* ======================================
CONTENT
====================================== */


.review{

    margin-top:35px;

    color:#263b66;

    font-size:15px;

    line-height:1.7;

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:4;

    -webkit-box-orient:vertical;

    position:relative;

    z-index:2;

}


.swiper-slide-active .review{

    color:#fff;

}



.client-info{

    display:flex;

    align-items:center;

    gap:15px;

    padding-top:20px;

    border-top:1px solid #d9e4f5;

    position:relative;

    z-index:2;

}


.client-info img{

    width:60px;

    height:60px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #edf4ff;

}


.name{

    font-size:16px;

    font-weight:800;

    color:#071C63;

}


.client-info span{

    color:#667085;

    font-size:14px;

}


.swiper-slide-active .name,
.swiper-slide-active span{

    color:#fff;

}



/* BIG QUOTE */


.testimonial-card::after{

    content:"”";

    position:absolute;

    right:25px;

    bottom:10px;

    font-size:100px;

    color:rgba(0,95,255,.10);

}


.swiper-slide-active .testimonial-card::after{

    color:rgba(255,255,255,.18);

}



/* ======================================
ARROWS
====================================== */


.testimonial-prev,
.testimonial-next{

    width:52px;

    height:52px;

    border-radius:50%;

    border:none;

    background:#fff;

    color:#006cff;

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    z-index:30;

    box-shadow:
    0 10px 35px rgba(7,28,99,.18);

}


.testimonial-prev{

    left:-30px;

}


.testimonial-next{

    right:-30px;

}



/* PAGINATION */


.testimonial-slider .swiper-pagination{

    position:static!important;

    margin-top:22px;

}


.swiper-pagination-bullet{

    width:8px;

    height:8px;

    opacity:1;

}


.swiper-pagination-bullet-active{

    width:25px;

    border-radius:20px;

}



/* =================================================
RESPONSIVE BREAKPOINTS
================================================= */


/* 3840px */

@media(min-width:3000px){

    .testimonial-slider-wrapper{
        max-width:1500px;
    }

    .testimonial-card{
        height:380px;
    }

    .swiper-slide-active .testimonial-card{
        height:410px;
    }

}



/* 2560px */

@media(max-width:2560px){

    .testimonial-slider-wrapper{
        max-width:1350px;
    }

}



/* 1920px */

@media(max-width:1920px){

    .testimonial-slider-wrapper{
        max-width:1200px;
    }

}



/* 1440px */

@media(max-width:1440px){

    .testimonial-slider-wrapper{
        max-width:1150px;
    }
    
    .section-title h2{

        font-size:36px;

    }

}



/* 1366px */

@media(max-width:1366px){

    .testimonial-card{

        height:320px;

    }


    .swiper-slide-active .testimonial-card{

        height:340px;

    }
    
    .section-title h2{

        font-size:32px;

    }

}



/* 1280px */

@media(max-width:1280px){

    .testimonial-slider-wrapper{

        max-width:1050px;

    }
    
    .section-title h2{

        font-size:32px;

    }

}



/* 1024px */

@media(max-width:1024px){

    .testimonial-slider-wrapper{

        max-width:900px;

    }


    .testimonial-card{

        padding:65px 25px 25px;

    }

}



/* 768px TABLET */

@media(max-width:768px){

    .section-title h2{

        font-size:32px;

    }


    .testimonial-card,
    .swiper-slide-active .testimonial-card{

        height:auto;

        min-height:330px;

    }
    
    .testimonial-prev, .testimonial-next {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }


    .testimonial-prev{

        left:-15px;

    }


    .testimonial-next{

        right:-15px;

    }

}



/* 576px */

@media(max-width:576px){


    .testimonial-slider{

        padding:60px 15px;

    }


    .section-title h2{

        font-size:28px;

    }


    .review{

        font-size:14px;

    }
    
    .testimonial-prev, .testimonial-next {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }


    .testimonial-prev{

        left:-10px;

    }


    .testimonial-next{

        right:-10px;

    }

}



/* 480px */

@media(max-width:480px){

    .testimonial-card{

        padding:65px 20px 25px;

    }


    .client-info img{

        width:50px;

        height:50px;

    }

}



/* 375px */

@media(max-width:375px){

    .section-title h2{

        font-size:25px;

    }


    .testimonial-card{

        min-height:300px;

    }

}


/* 320px */

@media(max-width:320px){

    .section-title h2{

        font-size:22px;

    }


    .testimonial-card{

        padding:60px 15px 20px;

    }


    .stars{

        right:20px;

    }

}