/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* Header Section */
.faq-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.faq-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--color-secondary-light);
}

.faq-header .page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Search Section */
.faq-search-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.search-wrapper {
    max-width: 700px;
    margin: 0 auto 30px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    background: white;
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    padding: 15px 35px;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--color-primary-dark);
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.category-btn {
    padding: 10px 20px;
    background: white;
    color: var(--text-color);
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.category-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* FAQ Content Section */
.faq-content-section {
    padding: 60px 0;
}

.faq-category-group {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
    color: var(--color-primary);
}

.faq-question[aria-expanded="true"] {
    background: #f0f7ff;
    color: var(--color-primary);
}

.question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer[hidden] {
    display: none;
}

.answer-content {
    padding: 20px 25px 25px;
    color: var(--text-color);
    line-height: 1.8;
    border-top: 1px solid #e0e0e0;
}

.answer-content p {
    margin-bottom: 15px;
}

.answer-content ul,
.answer-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.answer-content li {
    margin-bottom: 8px;
}

.answer-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.answer-content a:hover {
    color: var(--secondary-color);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 25px;
}

/* CTA Section */
.faq-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    /* background: var(--primary-color); */
    /* color: white; */
    background: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header .page-title {
        font-size: 2rem;
    }

    .faq-header .page-subtitle {
        font-size: 1rem;
    }

    .search-input-group {
        flex-direction: column;
        border-radius: 10px;
    }

    .search-input,
    .search-btn {
        border-radius: 0;
    }

    .search-input {
        border-radius: 10px 10px 0 0;
    }

    .search-btn {
        border-radius: 0 0 10px 10px;
    }

    .category-filters {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .answer-content {
        padding: 15px 20px 20px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }
}

