:root {
    --primary: #0637B3;
    --prime-text: #001549;
    --secondary: #C9CFDF;
}

@font-face {
    font-family: 'Beausite Classic Trial';
    src: url('/jamia_college/static/fonts/BeausiteClassicTrial-Regular-BF6424edc02738f.otf') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Beausite Classic Trial';
    src: url('/jamia_college/static/fonts/BeausiteClassicTrial-Medium-BF6424edbfe3cb1.otf') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Beausite Classic Trial';
    src: url('/jamia_college/static/fonts/BeausiteClassicTrial-Bold-BF6424edbfa990f.otf') format('woff2');
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: 'Beausite Classic Trial';
    src: url('/jamia_college/static/fonts/BeausiteClassicTrial-Semibold-BF6424edc0596db.otf') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* Use globally */
body {
    font-family: 'Beausite Classic Trial', sans-serif;
}

h1, h2, h3 {
    font-family: 'Beausite Classic Trial', sans-serif;
}

header nav.navbar {
    padding: 0;
}

.logo-img {
    width: auto;
    height: 54px;
}

.jamia_hamdard#top .dropdown-menu {
    display: none;
}

.jamia_hamdard#top .nav-item.show > .dropdown-menu {
    display: block;
}

.right-logos {
    padding-right: 0;
    margin-right: 24px;
    position: relative;
    width: 95px;
    height: 55px;
    overflow: hidden;
    margin-left: auto;
}

.right-logos img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: horizontalLogoSlide 9s infinite ease-in-out;
}

.logos-track img {
    width: 95px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

/* SLIDE ANIMATION */

@keyframes horizontalLogoSlide {

    /* FIRST */
    0%, 28% {
        transform: translateX(0);
    }

    /* SECOND */
    33%, 61% {
        transform: translateX(-95px);
    }

    /* THIRD */
    66%, 94% {
        transform: translateX(-190px);
    }

    /* RESET */
    100% {
        transform: translateX(0);
    }

}

@font-face {
    font-family: 'Aeonik';
    src: url('/gems_college/static/fonts/AeonikTRIAL-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik';
    src: url('/gems_college/static/fonts/AeonikTRIAL-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik';
    src: url('/gems_college/static/fonts/AeonikTRIAL-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik';
    src: url('/gems_college/static/fonts/AeonikTRIAL-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

body {
    font-family: 'Aeonik', sans-serif;
}

h1, h2, h3 {
    font-family: 'Aeonik', sans-serif;
    font-weight: 700;
}

.jamia_hamdard .admission-opens {
    display: flex;
    height: 52px;
    padding: 14px 24px;
    align-items: center;
    gap: 8px;
    border-radius: 32px;
    background: var(--primary);
    color: #FFF ! IMPORTANT;
    font-family: 'Inter';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    overflow: hidden;
    width: fit-content;
    position: relative;
    isolation: isolate;
    transition: color .35s ease;
    border: 1px solid transparent;
}

.jamia_hamdard .admission-opens:hover {
    color: var(--primary) ! IMPORTANT;
}


.jamia_hamdard .admission-opens svg {
    transition: transform .4s ease-in-out;
}

.jamia_hamdard .admission-opens svg path {
    transition: fill .35s ease-in-out;
}

.jamia_hamdard .admission-opens::after {
    content: "";
    background: white;
    transition: all 0.7s ease;
    z-index: -1;
    border-radius: 5px;
    display: block;
    height: auto;
    left: 100%;
    min-height: 100%;
    min-width: 130%;
    pointer-events: none;
    position: absolute;
    top: 100%;
    transform: rotate(-50deg);
    transition-duration: .7s;
    width: auto;
    aspect-ratio: 1 / 1;
    top: 100%;
    left: 100%;
    scale: 0;
}

/* HOVER */
.jamia_hamdard .admission-opens:hover::after {
    top: -80px;
    left: -18px;
    scale: 1.3;
}

.jamia_hamdard .admission-opens#menu_button:hover::after {
    background: var(--prime-text);
}

.jamia_hamdard .admission-opens#menu_button:hover {
    color: #fff !important;
}

.jamia_hamdard .admission-opens:hover svg path {
    fill: var(--primary);
}

.jamia_hamdard .admission-opens:hover svg {
    transform: translateX(4px);
}

.jamia_hamdard .admission-opens#menu_button:hover svg path {
    fill: #fff;
}

.jamia_hamdard .admission-opens svg {
    transition: .35s ease;
}

.jamia_hamdard .admission-opens span, svg {
    position: relative;
    z-index: 3;
}

.right_items {
    align-items: center;
    display: flex;
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 100px;
    padding: 0;
}

.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu .o_cc1 {
    background-color: #ffffff;
}

#top .navbar-light .mes_asm .nav-link[aria-expanded="true"]::before {
    width: 80%;
}

/* When parent nav-item has .show */
#top .navbar-light .mes_asm .nav-item.show >
.nav-link::before {
    width: 80%;
}

.jamia_hamdard .home_nav {
    background: rgb(255, 255, 255);
    margin: 0;
    padding: 14px 0;
    position: relative;
    width: 100%;
    align-items: center;
}

.jamia_hamdard .right-items {
    margin: 0 100px 0 0;
    width: auto;
    padding: 0;
    background: transparent;
    flex: 1 1 auto;

}

.jamia_hamdard .navbar-expand-lg .right-items .jamia_nav {
    gap: 16px;
}

.jamia_hamdard .navbar-expand-lg .right-items .jamia_nav .jamia-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    color: #27292A;
    position: relative;
}

.jamia_hamdard .navbar-expand-lg .right-items .jamia_nav .jamia-link.active {
    color: #27292A;
}

.jamia_hamdard#top .navbar-expand-lg .jamia_nav .dropdown-menu.o_mega_menu {
    background: #EBEFF5;
    left: auto !important;
    min-width: 100vw;
    border: none;
    border-bottom: none;
    border-radius: 0;
    position: absolute;
    right: 0;
    z-index: 2;
    width: 100%;
    transform: translate(0%, 0px);
    max-width: 100vw;
    top: 67px;
    padding: 80px 100px;
    margin-right: -100px;
    overflow: hidden;
}

