/* Testimonials Section */
.testimonials-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(91, 33, 182, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(91, 33, 182, 0.3);
    border-radius: 50px;
    color: #5b21b6;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #5b21b6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    overflow: hidden;
    border-radius: 24px;
}

.testimonial-card {
    display: none;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(91, 33, 182, 0.1);
    position: relative;
    animation: fadeInScale 0.5s ease-out;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5b21b6 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.3);
}

.quote-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #5b21b6;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.2);
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 1rem;
    color: #5b21b6;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-company {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

/* Testimonial Content */
.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fb923c;
    font-size: 1.2rem;
}

/* Testimonial Meta */
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(91, 33, 182, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.meta-item i {
    color: #5b21b6;
    font-size: 1rem;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.3);
    z-index: 10;
}

.carousel-nav:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(91, 33, 182, 0.5);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(91, 33, 182, 0.2);
    border: 2px solid rgba(91, 33, 182, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #5b21b6 0%, #ec4899 100%);
    width: 40px;
    border-radius: 6px;
    border-color: #5b21b6;
}

.dot:hover:not(.active) {
    background: rgba(91, 33, 182, 0.4);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .testimonials-carousel {
        padding: 0 20px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }

    .testimonial-name {
        font-size: 1.2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-nav.prev {
        left: -5px;
    }

    .carousel-nav.next {
        right: -5px;
    }

    .quote-icon {
        width: 50px;
        height: 50px;
        top: -15px;
        left: 20px;
    }

    .quote-icon i {
        font-size: 1.2rem;
    }

    .testimonial-meta {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
