/* ============================================================
   FAQs.CSS — FAQ accordion (dark/light theme aware)
   ============================================================ */

.faq-container {
    display: block;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--darker, #0a1414);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Question */
.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 1.2rem;
    color: var(--text, #e0f7fa);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s, color 0.25s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary, #2196f3);
}

.faq-question::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--text-light, #b2dfdb);
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    border-bottom-color: transparent;
    color: var(--primary, #2196f3);
}

.faq-item.active .faq-question::after {
    content: "\f077";
}

/* Answer */
.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light, #b2dfdb);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding: 1rem 1.2rem;
    background: rgba(33, 150, 243, 0.04);
}

/* Answer content */
.faq-answer ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}
.faq-answer ul li {
    margin-bottom: 8px;
}
.faq-answer a {
    color: var(--primary, #2196f3);
    text-decoration: none;
}
.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container { width: 95%; }
    .faq-question { font-size: 0.95rem; padding: 0.85rem 1rem; }
    .faq-answer { font-size: 0.85rem; }
}