.jamia_hamdard#top .navbar-expand-lg .jamia_nav .dropdown-menu.o_mega_menu::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 362px; /* adjust size */
    height: 100%;
    background-image: url('/jamia_college/static/img/dropdownmenu_side_icons.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
}

.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu {

    display: block;
    background: #EBEFF5;
    left: auto !important;
    min-width: 100vw;
    border: none;
    border-bottom: none;
    border-radius: 0;
    position: absolute;
    right: 0;
    z-index: 2;
    width: 100%;
    transform: translate(0%, 0px);
    max-width: 100vw;
    top: 80px;
    padding: 80px 100px;
    margin-right: -100px;
}

/* Arrow */
.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0; /* JS will override */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 14px solid #fff;
    transition: left 0.2s ease;
}

.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu {
    transform: none !important;
    width: max-content;
    max-width: 90vw;
}

.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu::before {
    left: 50%;
}

.jamia_hamdard #logo-name {
    color: #002147;
    font-family: 'Aeonik', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.jamia_hamdard #logo-name p {
    color: #002147;
    padding-top: 0;
    margin: 0;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.jamia_hamdard#top .navbar-light .jamia_nav .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 6px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: #27292A !important;
    clip-path: polygon(2% 4%, 50% 96%, 98% 4%, 90% 0%, 50% 70%, 10% 0%);
    transform: translateY(0px);
    fill: #27292A;
    opacity: 1;
    color: #27292A ! IMPORTANT;
    transition: all 0.4s ease-in-out;
}

.jamia_hamdard .navbar-expand-lg .mes_asm.main_nav {
    justify-content: flex-start;
    width: 100%;
    margin: 0px !important;
    margin-right: 100px ! IMPORTANT;
}

.jamia_hamdard .mes_logo {
    padding: 12px 0;
    padding-right: 0;
    padding-left: 100px;
}

.jamia_hamdard#top .navbar-light .mes_asm .nav-link {
    padding: 12px;
    transition: all 0.4s ease-in-out;
    position: relative;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 26px;
    color: #fff !IMPORTANT;
    height: auto;
}

.jamia_hamdard#top .navbar-light .mes_asm .nav-link.active {
    background: transparent;
    color: #fff !IMPORTANT;
    font-weight: 400;
    height: auto;
}

.jamia_hamdard#top .navbar-light .mes_asm .nav-link::before {
    height: 2px;
    background: #2ECA7F;
}

.jamia_hamdard#top .navbar-light .mes_asm .nav-link:hover {
    background: transparent;
    color: #fff !IMPORTANT;
    font-weight: 400;
    height: auto;
}

.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu {
    position: fixed !important; /* 🔥 key fix */
    top: 210px;
    left: 0;
    transform: none !important;

    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    width: max-content;
    max-width: calc(100vw - 20px);
    min-width: 500px;

    display: none;
    z-index: 9999;
}

/* show only active */
.jamia_hamdard#top .nav-item.show >
.dropdown-menu.o_mega_menu {
    display: block;
}

/* arrow */
.jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu::before {
    content: "";
    position: absolute;
    top: -12px;

    left: var(--arrow-left, 50%);
    transform: translateX(-50%);

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
}

.erp_login {
    display: flex;
    padding: 4px 8px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: #D8F3F0;
    color: #002147;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    margin-left: auto;
}

.mes_p {
    padding-top: 20px;
    margin: 0;
    padding-bottom: 20px;
}

.mes_h2 {
    line-height: 48px;
    margin: 0;
}

a:hover {
    text-decoration: none;
}

header nav.navbar {
    padding: 0;
}

.logo {
    gap: 16px;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

header#top {
    z-index: 1030;
    background: #fff;
    height: auto;
    position: sticky;
    width: 100%;
    top: 0;
    box-shadow: rgba(149, 157, 165, .2) 0 8px 19px 2px;
}

header#top {
    top: 0;
}

#logo-name p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.o_footer .o_footer_copyright {
    display: none;
}

#wrapwrap {
    scroll-behavior: smooth;
}

.jamia_logo {
    padding: 0 0;
    padding-right: 0;
    padding-left: 100px;
}

.top-bar {
    background: #F6F6F6 !important;
    justify-content: space-evenly;
    border-radius: 0;
    height: auto;
    width: 100%;
    align-items: center;
    gap: 10px;
    z-index: 1;
    position: relative;
    padding: 5px 0;
    display: flex;
}

#top1 {
    color: #002147;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    border: none !important;
    gap: 13px;
    display: flex;
    align-items: center;
    outline: none;
}

.top_drop {
    background: #ECF3FF;
    left: auto !important;
    min-width: 23rem;
    padding: 0.5rem 0;
    margin-top: 12px;
    border: none;
    border-bottom: 5px solid #116CF8;
    border-radius: 0 0 32px 32px;
}

.top_nav_link {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #0f1010 !important;
    font-size: 14px;
    padding: 10px 40px !important;
    border-bottom-right-radius: 0px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;

}

.top_nav_link::before {
    content: "";
    position: relative;
    left: 0;
    bottom: auto;
    width: 0;
    height: 2px;
    background: #116cf8;
    transition: width 0.3s ease;
    display: block;
    transition: all 0.4s ease-in-out;
}

.top_nav_link:hover::before {
    width: 20px;
    margin-right: 10px;
    background: #116cf8;
}

.top_nav_link:hover {
    color: #116cf8 !important;
    background: transparent;
    border-radius: 0;
}

.nav-item.dropdown.show #top1 svg {
    transform: rotate(180deg);
}

#top1 svg {
    transition: all 0.4s ease-in-out;
}

.homepage #top .navbar .navbar-collapse {
    margin-top: 0;
    background: transparent;
    position: relative !important;
    width: auto;
    left: 0;
    padding-top: 0;
}

#top .navbar .navbar-collapse {
    margin-top: 0;
    background: transparent;
    position: relative !important;
    width: auto;
    left: 0;
    padding-top: 0;
}

#top .s_mega_menu_odoo_menu .nav .nav-link:hover {
    color: #116cf8 !important;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu .o_cc1 {
    background-color: #ECF3FF;
}


