/* =========================================================
   ARPIVA TECHNOLOGIES
   FAQs PAGE
========================================================= */

.faqs-page {
    background: #f7faff;
    color: #081b4b;
}


/* =========================================================
   HERO
========================================================= */

.faqs-hero {
    position: relative;
    padding: 170px 0 110px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(47, 128, 237, .22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06183f 0%,
            #0b2a6f 55%,
            #123d8f 100%
        );
}

.faqs-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -200px;
    top: -230px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.faqs-hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -470px;
    bottom: -570px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.faqs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.faqs-hero .section-badge {
    background: rgba(255,255,255,.10);
    color: #76aaff;
    border: 1px solid rgba(255,255,255,.10);
}

.faqs-hero h1 {
    margin: 25px 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.faqs-hero h1 span {
    color: #ff9f1c;
}

.faqs-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #d9e5fb;
    font-size: 19px;
    line-height: 1.8;
}


/* =========================================================
   SECTION BADGE
========================================================= */

.faqs-page .section-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 40px;
    background: #eef4ff;
    color: #2f80ed;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =========================================================
   INTRO
========================================================= */

.faqs-intro {
    padding: 110px 0 80px;
    background: #ffffff;
}

.faqs-intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.faqs-intro-content h2 {
    margin: 22px 0;
    color: #081b4b;
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.faqs-intro-content h2 span {
    color: #2f80ed;
}

.faqs-intro-content p {
    max-width: 760px;
    margin: 0 auto;
    color: #687790;
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    padding: 70px 0 110px;
    background: #f7faff;
}

.faq-category {
    max-width: 1000px;
    margin: 0 auto 90px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-heading {
    margin-bottom: 35px;
    text-align: center;
}

.faq-category-heading h2 {
    margin: 18px 0 0;
    color: #081b4b;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 800;
}

.faq-category-heading h2 span {
    color: #2f80ed;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15,43,91,.05);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.faq-item:hover {
    border-color: #cfdcf0;
    box-shadow: 0 16px 45px rgba(15,43,91,.08);
}


/* =========================================================
   QUESTION
========================================================= */

.faq-question {
    width: 100%;
    min-height: 72px;

    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    border: 0;
    outline: 0;

    background: #ffffff;

    color: #081b4b;

    text-align: left;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease;
}

.faq-question:hover {
    background: #f8fbff;
}

.faq-question span {
    flex: 1;
}

.faq-question strong {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef4ff;

    color: #2f80ed;

    font-size: 22px;
    font-weight: 500;
    line-height: 1;

    transition:
        transform .35s ease,
        background .3s ease,
        color .3s ease;
}


/* =========================================================
   ACTIVE QUESTION
========================================================= */

.faq-item.active {
    border-color: #c9daf3;
}

.faq-item.active .faq-question {
    color: #216ce0;
    background: #fbfdff;
}

.faq-item.active .faq-question strong {
    transform: rotate(45deg);
    background: #2f80ed;
    color: #ffffff;
}


/* =========================================================
   ANSWER
========================================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    transition:
        grid-template-rows .4s ease;
}

.faq-answer p {
    min-height: 0;
    overflow: hidden;

    margin: 0;
    padding: 0 24px;

    color: #687790;

    font-size: 15px;
    line-height: 1.8;

    transition:
        padding .4s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding: 0 24px 24px;
}


/* =========================================================
   CTA
========================================================= */

.faqs-cta {
    padding: 90px 0 120px;
    background: #ffffff;
}

.faqs-cta-box {
    position: relative;

    padding: 70px 40px;

    text-align: center;

    border-radius: 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(47,128,237,.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d4c,
            #0d347e
        );

    box-shadow:
        0 30px 70px rgba(8,27,75,.18);
}

.faqs-cta-box .section-badge {
    background: rgba(255,255,255,.10);
    color: #78aaff;
}

.faqs-cta-box h2 {
    margin: 22px 0 18px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 800;
}

.faqs-cta-box p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: #d6e2fa;

    font-size: 17px;
    line-height: 1.8;
}

.faqs-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding: 16px 28px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #ffb347,
            #ff8c00
        );

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(255,140,0,.30);

    transition: .35s ease;
}

.faqs-cta-button:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(255,140,0,.40);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .faq-category {
        max-width: 900px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .faqs-hero {
        padding: 130px 0 80px;
    }

    .faqs-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .faqs-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .faqs-intro {
        padding: 75px 0 55px;
    }

    .faq-section {
        padding: 50px 0 75px;
    }

    .faq-category {
        margin-bottom: 65px;
    }

    .faq-category-heading {
        margin-bottom: 28px;
    }

    .faq-category-heading h2 {
        font-size: 32px;
    }

    .faq-question {
        min-height: 65px;
        padding: 17px 18px;
        gap: 15px;
        font-size: 15px;
    }

    .faq-question strong {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        font-size: 20px;
    }

    .faq-item.active .faq-answer p {
        padding: 0 18px 20px;
        font-size: 14px;
    }

    .faqs-cta {
        padding: 60px 0 80px;
    }

    .faqs-cta-box {
        padding: 55px 25px;
        border-radius: 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .faqs-hero {
        padding: 115px 0 70px;
    }

    .faqs-hero h1 {
        font-size: 34px;
    }

    .faqs-hero p {
        font-size: 15px;
    }

    .faqs-page .section-badge {
        padding: 8px 17px;
        font-size: 11px;
    }

    .faq-question {
        padding: 15px 15px;
        font-size: 14px;
    }

    .faq-question strong {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .faq-item.active .faq-answer p {
        padding: 0 15px 18px;
        font-size: 13px;
        line-height: 1.7;
    }

    .faqs-cta-box h2 {
        font-size: 32px;
    }

}