/* Extracted from resources/views/frontend/pages/faq.blade.php */
.faq-hero {
    position: relative;
    padding: 88px 0 118px;
    overflow: hidden;
    background: linear-gradient(
            125deg,
            rgba(7, 104, 77, 0.97),
            rgba(15, 23, 42, 0.95)
        ),
        url("../../img/bg2.png") center/cover no-repeat;
}
.faq-hero::before,
.faq-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.faq-hero::before {
    width: 360px;
    height: 360px;
    right: -90px;
    top: -170px;
    background: rgba(255, 255, 255, 0.06);
}
.faq-hero::after {
    width: 240px;
    height: 240px;
    left: -120px;
    bottom: -150px;
    border: 42px solid rgba(255, 255, 255, 0.04);
}
.faq-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: auto;
    text-align: center;
}
.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.09);
    color: #d1fae5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.faq-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.4px;
    margin-bottom: 15px;
}
.faq-hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto 30px;
    max-width: 610px;
}
.faq-search {
    position: relative;
    max-width: 640px;
    margin: auto;
}
.faq-search i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
}
.faq-search input {
    width: 100%;
    height: 62px;
    padding: 0 54px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    outline: none;
}
.faq-search input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18),
        0 18px 45px rgba(0, 0, 0, 0.18);
}
.faq-search kbd {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #94a3b8;
    box-shadow: none;
    font-size: 11px;
}
.faq-main {
    padding: 76px 0 90px;
    background: #f8fafc;
}
.faq-intro {
    margin-bottom: 34px;
}
.faq-intro h2 {
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.faq-intro p {
    color: #64748b;
    margin: 0;
}
.faq-sidebar {
    position: sticky;
    top: 95px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}
.faq-sidebar-title {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px 10px;
}
.faq-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 9px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}
.faq-category-link:hover {
    color: #0b8260;
    background: #ecfdf5;
    transform: translateX(2px);
}
.faq-category-link span {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    text-align: center;
}
.faq-category-section {
    scroll-margin-top: 110px;
    margin-bottom: 42px;
}
.faq-category-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}
.faq-category-heading i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #dcfce7;
    color: #0b8260;
    font-size: 15px;
}
.faq-accordion .accordion-item {
    margin-bottom: 13px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 3px 16px rgba(15, 23, 42, 0.025);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.faq-accordion .accordion-item:hover {
    border-color: #a7d8ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.faq-accordion .accordion-button {
    padding: 20px 22px;
    border-radius: 0 !important;
    background: #fff;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: #0b8260;
    box-shadow: inset 0 -1px #eef2f7;
}
.faq-accordion .accordion-button:focus {
    box-shadow: inset 0 0 0 2px rgba(11, 130, 96, 0.22);
}
.faq-accordion .accordion-button::after {
    width: 28px;
    height: 28px;
    margin-left: 16px;
    border-radius: 8px;
    background-color: #f1f5f9;
    background-position: center;
    background-size: 13px;
}
.faq-accordion .accordion-body {
    padding: 19px 22px 22px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}
.faq-accordion .accordion-body > :last-child {
    margin-bottom: 0;
}
.faq-no-results {
    display: none;
    padding: 52px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}
.faq-no-results i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #0b8260;
    font-size: 24px;
}
.faq-no-results h3 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}
.faq-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 44px;
    padding: 28px 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(120deg, #0b8260, #075c45);
    color: #fff;
    box-shadow: 0 16px 35px rgba(11, 130, 96, 0.18);
}
.faq-support h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
}
.faq-support p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}
.faq-support .btn {
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: 9px;
    background: #fff;
    color: #0b8260;
    font-weight: 700;
}
@media (max-width: 991px) {
    .faq-main {
        padding-top: 58px;
    }
    .faq-sidebar {
        position: static;
        margin-bottom: 32px;
    }
}
@media (max-width: 767px) {
    .faq-hero {
        padding: 68px 0 94px;
    }
    .faq-hero p {
        font-size: 15px;
    }
    .faq-search input {
        height: 56px;
        padding-right: 20px;
    }
    .faq-search kbd {
        display: none;
    }
    .faq-main {
        padding: 48px 0 64px;
    }
    .faq-intro h2 {
        font-size: 25px;
    }
    .faq-support {
        align-items: flex-start;
        flex-direction: column;
    }
}
[dir="rtl"] .faq-search i {
    left: auto;
    right: 20px;
}
[dir="rtl"] .faq-search input {
    padding-left: 54px;
    padding-right: 54px;
}
[dir="rtl"] .faq-search kbd {
    right: auto;
    left: 16px;
}
