/* BACKGROUND + BASE COLORS */
body {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    background: radial-gradient(circle at top left, #002b49, #230052, #1a0036);
    color: #fff;
}

/* PAGE CONTAINER */
.faq-container {
    
    width: 90%;
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
}

/* TITLE */
.faq-title {
    margin-top:150px;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff, 0 0 25px #00eaff;
}

/* ACCORDION BOX */
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

/* QUESTION */
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    color: #39ff14;
    text-align: left;
    text-shadow: 0 0 8px #39ff14;
}

.faq-question:hover {
    background: rgba(255,255,255,0.08);
}

/* EXPAND SIGN */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 28px;
    color: #00eaff;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
    transition: max-height 0.4s ease-out, padding 0.3s;
}

/* OPEN ACCORDION */
.faq-item.active .faq-answer {
    max-height: 1000px; /* enough for long answers */
    padding: 20px;
}


.faq-item.active .faq-question::after {
    content: "-";
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent dark background */
    color: #00eaff;                 /* neon blue text */
    text-shadow: 0 0 8px #00eaff, 0 0 20px #00eaff;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
}
/* ========================= */
/* TABLET DEVICES (≤ 768px) */
/* ========================= */
@media (max-width: 768px) {

    .faq-container {
        width: 95%;
        margin: 80px auto;
    }

    .faq-title {
        margin-top: 120px;
        font-size: 1.7rem;
        letter-spacing: 1.5px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }

    .faq-question::after {
        font-size: 24px;
        right: 15px;
    }

    .faq-answer {
        font-size: 16px;
        line-height: 22px;
    }

    footer {
        font-size: 16px;
        padding: 25px 15px;
    }
}

/* ========================= */
/* MOBILE DEVICES (≤ 480px) */
/* ========================= */
@media (max-width: 480px) {

    .faq-container {
        width: 92%;
        margin: 60px auto;
    }

    .faq-title {
        margin-top: 100px;
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .faq-question {
        font-size: 15px;
        padding: 14px;
    }

    .faq-question::after {
        font-size: 22px;
        right: 12px;
    }

    .faq-answer {
        font-size: 15px;
        line-height: 22px;
        padding: 0 14px;
    }

    .faq-item.active .faq-answer {
        padding: 14px;
    }

    footer {
        font-size: 15px;
        padding: 20px 10px;
    }
}

