/* FAQ SECTION */

.FAQ {
    justify-content: space-between;
    align-items: flex-start;
}

.faq-heading{
    max-width:450px;
}

.questions {
    width: 100%;
    max-width: 558px;
    
    gap: 24px;
    align-items: flex-start;
}

.contact-link{
    text-decoration: underline;
}

/* FAQ CARD */

.question {
    width: 100%;
    padding: 13px 25px 13px 27px;

    background-color: var(--text-mid-light);

    border-radius: 19px;

    overflow: hidden;
}

/* QUESTION */

.question-line {
    justify-content: space-between;
    align-items: center;

    font-weight: 500;

    cursor: pointer;

    user-select: none;
}

/* ARROW */

.expend-answer {
    cursor: pointer;

    transition: transform 0.35s ease;
}

.expend-answer.active {
    transform: rotate(180deg);
}

/* ANSWER */

.answer {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    line-height: 1.7;
    color: var(--text-dark);
    transition:
        max-height 0.4s ease,
        margin-top 0.4s ease,
        opacity 0.3s ease;
    opacity: 0;
}

.answer.active {
    max-height: 300px;
    margin-top: 15px;
    opacity: 1;
}

@media (max-width:1024px){

    .FAQ{
        flex-direction:column;
        gap:50px;
        align-items:center;
    }

    .heading{
        text-align:center;
    }

    .questions{
        max-width:700px;
    }
}

@media (max-width:768px){

    .heading h1{
        line-height:1.2;
        margin-bottom:15px;
    }

    .heading p{
        line-height:1.7;
    }

    .questions{
        width:100%;
        gap:18px;
    }

    .question{
        padding:15px;
    }

    .question-line{
        font-size: var(--fs-body-sm);
    }

    .answer{
        font-size: var(--fs-body-xs);
    }
}

@media (max-width:480px){

    .heading h1{
        font-size: var(--fs-section-title);
    }

    .heading p{
        font-size: var(--fs-body-xs);
    }

    .question{
        padding:12px 14px;
    }

    .question-line{
        font-size: var(--fs-body-xs);
    }
}