/*=========================================================
CUSTOMER REVIEWS
=========================================================*/

.customer-review-section{
    padding:70px 0;
    background:#ffffff;
    position:relative;
}

.customer-review-section .container{
    position:relative;
    z-index:2;
}

/*=========================================================
SECTION HEADING
=========================================================*/

.review-heading{
    max-width:720px;
    margin:0 auto 55px;
}

.review-badge{
    display:inline-block;
    background:#e8f7ef;
    color:#198754;
    padding:7px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.3px;
    margin-bottom:16px;
}

.review-heading h2{
    font-size:36px;
    font-weight:700;
    color:#222;
    margin-bottom:16px;
}

.review-heading p{
    color:#6c757d;
    font-size:16px;
    line-height:1.8;
    margin:0;
}

/*=========================================================
REVIEW CARD
=========================================================*/

.review-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:30px;
    height:100%;
    transition:.35s ease;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    position:relative;
    overflow:hidden;
}

.review-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#198754;
    transform:scaleX(0);
    transition:.35s;
}

.review-card:hover{
    transform:translateY(-8px);
    border-color:#198754;
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.review-card:hover::before{
    transform:scaleX(1);
}

/*=========================================================
STARS
=========================================================*/

.review-stars{
    display:flex;
    gap:4px;
    margin-bottom:18px;
}

.review-stars i{
    color:#ffc107;
    font-size:17px;
}

/*=========================================================
REVIEW TEXT
=========================================================*/

.review-text{
    color:#555;
    font-size:15px;
    line-height:1.8;
    margin-bottom:25px;
    min-height:110px;
}


/*=========================================================
CUSTOMER INFO
=========================================================*/

.review-user{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top:auto;
}

.review-avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#e8f7ef;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.35s ease;
    flex-shrink:0;
}

.review-avatar i{
    font-size:34px;
    color:#198754;
    transition:.35s ease;
}

.review-card:hover .review-avatar{
    background:#198754;
}

.review-card:hover .review-avatar i{
    color:#fff;
}

.review-user h5{
    margin:0 0 4px;
    font-size:17px;
    font-weight:700;
    color:#222;
    transition:.3s;
}

.review-card:hover .review-user h5{
    color:#198754;
}

.review-user span{
    display:block;
    font-size:14px;
    color:#6c757d;
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media (max-width:1199px){

    .customer-review-section{
        padding:60px 0;
    }

    .review-heading h2{
        font-size:32px;
    }

    .review-card{
        padding:26px;
    }

}

@media (max-width:991px){

    .customer-review-section{
        padding:55px 0;
    }

    .review-heading{
        margin-bottom:45px;
    }

    .review-heading h2{
        font-size:28px;
    }

    .review-heading p{
        font-size:15px;
    }

    .review-text{
        min-height:auto;
    }

}

@media (max-width:767px){

    .customer-review-section{
        padding:50px 0;
    }

    .review-heading{
        margin-bottom:35px;
    }

    .review-badge{
        padding:6px 16px;
        font-size:12px;
    }

    .review-heading h2{
        font-size:24px;
    }

    .review-heading p{
        font-size:14px;
        line-height:1.7;
    }

    .review-card{
        padding:22px;
        border-radius:16px;
    }

    .review-stars i{
        font-size:16px;
    }

    .review-text{
        font-size:14px;
        line-height:1.7;
        margin-bottom:20px;
    }

    .review-avatar{
        width:54px;
        height:54px;
    }

    .review-avatar i{
        font-size:30px;
    }

    .review-user h5{
        font-size:16px;
    }

    .review-user span{
        font-size:13px;
    }

}

@media (max-width:575px){

    .customer-review-section{
        padding:45px 0;
    }

    .review-heading h2{
        font-size:22px;
    }

    .review-card{
        padding:18px;
    }

    .review-avatar{
        width:48px;
        height:48px;
    }

    .review-avatar i{
        font-size:26px;
    }

    .review-user{
        gap:12px;
    }

    .review-user h5{
        font-size:15px;
    }

    .review-user span{
        font-size:12px;
    }

    .review-text{
        font-size:13px;
    }

}