/* Header polish only — dynamic menu markup/logic remains unchanged. */
.headerkk {
    background: #052d57;
    box-shadow: 0 6px 24px rgba(3,84,39,.18)
}

.top-menusec {
    height: 78px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16,35,28,.09)
}

    .top-menusec:before {
        width: 100%;
        border-radius: 0
    }

.menubar nav > ul > li {
    margin-top: 19px;
    padding-right: 3px
}

    .menubar nav > ul > li > a {
        padding: 7px 13px;
        border-radius: 7px;
        font-weight: 600;
        color: #17233f;
        background: transparent
    }

        .menubar nav > ul > li > a:hover, .menubar nav > ul > li > a.default {
        background: #00a79d;
            color: #fff;
            box-shadow: 0 7px 18px rgba(7,139,66,.22)
        }

.menubar nav > ul ul {
    border-top-color: #00a79d;
    border-radius: 0 0 9px 9px;
    overflow: visible;
    background: #198754;
    box-shadow: 0 15px 35px rgba(0,0,0,.18)
}

.thebtnnkk {
    top: 11px
}

    .thebtnnkk .theme-btn {
        border-radius: 999px;
        background: linear-gradient(135deg,#00b9ad,#008f88);
        box-shadow: 0 8px 20px rgba(0,167,157,.28)
    }

.school-utility-bar.headerkk {
    height: 40px;
    background: #052d57;
    box-shadow: none
}

.school-utility-bar .container-fluid {
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 42px
}

.school-utility-inner {
    min-height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.headrmmul.school-utility-links {
    flex: 1;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden
}

.headrmmul.school-utility-links li {
    display: flex;
    align-items: center;
    min-height: 20px;
    padding: 0 24px;
    border-right: 2px solid rgba(255,255,255,.36)
}

.headrmmul.school-utility-links li:first-child {
    padding-left: 0
}

.headrmmul.school-utility-links li:last-child {
    border-right: 0
}

.school-utility-links a,
.school-utility-links span,
.school-social,
.school-social a {
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap
}

.school-utility-links .bookicnn {
    margin-right: 12px;
    color: #d99a08;
    font-size: 18px
}

.school-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px
}

.school-social span {
    margin-right: 2px
}

.school-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 18px;
    text-decoration: none
}

.top-menusec {
    height: auto;
    min-height: 90px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.08)
}

.school-navigation-row {
    max-width: 1780px;
    min-height: 90px;
    margin: 0 auto;
    padding: 0 34px;
    display: flex;
    align-items: center;
    gap: 26px;
    background: #fff
}

.school-brand-panel {
    flex: 0 0 375px;
    width: auto;
    padding: 0;
    background: #fff !important;
    color: #08294e !important
}

.school-brand-panel:hover,
.school-brand-panel:focus {
    color: #08294e;
    text-decoration: none
}

.school-brand-panel .mainlogoo {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: none;
    float: none
}

.school-brand-panel .logobiggg {
    flex: 0 0 auto;
    width: 260px;
    height: auto;
    object-fit: contain
}

.school-brand-panel .logotextt {
    position: static;
    float: none;
    width: auto;
    margin: 0
}

.school-brand-panel .logotextth1 {
    float: none;
    margin: 0;
    color: #078f3f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0;
    line-height: 1.12;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0
}

.school-brand-panel .logotexttp {
    float: none;
    margin: 4px 0 0;
    color: #078f3f;
    font-size: 0;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase
}

.school-menu-panel {
    flex: 1 1 auto;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    background: #fff
}

.school-menu-panel .menu-sec {
    width: auto;
    float: none
}

.school-menu-panel header,
.school-menu-panel .header-wrap,
.school-menu-panel .menubar,
.school-menu-panel nav {
    width: auto;
    float: none
}

.school-menu-panel .menubar nav > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto
}

.menubar nav > ul > li,
.school-menu-panel .menubar nav > ul > li {
    margin: 0;
    padding: 0
}

.menubar nav > ul > li > a,
.school-menu-panel .menubar nav > ul > li > a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 30px;
    background: transparent;
    color: #111;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase
}

    .menubar nav > ul > li > a:hover,
    .menubar nav > ul > li > a.default,
    .menubar nav > ul > li > a.active-menu {
        color: #fff !important;
        background: #198754 !important;
        box-shadow: 0 6px 16px rgba(0,167,157,.18)
    }

.school-registration {
    flex: 0 0 auto
}

