/* ====================================
   TESTIMONIAL CAROUSEL STYLES
   ==================================== */

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(255, 107, 237, 0.05));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

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

/* Large Quote Icon */
.testimonial-quote-icon {
    font-size: 3rem;
    color: #06b6d4;
    margin-bottom: 1.5rem;
}

/* Rating Stars */
.carousel-rating {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
}

.carousel-rating i {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Testimonial Text */
.carousel-testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Author Section */
.carousel-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.carousel-author-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.carousel-author-info p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    color: #3b82f6;
    font-size: 1.25rem;
}

.carousel-arrow:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow.prev {
    left: -25px;
}

.carousel-arrow.next {
    right: -25px;
}

/* Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.4);
}

.carousel-dot:hover:not(.active) {
    background: #9ca3af;
    transform: scale(1.2);
}

/* Auto-play progress indicator */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #3b82f6);
    width: 0%;
    transition: width 0.1s linear;
}

.carousel-progress.animating {
    transition: width 5s linear;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-testimonial-text {
        font-size: 1.125rem;
    }

    .testimonial-slide {
        padding: 2.5rem 1.5rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-testimonial-text {
        font-size: 1rem;
    }

    .testimonial-slide {
        padding: 2rem 1rem;
    }

    .carousel-author {
        flex-direction: column;
    }

    .carousel-author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}