.testimonial-section {
    padding: 4re    /* Mobile view */
@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 100%; /* Show 1 item */
        width: 100%;
        padding: 0 0.5rem;
    }
    .testimonial-slide {
        gap: 0;
    }
    .testimonial-container {
        overflow: hidden;
        width: 100%;
    }
} overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-container {
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
}

.testimonial-item {
    flex: 0 0 calc((100% - 4rem) / 3); /* Show 3 items with proper gaps */
    min-width: 0; /* Prevent content from forcing wider width */
    width: 100%; /* Ensure full width in all views */
}

/* Tablet view */
@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 calc((100% - 2rem) / 2); /* Show 2 items with proper gap */
    }
    .testimonial-slide {
        gap: 2rem;
    }
}

/* Mobile view */
@media (max-width: 768px) {
    .testimonial-container {
        width: 100%;
        overflow: hidden;
    }
    .testimonial-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 0.5rem;
    }
    .testimonial-slide {
        gap: 0;
    }
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav-button {
    background: #198754;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-nav-button:hover {
    background: #146c43;
}

.testimonial-nav-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
}

@media (max-width: 768px) {
    .testimonial-nav-button {
        width: 35px;
        height: 35px;
    }
}
