/* ==========================================
TESTIMONIALS SECTION
========================================== */

.testimonials{
    padding:50px 0;
    background:#f8faff;
    overflow:hidden;
}

/* ==========================================
SECTION HEADER
========================================== */

.section-title{
    text-align:center;
    margin-bottom:30px;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    background:#eef4ff;
    color:#0B5FFF;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title h2{
    font-size:36px;
    font-weight:800;
    color:#071C63;
    line-height:1.2;
}

.title-line{
    width:70px;
    height:4px;
    background:#0B5FFF;
    margin:18px auto 0;
    border-radius:20px;
}

/* ==========================================
STATS
========================================== */

.testimonial-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:20px;
}

.stat-card{
    padding:20px;
    border-radius:20px;
    text-align:center;
    background:linear-gradient(
        135deg,
        #071C63,
        #0B5FFF
    );
    color:#fff;
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-6px);
}

.stat-card h3{
    font-size:28px;
    font-weight:800;
    margin-bottom:8px;
}

.stat-card span{
    color:rgba(255,255,255,.85);
    font-size:14px;
}

/* ==========================================
SLIDER
========================================== */

.testimonial-slider-wrapper{
    position:relative;
}

.testimonial-slider{
    padding-bottom:40px;
}

/* ==========================================
ARROWS
========================================== */

.testimonial-prev,
.testimonial-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#0B5FFF;
    z-index:10;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    cursor:pointer;
    transition:.3s;
}

.testimonial-prev{
    left:-30px;
}

.testimonial-next{
    right:-30px;
}

.testimonial-prev:hover,
.testimonial-next:hover{
    background:#0B5FFF;
    color:#fff;
    transform:translateY(-50%) scale(1.08);
}

/* ==========================================
CARD
========================================== */

.testimonial-card{
    background:linear-gradient(
        180deg,
        #ffffff,
        #f8fbff
    );

    border:1px solid #edf2ff;
    border-radius:24px;
    padding:25px;
    margin:30px 0;
    height:100%;
    display:flex;
    flex-direction:column;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.swiper-slide-active .testimonial-card{
    /*border-color:#0B5FFF;*/
    transform:translateY(-8px);
    box-shadow:0 25px 50px rgba(11,95,255,.15);
}

.quote-icon{
    width:48px;
    height:48px;
    /*display:flex;*/
    display:none;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:linear-gradient(
        135deg,
        #0B5FFF,
        #3E8EFF
    );
    color:#fff;
    font-size:18px;
    margin-bottom:15px;
}

.stars{
    display:flex;
    gap:6px;
    color:#FFB800;
    margin-bottom:15px;
}

.review{
    font-size:14px;
    color:#444;
    line-height:1.4;
    max-height:100px;
    height:auto;
    /*margin-bottom:25px;*/
}

/* ==========================================
CLIENT
========================================== */

.client-info{
    display:flex;
    align-items:center;
    gap:15px;
    padding-top:5px;
    border-top:1px solid #edf2ff;
}

.client-info img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #eef4ff;
}

.client-details h4{
    color:#071C63;
    font-size:16px;
    margin-bottom:5px;
}

.name{
    color:#071C63;
    font-size:16px;
    margin-bottom:5px;
}

.client-details span{
    display:block;
    color:#777;
    font-size:14px;
}

