/* ========================================
   GLOBAL HEADER
======================================== */

.site-header {
    width: 100%;
    height: 100px;

    background: #ffffff;
    border-bottom: 1px solid #e8eef4;

    position: relative;
    z-index: 1000;

    box-sizing: border-box;
}


/* ========================================
   HEADER CONTAINER
======================================== */

.header-container {
    width: 100%;
    max-width: 1450px;
    height: 100%;

    margin: 0 auto;
    padding: 0 4.5%;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* ========================================
   LOGO
======================================== */

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
    height: 100%;

    text-decoration: none;
}

.site-logo img {
    width: 215px;
    max-height: 96px;

    height: auto;

    display: block;
    object-fit: contain;
}


/* ========================================
   NAVIGATION
======================================== */

.main-navigation {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-menu > li {
    position: relative;
}


/* ========================================
   MAIN MENU LINKS
======================================== */

.nav-menu > li > a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 40px 0;

    font-family: "Poppins", sans-serif;

    font-size: 15px;
    font-weight: 500;

    color: #243b53;

    text-decoration: none;
    white-space: nowrap;

    transition: color 0.25s ease;
}

.nav-menu > li > a:hover {
    color: #0878c9;
}


/* ========================================
   MENU HOVER LINE
======================================== */

.nav-menu > li > a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 25px;

    width: 0;
    height: 2px;

    background: #0878c9;

    border-radius: 5px;

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.nav-menu > li > a:hover::after {
    width: 20px;
}


/* ========================================
   DROPDOWN ARROW
======================================== */

.dropdown-arrow {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-left: 1px;
    margin-top: -4px;

    border-right: 1.5px solid #6b7d90;
    border-bottom: 1.5px solid #6b7d90;

    transform: rotate(45deg);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.dropdown:hover > a .dropdown-arrow {
    border-color: #0878c9;
    transform: rotate(225deg);
}


/* ========================================
   COMMON DROPDOWN
======================================== */

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 50%;

    margin: 0;

    list-style: none;

    background: #ffffff;

    border: 1px solid #e4ebf1;
    border-radius: 13px;

    box-shadow:
        0 18px 45px rgba(18, 59, 115, 0.14);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(8px);

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;

    z-index: 3000;
}


/* ========================================
   SHOW DROPDOWN
======================================== */

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


/* ========================================
   DROPDOWN TOP ACCENT
======================================== */

.dropdown-menu::before {
    content: "";

    position: absolute;

    top: 0;
    left: 18px;
    right: 18px;

    height: 2px;

    background: #0878c9;

    border-radius: 0 0 4px 4px;
}


/* ========================================
   ABOUT US DROPDOWN
======================================== */

.about-dropdown {
    width: 290px;
    padding: 10px;
}


/* ========================================
   ABOUT DROPDOWN ITEMS
======================================== */

.about-dropdown li {
    width: 100%;
}

.about-dropdown li a {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 44px;

    padding: 10px 14px;

    box-sizing: border-box;

    border-radius: 8px;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    color: #53657a;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

.about-dropdown li a:hover {
    background: #f1f8fd;

    color: #0878c9;

    padding-left: 20px;
}

.about-dropdown li a:hover::before {
    content: "";

    position: absolute;

    left: 6px;
    top: 11px;
    bottom: 11px;

    width: 2px;

    background: #0878c9;

    border-radius: 4px;
}


/* ========================================
   COURSES DROPDOWN
   TWO COLUMNS
======================================== */

.course-dropdown {
    width: 650px;

    padding: 18px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0;

    box-sizing: border-box;
}


/* ========================================
   COURSE COLUMN
======================================== */

.course-column {
    width: 100%;

    padding: 0 14px;

    box-sizing: border-box;
}


/* LEFT COLUMN */

.course-column:first-child {
    border-right: 1px solid #e5edf3;
}


/* RIGHT COLUMN */

.course-column:last-child {
    padding-left: 22px;
}


/* ========================================
   COURSE CATEGORY HEADING
======================================== */

.course-column .dropdown-heading {
    display: block;

    padding: 0 0 10px;

    margin-bottom: 7px;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    color: #0878c9;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    border-bottom: 1px solid #e5edf3;
}


/* ========================================
   COURSE INNER LIST
======================================== */

.course-column > ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.course-column > ul > li {
    width: 100%;
}


/* ========================================
   COURSE LINKS
======================================== */

.course-column > ul > li > a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 45px;

    padding: 8px 10px;

    box-sizing: border-box;

    border-radius: 7px;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.45;

    color: #53657a;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}


/* ========================================
   COURSE HOVER
======================================== */

.course-column > ul > li > a:hover {
    background: #f1f8fd;

    color: #0878c9;

    padding-left: 15px;
}


/* ========================================
   COURSE HOVER INDICATOR
======================================== */

.course-column > ul > li > a:hover::before {
    content: "";

    position: absolute;

    left: 4px;

    top: 9px;
    bottom: 9px;

    width: 2px;

    background: #0878c9;

    border-radius: 5px;
}


/* ========================================
   ADMISSION BUTTON
======================================== */

.admission-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-left: 30px;

    padding: 12px 20px;

    min-width: 158px;

    box-sizing: border-box;

    background: #0878c9;

    color: #ffffff;

    border-radius: 28px;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 6px 18px rgba(8, 120, 201, 0.16);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.admission-button span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 17px;

    line-height: 1;

    transition: transform 0.25s ease;
}

.admission-button:hover {
    background: #123b73;

    transform: translateY(-2px);

    box-shadow:
        0 9px 23px rgba(18, 59, 115, 0.20);
}

.admission-button:hover span {
    transform: translateX(3px);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    margin-left: 10px;

    background: transparent;

    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: #123b73;

    border-radius: 4px;
}


/* ========================================
   LARGE TABLET
======================================== */

@media (max-width: 1200px) {

    .header-container {
        padding: 0 3%;
    }

    .site-logo img {
        width: 170px;
        max-height: 84px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu > li > a {
        font-size: 14px;
    }

    .admission-button {
        margin-left: 20px;

        padding: 11px 16px;

        min-width: 145px;

        font-size: 12px;
    }

    .course-dropdown {
        width: 590px;
    }

    .course-column > ul > li > a {
        font-size: 12px;
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .site-header {
        height: 84px;
    }

    .site-logo img {
        width: 145px;
        max-height: 75px;
    }

    .main-navigation {
        display: none;
    }

    .admission-button {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .header-container {
        padding: 0 18px;
    }

    .site-logo img {
        width: 125px;
        max-height: 68px;
    }

    .admission-button {
        padding: 10px 14px;

        min-width: auto;

        font-size: 11px;
    }

    .admission-button span {
        font-size: 15px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;

        margin-left: 5px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 430px) {

    .site-logo img {
        width: 110px;
        max-height: 62px;
    }

    .admission-button {
        padding: 9px 11px;
    }

    .admission-button span {
        display: none;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }
}