/* ============================================
   FAQ PAGE SPECIFIC STYLES
   WiFiHapa - Frequently Asked Questions Styles
   ============================================ */
/* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* Hero Section */
.faq-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 48px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .faq-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 1.5rem;
    }

    .faq-hero h1 {
        font-size: 1.8rem;
    }
}

/* Search Box */
.search-box {
    background: var(--card-bg, white);
    border-radius: 60px;
    padding: 0.3rem;
    border: 1px solid #e9ecef;
    max-width: 500px;
    margin: 1.5rem auto 0;
}

body.dark .search-box {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.search-box .form-control {
    border: none;
    padding: 0.7rem 1.2rem;
    background: transparent;
    color: var(--text-primary, #0a2c3d);
}

.search-box .form-control:focus {
    box-shadow: none;
}

.search-box .btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    background: #0d6efd;
    color: white;
    font-weight: 600;
}

/* Category Pills */
.category-pills {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.category-pill {
    background: var(--card-bg, white);
    border: 1px solid #dee2e6;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #5e6f7d;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
}

body.dark .category-pill {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.category-pill i {
    margin-right: 0.4rem;
}

.category-pill:hover {
    background: #e4edff;
    border-color: #0d6efd;
}

.category-pill.active {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* FAQ Sections */
.faq-section {
    background: var(--card-bg, white);
    border-radius: 32px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    margin-bottom: 1.5rem;
}

body.dark .faq-section {
    background: var(--card-bg, #1e2538);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1.2rem;
    }
}

.faq-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.faq-category-title i {
    color: #0d6efd;
    background: #e4edff;
    padding: 0.5rem;
    border-radius: 16px;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark .faq-category-title i {
    background: #2a3448;
}

.faq-title-gold i {
    background: #fff3d6 !important;
    color: #d4a11e !important;
}

.faq-title-green i {
    background: #e1f5e8 !important;
    color: #198754 !important;
}

.faq-title-teal i {
    background: #d0e0e8 !important;
    color: #0b2b40 !important;
}

/* FAQ Items */
.faq-item {
    border-bottom: 1px solid var(--border-light, #e9ecef);
    padding: 0.8rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem 0;
}

.faq-question h5 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-primary, #0a2c3d);
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #0d6efd;
    font-size: 0.9rem;
    transition: var(--transition, all 0.3s ease);
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0.8rem 0 0.3rem;
    color: var(--text-secondary, #5e6f7d);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-answer.show {
    display: block;
}

.faq-answer a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Still Have Questions Section */
.still-have-questions {
    background: linear-gradient(145deg, #0b2b40 0%, #0f3a4f 100%);
    border-radius: 32px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-top: 2rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem;
    transition: var(--transition, all 0.2s ease);
    height: 100%;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.contact-option i {
    font-size: 1.8rem;
    color: #d4a11e;
    margin-bottom: 0.5rem;
}

.contact-option h5 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .category-pills {
        gap: 0.4rem;
    }

    .category-pill {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .faq-category-title {
        font-size: 1.1rem;
    }

    .faq-question h5 {
        font-size: 0.9rem;
    }

    .still-have-questions {
        padding: 1.5rem;
    }

    .contact-option {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .search-box {
        border-radius: 30px;
    }

    .search-box .input-group {
        flex-direction: column;
    }

    .search-box .form-control {
        border-radius: 30px;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .search-box .btn {
        border-radius: 30px;
        width: 100%;
    }

    .category-pills {
        gap: 0.3rem;
    }

    .category-pill {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
}