.testimonial-slider-container {
    position: relative;
    background-color: #f9fafb;
    padding: 96px 32px;
}

.testimonial-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.testimonial-header-wrapper {
    text-align: center;
    margin-bottom: 64px;
}

.testimonial-header {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #6b7280;
    text-transform: uppercase;
    margin: 0;
}

.testimonial-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.testimonial-slides {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    position: relative;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    padding: 0 64px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-slide:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.background-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.background-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.testimonial-content-inner {
    position: relative;
    z-index: 2;
}

.testimonial-content {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.4;
    color: #374151;
    margin: 0 0 48px 0;
    font-style: normal;
    position: relative;
}

/* Left border styles - only applied when has-left-border class is present */
.testimonial-content.has-left-border {
    border-left: 4px solid #e5e7eb;
    padding-left: 20px;
}

/* Author wrapper styles */
.testimonial-author-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

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

.testimonial-position {
    font-size: 14px;
    color: #9ca3af;
    font-style: italic;
    margin-top: 5px;
}

/* Rating styles */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
}

.testimonial-rating .star {
    color: #d1d5db;
    font-size: 16px;
    transition: color 0.2s ease;
}

.testimonial-rating .star.filled {
    color: #fbbf24;
}

/* Dots navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dots .dot.active,
.testimonial-dots .dot:hover {
    background-color: #6b7280;
}

/* Animation classes for different transition types */
.testimonial-slide.slide-animation {
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide.slide-animation.transitioning {
    transform: translateX(100%);
}

.testimonial-slide.scale-animation {
    transition: all 0.3s ease-in-out;
}

.testimonial-slide.scale-animation.transitioning {
    opacity: 0;
    transform: scale(0.95);
}

.testimonial-slide.flip-animation {
    transition: all 0.4s ease-in-out;
    transform-style: preserve-3d;
}

.testimonial-slide.flip-animation.transitioning {
    opacity: 0;
    transform: rotateY(90deg);
}

.testimonial-slide.fade-animation {
    transition: opacity 0.3s ease-in-out;
}

.testimonial-slide.fade-animation.transitioning {
    opacity: 0;
}

.testimonial-author {
    font-size: 18px;
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    transition: color 0.25s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    color: #4b5563;
}

.testimonial-nav.prev {
    left: -64px;
}

.testimonial-nav.next {
    right: -64px;
}

.testimonial-nav svg {
    width: 32px;
    height: 32px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-slide {
        padding: 0 48px;
    }
    
    .testimonial-nav.prev {
        left: -48px;
    }
    
    .testimonial-nav.next {
        right: -48px;
    }
    
    .testimonial-content {
        font-size: 36px;
    }
    
    .background-logo {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .testimonial-slider-container {
        padding: 64px 16px;
    }
    
    .testimonial-slide {
        padding: 0 32px;
    }
    
    .testimonial-nav.prev {
        left: -32px;
    }
    
    .testimonial-nav.next {
        right: -32px;
    }
    
    .testimonial-content {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .testimonial-author {
        font-size: 16px;
    }
    
    .background-logo {
        width: 250px;
        height: 250px;
    }
    
    .testimonial-nav svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        padding: 0 16px;
    }
    
    .testimonial-nav.prev {
        left: -16px;
    }
    
    .testimonial-nav.next {
        right: -16px;
    }
    
    .testimonial-content {
        font-size: 24px;
    }
    
    .background-logo {
        width: 200px;
        height: 200px;
    }
}