.slider {
    display: flex;
    overflow: hidden;
    gap: 20px;
    width: 100%;
    padding-bottom: 5px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 50px 10px;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    flex-shrink: 0;
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    
}


.testimonial-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.testimonial-name {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #777;
    text-align: left;
}

.testimonial-title {
    margin: 0;
    font-size: 18px;
    color: #4F46E5;
    font-weight: bold;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    align-items: flex-start;
    padding: 5px;
}

.testimonial-quote {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: left;
}

.testimonial-description {
    font-size: 18px;
    color: #777;
    line-height: 1.5;
    text-align: left;
}

.testimonial-rating {
    margin-top: 10px;
    font-size: 20px;
    color: #f5c518;
}

/* Slider controls container */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Remove individual positioning */
.left-arrow, .right-arrow {
    position: relative;
    left: auto;
    right: auto;
    margin: 0;
}

/* Tablet and mobile adjustments */
@media (max-width: 1024px) {
    .slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        flex-wrap: nowrap;
        gap: 20px;
        padding-bottom: 60px; /* Space for arrows */
        -webkit-overflow-scrolling: touch;
    }

    .slider::-webkit-scrollbar {
        display: none; /* Hide scrollbar */
    }

    .testimonial {
        min-width: 80%; /* Adjust width for tablets */
        scroll-snap-align: center;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .slider-controls {
        bottom: 40px; /* Adjust arrow position */
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        flex-wrap: nowrap;
        gap: 20px;
        padding-bottom: 80px; /* Space for arrows */
        -webkit-overflow-scrolling: touch;
    }
    
    .slider::-webkit-scrollbar {
        display: none; /* Hide scrollbar */
    }

    .testimonial {
        min-width: calc(100% - 40px);
        scroll-snap-align: center;
        flex-shrink: 0;
        margin: 0 20px;
        width: 50px;
    }

    .slider-controls {
        bottom: 40px; /* Adjust arrow position */
        margin-left: 2rem;
    }
}
