/* ==========================================================
   RIFA FAQ PAGE
   MODERN / PREMIUM / TECHNICAL
========================================================== */
/* Mobile */

.navbar__mobile-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.menu-toggle{
    width:44px;
    height:44px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    width:24px;
    height:2px;
    background:#fff;
    border-radius:5px;
}

/* Desktop */

@media(min-width:900px){

    .navbar__mobile-actions{
        display:none;
    }

}
.faq-page {
    position: relative;

    background: #081C3B;

    color: #ffffff;

    overflow: hidden;
}


/* ==========================================================
   HERO
========================================================== */

.faq-hero {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    padding: 150px 0 120px;

    overflow: hidden;

    background: #081C3B;
}


/* ==========================================================
   HERO BACKGROUND IMAGE
========================================================== */

.faq-hero__media {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    z-index: 0;
}


/* ==========================================================
   HERO OVERLAY
========================================================== */

.faq-hero__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 28, 59, 0.98) 0%,
            rgba(8, 28, 59, 0.91) 32%,
            rgba(8, 28, 59, 0.70) 65%,
            rgba(8, 28, 59, 0.38) 100%
        );
}


/* ==========================================================
   HERO GRID
========================================================== */

.faq-hero__grid {
    position: absolute;

    inset: 0;

    z-index: 2;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.9),
            transparent 90%
        );

    pointer-events: none;
}


/* ==========================================================
   HERO CONTENT
========================================================== */

.faq-hero .container {
    position: relative;

    z-index: 3;
}


.faq-hero__content {
    max-width: 850px;
}


/* ==========================================================
   HERO EYEBROW
========================================================== */

.faq-hero__eyebrow {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;

    color: #FFC83D;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.faq-hero__eyebrow::before {
    content: "";

    width: 55px;

    height: 2px;

    background: #FFC83D;

    box-shadow:
        0 0 15px rgba(255, 200, 61, 0.45);
}


/* ==========================================================
   HERO TITLE
========================================================== */

.faq-hero__heading {
    margin: 0;

    max-width: 850px;

    color: #ffffff;

    font-size: clamp(4rem, 9vw, 8rem);

    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -5px;

    text-transform: uppercase;
}


.faq-hero__heading span {
    display: block;

    color: transparent;

    -webkit-text-fill-color: transparent;

    -webkit-text-stroke: 2px #ffffff;
}


/* ==========================================================
   HERO DESCRIPTION
========================================================== */

.faq-hero__body {
    max-width: 600px;

    margin: 35px 0 0;

    color: #D7E3F2;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ==========================================================
   FAQ LIST
========================================================== */

.faq-list {
    position: relative;

    padding: 120px 0 140px;

    background: #081C3B;

    overflow: hidden;
}


/* ==========================================================
   SUBTLE BACKGROUND GRID
========================================================== */

.faq-list::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    pointer-events: none;
}


/* ==========================================================
   FAQ HEADER
========================================================== */

.faq-list__header {
    position: relative;

    max-width: 700px;

    margin-bottom: 70px;
}


.faq-list__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: #FFC83D;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.faq-list__eyebrow::before {
    content: "";

    width: 35px;

    height: 1px;

    background: #FFC83D;
}


.faq-list__header h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -3px;
}


.faq-list__header h2 span {
    color: #FFC83D;
}


.faq-list__header p {
    max-width: 580px;

    margin: 25px 0 0;

    color: #9FB2CB;

    font-size: 1rem;

    line-height: 1.8;
}


/* ==========================================================
   FAQ INNER
========================================================== */

.faq-list__inner {
    position: relative;

    max-width: 1000px;

    margin-left: auto;

    margin-right: auto;
}


/* ==========================================================
   FAQ ITEM
========================================================== */

.faq-item {
    position: relative;

    display: grid;

    grid-template-columns: 60px minmax(0, 1fr);

    border-top: 1px solid rgba(255,255,255,0.10);

    transition:
        background 0.35s ease,
        border-color 0.35s ease;
}


.faq-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.10);
}


/* ==========================================================
   NUMBER
========================================================== */

.faq-item__number {
    padding-top: 30px;

    color: #FFC83D;

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 2px;

    opacity: 0.75;
}


/* ==========================================================
   QUESTION
========================================================== */

.faq-item__question {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 30px 0;

    border: 0;

    background: transparent;

    color: #ffffff;

    text-align: left;

    cursor: pointer;

    font-family: inherit;

    font-size: 1.08rem;

    font-weight: 700;

    line-height: 1.5;
}


.faq-item__question > span:first-child {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* ==========================================================
   PLUS ICON
========================================================== */

.faq-item__icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.18);

    color: #FFC83D;

    font-size: 1.35rem;

    font-weight: 300;

    line-height: 1;

    transition:
        transform 0.4s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


/* ==========================================================
   QUESTION HOVER
========================================================== */

.faq-item:hover {
    background:
        linear-gradient(
            90deg,
            rgba(255,200,61,0.045),
            transparent
        );
}


.faq-item:hover .faq-item__question > span:first-child {
    color: #FFC83D;

    transform: translateX(5px);
}


.faq-item:hover .faq-item__icon {
    border-color: #FFC83D;
}


/* ==========================================================
   OPEN STATE
========================================================== */

.faq-item__question[aria-expanded="true"] {
    color: #FFC83D;
}


.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);

    background: #FFC83D;

    border-color: #FFC83D;

    color: #081C3B;
}


/* ==========================================================
   ANSWER
========================================================== */

.faq-item__answer {
    grid-column: 2;

    overflow: hidden;

    max-height: 0;

    opacity: 0;

    transition:
        max-height 0.5s ease,
        opacity 0.4s ease;
}


