﻿/*=======================
	Testimonial CSS
=========================*/
#testimonials {
    background: url(/Design/img/ComNieuHaiSanMuiNe/b-decor.jpg) no-repeat;
    position: relative;
    padding-top: 90px;
    padding-bottom: 51px;
    background-size: cover;
}

.title-review-cus p {
    display: block;
    margin: 3px 0;
    font-size: 14px;
    font-family: 'Montserrat-Regular';
    color: #696969;
}

.title-review-cus {
    text-align: left;
    flex: 1 1 0;
    margin-left: 10px;
}

    .title-review-cus span:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        background: #696969;
        width: 46px;
        height: 1px;
    }

.WTopHomeReview section {
    text-align: justify;
    margin-top: 8px;
    line-height: 150%;
    font-size: 17px;
    font-family: 'Montserrat-Medium';
}

.WTopHomeReview h2 {
    margin: 0;
    color: #551b15;
    font-family: 'SVNH';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px;
    text-align: center;
}

.WBottomHomeReviewCus {
    width: 54%;
    margin-left: 70px;
    margin-right: 56px;
}

.WTopHomeReview {
    text-align: left;
    flex: 1 1 0;
}

#testimonials .section-title h1 {
    color: #fff;
}

#testimonials .testimonial-carousel {
    position: relative;
}

#testimonials .single-testimonial {
    text-align: center;
    background: #fff;
    padding: 26px 22px;
    border-radius: 12px;
    padding-bottom: 5px;
}

#testimonials .testimonial-content {
    position: relative;
}

    #testimonials .testimonial-content p {
        color: #545454;
        text-align: justify;
        padding-right: 5px;
        font-family: 'Montserrat-Regular';
        font-size: 14px;
        font-weight: 500;
        line-height: 150%;
        height: 190px;
        overflow: overlay;
    }

#testimonials .testimonial-info {
    overflow: hidden;
    display: flex;
    align-items: center;
}

    #testimonials .testimonial-info img {
        width: 80px;
        position: relative;
        display: inline-block;
        height: 80px;
        border: 2px solid #fff;
        object-fit: cover;
    }

    #testimonials .testimonial-info h6 {
        color: #551b15;
        margin: 10px 0 0;
        font-family: 'Montserrat-Bold';
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 2px;
        margin-top: 0;
    }

.title-review-cus span i {
    margin-right: 5px;
}

#testimonials .testimonial-info span {
    position: relative;
    display: block;
    margin-top: 7px;
    color: #696969;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    padding-top: 7px;
}

#testimonials .rating {
    margin-top: 10px;
    padding: 0;
}

    #testimonials .rating li {
        display: inline-block;
        color: #f6c11c;
    }

#testimonials .owl-nav {
}

    #testimonials .owl-nav div {
        position: absolute;
        top: 50%;
        margin-top: -25px;
        padding: 0;
        font-size: 22px;
        padding: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #551b15;
        border-radius: 100%;
        background: transparent;
        background: transparent;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

        #testimonials .owl-nav div:hover {
            opacity: 0.5;
        }

    #testimonials .owl-nav .owl-prev {
        left: -54px;
    }

    #testimonials .owl-nav .owl-next {
        right: -57px;
    }

.img-circle {
    border-radius: 50%;
}

.WTopHomeReview h4 {
    margin: 0;
    color: #551b15;
    font-family: iCR;
    font-size: 51px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
}

.WTopHomeReview .title-combo-h .decor-tt {
    top: 0;
}

#testimonials .grid.wide {
    position: relative;
    display: flex;
}
/*=======================
	End Testimonial
=========================*/
.testimonial-carousel .testimonial-item {
    opacity: 0.7;
    transform: scale(0.97);
    transition: all 0.8s ease-in-out;
}

.testimonial-carousel .owl-item.active .testimonial-item.active-anim {
    opacity: 1;
    transform: scale(1);
}

.owl-nav i {
    font-size: 20px;
    color: #f6c11c;
    transition: color 0.3s ease;
}

    .owl-nav i:hover {
        color: #333;
    }

.owl-dots .owl-dot span {
    background: #ccc;
    transition: all 0.3s ease;
}

.owl-dots .owl-dot.active span {
    background: #ffb300; /* màu nhấn thương hiệu */
    transform: scale(1.2);
}

@media(max-width:1023px) {
    .WTopHomeReview h4 {
        font-size: 28px;
    }

    .WTopHomeReview h2 {
        font-size: 26px;
    }

    #testimonials .grid.wide {
        display: block;
    }

    .WTopHomeReview section {
        font-size: 15px;
    }

    .WTopHomeReview {
        margin-bottom: 15px;
        text-align: center;
    }

    .WBottomHomeReviewCus {
        width: 100%;
        margin: 0;
    }

    #testimonials {
        padding: 25px 0;
    }
}

@media(max-width:739px) {
    #testimonials .single-testimonial {
        padding: 20px 50px;
    }

    .owl-nav i {
        font-size: 16px;
    }

    #testimonials .testimonial-content p {
        font-size: 14px;
        margin-bottom: 0;
        height: 170px;
    }

    #testimonials .testimonial-info img {
        width: 65px;
        height: 65px !important;
    }

    #testimonials .testimonial-content i {
        font-size: 29px;
        top: -10px;
    }

    #testimonials .testimonial-info h6 {
        font-size: 16px;
    }

    #testimonials .testimonial-info span {
        font-size: 14px;
    }

    .WTopHomeNews h4 {
        font-size: 32px;
    }

    #testimonials:before {
        width: 100%;
    }

    #testimonials .owl-nav div {
        font-size: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 420px) {
    #testimonials .single-testimonial {
        padding: 20px 20px;
    }
}