﻿.testimonials-section {
    padding: 100px 0;
    /*background: #fff;*/
}

.testimonialSwiper {
    overflow: hidden;
    padding: 30px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    min-height: 320px;
    transition: .4s;
    border: 2px solid transparent;
}

.testimonial-stars {
    color: #fbbc04;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-review {
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
    min-height: 120px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #b58a52;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: #222;
}

.testimonial-builder {
    color: #777;
    font-size: .9rem;
}

.swiper-button-next, .swiper-button-prev {
    color: black !important;
}

/* Active Slide */
.swiper-slide-active .testimonial-card {
    transform: scale(1);
    opacity: 1;
    border: 2px solid #b58a52;
    box-shadow: 0 15px 40px rgba(0,0,0,.08), 0 0 0 4px rgba(181,138,82,.10);
}

.swiper-slide:not(.swiper-slide-active) .testimonial-card {
    transform: scale(.88);
    opacity: .6;
}

.review-summary {
    text-align: center;
    margin-bottom: 50px;
}

.review-stars {
    color: #fbbc04;
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.review-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.review-count {
    color: #777;
    font-size: .95rem;
}


/* Tablet ❤️ */

@media (max-width:1024px) {

    .swiper-slide:not(.swiper-slide-active) .testimonial-card {
        transform: none;
        opacity: 1;
    }
}

/* Mobile */

@media (max-width:768px) {

    .testimonials-section {
        padding: 70px 0;
    }

    .testimonial-card {
        min-height: auto;
        padding: 25px;
    }

    .testimonial-review {
        min-height: auto;
    }
}
