/* ================================================================
   FAQS PAGE - Moringa Essentials
   ================================================================ */
/* ========== PAGE HEADER ========== */
.page-header {
    padding: calc(90px + var(--space-12)) 0 var(--space-12);
    background: linear-gradient(180deg, #27ae60 0%, #2ecc71 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: #e8f5e9;
}

.breadcrumb a {
    color: #f1c40f;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: var(--text-lg);
    color: #e8f5e9;
    margin: 0;
}
/* ========== FAQ MAIN SECTION ========== */
.faq-main-section {
    padding: var(--space-16) 0;
}

.faq-category {
    margin-bottom: var(--space-12);
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--primary-green);
}

.faq-accordion {
    max-width: 900px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    min-height: 72px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question span {
    flex: 1;
    padding-right: var(--space-4);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary-green);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 var(--space-6) var(--space-6);
}

.faq-answer p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--space-16) 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-lighter) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    text-align: center;
    border: 1px solid var(--border-light);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 1000px;
    margin: 0 auto var(--space-8);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: var(--text-xl);
    }
    
    .faq-question {
        font-size: var(--text-base);
        padding: var(--space-4) var(--space-5);
    }
    
    .cta-card {
        padding: var(--space-8);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