.faq-item__answer.is-open {
    max-height: 300px;

    opacity: 1;
}


.faq-item__answer-inner {
    max-width: 720px;

    padding: 0 70px 32px 0;

    color: #AFC0D8;

    font-size: 0.95rem;

    line-height: 1.85;
}


/* ==========================================================
   BOTTOM CTA
========================================================== */

.faq-cta {
    position: relative;

    padding: 130px 0;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(255,200,61,0.07),
            transparent 55%
        ),
        #071932;
}


/* CTA grid */

.faq-cta::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    pointer-events: none;
}


.faq-cta .container {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   CTA EYEBROW
========================================================== */

.faq-cta__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    color: #FFC83D;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.faq-cta__eyebrow::before,
.faq-cta__eyebrow::after {
    content: "";

    width: 45px;

    height: 1px;

    background: #FFC83D;
}


/* ==========================================================
   CTA TITLE
========================================================== */

.faq-cta h2 {
    max-width: 850px;

    margin: 30px auto 22px;

    color: #ffffff;

    font-size: clamp(2.8rem, 6vw, 5.5rem);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -3px;
}


.faq-cta h2 span {
    color: #FFC83D;
}


/* ==========================================================
   CTA TEXT
========================================================== */

.faq-cta p {
    max-width: 600px;

    margin: 0 auto 40px;

    color: #AFC0D8;

    font-size: 1rem;

    line-height: 1.8;
}


/* ==========================================================
   CTA BUTTON
========================================================== */

.faq-cta__button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-height: 55px;

    padding: 0 30px;

    background: #FFC83D;

    border: 1px solid #FFC83D;

    color: #081C3B;

    text-decoration: none;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.faq-cta__button span {
    font-size: 1.1rem;

    transition: transform 0.3s ease;
}


.faq-cta__button:hover {
    transform: translateY(-4px);

    background: #ffffff;

    border-color: #ffffff;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.3);
}


.faq-cta__button:hover span {
    transform: translateX(5px);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .faq-hero {
        min-height: 580px;

        padding: 135px 0 100px;
    }


    .faq-hero__media {
        object-position: 60% center;
    }


    .faq-list {
        padding: 100px 0 110px;
    }


    .faq-list__header {
        margin-bottom: 55px;
    }


    .faq-item {
        grid-template-columns: 50px minmax(0, 1fr);
    }


    .faq-item__question {
        padding: 27px 0;
    }


    .faq-cta {
        padding: 105px 0;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    /* HERO */

    .faq-hero {
        min-height: 600px;

        padding: 120px 0 90px;
    }


    .faq-hero__media {
        object-position: 65% center;
    }


    .faq-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(8,28,59,0.98) 0%,
                rgba(8,28,59,0.87) 55%,
                rgba(8,28,59,0.60) 100%
            );
    }


    .faq-hero__eyebrow {
        gap: 10px;

        margin-bottom: 24px;

        font-size: 0.62rem;

        letter-spacing: 2.5px;
    }


    .faq-hero__eyebrow::before {
        width: 35px;
    }


    .faq-hero__heading {
        font-size: clamp(3.4rem, 15vw, 5rem);

        letter-spacing: -3px;
    }


    .faq-hero__heading span {
        -webkit-text-stroke: 1.5px #ffffff;
    }


    .faq-hero__body {
        margin-top: 28px;

        font-size: 0.92rem;

        line-height: 1.75;
    }


    /* FAQ */

    .faq-list {
        padding: 80px 0 90px;
    }


    .faq-list__header {
        margin-bottom: 45px;
    }


    .faq-list__eyebrow {
        font-size: 0.6rem;

        letter-spacing: 2.5px;
    }


    .faq-list__header h2 {
        font-size: clamp(2.4rem, 11vw, 3.6rem);

        letter-spacing: -2px;
    }


    .faq-list__header p {
        font-size: 0.9rem;

        line-height: 1.75;
    }


    .faq-item {
        display: grid;

        grid-template-columns: 38px minmax(0, 1fr);
    }


    .faq-item__number {
        padding-top: 25px;

        font-size: 0.65rem;
    }


    .faq-item__question {
        gap: 15px;

        padding: 25px 0;

        font-size: 0.95rem;
    }


    .faq-item__icon {
        width: 32px;
        height: 32px;

        font-size: 1.1rem;
    }


    .faq-item__answer {
        grid-column: 2;
    }


    .faq-item__answer-inner {
        padding: 0 0 28px;

        font-size: 0.88rem;

        line-height: 1.75;
    }


    /* CTA */

    .faq-cta {
        padding: 85px 20px;
    }


    .faq-cta__eyebrow {
        gap: 9px;

        font-size: 0.6rem;

        letter-spacing: 2.5px;
    }


    .faq-cta__eyebrow::before,
    .faq-cta__eyebrow::after {
        width: 25px;
    }


    .faq-cta h2 {
        margin-top: 25px;

        font-size: clamp(2.4rem, 12vw, 3.8rem);

        letter-spacing: -2px;
    }


    .faq-cta p {
        font-size: 0.9rem;

        line-height: 1.75;
    }


    .faq-cta__button {
        width: 100%;
    }

}


/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media (max-width: 480px) {

    .faq-hero {
        min-height: 560px;

        padding: 105px 0 80px;
    }


    .faq-hero__media {
        object-position: 70% center;
    }


    .faq-hero__heading {
        font-size: 3.2rem;
    }


    .faq-list {
        padding-top: 70px;
    }


    .faq-item__question {
        font-size: 0.88rem;
    }


    .faq-item__answer-inner {
        font-size: 0.84rem;
    }


    .faq-cta h2 {
        font-size: 2.3rem;
    }

}