.top_drop .nav {
    scrollbar-width: thin;
    scrollbar-color: #cdcdcd #f1f1f100;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Scrollbar styling for WebKit-based browsers (Chrome, Safari, Edge) */
.top_drop .nav::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.top_drop .nav::-webkit-scrollbar-track {
    background: #f1f1f1; /* Scrollbar track background */
}

.top_drop .nav::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar thumb color */
    border-radius: 4px; /* Rounded edges for the thumb */
}

.top_drop .nav::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker thumb color on hover */
}

.top_drop .nav {
    max-height: 100%;
    flex-wrap: nowrap;
    min-height: auto;
    overflow: hidden;
    overflow-y: auto;
}

#top .navbar-light .mes .mes-link {
    color: #101010D9;
    font-size: 16px;
    font-family: Poppins;
    font-weight: 500;
    word-wrap: break-word;
    padding-right: 1rem;
    padding-left: 1rem;
    transition: all .4s ease-in-out;
    border-bottom: 3px solid transparent !Important;
}

#menu_button {
    background: transparent;
    border: 2px solid var(--prime-text);
    color: var(--prime-text) ! IMPORTANT;
}

#logo-name {
    line-height: 20px;
}

#logo-name p {
    color: #0F172A;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.28px;
}


.next {
    height: 150px;
}

* {
    scroll-behavior: smooth;
}

header .navbar .dropdown-menu, header .navbar .o_dropdown_menu {
    max-height: max-content !important;
}

#logo-name {
    margin: 0;
}

.admission-open {
    display: flex;
    height: 52px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: #FFF !important;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;

    border-radius: 4px;
    border: 2px solid transparent;

    background: var(--primary);

    transition: all .4s ease-in-out;
}

/* Arrow box */
.admission-arrow {
    background: var(--secondary);
    box-shadow: 0 1px 2px rgba(10, 13, 18, .05);

    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;

    transition: all .4s ease-in-out;
}

/* SVG animation */
.admission-arrow svg,
.admission-arrow svg path {
    transition: all .4s ease-in-out;
}

/* Hover */
.admission-open:hover {
    color: var(--primary) !important;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #011C50 0%, #B60024 100%) border-box;
}

/* Arrow hover */
.admission-open:hover .admission-arrow {
    background: #fff;
}

/* Rotate arrow */
.admission-open:hover .admission-arrow svg {
    transform: rotate(45deg);
}

/* Change arrow color */
.admission-open:hover .admission-arrow svg path {
    stroke: var(--primary);
}

.second-logos {
    width: auto;
    height: auto;
    object-fit: contain;
}

#top1.dropdown-toggle::after {
    display: none;
}

.top-bar .nav-item.plus-button {
    display: none;
}

.mobile_nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.admission-opening {
    display: flex;
    padding: 8px 4px 8px 12px;
    font-size: 16px;
    font-family: Poppins;
    font-weight: 500;
    line-height: 24px;
    color: white !Important;
    border-radius: 100px;
    background: #012B67;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    outline: 0.1em solid transparent;
    outline-offset: 0.2em;
    transition: box-shadow 0.6s ease-in-out, outline 0.3s ease-in-out;
    box-shadow: 0 0 0.4em 0 rgba(1, 43, 103, 0.4);
    animation: outlinePulse 1.5s ease infinite;
}

.admission-opening span {
    border-radius: 100px;
    background: #fff;
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes svgSlide {
    0% {
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.admission-opening svg path {
    animation: arrowColor 1s infinite 0.6s;
}

@keyframes arrowColor {
    0%, 100% {
        opacity: 1;
        fill: #012B67;
    }
    50% {
        opacity: 0.2;
        fill: #012B67;
    }
}

@keyframes outlinePulse {
    0% {
        box-shadow: 0 0 0.2em 2px rgba(1, 43, 103, 0.25);
        outline: 0.2em solid hsl(215.29deg 98.08% 20.39% / 20%);
    }
    50% {
        box-shadow: 0 0 0.1em 5px rgba(1, 43, 103, 0.44);
        outline: 0.3em solid hsl(215.29deg 98.08% 20.39% / 14%);
    }
    100% {
        box-shadow: 0 0 0.2em 2px rgba(1, 43, 103, 0.25);
        outline: 0.2em solid hsl(215.29deg 98.08% 20.39% / 20%);
    }
}

.admission-opening svg {
    opacity: 1;

    animation: svgSlide 1.2s ease-in-out infinite;
}

.admission-opening svg:nth-child(1) {
    animation-delay: 0s;
}

.admission-opening svg:nth-child(2) {
    animation-delay: 0.2s;
}

.admission-opening svg:nth-child(3) {
    animation-delay: 0.4s;
}

/* Optional: small arrow color animation */
.admission-opening svg path {
    animation: arrowColor 1s infinite 0.6s;
}

@keyframes arrowColor {
    0% {
        opacity: 1;
        fill: #012B67;
    }
    50% {
        opacity: 0.2;
        fill: #012B67;
    }
    100% {
        opacity: 1;
        fill: #012B67;
    }
}

#top .navbar-light .mes .mes-link:hover {
    background: #116cf87d;
    color: #fff;
    border-bottom: 3px solid #56B2FF !Important;
}

#top .navbar-light .jamia_nav .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 6px;
    margin-left: 0;
    vertical-align: middle;
    background-color: currentColor;
    clip-path: polygon(2% 4%, 50% 96%, 98% 4%, 90% 0%, 50% 70%, 10% 0%);
    transform: translateY(0px);

}

#top .navbar-light .jamia_nav .dropdown.show >
.dropdown-toggle::after {
    transform: translateY(-1px) rotate(180deg);
    transition: transform 0.2s ease;
}

#top .navbar-light .jamia_nav .dropdown-toggle:hover::after {
    transform: translateY(-1px) rotate(180deg);
    transition: transform 0.2s ease;
}

.navbar-expand-lg .mes.main_nav {
    justify-content: space-between;
    width: 100%;
    margin: 0 100px !important;

}

.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.mob-logo {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10511;
    height: 70px;
    width: 100%;
    display: none;
}

#top .navbar-light .mes .mes-link.show {
    background: #116cf87d;
    color: #fff;
    border-bottom: 3px solid #56B2FF ! Important;
}

