/* CUSTOMER REVIEW SECTION CSS  */
.review_section {
    float: left;
    position: relative;
    padding: 10px 0;
    background: #fcfcfd;
    z-index: 1;
    width: 100%;
}

.section-title {
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.section-title p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 20px;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.section-title h2 {

    width: 100%;
    text-align: center;
    color: var(--primary-color-dark);
    font-size: 34px;
    font-weight: 800;

}

.section-separator {
    display: block;
    width: 80px;          /* adjust as needed */
    height: 3px;
    background: var(--primary-color-dark);     /* or your theme color */
    margin: 10px auto;    /* 👈 centers horizontally */
}


.swiper-container {
    width: 100%;
    height: 100%;
}

.listing-carousel-button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 50px;
    line-height: 52px;
    z-index: 10;
    cursor: pointer;
    background: var(--primary-color-dark);
    box-shadow: 0 9px 26px rgba(64, 172, 73, 0.45);
    transition: all 200ms linear;
    outline: none;
    font-size: 20px;
}

.listing-carousel-button.listing-carousel-button-next {
    right: 0px;
    padding-left: 10px;
    border-radius: 60px 60px 60px 60px;
}

.listing-carousel-button.listing-carousel-button-prev {
    left: 0px;
    padding-left: 5px;
    border-radius: 60px 60px 60px 60px;
}

.listing-carousel-button.listing-carousel-button-next:hover {
    /* right: -15px; */
    background: rgba(6, 27, 65, 0.4);
}

.listing-carousel-button.listing-carousel-button-prev:hover {
    /* left: -15px; */
    background: rgba(6, 27, 65, 0.4);
}

.testi-item {
    transition: all .3s ease-in-out;
    transform: scale(0.9);
    opacity: 0.9;
}


.testimonials-text {
    padding: 70px 25px 45px;
    overflow: hidden;
    background: #f5f6fa;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    transition: all .3s ease-in-out;
}

.testimonials-text-after {
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    color: var(--primary-color-dark);
    opacity: .6;
    font-size: 35px;
    transition: all 400ms linear;
    bottom: 25px;
    right: 30px;
}

.testimonials-text-before {
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    color: var(--primary-color-dark);
    opacity: .6;
    font-size: 35px;
    transition: all 400ms linear;
    top: 25px;
    left: 30px;
}

.testimonials-text .listing-rating {
    float: none;
    display: inline-block;
    margin-bottom: 12px;
}

.listing-rating i {
    color: var(--primary-color);
}

.testimonials-avatar h3 {
    font-weight: 600;
    color: #7d93b2;
    font-size: 18px;
}

.testimonials-avatar h4 {
    font-weight: 400;
    font-size: 14px;
    padding-top: 6px;
    color: var(--primary-color-dark);
}

.testimonials-carousel .swiper-slide {
    transition: all 0.3s ease-in;
    padding: 30px 0;
}
.testimonials-carousel .swiper-slide:hover{
    transform: scale(1.02);
}
.testi-avatar {
    position: absolute;
    left: 50%;
    top: -30px;
    width: 90px;
    height: 90px;
    margin-left: -45px;
    z-index: 20;
}

.testi-avatar img {
    width: 100px;
    height: 100px;
    float: left;
    border-radius: 100%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 9px 26px rgba(58, 87, 135, 0.1);
}

.swiper-slide-active .testimonials-text {
    background: var(--white);
    box-shadow: 0 9px 26px rgba(58, 87, 135, 0.1);
}

.testimonials-text p {
    color: #38393d;
    font-size: 15px;
    line-height: 24px;
    padding-bottom: 10px;
    font-weight: 500;
}

.text-link {
    position: absolute;
    bottom: 0;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    background: var(--white);
    border: 1px solid #eee;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
    left: 50%;
    width: 200px;
    margin-left: -100px;
}

.swiper-slide-active .testi-item {
    opacity: 1;
    transform: scale(1.0);
}

.tc-pagination {
    float: inline-end;
    margin-top: 10px;
    width: 55% !important;
}

.tc-pagination_wrap {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
}

.tc-pagination2 {
    float: none;
    display: inline-block;
    padding: 14px 0;
    background: var(--white);
    border-radius: 30px;
    min-width: 250px;
    border-bottom: 0;
}

.tc-pagination .swiper-pagination-bullet,
.tc-pagination2.swiper-pagination-bullet {
    opacity: 1;
    background: var(--primary-color-dark);
    margin: 0 2px;
    width: 15px;
    height: 15px;
    transition: all 300ms ease-in-out;
}

@media (max-width: 768px) {
    /* Adjust carousel buttons for smaller screens */
    .listing-carousel-button {
        display: none;
    }
    .tc-pagination {
        width: 60% !important;
    }

    .section-separator:before {
        left: 35%;
    }


    /* Ensure text and avatar placement remains consistent */
    .testimonials-text {
        padding: 50px 20px;
    }

    .testi-avatar {
        width: 100px;
        height: 100px;
        margin-left: -35px;
    }
    .testimonials-text-before {
        top: 0px !important;
    }

    .testi-avatar img {
        width: 100px;
        height: 100px;
    }
}



:root {
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
}