/* Testimonial Slider Container */
.testimonial-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    /* Reduced padding */
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
}

/* Testimonial Track */
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
    /* Reduced gap */
    padding: 0;
    /* Removed horizontal padding */
}

/* Individual Testimonial Card */
.testimonial-card {
    flex: 0 0 calc(33.333% - 10px);
    /* Adjusted width for reduced gap */
    min-width: calc(33.333% - 10px);
    /* Adjusted width for reduced gap */
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Testimonial Content Layout */
.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial Text Styling */
.testimonial-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.author-reference {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #622a8e;
    color: #622a8e;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-nav:hover {
    background: #622a8e;
    color: #fff;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
}