/* ===== MOBILE TESTIMONIALS SECTION ===== */

.mobile-testimonials-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

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

.mobile-testimonials-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header Override for testimonials */
.mobile-testimonials-section .mobile-section-title {
    color: white;
}

.mobile-testimonials-section .mobile-section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Slider */
.mobile-testimonials-slider {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 16px;
}

/* Testimonial Item */
.mobile-testimonial-item {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 25px;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.mobile-testimonial-item.prev {
    transform: translateX(-100px);
}

.mobile-testimonial-item.next {
    transform: translateX(100px);
}

/* Testimonial Rating */
.mobile-testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    justify-content: center;
}

.mobile-testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

/* Testimonial Text */
.mobile-testimonial-text {
    margin-bottom: 25px;
    text-align: center;
}

.mobile-testimonial-text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
    position: relative;
}

.mobile-testimonial-text p::before {
    content: '"';
    font-size: 60px;
    color: #60a5fa;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
    opacity: 0.5;
}

.mobile-testimonial-text p::after {
    content: '"';
    font-size: 60px;
    color: #60a5fa;
    position: absolute;
    bottom: -40px;
    right: -15px;
    font-family: serif;
    opacity: 0.5;
}

/* Testimonial Author */
.mobile-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.mobile-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #60a5fa;
    flex-shrink: 0;
}

.mobile-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.mobile-testimonial-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
}

.mobile-testimonial-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Controls */
.mobile-testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mobile-testimonial-prev,
.mobile-testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-testimonial-prev:hover,
.mobile-testimonial-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-testimonial-prev:active,
.mobile-testimonial-next:active {
    transform: scale(0.95);
}

/* Dots */
.mobile-testimonials-dots {
    display: flex;
    gap: 8px;
}

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

.mobile-testimonial-dot.active {
    background: white;
    transform: scale(1.2);
}

.mobile-testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 479px) {
    .mobile-testimonials-section {
        padding: 30px 0;
    }
    
    .mobile-testimonials-container {
        padding: 0 15px;
    }
    
    .mobile-testimonial-item {
        padding: 25px 20px;
    }
    
    .mobile-testimonial-text p {
        font-size: 14px;
    }
    
    .mobile-testimonial-text p::before,
    .mobile-testimonial-text p::after {
        font-size: 40px;
    }
    
    .mobile-testimonial-text p::before {
        top: -15px;
        left: -10px;
    }
    
    .mobile-testimonial-text p::after {
        bottom: -25px;
        right: -10px;
    }
    
    .mobile-testimonial-avatar {
        width: 45px;
        height: 45px;
    }
    
    .mobile-testimonial-info h4 {
        font-size: 15px;
    }
    
    .mobile-testimonial-info p {
        font-size: 12px;
    }
    
    .mobile-testimonials-controls {
        gap: 15px;
        margin-top: 25px;
    }
    
    .mobile-testimonial-prev,
    .mobile-testimonial-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Auto-play indicator */
.mobile-testimonials-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    animation: testimonialProgress 5s linear infinite;
}

@keyframes testimonialProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Pause auto-play on hover */
.mobile-testimonials-slider:hover::after {
    animation-play-state: paused;
}

/* Swipe gesture indicators */
.mobile-testimonials-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    animation: swipeLeft 2s ease-in-out infinite;
}

@keyframes swipeLeft {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-50%) translateX(10px); opacity: 1; }
}
