/* =====================================================
   Sahalat — FAQ Page
   ===================================================== */

/* ── Hero ─────────────────────────────────────────── */
.faq-hero-bg {
    background: linear-gradient(180deg, #ddf0e5 0%, #ffffff 100%);
    padding: 60px 0 70px;
}

.faq-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 40px;
}

.faq-label .line {
    width: 24px;
    height: 2px;
    background-color: #0b6b5b;
}

.faq-label .label-text {
    font-size: 16px;
    color: #04533E;
}

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

.faq-hero-title {
    font-size: 46px;
    font-weight: 700;
    color: #121212;
    line-height: 1.2;
    margin-bottom: 14px;
    font-family: 'Mona Sans', sans-serif;
}

.faq-hero-title span {
    color: #04533E;
    font-weight: 400;
    display: block;
}

.faq-hero-desc {
    font-size: 16px;
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
}

/* Search bar */
.faq-search-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 16px 56px 16px 20px;
    border: 2px solid #c8e8d8;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #121212;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(4, 83, 62, 0.06);
}

.faq-search-input:focus {
    border-color: #0c8b51;
    box-shadow: 0 4px 20px rgba(4, 83, 62, 0.12);
}

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

.faq-search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #0c8b51;
    font-size: 18px;
    pointer-events: none;
}

/* Stats bar */
.faq-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.faq-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.faq-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e8f5ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04533E;
    font-size: 18px;
}

.faq-stat-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #121212;
    line-height: 1.1;
}

.faq-stat-text small {
    font-size: 12px;
    color: #5f6368;
}

/* ── Body ─────────────────────────────────────────── */
.faq-body {
    padding: 64px 0 80px;
}

/* Category filter pills */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    justify-content: center;
}

.faq-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid #c8e8d8;
    background: #fff;
    color: #3d5247;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-cat-btn i {
    font-size: 15px;
}

.faq-cat-btn:hover {
    border-color: #0c8b51;
    color: #04533E;
    background: #f0faf4;
}

.faq-cat-btn.active {
    background: #04533E;
    border-color: #04533E;
    color: #fff;
    box-shadow: 0 4px 12px rgba(4, 83, 62, 0.25);
}

.faq-cat-btn .cat-count {
    background: rgba(12, 139, 81, 0.15);
    color: #04533E;
    border-radius: 50px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
}

.faq-cat-btn.active .cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* No results message */
.faq-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #5f6368;
    font-family: 'Inter', sans-serif;
}

.faq-no-results i {
    font-size: 48px;
    color: #c8e8d8;
    display: block;
    margin-bottom: 16px;
}

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

/* Category group */
.faq-group {
    margin-bottom: 48px;
}

.faq-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.faq-group-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e8f5ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04533E;
    font-size: 20px;
    flex-shrink: 0;
}

.faq-group-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #121212;
    margin: 0;
    font-family: 'Mona Sans', sans-serif;
}

.faq-group-title .group-count {
    font-size: 13px;
    color: #5f6368;
    font-family: 'Inter', sans-serif;
    margin-left: auto;
    white-space: nowrap;
}

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

.faq-item {
    background: #fff;
    border: 1.5px solid #eef4f1;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: #c8e8d8;
    box-shadow: 0 4px 16px rgba(4, 83, 62, 0.06);
}

.faq-item.open {
    border-color: #0c8b51;
    box-shadow: 0 4px 20px rgba(4, 83, 62, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 15px;
    font-weight: 600;
    color: #121212;
    line-height: 1.45;
    font-family: 'Inter', sans-serif;
}

.faq-toggle {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e8f5ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04533E;
    font-size: 14px;
    transition: background 0.2s, transform 0.3s;
}

.faq-item.open .faq-toggle {
    background: #04533E;
    color: #fff;
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding: 0 24px 20px;
    border-top: 1px solid #eef4f1;
}

.faq-answer-inner p {
    font-size: 15px;
    color: #5f6368;
    line-height: 1.8;
    margin: 16px 0 0;
    font-family: 'Inter', sans-serif;
}

.faq-answer-inner ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-answer-inner ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.faq-answer-inner ul li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0c8b51;
    margin-top: 8px;
}

/* Tag on answer */
.faq-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: #e8f5ed;
    color: #04533E;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-top: 12px;
}

/* ── Still have questions CTA ─────────────────────── */
.faq-cta {
    background: linear-gradient(135deg, #04533E 0%, #0c8b51 100%);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    margin-top: 16px;
}

.faq-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Mona Sans', sans-serif;
}

.faq-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
    margin: 0 auto 28px;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.faq-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.faq-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #04533E;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.faq-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #04533E;
}

.faq-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, border-color 0.2s;
}

.faq-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* ── Still have questions — bottom tile ──────────── */
.faq-still-wrap {
    margin-top: 56px;
    margin-bottom: 16px;
}

.faq-still-card {
    background: linear-gradient(135deg, #04533E 0%, #0c8b51 100%);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    box-shadow: 0 12px 40px rgba(4, 83, 62, 0.22);
}

.faq-still-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.faq-still-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Mona Sans', sans-serif;
    color: #fff;
}

.faq-still-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 460px;
    margin: 0 auto 28px;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.faq-contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #04533E;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.faq-contact-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #04533E;
    text-decoration: none;
}

/* ── Search highlight ─────────────────────────────── */
.faq-highlight {
    background: #fff3cd;
    border-radius: 3px;
    padding: 0 2px;
}

/* ── Hidden items during filter ───────────────────── */
.faq-item.hidden {
    display: none;
}

.faq-group.hidden {
    display: none;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 34px;
    }

    .faq-stats-bar {
        gap: 16px;
    }

    .faq-cta {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .faq-cta h2 {
        font-size: 24px;
    }

    .faq-still-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .faq-still-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .faq-hero-title {
        font-size: 28px;
    }

    .faq-hero-bg {
        padding: 40px 0 50px;
    }

    .faq-body {
        padding: 40px 0 60px;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
    }

    .faq-still-card {
        padding: 32px 20px;
    }

    .faq-still-card h3 {
        font-size: 20px;
    }

    .faq-still-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}
