/* Professional Testimonials Carousel */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 80px;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 20px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.9) 0%, rgba(20, 20, 35, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Quote Icon */
.quote-icon-top {
    font-size: 3rem;
    color: rgba(139, 92, 246, 0.2);
    margin-bottom: 1.5rem;
}

/* Testimonial Text */
.testimonial-quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Author Section */
.testimonial-author-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
}

.testimonial-avatar i {
    font-size: 2.5rem;
    color: #8b5cf6;
}

.testimonial-author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.testimonial-author-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.25rem 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-verified i {
    color: #10b981;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.9);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.carousel-arrow:hover {
    background: rgba(139, 92, 246, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(139, 92, 246, 0.9);
}

/* Dots Navigation */
.carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(139, 92, 246, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(139, 92, 246, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: transparent;
    border-color: #8b5cf6;
    border-width: 2px;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-carousel-wrapper {
        padding: 0 60px;
    }
    
    .testimonial-slide {
        padding: 2.5rem 2rem;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 50px;
    }
    
    .testimonial-slide {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-quote-text {
        font-size: 1.1rem;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .quote-icon-top {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-wrapper {
        padding: 0 45px;
    }
    
    .testimonial-slide {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-quote-text {
        font-size: 1rem;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Autoplay indicator */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
    width: 0%;
    transition: width linear;
}

.carousel-progress.active {
    animation: progressBar 5s linear;
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
