/*==================================================
    TESTIMONIALS
==================================================*/

.testimonials{
    padding:100px 0;
    background:#f8faf7;
}

.testimonial-slider{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:340px;
    border:1px solid transparent;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    border-color:#1f6b2d;
    box-shadow:0 25px 50px rgba(0,0,0,.12);
}

/*==============================
TOP
==============================*/

.testimonial-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.testimonial-top img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #eef8ef;
}

.testimonial-top h4{
    margin:0;
    font-size:20px;
    color:#222;
}

.testimonial-top span{
    font-size:14px;
    color:#888;
}

/*==============================
STARS
==============================*/

.stars{
    color:#FFC107;
    margin-bottom:18px;
}

.stars i{
    margin-right:2px;
}

/*==============================
TEXT
==============================*/

.testimonial-card p{
    font-size:16px;
    line-height:1.8;
    color:#666;
    flex:1;
}

/*==============================
ANIMATION
==============================*/

.testimonial-card{
    opacity:0;
    transform:translateY(40px);
}

.testimonial-card.show{
    opacity:1;
    transform:translateY(0);
    transition:.8s ease;
}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:992px){

.testimonial-slider{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.testimonials{
    padding:70px 0;
}

.testimonial-slider{
    grid-template-columns:1fr;
}

.testimonial-card{
    min-height:auto;
}

}
/*=========================================
HOVER EFFECT
=========================================*/

.testimonial-top img{

    transition:.35s;

}

.testimonial-card:hover .testimonial-top img{

    transform:scale(1.08);

}

.stars{

    letter-spacing:2px;

}

.testimonial-card p{

    margin-top:10px;

}