/* FAQ Accordion Styles */
.faq-section {
    padding: 60px 0 100px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: var(--primary, #007bff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text, #333);
    background: transparent;
    user-select: none;
}

.faq-header i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary, #007bff);
    font-size: 0.9rem;
}

.faq-item.active .faq-header {
    color: var(--primary, #007bff);
    background: rgba(0, 0, 0, 0.02);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary, #666);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active .faq-content {
    /* JS will calculate max-height, but padding needs to be handled */
}

.faq-body {
    padding: 0 25px 25px;
    padding-top: 5px;
    /* Slight top padding inside active content */
    border-top: 1px solid transparent;
    /* Prevents margin collapse */
}

.faq-item.active .faq-body {
    border-top-color: rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}