/* FAQ Fixes */
.faq {
    background-color: var(--darker-color, #0A0F1C);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--gray-700, #374151);
    border-radius: var(--border-radius-md, 8px);
    overflow: hidden;
    transition: var(--transition, all 0.3s ease);
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.1));
}

.faq-item:hover {
    border-color: var(--gray-600, #4B5563);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.15));
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--card-bg, #1E293B);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition, all 0.3s ease);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
    padding-right: 2rem;
    color: var(--gray-200, #E5E7EB);
    transition: var(--transition, all 0.3s ease);
}

.faq-item:hover .faq-question h3 {
    color: var(--light-color, #F3F4F6);
}

.faq-toggle {
    font-size: 1rem;
    color: var(--primary-color, #3A86FF);
    transition: var(--transition, all 0.3s ease);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: rgba(45, 55, 72, 0.5);
    color: var(--gray-400, #9CA3AF);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--primary-color, #3A86FF);
}

.faq-item.active .faq-question {
    background-color: rgba(58, 134, 255, 0.1);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color, #3A86FF);
}

.faq-item.active .faq-answer {
    padding: 1.5rem !important;
    max-height: 500px !important;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
    color: var(--secondary-color, #8B5CF6);
}

/* Ensure FAQ answers are hidden by default */
.faq-answer {
    max-height: 0 !important;
    padding: 0 1.5rem !important;
    overflow: hidden !important;
}

/* Only show FAQ answers when active */
.faq-item.active .faq-answer {
    max-height: 500px !important;
    padding: 1.5rem !important;
}
