/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials{
    padding:80px 0;
    background:#fafafa;
}

/* ===========================
   SECTION HEADER
=========================== */

.testimonials .section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.testimonials .section-header h2{
    font-size:36px;
    font-weight:700;
    color:#111;
}

.testimonials .section-header a{
    text-decoration:none;
    color:#111;
    font-weight:600;
    transition:.3s;
}

.testimonials .section-header a:hover{
    color:#c41212;
}

/* ===========================
   GRID
=========================== */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* ===========================
   CARD
=========================== */

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s ease;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.stars{
    color:#f5b301;
    font-size:22px;
    margin-bottom:20px;
    letter-spacing:2px;
}

.testimonial-card p{
    color:#555;
    font-size:16px;
    line-height:1.8;
    margin-bottom:30px;
}

/* ===========================
   AUTHOR
=========================== */

.author{
    display:flex;
    align-items:center;
    gap:15px;
}

.author img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.author h4{
    margin:0 0 5px;
    font-size:18px;
    color:#111;
}

.author span{
    color:#777;
    font-size:14px;
    line-height:1.5;
}

/* ==========================================
   1200px
========================================== */

@media(max-width:1200px){

.testimonial-grid{
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.testimonial-card{
    padding:30px;
}

}

/* ==========================================
   992px
========================================== */

@media(max-width:992px){

.testimonials{
    padding:60px 0;
}

.testimonials .section-header h2{
    font-size:32px;
}

.testimonial-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.testimonial-card{
    padding:28px;
}

}

/* ==========================================
   768px
========================================== */

@media(max-width:768px){

.testimonials{
    padding:50px 0;
}

.testimonials .section-header{
    margin-bottom:30px;
}

.testimonials .section-header h2{
    font-size:28px;
}

.testimonial-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.testimonial-card{
    padding:25px;
}

.stars{
    font-size:20px;
}

.testimonial-card p{
    font-size:15px;
}

.author img{
    width:55px;
    height:55px;
}

.author h4{
    font-size:17px;
}

}

/* ==========================================
   576px
========================================== */

@media(max-width:576px){

.testimonials{
    padding:40px 0;
}

.testimonials .section-header{
    margin-bottom:25px;
}

.testimonials .section-header h2{
    font-size:24px;
}

.testimonials .section-header a{
    font-size:14px;
}

.testimonial-card{
    padding:20px;
    border-radius:12px;
}

.stars{
    font-size:18px;
}

.testimonial-card p{
    font-size:14px;
    margin-bottom:20px;
}

.author{
    gap:12px;
}

.author img{
    width:50px;
    height:50px;
}

.author h4{
    font-size:16px;
}

.author span{
    font-size:13px;
}

}

/* ==========================================
   400px
========================================== */

@media(max-width:400px){

.testimonials .section-header h2{
    font-size:22px;
}

.testimonial-card{
    padding:18px;
}

.author{
    flex-direction:column;
    align-items:flex-start;
}

.author img{
    width:48px;
    height:48px;
}

.author h4{
    font-size:15px;
}

.author span{
    font-size:12px;
}

}