.school-registration-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 5px;
    background: #00a79d;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(217,154,8,.24)
}

.school-registration-btn:hover,
.school-registration-btn:focus {
    color: #fff;
    background: #008f88;
    text-decoration: none
}

.responsive-header {
    display: none
}

.mces-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eaf8fb
}

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 610px
    }

.mces-hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center right;
    overflow: hidden
}

.mces-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(234,248,251,.98) 0%,rgba(234,248,251,.9) 38%,rgba(234,248,251,.42) 62%,rgba(234,248,251,.08) 100%)
}

.mces-hero-copy {
    position: absolute;
    z-index: 4;
    left: 5.4%;
    top: 50%;
    width: 43%;
    max-width: 720px;
    transform: translateY(-50%);
    color: #052d57;
    text-shadow: none
}

    .mces-hero-copy h2 {
        margin: 0 0 20px;
        color: #d99a08;
        font-family: "Brush Script MT", "Segoe Script", cursive;
        font-size: 48px;
        font-weight: 400;
        line-height: 1;
        text-transform: none
    }

.mces-hero-copy h3 {
    margin: 0 0 16px;
    color: #00a79d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.16;
    text-transform: uppercase
}

.mces-hero-rule {
    display: block;
    width: 120px;
    height: 3px;
    margin: 22px 0 26px;
    border-radius: 0;
    background: #00a79d
}

.mces-hero-description, .mces-hero-description p {
    max-width: 540px;
    font-size: 19px;
    line-height: 1.55;
    color: #263a4f;
    margin-bottom: 0;
    font-family: 'Cambria Math';
    font-weight:600;
}

.mces-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px
}

.mces-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 15px 26px;
    border: 0;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    transition: .25s;
    text-shadow: none
}

    .mces-hero-btn.primary {
        background: #00a79d;
        color: #fff
    }

    .mces-hero-btn.secondary {
        background: #fff;
        color: #052d57
    }

    .mces-hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(0,0,0,.24);
        color: #052d57;
    }

.mces-hero-control.carousel-control {
    top: 50%;
    bottom: auto;
    width: 40px;
    height: 40px;
    margin-top: -29px;
    border-radius: 50%;
    background: rgba(1,16,34,.76);
    opacity: 1;
    text-shadow: none
}

.mces-hero-control.left {
    left: 28px
}

.mces-hero-control.right {
    right: 28px
}

.mces-hero-control i {
    font-size: 30px;
    line-height: 40px;
    color: #fff
}

@media(max-width:1199px) {
    .school-utility-bar .container-fluid,
    .school-navigation-row {
        padding-left: 22px;
        padding-right: 22px
    }

    .school-navigation-row {
        gap: 22px
    }

    .school-brand-panel {
        flex-basis: 300px
    }

    .school-brand-panel .logobiggg {
        width: 92px;
        height: 92px
    }

    .school-brand-panel .logotextth1 {
        font-size: 20px
    }

    .school-brand-panel .logotexttp,
    .school-utility-links a,
    .school-utility-links span,
    .school-social,
    .school-social a {
        font-size: 15px
    }

    .school-menu-panel .menubar nav > ul {
        gap: 6px
    }

    .menubar nav > ul > li > a,
    .school-menu-panel .menubar nav > ul > li > a {
        padding: 0 10px;
        font-size: 13px
    }

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 540px
    }

    .mces-hero-copy h2 {
        font-size: 38px
    }

    .mces-hero-copy h3 {
        font-size: 31px
    }

    .mces-hero-description, .mces-hero-description p {
        font-size: 16px
    }

    .menubar nav > ul > li > a {
        padding: 7px 8px;
        font-size: 13px
    }
}

