/* Testimonials Carousel Styles */
.testimonials-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    margin: 4rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding: 2rem 0;
}

.testimonials-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.testimonial-avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    text-align: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    min-height: 80px;
    text-align: center;
    width: 100%;
    display: block;
}

.testimonial-name {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 100%;
}

.testimonial-role {
    font-size: 0.95rem;
    color: #06b6d4;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.carousel-btn {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text-light);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

.dot.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

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

    .testimonials-carousel {
        gap: 1rem;
    }

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

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

    .testimonial-avatar {
        font-size: 3rem;
    }

    .testimonial-text {
        font-size: 1rem;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }

    .testimonials-carousel {
        gap: 0;
    }
}