.company-badge{
    /*display:inline-block;*/
    display:none;
    margin-top:4px;
    padding:5px 12px;
    background:#eef4ff;
    color:#0B5FFF;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

/* ==========================================
PAGINATION
========================================== */

.swiper-pagination-bullet{
    width:10px;
    height:10px;
    background:#cbd5e1;
    opacity:1;
}

.swiper-pagination-bullet-active{
    width:35px;
    border-radius:20px;
    background:#0B5FFF;
}

.swiper-wrapper{
    align-items:stretch;
}

.swiper-slide{
    height:auto;
}

/* ==========================================
3840px (4K)
========================================== */

@media (min-width:3000px){

    .testimonials{
        padding:100px 0;
    }

    .section-title{
        margin-bottom:30px;
    }

    .section-title h2{
        font-size:62px;
    }

    .section-badge{
        font-size:20px;
        padding:12px 30px;
    }

    .testimonial-stats{
        gap:40px;
        margin-bottom:20px;
    }

    .stat-card{
        padding:35px;
    }

    .stat-card h3{
        font-size:50px;
    }

    .stat-card span{
        font-size:22px;
    }

    .testimonial-card{
        padding:40px;
    }

    .quote-icon{
        width:80px;
        height:80px;
        font-size:30px;
    }

    .review{
        font-size:22px;
        min-height:220px;
    }

    .client-info img{
        width:90px;
        height:90px;
    }

    .client-details h4{
        font-size:28px;
    }
    
    .name{
    font-size:28px;
}

    .client-details span{
        font-size:20px;
    }

    .testimonial-prev,
    .testimonial-next{
        width:80px;
        height:80px;
    }
}

/* ==========================================
2560px
========================================== */

@media (min-width:2200px) and (max-width:2999px){

    .section-title h2{
        font-size:56px;
    }

    .stat-card h3{
        font-size:42px;
    }

    .stat-card span{
        font-size:18px;
    }

    .testimonial-card{
        padding:35px;
    }

    .review{
        font-size:19px;
    }
}

/* ==========================================
1920px
========================================== */

@media (min-width:1600px) and (max-width:2199px){

    .section-title h2{
        font-size:48px;
    }

    .stat-card h3{
        font-size:32px;
    }

    .review{
        font-size:17px;
    }
}

/* ==========================================
1440px
========================================== */

@media (max-width:1440px){

    .section-title h2{
        font-size:40px;
    }
}

/* ==========================================
1366px
========================================== */

@media (max-width:1366px){

    .section-title h2{
        font-size:32px;
    }
}

/* ==========================================
1280px
========================================== */

@media (max-width:1280px){
    
    section-title h2{
        font-size:32px;
    }

    .testimonial-card{
        padding:22px;
    }
}

/* ==========================================
1024px
========================================== */

@media (max-width:1024px){

    .testimonial-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .section-title h2{
        font-size:34px;
    }

    .testimonial-prev,
    .testimonial-next{
        display:none;
    }
}

/* ==========================================
768px
========================================== */

@media (max-width:768px){

    .testimonials{
        padding:60px 0;
    }

    .section-title{
        margin-bottom:35px;
    }

    .section-title h2{
        font-size:30px;
    }

    .testimonial-card{
        padding:20px;
    }

    .review{
        min-height:auto;
        font-size:15px;
    }

    .client-info img{
        width:55px;
        height:55px;
    }

    .testimonial-prev,
    .testimonial-next{
        display:none;
    }
}

/* ==========================================
576px
========================================== */

@media (max-width:576px){

    .testimonial-stats{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:26px;
    }

    .stat-card{
        padding:18px;
    }
}

/* ==========================================
480px
========================================== */

@media (max-width:480px){

    .testimonials{
        padding:50px 0;
    }

    .section-title h2{
        font-size:24px;
    }

    .testimonial-card{
        padding:18px;
    }

    .review{
        font-size:14px;
    }
}

/* ==========================================
375px
========================================== */

@media (max-width:375px){

    .section-title h2{
        font-size:22px;
    }

    .testimonial-card{
        padding:16px;
    }

    .client-details h4{
        font-size:15px;
    }
    
    .name{
        font-size:14px;
    }

    .client-details span{
        font-size:13px;
    }
}

/* ==========================================
320px
========================================== */

@media (max-width:320px){

    .section-title h2{
        font-size:20px;
    }

    .testimonial-card{
        padding:14px;
    }

    .quote-icon{
        width:40px;
        height:40px;
        font-size:14px;
    }

    .review{
        font-size:13px;
        line-height:1.8;
    }

    .client-info img{
        width:45px;
        height:45px;
    }

    .company-badge{
        font-size:10px;
    }
}