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


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

.faq {
    position: relative;

    width: 100%;

    text-align: center;
    color: #fff;

    overflow: hidden;
}


.faq-us-img {
    display: block;

    width: 100%;
    height: 550px;

    object-fit: cover;
    object-position: center;
}


.faq-us-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 900px;

    text-align: center;
}


.title-faq {
    font-size: 5rem;
    line-height: 1.1;

    text-shadow: 2px 2px 4px #000;
}


.under-title-faq {
    margin-top: 10px;

    font-size: 2rem;
    line-height: 1.4;

    text-shadow: 2px 2px 4px #000;
}


/* =========================================
   FAQ CONTAINER
========================================= */

.faq-container {
    width: 90%;
    max-width: 1100px;

    margin: 60px auto;

    padding: 20px;

    color: #000;
}


.faq-container h2 {
    text-align: center;

    margin-bottom: 20px;

    font-size: 3rem;
    line-height: 1.2;
}


.faq-container > p {
    width: 90%;
    max-width: 800px;

    margin: 10px auto;

    text-align: center;

    font-size: 1.2rem;
    line-height: 1.6;
}


.faq-container > p:last-of-type {
    margin-bottom: 40px;
}


/* =========================================
   FAQ CARDS
========================================= */

.faq-item {
    width: 100%;

    margin-bottom: 18px;

    background-color: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.faq-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.14),
        0 10px 24px rgba(0, 0, 0, 0.10);
}


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

.faq-question {
    position: relative;

    width: 100%;

    padding: 22px 55px 22px 24px;

    border: none;

    background-color: #fff;

    color: #000;

    text-align: left;

    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.faq-question:hover {
    background-color: #f8fafc;
}


.faq-question.active {
    background-color: #fff;
}


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

.faq-question .arrow {
    position: absolute;

    top: 50%;
    right: 22px;

    transform: translateY(-50%);

    font-size: 0.9rem;

    transition: transform 0.3s ease;
}


.faq-question.active .arrow {
    transform:
        translateY(-50%)
        rotate(180deg);
}


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

.faq-answer {
    max-height: 0;

    overflow: hidden;

    background-color: #fff;

    transition: max-height 0.35s ease;
}


.faq-answer p {
    padding: 5px 24px 24px;

    color: #333;

    font-size: 1rem;
    line-height: 1.7;

    text-align: left;
}


/* Separation when answer is open */

.faq-question.active + .faq-answer {
    border-top: 1px solid #ececec;
}


/* =========================================
   ACCESSIBILITY / FOCUS
========================================= */

.faq-question:focus-visible {
    outline: 3px solid #0A5A8F;

    outline-offset: -3px;
}


/* =========================================
   HELP SECTION
========================================= */

.help-faq {
    width: 90%;
    max-width: 1200px;

    min-height: 350px;

    margin: 60px auto 80px;

    padding: 50px;

    background-color: #03273F;

    color: #fff;

    border-radius: 10px;

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.10);
}


.title-help-faq {
    color: #fff;

    text-align: center;

    font-size: 3rem;
    line-height: 1.2;

    text-shadow: 2px 2px 4px #000;
}


.text-help-faq {
    width: 90%;
    max-width: 800px;

    margin: 10px auto 0;

    color: #fff;

    text-align: center;

    font-size: 1.2rem;
    line-height: 1.6;

    text-shadow: 2px 2px 4px #000;
}


/* =========================================
   CONTACT CARDS
========================================= */

.help-inside-faq {
    margin-top: 25px;

    display: flex;
    flex-direction: row;

    justify-content: center;

    gap: 40px;
}


.help-inside-contact-faq {
    width: 300px;
    max-width: 100%;

    min-height: 100px;

    padding: 15px;

    background-color: #355971;

    border-radius: 20px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18);
}


.email-faq,
.phone-faq {
    color: #fff;

    text-align: center;

    font-size: 1.3rem;
    font-weight: 600;
}


.email-line-faq,
.phone-line-faq {
    margin-top: 5px;

    color: #fff;

    text-align: center;

    font-size: 1rem;

    cursor: pointer;

    transition: opacity 0.2s ease;
}


.email-line-faq:hover,
.phone-line-faq:hover {
    opacity: 0.9;
}


.email-line-faq a,
.phone-line-faq a {
    color: #fff;

    text-decoration: none;
}


.email-line-faq a:hover,
.phone-line-faq a:hover {
    text-decoration: underline;
}


.email-line-faq::after,
.phone-line-faq::after {
    content: " 📋";

    margin-left: 6px;

    font-size: 0.9rem;

    opacity: 0.85;
}


/* =========================================
   TABLET & MOBILE ≤900px
========================================= */

@media (max-width: 900px) {

    .faq-us-img {
        height: 380px;
    }


    .title-faq {
        font-size: 3rem;
    }


    .under-title-faq {
        font-size: 1.4rem;
    }


    .faq-container {
        width: 92%;

        margin: 40px auto;

        padding: 15px;
    }


    .faq-container h2 {
        font-size: 2rem;

        margin-bottom: 20px;
    }


    .faq-container > p {
        font-size: 1rem;
    }


    .faq-question {
        padding:
            18px
            50px
            18px
            20px;

        font-size: 1rem;
    }


    .faq-answer p {
        padding:
            5px
            20px
            20px;

        font-size: 1rem;
    }


    .help-faq {
        width: 90%;

        min-height: 0;

        padding: 30px;
    }


    .title-help-faq {
        font-size: 2rem;
    }


    .text-help-faq {
        font-size: 1rem;
    }


    .help-inside-faq {
        flex-direction: column;

        align-items: center;

        gap: 20px;
    }


    .help-inside-contact-faq {
        width: 90%;
        max-width: 350px;
    }


    .email-faq,
    .phone-faq {
        font-size: 1.2rem;
    }


    .email-line-faq,
    .phone-line-faq {
        font-size: 1rem;
    }
}


/* =========================================
   VERY SMALL SCREENS ≤500px
========================================= */

@media (max-width: 500px) {

    .faq-us-img {
        height: 260px;
    }


    .title-faq {
        font-size: 2.2rem;
    }


    .under-title-faq {
        font-size: 1.1rem;
    }


    .faq-container {
        width: 95%;

        padding: 8px;
    }


    .faq-container h2 {
        font-size: 1.8rem;
    }


    .faq-container > p {
        width: 100%;

        font-size: 0.95rem;
    }


    .faq-item {
        margin-bottom: 14px;

        border-radius: 10px;
    }


    .faq-question {
        padding:
            16px
            42px
            16px
            16px;

        font-size: 0.95rem;
    }


    .faq-question .arrow {
        right: 14px;
    }


    .faq-answer p {
        padding:
            5px
            16px
            18px;

        font-size: 0.95rem;
    }


    .help-faq {
        width: 90%;

        padding:
            25px
            20px;
    }


    .title-help-faq {
        font-size: 1.8rem;
    }


    .text-help-faq {
        font-size: 0.95rem;
    }


    .email-faq,
    .phone-faq {
        font-size: 1.2rem;
    }


    .email-line-faq,
    .phone-line-faq {
        font-size: 0.95rem;
    }
}