.s_table_of_content .row {
    justify-content: space-between;
    margin: 0;
}

#top .mes.main_nav .dropdown-item.active {
    color: #0E5D7C !important;
    background: transparent;
    border-radius: 0;
}

#top .mes.main_nav .dropdown-item {
    border-bottom: 1px solid transparent ! IMPORTANT;
}

#top .mes.main_nav .dropdown-item::before {
    content: "";
    position: relative;
    left: 0;
    bottom: auto;
    width: 0;
    height: 2px;
    background: #116cf8;
    transition: width 0.3s ease;
    display: block;
    transition: all 0.4s ease-in-out;
}

#top .mes.main_nav .dropdown-item.active::before {
    width: 20px;
    margin-right: 10px;
    background: #116cf8;
}

#top .navbar-expand-lg .mes .dropdown-menu {
    background: #ECF3FF;
    left: auto !important;
    min-width: 16rem;
    padding: 0.5rem 0;
    margin-top: 0;
    border: none;
    border-bottom: 5px solid #116CF8;
    border-radius: 0 0 32px 32px;
    position: absolute;
    right: auto;
}

.mes.main_nav .dropdown-item {
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    color: #424242 !important;
    font-size: 18px;
    padding: 10px 0px 10px 40px !important;
    border-bottom-right-radius: 0px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent ! IMPORTANT;
}

#top .mes.main_nav .dropdown-item:hover {
    color: #0E5D7C !important;
    background: transparent;
    border-radius: 0;
}

#top .mes.main_nav .dropdown-item::before {
    content: "";
    position: relative;
    left: 0;
    bottom: auto;
    width: 0;
    height: 2px;
    background: #116cf8;
    transition: width 0.3s ease;
    display: block;
    transition: all 0.4s ease-in-out;
}

#top .mes.main_nav .dropdown-item:hover::before {
    width: 20px;
    margin-right: 10px;
    background: #116cf8;
}

#logo-name {
    font-size: 18px;
    color: #0F172A;
    font-weight: 500;
}

.logo-img {
    width: auto;
    object-fit: contain;
    height: 54px;
}

#logo-name p {
    font-size: 14px;
    font-weight: 400;
}

.logo {
    gap: 16px;
}

.nav-togglering {
    position: relative;
    width: 25px;
    height: 25px;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1;
    cursor: pointer;
    right: 25px;
    flex-direction: row;
    padding: 0;
    align-items: center;
}

.nav-togglering span {
    background-color: #0c59db;
    height: 2px;
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    position: relative;
}

.collapse_show {
    display: none;
}

.collapse_show.show {
    display: block;
}

.nav-togglering {
    display: none;
}

.nav-togglering span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    min-width: 25px;
}

.navbar-collapse.collapse.show {

    background: aliceblue;
}

.menu-opened span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}

.menu-opened span:nth-child(2) {
    opacity: 0;
}

.menu-opened span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-togglering span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.lg-hide {
    display: none;
}

.home_nav {
    background: white;
    margin: 0 100px;
    padding: 6px 0;
}

#top .navbar-light .mes .nav-link {
    color: rgb(255 255 255 / 85%);
    font-size: 16px;
    font-family: Poppins;
    font-weight: 500;
    overflow-wrap: break-word;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-right: 0 !important;
    padding: 10px;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#mob-logo-name {
    display: none;
}

.management {
    width: auto;
    max-width: 300px;
    min-width: 300px;
}

#parent-li, #sidebar-li {
    margin-bottom: 5px !important;
}


#banner_image {
    background-color: #00000069;
    min-height: auto;
}

.mes_logo {
    padding-right: 0;
    padding-left: 0;
}

#aqar_data {
    max-width: 100%;
    flex-wrap: wrap;
    padding: 0;
    flex-direction: row;
}

#iqac_link {
    width: 33%;
    margin: 20px;
    font-size: 17px;
    min-width: fit-content;
}

#iqac_link a {
    font-size: 18px;
}


.mobile_nav {
    display: none;
}

.nav-item h4 {
    color: var(--prime-text);
    font-style: normal;
    margin: 0;
    font-family: Inter;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
}

.nav-item h3 {
    font-weight: 400;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0%;
    vertical-align: middle;
    font-family: 'Beausite Classic Trial', sans-serif;
    color: var(--prime-text);
}

#top .navbar-expand-lg .mes .dropdown-menu {
    background: #ECF3FF;
    left: 50% !important;
    min-width: auto;
    padding: 0.5rem 0;
    margin-top: 0;
    border: none;
    border-bottom: 5px solid #116CF8;
    border-radius: 0 0 32px 32px;
    position: absolute;
    right: auto;
    z-index: 2;
    width: 100%;
    transform: translate(-50%, 0px);
    max-width: 87%;
}

#top .s_mega_menu_odoo_menu .nav .nav-link {
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

#top .s_mega_menu_odoo_menu .nav .nav-link:hover::before {
    width: 20px;
    margin-right: 10px;
    background: #116cf8;
    margin-left: 0px;
}

#top .s_mega_menu_odoo_menu .nav .nav-link {
    color: #2B2B2B ! IMPORTANT;
    font-style: normal;
    font-weight: 400 !IMPORTANT;
    padding: 4px 16px ! IMPORTANT;
    width: 100%;
    display: flex;
    height: 34px;
    font-family: Inter;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    vertical-align: middle;

}

.mes_asm .nav-item:hover .s_mega_menu_odoo_menu .dropdown-menu {
    display: none;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu .col-md-3 {
    position: relative;
    width: 258px;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu .col-md-3:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background: #AECEFF;
    top: 0;
    right: 0;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu .col-md-3:last-child:after {
    width: 0;
}

#wrapwrap {
    scroll-behavior: smooth;
}

#wrapwrap {
    z-index: 0;
    position: relative;
    display: flex;
    flex-flow: column;
    overflow: auto;
    overflow-x: hidden;
}


#wrapwrap::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

#wrapwrap::-webkit-scrollbar-thumb {
    background: #6b6b6b;
}

#wrapwrap::-webkit-scrollbar-track {
    background: #323232;
}

.home_nav {
    background: transparent;
    margin: 0;
    padding: 18px 0;
    position: absolute;
    width: 100%;
}

