.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
    --slides-to-show: 3;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 calc(100% / var(--slides-to-show));
    box-sizing: border-box;
    padding: 10px;
}

.testimonial-slide-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.star-rating {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.testimonial-name {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.testimonial-job {
    font-size: 0.9em;
    color: #888;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(250,250,250,0.9);
    border: 1px solid rgba(0,0,0,0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease-in-out;
}

.slider-arrow:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

@media (max-width: 1024px) {
    .testimonial-slider-container {
        --slides-to-show: 2;
    }
}

@media (max-width: 767px) {
    .testimonial-slider-container {
        --slides-to-show: 1;
    }
    .prev-arrow { left: -10px; }
    .next-arrow { right: -10px; }
}
