/*=========================================
        TESTIMONIALS SECTION
=========================================*/

.testimonials{

    position:relative;

    padding:72px 0 100px;

    background:#F8FAFC;

    overflow:hidden;

}

.testimonials .container{

    position:relative;

    z-index:2;

}

/*=========================================
        TITLE
=========================================*/

.testimonials-title{

    width:min(760px,100%);

    margin:0 auto 65px;

    text-align:center;

}

.testimonials-title h2{

    margin:22px 0;

    color:#131B29;

    font-size:clamp(2.6rem,4vw,3.5rem);

    font-weight:800;

    line-height:1.15;

    letter-spacing:-1px;

}

.testimonials-title p{

    max-width:680px;

    margin:auto;

    color:#6B7280;

    font-size:1.05rem;

    line-height:1.9;

}

/*=========================================
        SWIPER
=========================================*/

.testimonials-slider{

    padding:15px 8px 70px;

    overflow:hidden;

}

.testimonials-slider .swiper-slide{

    height:auto;

}

/*=========================================
        CARD
=========================================*/

.testimonial-card{

    position:relative;

    display:flex;

    flex-direction:column;

    height:100%;

    padding:38px;

    background:#fff;

    border-radius:30px;

    border:1px solid rgba(19,27,41,.06);

    box-shadow:

        0 20px 50px rgba(19,27,41,.08);

    transition:

        transform .4s ease,

        box-shadow .4s ease,

        border-color .4s ease;

    overflow:hidden;

}

.testimonial-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        radial-gradient(circle at top right,

        rgba(150,106,48,.14),

        transparent 48%);

    opacity:0;

    transition:.4s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    border-color:rgba(150,106,48,.30);

    box-shadow:

        0 35px 80px rgba(19,27,41,.16);

}

.testimonial-card:hover::before{

    opacity:1;

}

/*=========================================
        STARS
=========================================*/

.testimonial-stars{

    display:flex;

    gap:6px;

    margin-bottom:22px;

    position:relative;

    z-index:2;

}

.testimonial-stars i{

    color:#966A30;

    font-size:17px;

}

/*=========================================
        QUOTE
=========================================*/

.testimonial-quote{

    width:64px;

    height:64px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:24px;

    background:#FFF7E3;

    color:#966A30;

    font-size:24px;

    transition:.35s;

    position:relative;

    z-index:2;

}

.testimonial-card:hover .testimonial-quote{

    transform:rotate(-10deg);

    background:#966A30;

    color:#fff;

}

/*=========================================
        TEXT
=========================================*/

.testimonial-text{

    position:relative;

    z-index:2;

    color:#6B7280;

    line-height:1.9;

    font-size:1rem;

    margin-bottom:28px;

}
/*=========================================
        USER
=========================================*/

.testimonial-user{

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    gap:18px;

    margin-top:auto;

    padding-top:22px;

    border-top:1px solid rgba(19,27,41,.08);

}

.testimonial-user img{

    width:72px;

    height:72px;

    border-radius:50%;

    object-fit:cover;

    flex-shrink:0;

    border:4px solid #fff;

    box-shadow:0 10px 30px rgba(19,27,41,.12);

    transition:

        transform .4s ease,

        border-color .4s ease,

        box-shadow .4s ease;

}

.testimonial-pillar-icon{
    width:72px;
    height:72px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:#fff;
    background:#131B29;
    border:4px solid #fff;
    box-shadow:0 10px 30px rgba(19,27,41,.12);
    transition:transform .4s ease, background .4s ease, box-shadow .4s ease;
}

.testimonial-card:hover .testimonial-pillar-icon{
    transform:scale(1.08);
    background:#966A30;
    box-shadow:0 16px 40px rgba(150,106,48,.28);
}

.testimonial-card:hover .testimonial-user img{

    transform:scale(1.08);

    border-color:#966A30;

    box-shadow:0 16px 40px rgba(150,106,48,.28);

}

.testimonial-info{

    flex:1;

}

.testimonial-info h4{

    margin:0 0 6px;

    color:#131B29;

    font-size:1.12rem;

    font-weight:800;

    transition:.35s;

}

.testimonial-card:hover .testimonial-info h4{

    color:#966A30;

}

.testimonial-info span{

    color:#6B7280;

    font-size:.92rem;

}

/*=========================================
        SHINE EFFECT
=========================================*/

.testimonial-card::after{

    content:"";

    position:absolute;

    top:0;

    left:-150%;

    width:60%;

    height:100%;

    background:linear-gradient(

        120deg,

        transparent,

        rgba(255,255,255,.40),

        transparent

    );

    transform:skewX(-25deg);

    transition:left 1.1s ease;

    pointer-events:none;

}

.testimonial-card:hover::after{

    left:170%;

}

/*=========================================
        PAGINATION
=========================================*/

.testimonials-slider .swiper-pagination{

    bottom:0 !important;

}

.testimonials-slider .swiper-pagination-bullet{

    width:13px;

    height:13px;

    background:#D8DEE8;

    opacity:1;

    transition:.35s;

}

.testimonials-slider .swiper-pagination-bullet-active{

    width:40px;

    border-radius:30px;

    background:#966A30;

}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width:991px){

    .testimonials{

        padding:90px 0;

    }

    .testimonials-title{

        margin-bottom:50px;

    }

    .testimonial-card{

        padding:32px;

    }

}

@media (max-width:767px){

    .testimonials{

        padding:80px 0;

    }

    .testimonials-title{

        margin-bottom:40px;

    }

    .testimonials-title h2{

        font-size:2.3rem;

    }

    .testimonials-title p{

        font-size:1rem;

    }

    .testimonial-card{

        padding:28px;

        border-radius:24px;

    }

    .testimonial-quote{

        width:58px;

        height:58px;

        font-size:22px;

    }

    .testimonial-text{

        font-size:.96rem;

    }

    .testimonial-user img{

        width:62px;

        height:62px;

    }

}

@media (max-width:480px){

    .testimonials{

        padding:70px 0;

    }

    .testimonials-title h2{

        font-size:2rem;

    }

    .testimonials-title p{

        font-size:.95rem;

    }

    .testimonial-card{

        padding:24px;

    }

    .testimonial-stars{

        justify-content:center;

    }

    .testimonial-quote{

        margin-inline:auto;

    }

    .testimonial-text{

        text-align:center;

        font-size:.92rem;

    }

    .testimonial-user{

        flex-direction:column;

        text-align:center;

        gap:14px;

    }

}

/*=========================================
        PREMIUM EFFECTS
=========================================*/

.testimonial-card{

    will-change:transform;

}

.testimonial-user img{

    will-change:transform;

}

.testimonial-stars i{

    transition:

        transform .3s ease,

        color .3s ease;

}

.testimonial-card:hover .testimonial-stars i:nth-child(1){

    transform:translateY(-2px);

}

.testimonial-card:hover .testimonial-stars i:nth-child(2){

    transform:translateY(-4px);

}

.testimonial-card:hover .testimonial-stars i:nth-child(3){

    transform:translateY(-6px);

}

.testimonial-card:hover .testimonial-stars i:nth-child(4){

    transform:translateY(-4px);

}

.testimonial-card:hover .testimonial-stars i:nth-child(5){

    transform:translateY(-2px);

}