.mes_logo {
    padding-right: 0;
    padding-left: 100px;
}

.logo-img {
    width: auto;
    object-fit: contain;
    height: 54px;
    padding: 0;
}

.homepage #top .navbar .navbar-collapse {
    background: transparent;
    position: relative !important;
    width: auto;
}

.right-items {
    margin: 0;
    width: auto;
    padding: 0;
    margin-left: auto;
}

.navbar-expand-lg .mes_asm.main_nav {
    justify-content: end;
    width: 100%;
    margin: 0px !important;
    margin-right: 100px ! IMPORTANT;
}


#top .navbar-light .mes_asm .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #2ECA7F;
    transition: width 0.35s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
}

/* hover animation */
#top .navbar-light .mes_asm .nav-link:hover::before {
    width: 80%;

}

/* active state */
#top .navbar-light .mes_asm .nav-link.active::before {
    width: 80%;

}

#top .navbar-light .mes_asm .nav-link:hover,
#top .navbar-light .mes_asm .nav-link.active {
    background: transparent;
    color: #fff;
    font-weight: 600;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu {
    background: #FFF0F3;

    min-width: 100vw;
    border: none;
    border-bottom: none;
    border-radius: 0;
    position: absolute;

    z-index: 2;
    width: 100%;
    transform: translate(0%, 0px);
    max-width: 100%;
    top: 80px;
    padding: 60px 100px;
}

#top .navbar-expand-lg .mes_asm .dropdown-menu .o_cc1 {
    background-color: #FFF0F3;
}

.menu_title {
    gap: 8px;
    align-items: center;
    display: flex;
}

.menu_title h1 {
    color: #262626;
    font-family: "Archivo Black";
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin: 0;
}

.menu_description {
    color: #2B2B2B;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding-top: 24px;
}

#top .s_mega_menu_odoo_menu .nav .nav-link {
    color: #27292A ! IMPORTANT;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400 !IMPORTANT;
    line-height: normal;
    padding: 4px 16px ! IMPORTANT;
    width: 100%;
    display: flex;
    height: 34px;
}

#top .s_mega_menu_odoo_menu .nav .nav-link:hover {
    color: #27292A !important;
    height: 34px;
}

#top .s_mega_menu_odoo_menu .nav .nav-link::before {
    content: "";
    position: relative;
    left: 0;
    bottom: auto;
    width: 1px;
    height: 34px;
    background: var(--prime-text);
    transition: width 0.3s ease;
    display: block;
    transition: all 0.4s ease-in-out;
    margin-left: 16px;
    opacity: 0;
}

#top .s_mega_menu_odoo_menu .nav .nav-link:hover::before {
    opacity: 1;
    background: var(--prime-text);
    width: 1px ! IMPORTANT;
    height: 34px;
}

#mob-admission {
    display: none;
}

#mobile_sec_nav {
    display: none;
}

#top .navbar-light .mes .nav-link {
    color: rgb(255 255 255 / 85%);
    font-size: 16px;
    font-family: Poppins;
    font-weight: 500;
    overflow-wrap: break-word;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-right: 0 !important;
    padding: 10px;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.footer {
    background: var(--primary);

}

.footer-container {
    padding: 80px 100px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    background: url(/jamia_college/static/img/footer_bg.svg);
    background-size: cover;
    background-repeat: no-repeat;
}


.footer-title {
    margin-bottom: 8px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.footer-sub {
    color: #FFF;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    vertical-align: middle;

}

/* Headings */
.footer h3 {
    color: #FFF;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 20px;
}

/* Links */
.columns_link a {
    display: block;
    text-decoration: none ! Important;
    color: #FFFFFFD9 ! IMPORTANT;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 4px;
}

.columns_link a:hover {
    color: #fff;
}

/* Address */
.footer p {
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 16px;
}

/* Social Icons */
.social {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 21px;
    align-self: stretch;
}

.social a {

    display: flex;
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background: #FFF;


}

.social a:hover {
    color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #346DDC;
    background: var(--primary);
    padding: 16px 100px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    color: #FFF;

}

.footer-bottom a {
    color: #FFF !Important;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;

}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom .last_itemdiv {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;

}

.movetop {
    display: flex;
    color: #0065D8;
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    background: #E9EEFF;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    margin-top: 86px;
    width: fit-content;

}

.foot-contact {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    color: #FFF;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.footer_logo {
    height: 74px;
    width: auto;
}

.logo-title {
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
    padding-top: 24px;
    padding-bottom: 4px;
}

@media (max-width: 1400px) {
    .jamia_logo {
        padding-left: 40px;
    }

    .jamia_hamdard .right-items {
        margin: 0 50px 0 0;
    }
}

@media (max-width: 1305px) {

    .home_nav {
        padding: 10px 20px;
        margin: 0;
    }

    .navbar-expand-lg .mes.main_nav {
        margin: 0 16px 0 16px !important;
        gap: 10px;
    }

    #top .navbar-light .mes .nav-link {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

@media (max-width: 1200px) {
    .jamia_hamdard .mes_logo {
        padding-left: 0;
    }

    .right_items {
        margin-right: auto;
    }

    .jamia_hamdard .right-items {
        padding: 0;
    }

    .jamia_hamdard .navbar-expand-lg .mes_asm.main_nav {
        margin: 0px !important;
        margin-right: 0px ! IMPORTANT;
    }

    .jamia_hamdard#top .navbar-light .mes_asm .nav-link {
        font-size: 16px;
        padding: 12px 6px;
    }

    .jamia_hamdard .admission-opens {
        height: auto;
        padding: 8px 12px;
        font-size: 16px;
    }

    .right_items {
        gap: 10px;
    }

    .jamia_hamdard .navbar-expand-lg .mes_asm.main_nav {
        justify-content: space-evenly;
    }
}

@media (max-width: 1135px) {
    #top1 {
        gap: 4px;
        font-size: 14px;
    }

    .jamia_hamdard .mes_logo {
        padding-left: 0px;
    }

    .right_items {
        margin-right: auto;
    }

    #top .navbar-light .mes .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 1095px) {
    .second-logos {
        width: 60px;
    }

    .right-logos {
        margin-right: auto;
    }

    .admission-opening {
        padding: 5px 4px 8px 9px;
        font-size: 14px;
    }
}

