.key-testimonials-slider {
    padding: 60px 40px;
    background-color: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Ensure slider container has fixed height to prevent layout shifts */
.key-testimonials-swiper {
    width: 100%;
    min-height: 300px;
    position: relative;
}

/* Ensure slides are visible and maintain consistent height */
.swiper-slide {
    display: block;
    position: relative;
    min-height: 250px;
}

.swiper-slide {
    position: relative;
}

.key-testimonial-item {
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.key-testimonial-quote {
    font-size: 120px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    letter-spacing: -5px;
    position: relative;
    display: block;
    text-align: center;
}

.key-testimonial-content {
    font-size: 24px;
    line-height: 1.6;
    color: #333333;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 400;
}

.key-testimonial-author {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
    margin-top: 20px;
}

/* Swiper pagination styling */
.swiper-pagination {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #cccccc;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background-color: #333333;
    width: 12px;
    height: 12px;
    opacity: 1;
}

/* Ensure pagination is visible */
.key-testimonials-slider .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 40px !important;
}

/* Force pagination bullets to be visible */
.key-testimonials-slider .swiper-pagination-bullet {
    background-color: #cccccc !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin: 0 4px !important;
}

.key-testimonials-slider .swiper-pagination-bullet-active {
    background-color: #333333 !important;
    opacity: 1 !important;
}

/* Navigation arrows styling */
.swiper-button-next,
.swiper-button-prev {
    color: #333333;
    font-size: 30px;
    transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #666666;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .key-testimonials-slider {
        padding: 40px 20px;
        min-height: 350px;
    }

    .key-testimonial-quote {
        font-size: 80px;
    }

    .key-testimonial-content {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .key-testimonial-author {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .key-testimonials-slider {
        padding: 30px 15px;
        min-height: 300px;
    }

    .key-testimonial-quote {
        font-size: 60px;
    }

    .key-testimonial-content {
        font-size: 16px;
    }

    .key-testimonial-author {
        font-size: 14px;
    }
}
