﻿.testimonial-slider-section {
    padding: 6rem 2rem;
    text-align: center;
    color: var(--text-color);
    background: transparent;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

    .testimonial-slider-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/noise.png');
        background-size: cover;
        mix-blend-mode: screen;
        opacity: 0.03;
        pointer-events: none;
        z-index: 0;
    }

    .testimonial-slider-section h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
        color: var(--accent);
        text-shadow: 0 0 14px var(--accent);
        animation: pulseLoop 4s ease-in-out infinite;
        position: relative;
        z-index: 2;
    }

.testimonial-slide {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px var(--accent);
    position: relative;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.8s ease;
    transform-origin: left;
    z-index: 2;
}

    .testimonial-slide.active {
        display: block;
    }

    .testimonial-slide.visible {
        opacity: 1;
        transform: rotateY(0);
    }

    .testimonial-slide p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        opacity: 1;
        white-space: pre-wrap;
    }

.testimonial-author {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* === Pulse loop from Arsenal/Why === */
@keyframes pulseLoop {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 14px var(--accent);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 24px var(--accent);
    }
}

/* === Mobile Adjustments === */
@media (max-width: 768px) {
    .testimonial-slider-section h2 {
        font-size: 2.2rem;
    }

    .testimonial-slide {
        padding: 2rem 1.5rem;
    }

        .testimonial-slide p {
            font-size: 0.95rem;
        }
}
