/* Basic styling for the swiper container */
.testimonials-section {
    padding: 4rem 0; /* Adjust padding as needed */
    background-color: #f9f9f9; /* Optional background color */
}
.testimonials-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    /* color: var(--brand-dark-blue); */ /* Use your theme color */
}
.testimonials-swiper {
    width: 100%;
    padding-top: 20px; /* Increased padding top */
    padding-bottom: 60px; /* Increased padding bottom for pagination/nav */
    cursor: grab;
}

.testimonial-slide {
    background-color: #ffffff; /* White background */
    border-radius: 10px; /* Slightly more rounded corners */
    padding: 2rem 1.5rem 1.5rem 1.5rem; /* Adjust padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Clearer shadow */
    border: 1px solid #e8e8e8; /* Light border for definition */
    height: auto; /* Let height adjust */
    display: flex;
    flex-direction: column;
    /* Removed fixed width, relying on slidesPerView: 'auto' and content */
    /* width: 300px; */
    max-width: 350px; /* Set a max-width instead */
    margin-right: 20px; /* Adjust spacing */
    box-sizing: border-box;
    position: relative; /* Needed for pseudo-elements if adding quotes */
}

/* Optional: Add visual quotes like the example */
.testimonial-slide::before {
    content: '\201C'; /* Left double quote */
    font-family: Georgia, serif;
    font-size: 4rem; /* Large quote size */
    color: #ff9900; /* Use your theme color */
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}


.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem; /* More space before author */
    flex-grow: 1;
    line-height: 1.6;
    text-align: center; /* Center text */
    padding-top: 1rem; /* Add space below quote mark */
}

.testimonial-author {
    font-weight: bold;
    color: #333; /* Darker author color */
    /* color: var(--brand-orange); */ /* Or use your theme color */
    text-align: center; /* Center author */
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee; /* Separator line */
}

/* Swiper pagination/navigation styling */
.testimonials-swiper .swiper-pagination {
    position: absolute;
    bottom: 15px; /* Adjust position */
}
.testimonials-swiper .swiper-pagination-bullet-active {
    background-color: #ff9900; /* Example color */
}
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    color: #ff9900; /* Example color */
    top: 50%;
    transform: translateY(-50%);
    width: 30px; /* Adjust size */
    height: 30px;
    /* background-color: rgba(255, 255, 255, 0.7); Optional background */
    /* border-radius: 50%; */
}
.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
    font-size: 1.2rem; /* Adjust arrow size */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-slide {
         max-width: 85%;
         margin-right: 15px;
    }
     /* Keep arrows visible if desired */
}
 @media (max-width: 480px) {
    .testimonial-slide {
         max-width: 90%;
         padding: 1.5rem 1rem 1rem 1rem;
    }
    .testimonial-slide::before {
        font-size: 3rem;
        top: 0.2rem;
        left: 0.5rem;
    }
    .testimonials-swiper .swiper-button-prev,
    .testimonials-swiper .swiper-button-next {
         display: none; /* Hide arrows on very small screens */
     }
 }
 /* Ensure container class provides centering/max-width if needed */
 .container {
     max-width: 1200px; /* Example */
     margin-left: auto;
     margin-right: auto;
     padding-left: 15px;
     padding-right: 15px;
 }