.review-profile{
    background: var(--primary);
    padding: 30px 0;
    text-align: center;
}
.review-profile h2{
    font-size: 26px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 10px;
}
.review-profile h5{
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text-white);
    font-style: italic;
    margin-top: 0;
}

.review-testimony{
    padding: 20px 0;
    color: var(--text);
    background: var(--bg-milk);
    text-align: center;
}
.review-testimony h2{
    font-size: 24px;
    font-family: var(--font-body);
    margin-bottom: 0;
    font-style: italic;
}
@media (max-width: 768px){
    .review-testimony h2{
        font-size: 15px;
    }
}
.parent-review{
    background: var(--primary);
    padding: 70px 0;
}
.parent-review-content{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.parent-review-content h2{
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-body);
}
@media (max-width: 768px){
    .parent-review-content h2{
        font-size: 15px;
    }
}
.parent-review-content p{
    font-size: 16px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 500;
    text-align: center;
}
.parent-review-content a{
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    padding: 15px 35px;
    background: white;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
}
.reviews-testimony-list{
    padding: 50px 0 20px;
    background: var(--bg-milk);
}
.testimony-list1{
    width: 70%;
    display: flex;
    gap: 40px;
    margin: 0 auto;
}
@media (max-width:991px){
    .testimony-list1{
        width: 80%;
    }
}
@media (max-width:768px){
    .testimony-list1{
        width: 95%;
        align-items: center;
    }
}
@media (max-width:576px){
    .testimony-list1{
        flex-direction: column-reverse;
    }
}
.testimony-list1 h5, .testimony-list2 h5, .testimony-list3 h5{
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-body);
    font-style: italic;
    margin:0;
}
.testimony-list1 .stat-img{
    width: 170px;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimony-list1 img{
    width: 100%;
    height: 100%;
}
.testimony-list2, .testimony-list3{
    margin: 80px auto 20px;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-details{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}
.testimonial-details-img{
     width: 170px;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-details-img img{
    width: 100%;
    height: 100%;
}
@media (max-width:991px){
    .testimony-list1 .stat-img{
        width: 150px;
        height: 150px;
    }
    .testimonial-details-img{
     width: 150px;
    height: 150px;
    }
    .testimony-list2, .testimony-list3{
        margin: 80px auto 20px;
        width: 80%;
    }
}

@media (max-width:768px){
    .testimonial-details{
        align-items: center;
    }
    .testimony-list1 .stat-img{
        width: 120px;
        height: 120px;
    }
    .testimonial-details-img{
     width: 120px;
    height: 120px;
    }
    .testimony-list2, .testimony-list3{
        margin: 80px auto 20px;
        width: 95%;
    }
}
