/* FAQ page */
.faq-page {
    background: transparent;
    padding: 2rem 0 3.5rem;
}
.faq-page__breadcrumb .breadcrumb-item a { color: #0089bf; text-decoration: none; }
.faq-page__breadcrumb .breadcrumb-item.active { color: #64748b; }
.faq-page__header { margin-bottom: 2rem; text-align: center; }
.faq-page__badge {
    background: linear-gradient(135deg, #0089BF 0%, #00A8E8 100%);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 0.45rem 1rem;
}
.faq-page__title { color: #01305f; font-size: clamp(1.35rem, 4vw, 1.85rem); font-weight: 800; margin-bottom: 0.5rem; }
.faq-page__subtitle { color: #64748b; font-size: 0.95rem; margin: 0 auto; max-width: 36rem; }
.faq-audience-toggle {
    background: #fff;
    border: 1px solid rgba(1, 48, 95, 0.12);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(1, 48, 95, 0.06);
    display: inline-flex;
    gap: 0.35rem;
    margin: 1.25rem auto 0;
    padding: 0.35rem;
}
.faq-audience-btn {
    background: transparent;
    border: none;
    border-radius: 999px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    transition: all 0.2s ease;
}
.faq-audience-btn.active {
    background: linear-gradient(135deg, #0089BF 0%, #00A8E8 100%);
    box-shadow: 0 4px 12px rgba(0, 137, 191, 0.25);
    color: #fff;
}
.faq-accordion-item__icon {
    background: linear-gradient(135deg, #0089BF 0%, #00A8E8 100%);
    flex-shrink: 0;
    height: 45px;
    width: 45px;
}

.faq-section {
    background: transparent;
    padding: 0;
    position: relative;
}

.faq-section::before { display: none; }


.accordion-item { border: none; margin-bottom: 1.5rem; border-radius: 25px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s ease; border: 1px solid rgba(0,137,191,0.08); }
.accordion-item:hover { box-shadow: 0 4px 12px rgba(0,137,191,0.12); transform: translateY(-2px); }
.accordion-button { background: white; color: #1a1a2e;  padding: 1.5rem; font-size: 0.85rem; font-weight: 700; }
.accordion-button:not(.collapsed) { background: linear-gradient(135deg, #e9f2ff 0%, #ffffff 100%); color: #0089BF; box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-body { background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); padding: 1.5rem 1.5rem 1.5rem 3.5rem; color: #555; line-height: 1.8; font-size: 0.8rem; }
.faq-accordion-wrap { position: relative; }
#faqAccordion:not([data-active-tab]) .faq-accordion-item { display: none; }
.faq-tab-hidden { display: none !important; }
.faq-tabs-nav-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 8px 28px rgba(0, 137, 191, 0.08);
    border: 1px solid rgba(0, 137, 191, 0.1);
    overflow: visible;
}
.faq-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.faq-tabs-nav .nav-item { flex: 1 1 auto; min-width: 0; }
.faq-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #475569;
    font-weight: 700;
    font-size: 0.84rem;
    white-space: nowrap;
    text-align: start;
    transition: all 0.25s ease;
}
.faq-tab-btn i {
    color: #0089BF;
    flex-shrink: 0;
    font-size: 1rem;
}
.faq-tab-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.faq-tab-btn .faq-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-inline-start: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(0, 137, 191, 0.1);
    color: #0089BF;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
}
.faq-tab-btn:hover {
    background: rgba(0, 137, 191, 0.06);
    color: #01305F;
}
.faq-tab-btn.active {
    background: linear-gradient(135deg, #0089BF 0%, #00A8E8 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 137, 191, 0.25);
}
.faq-tab-btn.active i,
.faq-tab-btn.active .faq-tab-count {
    color: #fff;
}
.faq-tab-btn.active .faq-tab-count {
    background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 991.98px) {
    .faq-section {
        padding: 44px 0;
    }
    .faq-section .text-center.mb-5 {
        margin-bottom: 1.75rem !important;
    }
    .faq-section h2 {
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        padding-inline: 8px;
    }
    .faq-section .text-secondary {
        font-size: 0.85rem;
        padding-inline: 12px;
    }
    .faq-tabs-nav-wrap {
        padding: 8px;
        border-radius: 14px;
    }
    .faq-tabs-nav {
        flex-wrap: wrap;
        min-width: 0;
        gap: 6px;
    }
    .faq-tabs-nav .nav-item {
        flex: 1 1 calc(50% - 3px);
        min-width: calc(50% - 3px);
    }
    .faq-tab-btn {
        width: 100%;
        min-height: 68px;
        padding: 10px 8px;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        font-size: 0.74rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
    }
    .faq-tab-btn span {
        display: block;
        max-width: 100%;
        overflow: visible;
        text-overflow: unset;
    }
    .faq-tab-btn .faq-tab-count {
        margin-inline-start: 0;
    }
    .faq-tab-btn i {
        font-size: 1.1rem;
    }
    .faq-tab-btn .faq-tab-count {
        min-width: 22px;
        height: 22px;
        font-size: 0.68rem;
    }
    .accordion-item {
        margin-bottom: 0.875rem;
        border-radius: 16px;
    }
    .accordion-item:hover {
        transform: none;
    }
    .accordion-button {
        padding: 0.95rem 0.875rem;
        font-size: 0.8rem;
        line-height: 1.55;
        align-items: flex-start;
        min-height: 56px;
    }
    .accordion-button .rounded-circle {
        width: 38px !important;
        height: 38px !important;
        margin-inline-end: 0.75rem !important;
        flex-shrink: 0;
    }
    .accordion-button .rounded-circle i {
        font-size: 0.95rem;
    }
    .accordion-body {
        padding: 0.875rem 1rem 1rem;
        font-size: 0.78rem;
        line-height: 1.75;
    }
}
@media (max-width: 575.98px) {
    .faq-section {
        padding: 36px 0;
    }
    .faq-tabs-nav .nav-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .faq-tab-btn {
        min-height: 52px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: start;
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    .faq-tab-btn span {
        flex: 1;
    }
    .faq-tab-btn .faq-tab-count {
        margin-inline-start: auto;
    }
    .accordion-button {
        padding: 0.875rem 0.75rem;
        font-size: 0.78rem;
    }
    .accordion-button .rounded-circle {
        width: 34px !important;
        height: 34px !important;
        margin-inline-end: 0.625rem !important;
    }
    .accordion-body {
        padding: 0.75rem 0.875rem 0.875rem;
        font-size: 0.76rem;
    }
}
@media (min-width: 992px) {
    .faq-tabs-nav .nav-item {
        flex: 1 1 0;
        min-width: 0;
    }
    .faq-tab-btn {
        width: 100%;
        justify-content: flex-start;
        padding-inline: 14px 16px;
    }

    /* English labels are longer — keep count clear of the edge */
    html[lang="en"] .faq-tab-btn {
        padding-inline: 12px 14px;
        gap: 6px;
        font-size: 0.8rem;
    }
}