@media (max-width: 1038px) and (min-width: 1000px) {

    .nav-togglering {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 767px) {

    .s_table_of_content .row {
        justify-content: space-between;
        margin: 0;
    }


    .home_nav {
        position: relative;
        width: 100% !important;
        padding: 10px 16px;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
}

@media (max-width: 1000px) and (min-width: 600px) {
    #top .navbar-toggler {
        display: none;
    }
}

@media (max-width: 1000px) and (min-width: 600px) {
    #top .navbar-toggler {
        display: none;
    }
}

@media (max-width: 992px) {
    .jamia_hamdard#top .navbar-light .mes_asm .nav-link {
        font-weight: 500 !important;
        font-size: 20px;
        color: #000000 ! IMPORTANT;
    }

    .footer_logo {
        height: auto;
        width: 350px;
        object-fit: cover;
    }

    .footer-bottom {
        padding: 20px;
    }

    .jamia_hamdard .navbar-expand-lg .right-items .jamia_nav .jamia-link {
        padding-right: 16px;
        padding-left: 16px;
        font-weight: 500;
    }

    .jamia_hamdard#top .navbar-light .mes_asm .nav-link:hover {
        color: #000000 ! IMPORTANT;
    }

    .mob-logo {
        display: flex;
        align-items: center;
    }

    #top .navbar-expand-lg .mes .dropdown-menu {
        padding-bottom: 0px;
        padding-top: 0;
    }

    .home_nav {
        margin: 0 0px;
        padding: 10px 16px;
    }

    .lg-hide {
        display: block;
    }

    .top-bar {
        display: none;
    }

    #top .navbar-toggler {
        display: flex;
        width: 38px;
        height: 38px;
        padding-left: 0;
        padding-right: 0;
        outline: none;
        position: absolute;
        right: 20px;
        top: 46%;
        box-shadow: none;
        border-radius: 30px;
        background: #ECF3FF;
        transform: translateY(-50%);
    }

    .right-logos {
        display: none;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        width: 0;
        background: transparent !important;
        transform: none;
        left: auto;
        right: 0;
        top: auto;
        position: absolute;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(43deg) translate(1px, 0px) !important;
        right: 10px;
        left: auto;
        top: 13px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before, .navbar-toggler[aria-expanded="true"]
    .navbar-toggler-icon:after {
        animation: widthCollapseExpand2 0.5s ease-in-out;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-44deg) translate(4px, -5px) !important;
        right: 9px;
        left: auto;
        top: 20px;
    }

    #top .navbar-toggler[aria-expanded="true"] {
        background: transparent;
    }

    @keyframes widthCollapseExpand {
        0% {
            width: 18px;
        }

        50% {
            width: 18px;
        }

        100% {
            width: 18px;
        }
    }

    @keyframes widthCollapseExpand2 {
        0% {
            width: 18px;
        }

        50% {
            width: 18px;
        }

        100% {
            width: 18px;
        }
    }

    .navbar-light .navbar-toggler-icon {
        background-image: none;
    }

    .navbar-light .navbar-toggler {
        padding-left: 0;
        padding-right: 0;
        outline: none;
        position: absolute;
        right: 20px;
        top: 40%;
        box-shadow: none;
        z-index: 11;
    }

    .navbar-toggler-icon {
        width: 0px;
        height: 3px;
        display: block;
        position: relative;
        transition: background-color 0.3s ease;
        background: #1C1B1F;
        border-radius: 8px;
    }

    .navbar-toggler-icon:before, .navbar-toggler-icon:after {
        content: "";
        position: absolute;
        width: 18px;
        height: 1px;
        background-color: #1C1B1F;
        left: 10px;
        transition: transform 0.3s ease;
        border-radius: 30px;
    }

    .navbar-toggler-icon:after {
        top: 18px;
    }

    .navbar-light .navbar-toggler {
        z-index: 11031;
    }

    .navbar-toggler-icon:before {
        top: 11px;
    }

    .nav-togglering {
        display: flex;
    }

    #top .navbar-light .mes .nav-link.active {
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid #e8e8e8 ! IMPORTANT;
        color: #116cf8 !important;
    }

    #top_menu_collapse {
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
        right: 0 !important;
        position: absolute;
        padding-top: 0px !important;
        background-color: #ffffff !important;
        min-width: 100vw !important;
        z-index: 2 !important;
        padding-bottom: 20px;
        height: 100vh !important;
        top: 0 !important;
        overflow: hidden;
        overflow-y: auto;

    }

    #top_menu_collapse:not(.show) {
        transform: translateX(100%);
        transition: transform 0.6s ease-out;
    }

    header .navbar-collapse.show {
        transform: translate(0) !important;
    }

    #top .navbar-light .mes_asm .nav-link {
        font-size: 20px;
        color: #101010eb !important;
        text-align: left;
        padding: 23px !important;
        border-bottom: 1px solid #e8e8e8 ! IMPORTANT;
    }

    #top .navbar-light .mes_asm .mes-link:hover {
        background: transparent;
        color: #101010eb !important;
        border-bottom: 1px solid #e8e8e8 ! IMPORTANT;
    }

    #top .navbar-light .jamia_nav .dropdown-toggle::after {
        content: "";
        display: inline-block;
        width: 15px;
        height: 9px;
        margin-left: 0;
        vertical-align: middle;
        background-color: currentColor;
        clip-path: polygon(2% 4%, 50% 96%, 98% 4%, 90% 0%, 50% 70%, 10% 0%);
        transform: translateY(0px);
        position: absolute;
        right: 16px;
        top: 45%;
    }

    .jamia_hamdard#top .navbar-expand-lg .jamia_nav .dropdown-menu.o_mega_menu {
        left: auto !important;
        min-width: 100%;
        border: none;
        border-bottom: none;
        border-radius: 0;
        position: relative;
        right: 0;
        z-index: 2;
        width: 100%;
        transform: translate(0%, 0px);
        max-width: 100%;
        top: 0;
        padding: 0 16px;
        margin-right: 0;
        background: transparent;
    }

    .jamia_hamdard#top .nav-item.show > .dropdown-menu.o_mega_menu .container {
        margin: 0;
        max-width: 100%;
        padding: 0;
    }

    .jamia_hamdard#top .nav-item.show > .dropdown-menu.o_mega_menu .container .row {
        flex-direction: column;
        margin: 0;
    }

    #top .navbar-light .jamia_nav .dropdown-toggle:hover::after {
        transform: translateY(0px);
        transition: transform 0.2s ease;
    }

    #top .navbar-light .mes_asm .nav-link.show {
        color: #116cf8 !important;
    }

    .lock-scroll {
        overflow: hidden !important;
        height: 100vh !important;
    }

    .navbar-expand-lg .mes.main_nav {
        margin: 0 0px !important;
        gap: 0;
    }

    .mes_asm.main_nav .dropdown-item {
        font-family: 'Poppins';
        font-weight: 400;
        font-style: normal;
        color: #424242 !important;
        border-bottom-right-radius: 0px;
        transition: all 0.3s ease-in-out;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e8e8e8 ! IMPORTANT;
        padding-left: 2.1111111111rem ! IMPORTANT;
        font-size: 18px;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #top .navbar-expand-lg .mes .dropdown-menu {
        transition: all 0.3s ease-in-out;
        border-bottom: 0px solid #116CF8;
        border-radius: 0;
        position: relative;
        background: transparent;
    }

    #mob-logo-name p {
        margin: 0;
        position: relative;
        font-size: 12px;
        font-weight: 400;
        color: #0F172A;
        font-family: Inter;
        word-wrap: break-word;
        line-height: normal;
        letter-spacing: -0.24px;
    }

    .logo-img {
        height: 54px;
    }

    .prince_block {
        top: 0;
        justify-content: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    #top .navbar-expand-lg .mes .dropdown-menu {
        padding-bottom: 0px;
        padding-top: 0;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
    }

    #top .navbar-expand-lg .mes .dropdown-menu.show .nav-link {
        color: white;
    }

    #top .navbar-light .mes .nav-link {
        border-radius: 0;
    }

    .top-bar {
        display: none;
    }

    #top .navbar-expand-lg .mes .dropdown-menu.show {
        display: block !important;
    }

    #top .navbar-expand-lg .mes .s_mega_menu_odoo_menu .dropdown-menu {
        display: block ! IMPORTANT;
    }

    #top .navbar-expand-lg .mes .dropdown-menu {
        min-width: 100vw !important;
        display: none ! IMPORTANT;
    }

    #top .navbar-light .mes .nav-link.active {
        border-radius: 0;
    }

    .main_nav {
        margin-top: 10px;
    }

    .mobile_nav {
        display: block;
        overflow: scroll;
        bottom: 0px;
        position: fixed;
        background: #ececec;
        width: 100%;
        max-height: 250px;
        left: 0;
    }

    #top .navbar-light .mobile_nav .nav-link {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    #iqac_link {
        width: 75%;
        display: flex;
        margin: 10px auto;
    }

    .erp_login {
        margin: auto;
    }

    .jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu {
        top: auto;
    }

    #top .navbar-light .jamia_nav .dropdown-toggle:hover::after {
        transform: none !important;
        transition: transform 0.2s ease;
    }

    .home_nav {
        padding: 16px;
    }

    .homepage #top .navbar .right-items .navbar-collapse {
        background: transparent;
        position: relative !important;
        width: auto;
        left: 0;
        top: 14px ! IMPORTANT;
        max-width: 100% !important;
    }

    .jamia_hamdard .right-items {
        padding: 0;
        overflow: hidden;
        margin: 0;
    }

    #top .navbar .right-items .navbar-collapse {
        background: transparent;
        position: relative !important;
        width: auto;
        left: 0px;
        top: -87px ! IMPORTANT;
    }

    .mob-nav-title {
        max-width: fit-content;
        width: 100%;
    }

    #top .navbar-light .mes_asm .nav-link::before {
        display: none;
    }

    #top .navbar-light .mes_asm .nav-link {
        padding: 10px !Important;
    }

    #top .navbar-light .jamia_nav .dropdown-toggle::after {
        background: currentColor;
        content: "";
        display: inline-block;
        width: 15px;
        height: 9px;
        margin-left: 0;
        vertical-align: middle;
        clip-path: polygon(2% 4%, 50% 96%, 98% 4%, 90% 0%, 50% 70%, 10% 0%);
        transform: translateY(-50%);
        position: absolute;
        right: 16px;
        top: 45%;
    }

    .jamia_logo {
        padding-left: 16px;
    }

    .jamia_hamdard .admission-opens {
        height: auto;
        padding: 8px 12px;
        font-size: 16px;
        margin-top: 16px;
    }

    #top .navbar-toggler {
        display: flex;
        width: 38px;
        height: 38px;
        padding-left: 0;
        padding-right: 0;
        outline: none;
        position: absolute;
        right: 16px;
        box-shadow: none;
        border-radius: 30px;
        background: white;
        transform: translateY(-50%);
        top: 40px;
    }

    .navbar-toggler-icon:before, .navbar-toggler-icon:after {
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: var(--primary);
        left: 50%;
        transform: translate(44%, -50%);
        transition: transform 0.3s ease;
        border-radius: 30px;
    }

    .mob-logo {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10511;
        height: auto;
        width: 100%;
        padding: 22px 0;
        padding-bottom: 10px;

    }

    .mob-logo #mob-logo-name {
        color: #000;
    }

    .mob-logo #mob-logo-name p {
        color: #000;
    }

    .logo {
        gap: 8px;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: none !important;
        background-color: #000 !important;
    }

    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        background-color: #000 !important;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu {
        background: #FFF0F3;
        left: 0 !important;
        min-width: 100vw;
        margin-top: 0;
        border: none;
        border-bottom: none;
        border-radius: 0;
        position: relative;
        right: auto;
        z-index: 2;
        width: 100%;
        transform: translate(0%, 0px);
        max-width: 1535px;
        top: 0px;
        padding: 16px;
    }

    #top .navbar-light .mes_asm .nav-link.show {
        color: var(--secondary) !important;
    }

    #top .navbar-light .mes_asm .nav-link.active {
        background: transparent;
        color: var(--secondary) ! IMPORTANT;
        font-weight: 600;
        height: 55px;
    }

    .menu_title {
        display: none;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu.show {
        padding-top: 0;
    }

    #top .s_mega_menu_odoo_menu .nav .nav-link {
        padding: 12px 14px !IMPORTANT;
        border-bottom: none !important;
    }

    #top .navbar-light .mes_asm .nav-link {
        padding: 14px 20px !Important;
        text-align: left;
        border-bottom: none !important;
        font-size: 20px;
        height: 55px;
    }

    #top .navbar-light .mes_asm .nav-link:hover, #top .navbar-light .mes_asm .nav-link.active {
        font-weight: 500;
    }

    #top .navbar-light .mes_asm .nav-link:hover {
        font-weight: 500;
        height: 55px;
    }

    .admission-open {
        margin: 20px auto;
        width: fit-content;
    }

    #top .navbar-light .jamia_nav .dropdown-toggle:hover::after {
        transform: none !important;
        transition: transform 0.2s ease;
        top: 45%;
    }

    #top .navbar-light .mes_asm .dropdown.show > .dropdown-toggle::after {
        transform: translateY(-1px) rotate(180deg) ! IMPORTANT;
        transition: transform 0.2s ease;
    }

    .admission-open {
        display: none;
    }

    #mob-admission {
        display: flex;
    }

    #mobile_sec_nav {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px;
        gap: 24px;
    }

    .movetop {
        margin-top: 24px;
    }

    .nav-item h3 {
        display: none;
    }
}

