﻿/* === FAQ Container === */
.faq-container {
    padding: 5rem 2rem;
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
}

/* === Glowing Heading === */
.faq-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 8px var(--accent);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 8px var(--accent);
    }

    to {
        text-shadow: 0 0 20px var(--accent), 0 0 30px var(--accent);
    }
}

/* === FAQ Item === */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

/* === Question Button === */
.faq-question {
    background: none;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding: 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

    .faq-question:hover {
        color: var(--accent);
        text-shadow: 0 0 10px var(--accent);
    }

/* === Answer Container === */
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
}

    /* === When Answer is Open === */
    .faq-answer.open {
        max-height: 800px;
    }

    /* === Answer Text === */
    .faq-answer p {
        opacity: 1;
        transition: opacity 0.3s ease;
        font-family: monospace; /* Hacker-style binary look */
        font-size: 1.1rem;
        padding: 1rem;
        white-space: pre-wrap;
    }
