/* --- New Testimonial Card Design (v2) --- */
.testimonials-section {
    /* Use clamp() for fluid padding based on screen size */
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: var(--primary-color);
    text-align: center;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    /* Add horizontal padding to the container itself */
    padding: 0 1rem;
}

.section-title {
    color: var(--light-text);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
}

/* --- Swiper Slider Custom Styles --- */
.testimonials-slider {
    width: 100%;
    /* Swiper's native padding for the slider container */
    padding-bottom: 3.5rem;
}

/* New Card Styling */
.swiper-slide.testimonial-card-v2 {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.details {
    text-align: left;
}

.user-name {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    color: var(--light-text);
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.google-icon {
    font-size: 1.5rem;
    color: #4285f4;
}

.rating-v2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.2rem;
}

.testimonial-text-v2 {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}

/* --- Swiper Navigation & Pagination Overrides --- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color) !important;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 700;
}

.swiper-pagination {
    bottom: 0px !important; /* Forces the pagination to the very bottom */
}

.swiper-pagination-bullet {
    background: var(--light-text);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--light-text);
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    /* Adjustments for tablets and smaller desktops */
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    /* Hide navigation buttons on mobile devices to save space */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .swiper-pagination {
        /* On mobile, bring the dots closer to the cards */
        top: auto !important;
        bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    /* Adjustments for mobile phones */
    .testimonial-card-v2 {
        padding: 1rem;
    }

    .user-name {
        font-size: 1rem;
    }

    .rating-v2 {
        font-size: 1.1rem;
    }

    .testimonial-text-v2 {
        font-size: 0.9rem;
    }
}y