/* ===== FAQ SECTION STYLES ===== */

.faq-section {
    padding: var(--spacing-12) 0;
    background: var(--off-white);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-10);
}

.faq-section .section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
}

.faq-section .section-subtitle {
    color: var(--gray-600);
    font-size: var(--font-size-base);
}

/* FAQ Container - Full Width */
.faq-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

/* FAQ Item */
.faq-item {
    background: var(--navy-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(-5px);
}

.faq-item.active {
    background: var(--navy-primary-dark);
}

/* FAQ Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-5) var(--spacing-6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-text {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white);
    flex: 1;
    text-align: right;
    padding-left: var(--spacing-4);
}

/* FAQ Toggle Button */
.faq-toggle {
    width: 44px;
    height: 44px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--navy-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--gold);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--gray-200);
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.faq-answer-content a {
    color: var(--gold);
    text-decoration: underline;
}

.faq-answer-content ul,
.faq-answer-content ol {
    padding-right: var(--spacing-6);
    margin-top: var(--spacing-3);
}

.faq-answer-content li {
    margin-bottom: var(--spacing-2);
}

/* Light Theme FAQ */
.faq-section.light-theme .faq-item {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.faq-section.light-theme .faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-section.light-theme .faq-item.active {
    background: var(--gray-100);
}

.faq-section.light-theme .faq-question-text {
    color: var(--gray-900);
}

.faq-section.light-theme .faq-toggle {
    background: var(--gray-100);
}

.faq-section.light-theme .faq-toggle svg {
    color: var(--gray-600);
}

.faq-section.light-theme .faq-item.active .faq-toggle {
    background: var(--navy-primary);
}

.faq-section.light-theme .faq-item.active .faq-toggle svg {
    color: var(--white);
}

.faq-section.light-theme .faq-answer-content {
    color: var(--gray-700);
}

/* FAQ Categories Tabs */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-8);
}

.faq-category-btn {
    padding: var(--spacing-3) var(--spacing-6);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    border-color: var(--navy-primary);
    color: var(--navy-primary);
}

.faq-category-btn.active {
    background: var(--navy-primary);
    border-color: var(--navy-primary);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: var(--spacing-4) var(--spacing-5);
    }

    .faq-question-text {
        font-size: var(--font-size-base);
    }

    .faq-toggle {
        width: 36px;
        height: 36px;
    }

    .faq-toggle svg {
        width: 16px;
        height: 16px;
    }

    .faq-answer-content {
        padding: 0 var(--spacing-5) var(--spacing-5);
        font-size: var(--font-size-sm);
    }
}

/* Dark Mode */
[data-theme="dark"] .faq-section {
    background: var(--color-page-bg);
}

[data-theme="dark"] .faq-section .section-title {
    color: var(--gray-900);
}

[data-theme="dark"] .faq-section .section-subtitle {
    color: var(--gray-500);
}

[data-theme="dark"] .faq-section.light-theme .faq-item {
    background: var(--color-card-bg);
    border-color: var(--gray-200);
}

[data-theme="dark"] .faq-section.light-theme .faq-question-text {
    color: var(--gray-900);
}

[data-theme="dark"] .faq-section.light-theme .faq-toggle {
    background: var(--gray-200);
}

[data-theme="dark"] .faq-section.light-theme .faq-answer-content {
    color: var(--gray-600);
}

[data-theme="dark"] .faq-category-btn {
    background: var(--color-card-bg);
    border-color: var(--gray-200);
    color: var(--gray-600);
}