@media(max-width:900px) {
    .top-menusec {
        height: auto
    }

    .school-utility-bar.headerkk {
        height: auto
    }

    .school-utility-inner,
    .headrmmul.school-utility-links,
    .school-social {
        flex-wrap: wrap
    }

    .school-utility-inner {
        min-height: 0;
        padding: 10px 0;
        gap: 10px
    }

    .headrmmul.school-utility-links {
        width: 100%;
        flex: 0 0 100%
    }

    .headrmmul.school-utility-links li {
        padding: 4px 12px 4px 0;
        border-right: 0
    }

    .school-social {
        justify-content: flex-start;
        gap: 14px
    }

    .school-navigation-row {
        min-height: 0;
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap
    }

    .school-brand-panel {
        flex: 1 1 auto;
        min-width: 0
    }

    .school-brand-panel .mainlogoo {
        gap: 10px
    }

    .school-brand-panel .logobiggg {
        width: 68px;
        height: 68px
    }

    .school-brand-panel .logotextth1 {
        font-size: 18px
    }

    .school-brand-panel .logotexttp {
        font-size: 13px
    }

    .school-menu-panel {
        flex: 0 0 auto;
        width: auto;
        min-height: 0;
        justify-content: flex-end;
        padding: 0
    }

    .school-menu-panel .menu-sec {
        width: auto
    }

    .school-registration {
        display: none
    }

    .responsive-header {
        display: block
    }

    .responsive-header .row {
        margin: 0
    }

    .responsive-header .row > div:first-child {
        display: none
    }

    .responsive-header .row > div:last-child {
        width: auto;
        float: none;
        padding: 0
    }

    .responsive-logobar {
        width: auto;
        float: none;
        padding: 0
    }

    .menu-button {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        float: none;
        padding: 0;
        font-size: 21px;
        line-height: 1
    }

    .school-menu-panel header {
        display: none
    }

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 560px
    }

    .mces-hero-copy {
        left: 8%;
        top: 50%;
        width: 84%;
        transform: translateY(-50%)
    }

        .mces-hero-copy h2 {
            font-size: 31px
        }

        .mces-hero-copy h3 {
            font-size: 26px
        }

    .mces-hero-control.left {
        left: 12px
    }

    .mces-hero-control.right {
        right: 12px
    }
}

@media(max-width:575px) {
    .school-navigation-row {
        padding: 10px 14px
    }

    .school-brand-panel {
        min-height: 0;
        padding: 0
    }

    .school-brand-panel .mainlogoo {
        max-width: none;
        margin: 0;
        gap: 8px
    }

    .school-brand-panel .logobiggg {
        width: 58px;
        height: 58px
    }

    .school-brand-panel .logotextth1 {
        font-size: 16px;
        line-height: 1.05
    }

    .school-brand-panel .logotexttp {
        font-size: 12px;
        line-height: 1.1;
        margin-top: 3px
    }

    .mces-hero .carousel-inner, .mces-hero .item {
        height: 560px
    }

    .mces-hero-copy {
        top: 50%;
        left: 7%;
        width: 86%
    }

        .mces-hero-copy h2 {
            font-size: 27px
        }

        .mces-hero-copy h3 {
            font-size: 23px
        }

    .mces-hero-description, .mces-hero-description p {
        font-size: 14px;
        line-height: 1.5
    }

    .mces-hero-btn {
        padding: 10px 17px;
        font-size: 12px
    }

    .mces-hero-control.carousel-control {
        width: 44px;
        height: 44px
    }

    .mces-hero-control i {
        font-size: 27px;
        line-height: 44px
    }
}

/* Om Healthcare Center visual refresh */
.school-brand-panel {
    flex-basis: 300px;
}

.school-brand-panel .mainlogoo {
    gap: 12px;
}

.school-brand-panel .logobiggg,
.responsive-menu .menu-logo-img {
    width: min(270px, 100%) !important;
    height: auto;
    max-height: 62px !important;
    object-fit: contain;
}

.school-brand-panel .logotextt {
    display: none;
}

.mces-hero {
    box-shadow: inset 0 -1px 0 #dcecf3;
}

.mces-hero-copy h2 {
    max-width: 560px;
}

.mces-hero .carousel-inner,
.mces-hero .item {
    height: 610px !important;
}

.mces-hero-copy {
    left: 10%;
    width: 32%;
}

.mces-hero-copy h2 {
    font-size: 40px;
    line-height: 1.08;
}

.mces-hero-copy h3 {
    font-size: 22px;
    text-transform: none;
}

.mces-hero-description,
.mces-hero-description p {
    font-size: 16px;
}

.mces-hero-actions .mces-hero-btn {
    border-radius: 4px;
}

@media(max-width:900px) {
    .school-brand-panel {
        flex-basis: auto;
    }

    .school-brand-panel .logobiggg {
        width: min(240px, 68vw) !important;
        max-height: 58px !important;
    }

    .mces-hero-copy {
        left: 8%;
        width: 84%;
    }
}

@media(max-width:575px) {
    .school-brand-panel .logobiggg {
        width: min(210px, 68vw) !important;
        max-height: 54px !important;
    }
}
