/* Testimonials Section Styling */
.testimonials-section {
    padding: 60px 0 0px;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-section .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Adjust spacing between the title section and the testimonials bar */
.testimonials-bar {
    padding-top: 10px;
    margin-top: -20px;
    overflow-x: auto !important; /* Force horizontal scrolling */
    white-space: nowrap !important; /* Keep content in a single line */
    width: 100% !important;
    scrollbar-width: thin !important; /* Firefox */
    scrollbar-color: rgba(138, 43, 226, 0.5) transparent !important; /* Firefox */
}

/* Chrome/Safari scrollbar styling */
.testimonials-bar::-webkit-scrollbar {
    height: 6px !important; /* Height of horizontal scrollbar */
    display: block !important; /* Force display of scrollbar */
}

.testimonials-bar::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 10px !important;
}

.testimonials-bar::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.5) !important; /* Match Aya purple color */
    border-radius: 10px !important;
}

.testimonials-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.7) !important;
}

/* Testimonials slider content */
.testimonials-slider {
    display: inline-flex !important; /* Display items in a row */
    padding: 10px 20px !important;
    gap: 16px !important; /* Space between items */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0 10px;
    }
    
    .testimonials-section .section-title {
        font-size: 2rem;
    }
}
