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

.faq-hero {
    padding: 140px 40px 60px;
    text-align: center;
    background-color: #F8F9FF;
    border-bottom: 2px solid #000;
}

.faq-hero h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 500;
    margin: 0 0 20px;
    line-height: 1.1;
}

.faq-hero p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Search Section */
.faq-search-section {
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-sans);
    font-size: 18px;
    border: 2px solid #000;
    background-color: var(--bg-white);
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(57, 75, 221, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 14px 24px;
    min-height: 44px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid #000;
    background-color: var(--bg-white);
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: #f8f8f8;
}

.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* FAQ Container */
.faq-main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.faq-results-count {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 12px;
}

.no-results p {
    font-size: 16px;
    color: #666;
}

/* Category Section Divider */
.faq-category-section {
    margin-bottom: 40px;
}

.faq-category-divider {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary);
}

/* ===== RESPONSIVE DESIGN ===== */

@media screen and (max-width: 768px) {
    .faq-hero {
        padding: 100px 20px 40px;
    }

    .faq-hero h1 {
        font-size: 42px;
    }

    .faq-hero p {
        font-size: 16px;
    }

    .faq-search-section {
        padding: 40px 20px;
    }

    .search-input {
        font-size: 16px;
        padding: 16px 50px 16px 20px;
    }

    .category-filters {
        justify-content: flex-start;
    }

    .faq-main-container {
        padding: 0 20px 60px;
    }
}

@media screen and (max-width: 478px) {
    .faq-hero {
        padding: 60px 20px;
    }

    .faq-hero h1 {
        font-size: 32px;
        line-height: var(--lh-snug);
    }

    .faq-hero p {
        font-size: 14px;
    }

    .search-input {
        padding: 14px 48px 14px 16px;
        font-size: 14px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 12px 20px;
    }
}
