/* =========================================================
   FREQUENTLY ASKED QUESTIONS
========================================================= */


/* =========================================================
   HERO
========================================================= */

.faq-hero {
    position: relative;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.faq-main-section {
    padding: 80px 0 100px;
    background: #f7f9fa;
}


/* =========================================================
   HEADING
========================================================= */

.faq-heading {
    max-width: 760px;
    margin-bottom: 30px;
}


    .faq-heading .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .faq-heading .section-eyebrow::before {
            content: "";
            width: 30px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .faq-heading h2 {
        margin: 0 0 14px;
        color: #073b4c;
        font-size: clamp(38px, 4vw, 52px);
        line-height: 1.05;
        font-weight: 850;
        letter-spacing: -1px;
    }


        .faq-heading h2 span {
            color: #0b858d;
        }


    .faq-heading p {
        max-width: 680px;
        margin: 0;
        color: #6d7d83;
        font-size: 15px;
        line-height: 1.8;
    }


/* =========================================================
   SEARCH
========================================================= */

.faq-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 58px;
    margin-bottom: 25px;
    border: 1px solid #dce6e8;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(5,45,55,.04);
}


    .faq-search-wrapper > i {
        margin-left: 20px;
        color: #0b858d;
        font-size: 15px;
    }


#faqSearch {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 15px;
    border: 0;
    outline: none;
    background: transparent;
    color: #073b4c;
    font-family: inherit;
    font-size: 14px;
}


    #faqSearch::placeholder {
        color: #9aa9ad;
    }


#faqClear {
    position: absolute;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9aa9ad;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
}


    #faqClear.visible {
        opacity: 1;
        pointer-events: auto;
    }


    #faqClear:hover {
        background: #eef7f7;
        color: #0b858d;
    }


/* =========================================================
   TABS
========================================================= */

.faq-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px;
    border: 1px solid #dfe7e9;
    border-radius: 14px;
    background: #ffffff;
}


.faq-tab {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 15px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #687980;
    font-family: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition: .25s ease;
}


    .faq-tab i {
        color: #0b858d;
        font-size: 12px;
    }


    .faq-tab:hover {
        background: #f0f7f7;
        color: #073b4c;
    }


    .faq-tab.active {
        background: #073b4c;
        color: #ffffff;
        box-shadow: 0 5px 15px rgba(7,59,76,.15);
    }


        .faq-tab.active i {
            color: #58c5ca;
        }


/* =========================================================
   CATEGORY
========================================================= */

.faq-category {
    display: none;
}


    .faq-category.active {
        display: block;
    }


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #dfe7e9;
    border-radius: 13px;
    background: #ffffff;
    transition: border-color .25s ease, box-shadow .25s ease;
}


    .faq-item:hover {
        border-color: rgba(11,133,141,.25);
    }


    .faq-item.open {
        border-color: rgba(11,133,141,.30);
        box-shadow: 0 7px 22px rgba(5,45,55,.05);
    }


/* =========================================================
   QUESTION
========================================================= */

.faq-question {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: #073b4c;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}


.faq-number {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf7f7;
    color: #0b858d;
    font-size: 8px;
    font-weight: 850;
}


.faq-question-text {
    flex: 1;
    color: #073b4c;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}


.faq-toggle {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f4f7f8;
    color: #0b858d;
    font-size: 10px;
    transition: transform .3s ease, background .3s ease;
}


.faq-item.open .faq-toggle {
    background: #073b4c;
    color: #58c5ca;
    transform: rotate(45deg);
}


/* =========================================================
   ANSWER
========================================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}


.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}


.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 62px;
    color: #687980;
    font-size: 13px;
    line-height: 1.85;
}


.faq-item.open .faq-answer-inner {
    padding-bottom: 20px;
}


/* =========================================================
   ANSWER LISTS
========================================================= */

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 10px 0 5px;
    padding-left: 22px;
}


.faq-answer-inner li {
    margin-bottom: 7px;
}


.faq-answer-inner strong {
    color: #073b4c;
}


/* =========================================================
   PROGRAM TABLE
========================================================= */

.faq-program-table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dfe7e9;
    border-radius: 10px;
}


.faq-program-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    min-width: 520px;
}


    .faq-program-row > * {
        padding: 11px 13px;
        border-right: 1px solid #e5ecee;
        border-bottom: 1px solid #e5ecee;
    }


        .faq-program-row > *:last-child {
            border-right: 0;
        }


    .faq-program-row:last-child > * {
        border-bottom: 0;
    }


.faq-program-header {
    background: #073b4c;
    color: #ffffff;
}


    .faq-program-header strong {
        color: #ffffff;
        font-size: 10px;
    }


.faq-program-row:not(.faq-program-header) span,
.faq-program-row:not(.faq-program-header) strong {
    color: #60747b;
    font-size: 11px;
}


/* =========================================================
   SCHOLARSHIP INTRO
========================================================= */

.faq-scholarship-intro {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dfe7e9;
    border-radius: 14px;
    background: #ffffff;
}


.faq-scholarship-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #073b4c;
    color: #e5b83d;
    font-size: 14px;
}


.faq-scholarship-intro h3 {
    margin: 0 0 6px;
    color: #073b4c;
    font-size: 18px;
    font-weight: 800;
}


.faq-scholarship-intro p {
    margin: 0;
    color: #6b7b82;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   SCHOLARSHIP NOTE
========================================================= */

.faq-scholarship-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 15px 17px;
    border: 1px solid #e9e0c5;
    border-radius: 11px;
    background: #fffaf0;
    color: #756d58;
    font-size: 11px;
    line-height: 1.65;
}


    .faq-scholarship-note i {
        margin-top: 3px;
        color: #c49b27;
    }


/* =========================================================
   NO RESULTS
========================================================= */

.faq-no-results {
    display: none;
    padding: 60px 20px;
    text-align: center;
}


    .faq-no-results.show {
        display: block;
    }


    .faq-no-results i {
        margin-bottom: 15px;
        color: #0b858d;
        font-size: 28px;
    }


    .faq-no-results h3 {
        margin: 0 0 6px;
        color: #073b4c;
        font-size: 20px;
    }


    .faq-no-results p {
        margin: 0;
        color: #7b898e;
        font-size: 13px;
    }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .faq-main-section {
        padding: 60px 0 70px;
    }


    .faq-heading h2 {
        font-size: 36px;
    }


    .faq-heading p {
        font-size: 14px;
    }


    .faq-tabs {
        grid-template-columns: 1fr;
    }


    .faq-tab {
        justify-content: flex-start;
        padding-left: 18px;
    }


    .faq-question {
        min-height: 64px;
        padding: 11px 12px;
        gap: 9px;
    }


    .faq-number {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }


    .faq-question-text {
        font-size: 12px;
    }


    .faq-toggle {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }


    .faq-answer-inner {
        padding-left: 50px;
        padding-right: 18px;
        font-size: 12.5px;
        line-height: 1.8;
    }


    .faq-item.open .faq-answer-inner {
        padding-bottom: 17px;
    }


    .faq-scholarship-intro {
        padding: 17px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .faq-main-section {
        padding: 50px 0 60px;
    }


    .faq-heading h2 {
        font-size: 31px;
    }


    .faq-question-text {
        font-size: 11.5px;
    }


    .faq-answer-inner {
        padding-left: 48px;
        font-size: 12px;
    }
}
