/* Testimonials Carousel */
.testimonials-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.testimonials-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    position: relative;
    transition: border-color 0.3s;
}

.testimonial-card-inner:hover {
    border-color: rgba(59, 130, 246, 0.25);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: rgba(59, 130, 246, 0.3);
    margin-bottom: 16px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #3b82f6;
    font-size: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B2FF2, #E91E8C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-author-detail {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Navigation Arrows */
.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
    font-size: 0.9rem;
}

.testimonials-nav:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #fff;
}

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

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

/* Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background: #7B2FF2;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.testimonial-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-wrapper {
        padding: 0 50px;
    }
    .testimonial-card-inner {
        padding: 28px 20px;
    }
    .testimonial-text {
        font-size: 0.95rem;
    }
    .testimonials-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .testimonials-nav.prev {
        left: 4px;
    }
    .testimonials-nav.next {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .testimonials-wrapper {
        padding: 0 10px;
    }
    .testimonials-nav {
        display: none;
    }
    .testimonial-card {
        padding: 0 8px;
    }
}
