/* ================= TESTIMONIALS ================= */

.testimonials{
    background:#F5F8FF;
    padding:96px 0;
    overflow:hidden;
}

.testi-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:52px;
}

.testi-tag{
    font-family:"Manrope",sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:24px;
    letter-spacing:1.6px;
    text-transform:uppercase;
    color:#006780;
    margin-bottom:12px;
}

.testi-header h2{
    font-family:"Manrope",sans-serif;
    font-size:40px;
    font-weight:700;
    line-height:48px;
    letter-spacing:-0.4px;
    color:#111111;
}

/* ================= ARROWS ================= */

.testi-nav{
    display:flex;
    gap:12px;
    margin-top:6px;
}

.nav-btn{
    width:44px;
    height:44px;
    padding:0;
    border-radius:50%;
    border:1px solid #444;
    background:transparent;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Arial,sans-serif;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    transition:.25s ease;
}

.nav-btn:hover{
    background:#111;
    color:#fff;
}

/* ================= SLIDER ================= */

.testi-slider{
    width:100%;
    overflow:hidden;
    padding:42px 0 10px;
}

.testi-track{
    display:flex;
    gap:28px;
    align-items:center;
    width:max-content;
    transition:transform .6s ease-in-out;
    will-change:transform;
}

.testi-card{
    width:392px;
    min-width:392px;
    min-height:360px;
    background:#fff;
    border:1px solid #E8EDF5;
    border-radius:24px;
    padding:28px;
    box-sizing:border-box;
    flex-shrink:0;
    transition:transform .6s ease-in-out, box-shadow .6s ease-in-out;
}

/* Center card */
.testi-card.active{
    transform:translateY(-42px);
    box-shadow:0 14px 30px rgba(0,0,0,.06);
}

/* ================= CARD CONTENT ================= */

.stars{
    color:#E8B200;
    font-size:24px;
    line-height:24px;
    letter-spacing:1px;
    margin-bottom:18px;
}

.review{
    font-family:"Plus Jakarta Sans",sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:24px;
    color:#2F3441;
    margin:0 0 26px;
}

.patient{
    display:flex;
    align-items:center;
    gap:14px;
}

.patient img{
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.patient h4{
    font-family:"Manrope",sans-serif;
    font-size:18px;
    font-weight:700;
    line-height:24px;
    color:#111;
    margin:0 0 2px;
}

.patient span{
    font-family:"Plus Jakarta Sans",sans-serif;
    font-size:14px;
    line-height:20px;
    color:#667085;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .testi-header{
        align-items:center;
    }

    .testi-header h2{
        font-size:34px;
        line-height:42px;
    }

    .testi-card{
        width:340px;
        min-width:340px;
    }

}

@media(max-width:600px){

    .testi-header{
        flex-direction:column;
        gap:24px;
    }

    .testi-card{
        width:calc(100vw - 40px);
        min-width:calc(100vw - 40px);
    }

}