@media (max-width: 768px) and (min-width: 600px) {
    .club_row {
        flex-direction: column-reverse;
    }

    .jamia_hamdard .admission-opens {
        display: none;
    }

    #side_section {
        width: 75%;
        margin: auto;
    }

    .club_row .col-12 {
        margin: auto;
    }

    .naac_link {

        margin: auto;
    }

    .s_mega_menu_odoo_menu .col-md-6 {
        width: auto !important;
    }

    .s_mega_menu_odoo_menu .col-md-3 {
        flex: 0 0 44%;
        width: 44%;
        padding: 0 !IMPORTANT;
        display: flex;
        flex-direction: column;
    }

    .next {
        display: none !important;
    }


    .home_nav {
        position: relative;
        width: 100% !important;
    }

    #top .navbar .navbar-collapse {
        min-width: 0;
        position: relative;
        background: #f7f7f7;
        margin: 0px;
    }
}

@media (max-width: 600px) {
    .jamia_hamdard .admission-opens {
        display: none;
    }

    .footer_logo {
        width: 318px;
        object-fit: contain;
        height: 74px;
    }

    .top-bar .navbar-nav {
        flex-wrap: nowrap;
        overflow: hidden;
        white-space: nowrap;
    }

    .top-bar .nav-item {
        display: inline-block;
    }

    .top-bar .nav-item:nth-child(n+4) {
        display: none;
    }

    .top-bar .nav-item.plus-button {
        display: inline-block !important;
    }

    .top-bar.expanded .nav-item {
        display: inline-block;
    }

    .top-bar.expanded .nav-item.plus-button span {
        content: '-';
    }

    .mobile_nav .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }


    .prince-img {

        width: 100%;
        object-fit: contain;
    }

    .prince_block {
        top: 0;
        justify-content: center;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .milestone {
        width: 100% !important;
    }

    .milestone tr {
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .milestone td {
        width: 100% !important;
    }

    #top .nav-item:hover > .nav-link {
        border-radius: 0 !important;
    }


    .home_nav {
        position: relative;
        align-items: center;
    }


    #iqac_link {
        font-size: 12px;
        width: 100%;
        margin: 20px auto;
        display: flex;
    }

    #iqac_link a {
        font-size: 12px;
    }

    #second-logo {

    }

    #top .navbar-light .mes .nav-link {
        font-size: 20px;
    }

    #top .navbar-expand-lg .mes_asm .s_mega_menu_odoo_menu .dropdown-menu {

        display: block ! IMPORTANT;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu {
        min-width: 100vw !important;
        display: none;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu.show {
        display: block !important;
    }

    .s_mega_menu_odoo_menu .row > * {
        padding: 0 !important;
    }

    .grade-next, .next {
        display: none !important;
    }

    .view-more {
        position: relative;
        top: 0;
        width: 200px;
        margin: auto ! IMPORTANT;
    }

    #container_width {

        padding: 10px;
    }

    #logo-name p {
        display: none;
    }

    #department_subhead, #footer_mes, .news-card-p {
        padding-bottom: 20px;
        padding-top: 10px;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu.show {
        display: block !important;
    }

    #top .navbar-expand-lg .mes_asm .dropdown-menu.show {
        display: block !important;
    }

    .jamia_hamdard#top .navbar-expand-lg .mes_asm .dropdown-menu.o_mega_menu {
        top: auto;
    }

    .home_nav {
        padding: 16px 0;
    }

    .mes_logo {
        padding-left: 16px;
    }

    .jamia_hamdard #mob-logo-name {
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
        display: block;
        margin: 0;
        color: #002147;
        font-family: 'Aeonik', sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    .jamia_hamdard #mob-logo-name p {
        color: #002147;
        padding-top: 0;
        margin: 0;
        font-family: "DM Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
    }

    #logo-name {
        display: none;
    }

    .logo-img {
        height: 54px;
    }

    .mob-nav-title {
        max-width: fit-content;
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 16px 0;
        margin: 0 16px;
    }

    .footer-bottom .last_itemdiv {
        gap: 8px;
        row-gap: 0;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .mes_asm .nav-item:hover .s_mega_menu_odoo_menu .dropdown-menu {
        display: none;
    }
}

@media (max-width: 385px) {
    .navbar-expand-lg .top-bar .navbar-nav {
        gap: 0;
    }


}

@media (max-width: 325px) {
    .mob-nav-title {
        color: #0F172A;
        font-family: Poppins;
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin: 0;
        word-wrap: break-word;
        max-width: 180px;
        padding: 0px 0px 0 16px;
    }

    .logo {
        gap: 8px;
    }

    .logo-img {
        height: 54px;
        object-fit: cover;
        padding: 0;
        border-radius: 8px;
    }

    .jamia_hamdard #mob-logo-name {
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
    }
}
