/* ============================================================
   INFINITE SCROLL TESTIMONIALS
   ============================================================ */

.testimonial-slider-section {
    padding: 60px 0;
    overflow: hidden;
    background: var(--color-bg);
    position: relative;
}

.testimonial-container {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 50s linear infinite;
}

.testimonial-track-inner {
    display: flex;
    gap: 20px;
}

.testimonial-track.reverse {
    animation: scroll-right 50s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

/* Glassmorphism Testimonial Card */
.testimonial-card-premium {
    width: 320px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar-premium {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.3);
}

.testimonial-info h5 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Animations */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-50% - 10px));
    }

    100% {
        transform: translateX(0);
    }
}

/* Side Blur Overlays */
.slider-overlay-left,
.slider-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 5;
    pointer-events: none;
}

.slider-overlay-left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.slider-overlay-right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card-premium {
        width: 280px;
        padding: 20px;
    }

    .slider-overlay-left,
    .slider-overlay-right {
        width: 60px;
    }

    .testimonial-track {
        animation-duration: 40s;
    }
}