/* ================================
   Global Settings
   ================================ */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background-color: #eaf4fb;
    background-image: url("../images/school-background.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ================================
   Main Website Container
   ================================ */

.website {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}
/* ================================
   School Header
   ================================ */

.site-header {
    width: 100%;
    min-height: 165px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 35px;

    background-color: #eef8fd;

    border-bottom: none;
}





/* ================================
   Header Logo
   ================================ */

.header-logo {
    width: 125px;
    height: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.header-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ================================
   School Information
   ================================ */

.header-school-info {
    flex: 1;

    text-align: center;

    padding: 0 25px;
}

.header-school-info h1 {
    margin: 0;

    font-size: 60px;
    font-weight: 700;

    line-height: 1.2;

    color: #123b63;
}

.header-school-info h2 {
    margin: 5px 0 8px;

    font-size: 40px;
    font-weight: 700;

    line-height: 1.2;

    color: #1769aa;
}

.header-address,
.header-contact {
    margin: 4px 0;

    font-size: 20px;

    line-height: 1.5;

    color: #333333;
}


/* ================================
   Right Logo Space
   ================================ */

/* ================================
   Board Logo + Admin Login
   ================================ */


.header-right {
    width: 125px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-login-link {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 12px;

    font-size: 12px;
    font-weight: 600;

    color: #ffffff;
    background-color: #1769aa;

    text-decoration: none;
    border-radius: 4px;

    transition: all 0.2s ease;
}

.admin-login-link:hover {
    background-color: #123b63;
    color: #ffffff;
}

/* ================================
   Mobile Responsive
   ================================ */

@media (max-width: 768px) {

    .site-header {
        min-height: auto;

        flex-direction: column;

        padding: 20px 15px;
    }

    .header-logo {
        width: 100px;
        height: 100px;

        margin-bottom: 10px;
    }

    .header-school-info {
        padding: 0;
    }

    .header-school-info h1 {
        font-size: 38px;
    }

    .header-school-info h2 {
        font-size: 25px;
    }

    .header-address,
    .header-contact {
        font-size: 17px;
    }

    .right-logo {
        display: none;
    }
}


/* ================================
   Professional Main Navbar
   ================================ */

.navbar {
    min-height: 52px;
    height: 52px;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: #1769aa !important;
}

.navbar .navbar-nav {
    gap: 2px;
}

.navbar .nav-link {
    display: flex;
    align-items: center;

    min-height: 52px;
    padding: 0 14px !important;

    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: #123b63;
    color: #ffffff !important;
}

.navbar .nav-link.active {
    background-color: #123b63;
    color: #ffffff !important;
}

/* Home Design */

.navbar .home-link {
    width: 52px;
    height: 52px;
    min-height: 52px;
    margin-top: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #123b63;
}

.navbar .home-link svg {
    width: 20px;
    height: 20px;
}

.navbar .home-link:hover,
.navbar .home-link:focus {
    background-color: #0d2f50;
}


/* Dropdown Arrow */

.navbar .dropdown-toggle::after {
    margin-left: 7px;
    vertical-align: middle;
}

/* Mobile Navbar Button */

.navbar .navbar-toggler {
    margin: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ================================
   Professional Dropdown Menu
   ================================ */

.navbar .dropdown-menu {
    min-width: 190px;
    margin-top: 0;

    padding: 7px 0;

    background-color: #ffffff;
    border: 1px solid #dce5eb;
    border-radius: 6px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.navbar .dropdown-item {
    padding: 10px 16px;

    color: #333333;
    font-size: 14px;
    font-weight: 400;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #eef6fb;
    color: #1769aa;
}

/* ================================
   Nested Submenu
   ================================ */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -7px;
    margin-left: 2px;
}

/* Right Arrow for Nested Submenu */

.dropdown-submenu > .dropdown-toggle::after {
    float: right;
    margin-top: 5px;
    margin-left: 15px;

    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #555;

    border-right: 0;
}

/* Show Nested Submenu on Hover */

@media (min-width: 992px) {

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

}

@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 15px;
        border: none;
        box-shadow: none;
    }
}