/* Center navbar items and add equal spacing */
.navbar-school .navbar-collapse {
    justify-content: center;
}

.navbar-school .navbar-nav {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.navbar-school .nav-item {
    text-align: center;
}

.navbar-school .nav-link {
    padding: 12px 14px !important;
    border-radius: 4px;
}

/* Dropdown alignment */
.navbar-school .dropdown-menu {
    text-align: left;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .navbar-school .navbar-collapse {
        justify-content: flex-start;
    }

    .navbar-school .navbar-nav {
        width: 100%;
        align-items: stretch;
        gap: 0;
    }

    .navbar-school .nav-item {
        text-align: left;
    }

    .navbar-school .nav-link {
        padding: 10px 14px !important;
    }

    .navbar-school .dropdown-menu {
        text-align: left;
        box-shadow: none;
        margin-left: 12px;
    }
}




/* Faculty page table design */
.faculty-page {
    background: #dff4ff;
    padding: 25px;
    border-radius: 6px;
}

.faculty-heading {
    color: #003b5c;
    font-weight: 800;
    margin-bottom: 12px;
}

.faculty-intro {
    font-size: 17px;
    color: #111;
    margin-bottom: 20px;
}

.faculty-section-title {
    background: #00547c;
    color: #fff;
    font-weight: 700;
    padding: 8px 38px;
    font-size: 18px;
    margin-bottom: 8px;
}

.faculty-table {
    margin-bottom: 8px;
    background: #fff;
}

.faculty-table thead th {
    background: #0078ad;
    color: #000;
    font-weight: 800;
    text-align: center;
    border: 1px solid #e3f2fb;
}

.faculty-table tbody td {
    text-align: center;
    font-weight: 700;
    color: #003b5c;
    border: 1px solid #e3f2fb;
}

.faculty-table tbody td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
}

.faculty-department-list div {
    background: #efefef;
    border: 1px solid #cfcfcf;
    padding: 7px 38px;
    font-size: 18px;
    font-weight: 800;
    color: #000;
}

@media (max-width: 768px) {
    .faculty-page {
        padding: 15px;
    }

    .faculty-intro {
        font-size: 15px;
    }

    .faculty-section-title,
    .faculty-department-list div {
        padding: 8px 15px;
        font-size: 15px;
    }

    .faculty-table {
        font-size: 14px;
    }

    .faculty-table tbody td:nth-child(2) {
        padding-left: 10px;
    }
}




.page-banner {
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.page-banner h1,
.page-banner .breadcrumb {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .page-banner {
        min-height: 200px;
    }
}


/* Dynamic page banner */
.page-banner {
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.page-banner-content {
    max-width: 720px;
    margin-left: 110px;
    padding: 35px 0;
}

.page-banner h1 {
    font-size: 44px;
    line-height: 1.15;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.page-banner .breadcrumb {
    font-size: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.page-banner .breadcrumb a {
    font-weight: 600;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

/* CMS page content readability */
.cms-content {
    font-size: 16px;
    line-height: 1.8;
}

.cms-content img {
    max-width: 100%;
    height: auto;
}

.cms-content table {
    width: 100%;
}

/* Tablet */
@media (max-width: 991.98px) {
    .page-banner-content {
        margin-left: 35px;
        max-width: 650px;
    }

    .page-banner h1 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-banner {
        min-height: 210px;
        background-position: center;
    }

    .page-banner-content {
        margin-left: 0;
        padding: 28px 12px;
        max-width: 100%;
    }

    .page-banner h1 {
        font-size: 28px;
        line-height: 1.25;
    }

    .page-banner .breadcrumb {
        font-size: 14px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-banner {
        min-height: 190px;
    }

    .page-banner-content {
        padding: 24px 8px;
    }

    .page-banner h1 {
        font-size: 24px;
    }
}