/* =====================================================
   PAGE
===================================================== */

.faq-page {
    padding: 50px 0 80px;
}

/* =====================================================
   HERO
===================================================== */

.faq-hero {
    background: linear-gradient(
        135deg,
        var(--primary),
        #1e40af
    );

    border-radius: 24px;

    padding: 50px;

    color: #fff;

    margin-bottom: 40px;

    position: relative;
    overflow: hidden;
}

.faq-hero::after {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 18px;

    border-radius: 999px;

    background: rgba(255,255,255,.15);

    margin-bottom: 20px;

    font-size: 14px;
    font-weight: 600;
}

.faq-hero h1 {
    font-size: 42px;
    font-weight: 700;

    margin-bottom: 15px;
}

.faq-hero p {
    max-width: 800px;

    line-height: 1.8;

    opacity: .95;

    margin: 0;
}

/* =====================================================
   SEARCH
===================================================== */

.faq-search {
    margin-bottom: 35px;
}

.faq-search-box {
    position: relative;

    max-width: 700px;

    margin: 0 auto;
}

.faq-search-box i {
    position: absolute;

    left: 18px;
    top: 18px;

    color: #94a3b8;
}

.faq-search-box input {
    width: 100%;

    padding: 15px 20px 15px 50px;

    border: 1px solid #e2e8f0;

    border-radius: 999px;

    background: #fff;

    outline: none;

    transition: .3s;
}

.faq-search-box input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.10);
}

/* =====================================================
   FAQ LIST
===================================================== */

.faq-list {
    display: grid;
    gap: 20px;
}

/* =====================================================
   FAQ ITEM
===================================================== */

.faq-item {
    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

    transition: all .3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.08);
}

/* =====================================================
   QUESTION
===================================================== */

.faq-question {
    width: 100%;

    border: none;

    background: transparent;

    padding: 22px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 18px;

    flex: 1;
}

.faq-number {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #dbeafe;

    color: #1d4ed8;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 15px;
}

.faq-title {
    font-size: 18px;
    font-weight: 600;

    color: #0f172a;

    text-align: left;
}

.faq-question i {
    color: var(--primary);

    font-size: 18px;

    transition: .3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* =====================================================
   ANSWER
===================================================== */

.faq-answer {
    display: none;

    padding:
        0
        25px
        25px
        93px;

    color: #475569;

    line-height: 1.9;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =====================================================
   EMPTY
===================================================== */

.faq-empty {
    text-align: center;

    padding: 80px 20px;
}

.faq-empty i {
    font-size: 70px;

    color: #cbd5e1;

    margin-bottom: 20px;
}

.faq-empty h3 {
    font-size: 24px;

    font-weight: 700;

    margin-bottom: 10px;
}

.faq-empty p {
    color: #64748b;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .faq-hero h1 {
        font-size: 32px;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .faq-page {
        padding: 30px 0 60px;
    }

    .faq-hero {
        padding: 30px;
    }

    .faq-hero h1 {
        font-size: 26px;
    }

    .faq-hero p {
        font-size: 14px;
    }

    .faq-question {
        padding: 18px;
    }

    .faq-question-content {
        gap: 12px;
    }

    .faq-number {
        width: 40px;
        height: 40px;

        font-size: 13px;
    }

    .faq-title {
        font-size: 15px;
    }

    .faq-answer {
        padding:
            0
            18px
            18px
            58px;
    }
}