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

.faq-content {
    padding: 3rem 0 4rem;
    background: #f8fafc;
}

/* Search Bar */
.faq-search {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.faq-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(2, 6, 24, 0.06);
}

.faq-search-wrapper:focus-within {
    border-color: var(--main-green);
    box-shadow: 0 4px 20px rgba(0, 201, 80, 0.15);
}

.faq-search-wrapper > i {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--main-dark-blue);
    background: transparent;
    padding: 0.75rem 0;
    font-family: 'Poppins', sans-serif;
}

.faq-search-input::placeholder {
    color: #9ca3af;
}

.faq-search-clear {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.faq-search-clear:hover {
    background: var(--main-red);
    color: #ffffff;
}

.faq-search-hint {
    font-size: 0.82rem;
    color: #9ca3af;
    margin: 0.75rem 0 0 0;
}

/* Category Pills */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.faq-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 1.15rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    color: var(--main-grey);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-category-pill:hover {
    border-color: var(--main-green);
    color: var(--main-green);
}

.faq-category-pill.active {
    background: var(--main-green);
    border-color: var(--main-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 201, 80, 0.25);
}

.faq-category-pill i {
    font-size: 0.95rem;
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-category-group {
    margin-bottom: 2rem;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.faq-category-header i {
    color: var(--main-green);
    font-size: 1.25rem;
}

.faq-category-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--main-dark-blue);
    margin: 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: var(--main-green);
    box-shadow: 0 4px 12px rgba(0, 201, 80, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--main-dark-blue);
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question i {
    color: var(--main-green);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-item.is-open .faq-question {
    background: rgba(0, 201, 80, 0.04);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

/* Highlight matching text */
.faq-highlight {
    background: rgba(0, 201, 80, 0.15);
    padding: 1px 3px;
    border-radius: 3px;
    color: var(--main-dark-blue);
    font-weight: 600;
}

/* No Results */
.faq-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.faq-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.faq-no-results h3 {
    color: var(--main-dark-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* CTA */
.faq-cta {
    max-width: 700px;
    margin: 3rem auto 0;
}

.faq-cta-card {
    background: linear-gradient(135deg, var(--main-dark-blue) 0%, #0a2540 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.faq-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 201, 80, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.faq-cta-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 201, 80, 0.15);
    border: 1px solid rgba(0, 201, 80, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--main-green);
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
}

.faq-cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    position: relative;
    z-index: 1;
}

.faq-cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    background: var(--main-green);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-cta-btn:hover {
    background: #00b347;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 201, 80, 0.4);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 767.98px) {
    .faq-search-wrapper {
        padding: 0.15rem 0.15rem 0.15rem 1rem;
    }
    
    .faq-category-pill {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .faq-question {
        font-size: 0.88rem;
        padding: 1rem;
    }
    
    .faq-cta-card {
        padding: 2rem 1.25rem;
    }
}