/* =========================
   FAQ Page
========================= */

.faq-page-banner {
    position: relative;
    padding: 145px 0 120px;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            rgba(12, 67, 38, 0.96),
            rgba(31, 125, 72, 0.88)),
        url("../img/banner/faq-banner.jpg") center center / cover no-repeat;
}

.faq-page-banner::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -100px;
    width: 460px;
    height: 460px;
    border: 70px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.faq-page-banner::after {
    content: "?";
    position: absolute;
    right: 12%;
    bottom: -75px;
    color: rgba(255, 255, 255, 0.055);
    font-family: "Montserrat", sans-serif;
    font-size: 330px;
    font-weight: 700;
    line-height: 1;
}

.faq-banner-content {
    position: relative;
    z-index: 2;
}

.faq-banner-content>span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.faq-banner-content h1 {
    margin: 13px 0 14px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 48px;
    font-weight: 700;
}

.faq-banner-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.8;
}


/* Introduction */

.faq-intro-area {
    padding: 95px 0 55px;
    background: #ffffff;
}

.faq-section-heading {
    max-width: 750px;
    margin: 0 auto;
}

.faq-section-heading>span {
    display: inline-block;
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.faq-section-heading h2 {
    margin: 12px 0 16px;
    color: #21362a;
    font-family: "Montserrat", sans-serif;
    font-size: 37px;
    font-weight: 700;
    line-height: 1.4;
}

.faq-section-heading p {
    margin: 0;
    color: #69766e;
    font-size: 15px;
    line-height: 1.9;
}


/* Main */

.faq-main-area {
    padding: 35px 0 95px;
    background: #ffffff;
}


/* Sidebar */

.faq-sidebar {
    position: sticky;
    top: 110px;
}

.faq-sidebar-header {
    margin-bottom: 20px;
}

.faq-sidebar-header>span {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.faq-sidebar-header h3 {
    margin: 0;
    color: #263a2e;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.faq-category-nav {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e9e3;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(29, 72, 45, 0.07);
}

.faq-category-btn {
    width: 100%;
    padding: 18px 20px;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #e8eee9;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-category-btn:last-child {
    border-bottom: 0;
}

.faq-category-btn>i {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    background: #edf6f0;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all 0.25s ease;
}

.faq-category-btn span {
    display: block;
}

.faq-category-btn strong {
    display: block;
    margin-bottom: 3px;
    color: #304239;
    font-size: 14px;
    font-weight: 700;
}

.faq-category-btn small {
    display: block;
    color: #89928d;
    font-size: 11px;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: #f4f9f6;
}

.faq-category-btn.active {
    box-shadow: inset 4px 0 0 var(--primary);
}

.faq-category-btn:hover>i,
.faq-category-btn.active>i {
    background: var(--primary);
    color: #ffffff;
}


/* Help card */

.faq-help-card {
    position: relative;
    margin-top: 25px;
    padding: 30px 25px;
    overflow: hidden;
    background: linear-gradient(145deg, #10492c, #227b49);
    border-radius: 12px;
    color: #ffffff;
}

.faq-help-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 190px;
    height: 190px;
    border: 35px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.faq-help-card>* {
    position: relative;
    z-index: 2;
}

.faq-help-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 21px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-help-icon i {
    color: #ffffff;
    font-size: 23px;
}

.faq-help-card>span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 12px;
}

.faq-help-card h4 {
    margin-bottom: 12px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.faq-help-card p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.8;
}

.faq-help-card>a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    text-decoration: none;
}

.faq-help-card>a>i {
    font-size: 20px;
}

.faq-help-card>a span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.faq-help-card>a small {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 500;
}


/* Search */

.faq-content-wrap {
    padding-left: 25px;
}

.faq-search-box {
    position: relative;
    margin-bottom: 15px;
}

.faq-search-box>i {
    position: absolute;
    top: 50%;
    left: 21px;
    color: var(--primary);
    font-size: 16px;
    transform: translateY(-50%);
}

.faq-search-box input {
    width: 100%;
    height: 58px;
    padding: 0 55px 0 51px;
    background: #f7faf8;
    border: 1px solid #dce7df;
    border-radius: 9px;
    color: #35443b;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.faq-search-box input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 122, 72, 0.09);
}

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

#faq-search-clear {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #96a099;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.2s ease;
}

#faq-search-clear.visible {
    opacity: 1;
    pointer-events: auto;
}

#faq-search-clear:hover {
    background: #e8f1eb;
    color: var(--primary);
}

.faq-result-info {
    margin-bottom: 18px;
    color: #8a958e;
    font-size: 12px;
}


/* Accordion */

