/* =====================================
   MEDExA FAQ PAGE
===================================== */

.faq-page {
    background: #ffffff;
    color: #29252b;
}

.faq-section {
    padding: 12px 0 60px;
    background: #ffffff;
}

.faq-container {
    max-width:960px;
}

.faq-heading {
    margin: 0 auto 60px;
}

.faq-heading h1 {
    margin: 0 0 18px;
    color: #49304f;
    font-size:36px;
    font-weight: 800;
    line-height: 1.2;
}

.faq-heading p {
    max-width:956px;
    margin: 0 auto;
    color: #514852;
    font-size:18px;
    font-weight: 400;
    line-height: 1.55;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #eadfea !important;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 2px 3px rgba(41, 37, 43, 0.07);
}

.faq-question,
.faq-question:not(.collapsed) {
    padding: 27px 30px;
    color: #29252b;
    background-color: #ffffff;
    font-size:18px;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: none;
}

.faq-question::after {
    width: 18px;
    height: 18px;
    background-size: 18px;
}

.faq-question:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-answer {
    padding: 24px 30px;
    color: #514852;
    background: #faf7f3;
    font-size:18px;
    line-height: 1.65;
}

.faq-contact {
    margin-top: 48px;
    padding: 30px 24px;
    border: 1px solid #e5d8e5;
    border-radius: 16px;
    background: #faf7f3;
}

.faq-contact-title {
    margin-bottom: 20px;
    color: #49304f;
    font-size: 20px;
    font-weight: 700;
}

.faq-contact-button {
    display: inline-block;
    padding: 13px 32px;
    border: 0;
    border-radius: 50px;
    background: #49304f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.faq-contact-button:hover,
.faq-contact-button:focus {
    background: #9b7a98;
    color: #ffffff;
}

.faq-disclaimer {
    margin: 18px 0 0;
    color: #756d76;
    font-size: 13px;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .faq-section {
        padding: 30px 0 40px;
    }

    .faq-heading {
        margin-bottom: 35px;
    }

    .faq-heading h1 {
        font-size: 32px;
    }

    .faq-heading p {
        font-size:18px;
    }

    .faq-accordion {
        gap: 14px;
    }

    .faq-question,
    .faq-question:not(.collapsed) {
        padding: 20px 18px;
        font-size: 17px;
    }

    .faq-answer {
        padding: 20px 18px;
        font-size: 16px;
    }

    .faq-contact {
        margin-top: 32px;
        padding: 24px 18px;
    }

    .faq-contact-title {
        font-size: 18px;
    }
}
/***************FAQ_PAGE*****************/
/* Smooth FAQ accordion animation */

.faq-accordion .accordion-collapse {
    display: block !important;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 0.35s ease, visibility 0.35s ease;
}

.faq-accordion .accordion-collapse.show {
    height: auto;
    visibility: visible;
}

/* Smooth answer content */
.faq-accordion .faq-answer {
    transition: padding 0.35s ease;
}

/* Smooth arrow rotation */
.faq-accordion .faq-question::after {
    transition: transform 0.35s ease-in-out;
}







