/* FAQ Page Styles */

/* FAQ Header Section */
.faq-header {
    text-align: center;
    padding: 60px 0;
    background-color: #FFFDF7;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.faq-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--brand-blue);
    margin: 0;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

/* FAQ Item (Accordion) */
.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    display: block;
    position: relative;
    color: var(--primary-text);
}

.faq-question::after {
    content: '▾';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.faq-answer p {
    margin: 0;
}

/* Remove default details/summary styling */
summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .faq-header h1 {
        font-size: 36px;
    }

    .faq-container {
        padding: 30px 20px 60px 20px;
    }
}

@media (max-width: 600px) {
    .faq-header h1 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 15px;
    }
}