.faq-item {
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe8e2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(31, 122, 72, 0.33);
}

.faq-item.active {
    border-color: rgba(31, 122, 72, 0.43);
    box-shadow: 0 12px 32px rgba(30, 78, 48, 0.08);
}

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

.faq-question {
    width: 100%;
    min-height: 76px;
    padding: 16px 20px;
    background: #ffffff;
    border: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

.faq-item.active .faq-question {
    background: #f6faf7;
}

.faq-question-number {
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    background: #edf5ef;
    border-radius: 50%;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.faq-item.active .faq-question-number {
    background: var(--primary);
    color: #ffffff;
}

.faq-question-text {
    flex: 1;
    color: #304239;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.faq-toggle-icon {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    background: #f0f5f2;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

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

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

.faq-answer-inner {
    padding: 2px 70px 27px 73px;
}

.faq-answer-inner p {
    margin: 0 0 10px;
    color: #68756e;
    font-size: 14px;
    line-height: 1.9;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}


/* No result */

.faq-no-results {
    display: none;
    padding: 60px 30px;
    background: #f7faf8;
    border: 1px dashed #cfddd3;
    border-radius: 11px;
    text-align: center;
}

.faq-no-results.show {
    display: block;
}

.faq-no-results-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #e9f3ec;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.faq-no-results h3 {
    margin-bottom: 10px;
    color: #304239;
    font-family: "Montserrat", sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.faq-no-results p {
    margin-bottom: 20px;
    color: #76817a;
    font-size: 14px;
    line-height: 1.8;
}

.faq-no-results a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}


/* Notice */

.faq-notice-area {
    padding: 0 0 95px;
    background: #ffffff;
}

.faq-notice-box {
    padding: 27px 30px;
    background: #f4f8f5;
    border: 1px solid #dce7df;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.faq-notice-icon {
    color: var(--primary);
    font-size: 22px;
}

.faq-notice-content h4 {
    margin: 0 0 7px;
    color: #304239;
    font-size: 15px;
    font-weight: 700;
}

.faq-notice-content p {
    margin: 0;
    color: #707c74;
    font-size: 13px;
    line-height: 1.8;
}


/* CTA */

.faq-contact-area {
    padding: 95px 0;
    background: #f4f8f5;
}

.faq-contact-box {
    padding: 55px 60px;
    background: linear-gradient(135deg, #10492c, #237d4a);
    border-radius: 15px;
    box-shadow: 0 18px 45px rgba(19, 76, 44, 0.2);
}

.faq-contact-box>.row>div:first-child>span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.faq-contact-box h2 {
    margin: 10px 0 12px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
}

.faq-contact-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.faq-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 21px;
    background: #ffffff;
    border-radius: 8px;
    color: var(--primary);
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-hotline-btn>i {
    font-size: 24px;
}

.faq-hotline-btn span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.faq-hotline-btn small {
    display: block;
    color: #7a877f;
    font-size: 10px;
    font-weight: 600;
}

.faq-hotline-btn:hover {
    color: #155b35;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}


/* Responsive */

@media (max-width: 991px) {
    .faq-page-banner {
        padding: 50px 0 90px;
    }

    .faq-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .faq-content-wrap {
        padding-left: 0;
    }

    .faq-category-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-category-btn {
        border-right: 1px solid #e8eee9;
    }

    .faq-help-card {
        display: none;
    }

    .faq-contact-box {
        padding: 45px 40px;
    }

    .faq-hotline-btn {
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    .faq-page-banner {
        padding: 90px 0 75px;
    }

    .faq-banner-content h1 {
        font-size: 32px;
    }

    .faq-banner-content p {
        font-size: 15px;
    }

    .faq-intro-area,
    .faq-contact-area {
        padding: 70px 0;
    }

    .faq-main-area {
        padding-bottom: 70px;
    }

    .faq-section-heading h2 {
        font-size: 28px;
    }

    .faq-category-nav {
        grid-template-columns: 1fr;
    }

    .faq-category-btn {
        border-right: 0;
    }

    .faq-question {
        padding: 15px;
        gap: 11px;
    }

    .faq-question-number {
        width: 34px;
        height: 34px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 2px 20px 24px 60px;
    }

    .faq-notice-area {
        padding-bottom: 70px;
    }

    .faq-notice-box {
        padding: 23px 20px;
    }

    .faq-contact-box {
        padding: 38px 25px;
        text-align: center;
    }

    .faq-contact-box h2 {
        font-size: 27px;
    }

    .faq-hotline-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-question-number {
        display: none;
    }

    .faq-answer-inner {
        padding-left: 20px;
    }

    .faq-search-box input {
        font-size: 13px;
    }
}