/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
    width: 100%;
    background: #07080b;
    /* border-top: 2px solid #303238; */
    box-sizing: border-box;
    padding: 45px 0 25px;
    border-top: 50px solid #07080b;
}

.faq-container {
    width: calc(100% - 50px);
    max-width: 980px;
    margin: 0 auto;
}


.faq-heading-line {
    width: 120px;
    height: 2px;
    background: #ffb400;
    margin: 13px auto 0;
}


/* =========================================================
   FAQ HEADING
   ========================================================= */

.faq-heading {
    text-align: center;
    margin: 0;
}

.faq-heading h2 {
    margin: 0;
    padding: 0;
    color: #f4f4f4;
    font-size: 30px;
    line-height: 22px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

.faq-heading h2 span {
    color: #ffb400;
}


/* =========================================================
   FAQ DESCRIPTION
   ========================================================= */

.faq-description {
    width: 100%;
    margin: 32px auto 19px;
    padding: 0;
    text-align: center;

    color: #f0f0f0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;

    box-sizing: border-box;
}


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

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


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

.faq-item {
    width: 100%;
    border: 1px solid #73777d;
    border-radius: 4px;
    background: #181b1f;
    overflow: hidden;
    box-sizing: border-box;

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

.faq-item.active {
    border-color: #c68a00;
}


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

.faq-question {
    width: 100%;
    min-height: 54px;

    margin: 0;
    padding: 0 20px 0 5px;

    border: 0;
    outline: none;
    background: transparent;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;

    box-sizing: border-box;
}


/* =========================================================
   QUESTION LEFT SIDE
   ========================================================= */

.faq-question-left {
    min-width: 0;

    display: flex;
    align-items: center;
}


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

.faq-number {
    width: 25px;
    flex-shrink: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 20px;
    font-weight: 400;

    text-align: left;
}

.faq-item.active .faq-number {
    color: #ffb400;
}


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

.faq-title {
    color: #ffffff;

    font-size: 15px;
    line-height: 20px;
    font-weight: 400;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faq-item.active .faq-title {
    color: #ffb400;
}


/* =========================================================
   ARROW
   ========================================================= */

.faq-icon {
    width: 11px;
    height: 11px;

    flex-shrink: 0;

    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;

    transform: rotate(45deg);
    transform-origin: center;

    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s ease;

    margin-top: -5px;
}

.faq-item.active .faq-icon {
    border-color: #ffb400;
    transform: rotate(225deg);
    margin-top: 5px;
}


/* =========================================================
   ANSWER SMOOTH ANIMATION
   ========================================================= */

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}


.faq-answer {
    min-height: 0;
    overflow: hidden;

    padding: 0 30px 0 30px;

    color: #f1f1f1;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 15px;
    font-weight: 400;

    box-sizing: border-box;

    opacity: 0;
    transform: translateY(-4px);

    transition:
        opacity 0.25s ease,
        transform 0.35s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    padding-top: 1px;
    padding-bottom: 9px;

    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .faq-section {
        padding: 18px 0 22px;
    }

    .faq-container {
        width: calc(100% - 30px);
    }

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

    .faq-description {
        margin-top: 25px;
        margin-bottom: 17px;

        font-size: 10px;
        line-height: 14px;
    }

    .faq-question {
        min-height: 49px;
        padding-right: 16px;
    }

    .faq-number {
        width: 27px;
        font-size: 14px;
    }

    .faq-title {
        font-size: 13px;
        line-height: 18px;

        white-space: normal;
    }

    .faq-answer {
        padding-left: 27px;
        padding-right: 20px;

        font-size: 10px;
        line-height: 14px;
    }

}