/* ============================================================
   TESTIMONIAL SLIDER GLASSMORPHISM STYLES
   ============================================================ */

/* Testimonials Slider Container */
.testimonials-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 400px;
    padding: 2rem 0;
}

/* Testimonials Grid (Single Item Display) */
#testimonialsSlider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    position: relative;
    min-height: 350px;
}

/* Testimonial Card Slider Styles */
.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Navigation Buttons */
.testimonial-nav-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.testimonial-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.testimonial-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(255, 107, 157, 0.2);
}

.testimonial-nav-btn:active {
    transform: scale(0.95);
}

.testimonial-prev {
    order: 1;
}

.testimonial-next {
    order: 3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-slider-container {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .testimonial-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    #testimonialsSlider {
        max-width: 600px;
        min-height: 320px;
    }
    
    .testimonial-card {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials-slider-container {
        gap: 1rem;
        flex-wrap: wrap;
        padding: 1rem 0;
    }
    
    .testimonial-prev,
    .testimonial-next {
        order: unset;
    }
    
    .testimonial-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    #testimonialsSlider {
        max-width: 100%;
        min-height: 300px;
        order: 3;
    }
    
    .testimonial-card {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-container {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    #testimonialsSlider {
        min-height: 280px;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
        min-height: 260px;
    }
}

/* Accessibility */
.testimonial-nav-btn:focus {
    outline: 2px solid rgba(255, 107, 157, 0.5);
    outline-offset: 2px;
}

.testimonial-nav-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .testimonial-nav-btn {
        transition: none;
    }
}
