
.bi-list::before {
    content: "\f479";
    color: #fff;
}

/* Initial transparent style */
#mainNavbar {
    background-color: #222a48;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky header with background on scroll */
#mainNavbar.navbar-scrolled {
    background-color: #222a48;
    /* Change to your preferred color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Optional: text color adjustment */
/* #mainNavbar.navbar-scrolled .nav-link {
        color: #fff !important;
    } */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;

}

.carousel {
    position: relative;
    margin-top: -130px;
}

.admission {
    background-color: #fff;
    color: #222a48;
}

.admission:hover {
    background-color: #fff;
    color: #222a48;
}

.nav-link {
    color: rgb(250, 239, 121);
}

.double-arrow-button {
    background-color: #0d6efd;
    color: white;
    border: none;
    /* padding: 0.5rem 2rem; */
    font-weight: bold;
    text-align: center;
    position: relative;
    clip-path: polygon(10% 0%,
            /* top-left */
            90% 0%,
            /* top-right */
            100% 50%,
            /* right arrow point */
            90% 100%,
            /* bottom-right */
            10% 100%,
            /* bottom-left */
            15% 50%
            /* left arrow point */
        );
    transition: background-color 0.3s;
}

.nav-tabs .nav-link {
    padding-left: 38px;
    background: rgb(239, 127, 25);
    border-radius: 10px;
    color: #fff;
    margin-left: 20px;
}

.offcanvas-body {
    flex-grow: 1;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-y: auto;
    background: #222a48;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    background: #222a48;
}

.blur-img {
    filter: blur(0px);
    /* Set to 5px if needed */
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(34 42 72 / 49%);
    /* Change color or opacity here */
    z-index: 1;
}

.image-banner .color-overlay,
.image-banner .blur-img {
    z-index: 0;
}

.image-banner .position-absolute.top-50 {
    z-index: 2;
}

.blink-color {
    animation: color-blink 1s infinite;
    color: #fff;
    /* keep text readable */
    border: none;
}

/* Example: Blink between red and blue */
@keyframes color-blink {
    0% {
        background-color: rgb(239, 127, 25);
    }

    /* red */
    50% {
        background-color: rgb(52, 219, 77);
    }

    /* blue */
    100% {
        background-color: rgb(239, 127, 25);
    }
}

@media(max-width:800px) {

    .image-banner .color-overlay,
    .image-banner .blur-img {
        z-index: 0;
        height: 40vh;
    }
}

.nav-link.active {
    color: #fff !important;
    /* your active color */
    background-color: var(--primary-color);
    /* optional */
    border-radius: 5px;
    /* optional */
}

.insta-header {
    font-size: 14px;
}

body {
    padding-top: 130px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.5s ease;
}

.initial-header {
    background-color: #222a48b3;
    padding: 0px 0;
    color: #fff;
}

.scrolled-header {
    background: #222a48b3;
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.logo img {
    height: 130px;
    transition: all 0.3s ease;
}

.scrolled-header .logo img {
    height: 50px;
}

.menu-left,
.menu-right {
    display: flex;
    gap: 85px;
}

/* Mobile Cards */
.mobile-card {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    background: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.mobile-card.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.submenu-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .desktop-menu {
        display: none !important;
    }

    body {
        padding-top: 70px;
    }

    .admission-btn-top {
        display: none;
    }

}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
        transition: all 0.3s ease;
    }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

@media (min-width: 992px) {
    /* .mobile-menu {
                display: none !important;
            } */
}

.dropdown-menu a {
    color: #000;
}

/* Ensure relative context */
.desktop-menu {
    position: relative;
}

/* Fix dropdown to align with .desktop-menu */
.dropdown-menu.fullwidth-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    margin-top: 0px;
    z-index: 1000;
    border: 1px solid #222a48;
    background-color: #222a48b3;
    padding: 1rem;
    display: none;
    color: #fff;
    /* default */
}

/* Show dropdown on hover or via Bootstrap JS */
.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
    display: block;
}

/* Optional: Make sure dropdown isn't constrained by individual dropdown's column */
.dropdown {
    position: static;
}

.dropdown-toggle::after {
    display: none;
}

.gap-menu {
    display: flex;
    gap: 50px;
}

.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-toggle-btn.active {
    color: rgb(250, 239, 121);
    /* background-color: #007bff;
            border-radius: 4px;
            padding: 5px 10px; */
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}

ul.list-unstyled li a:hover {
    color: yellow;
    background-color: none !important;
}

.mobile-menu {
    display: none !important;
}

.dropdown-toggle::after {
    display: none !important;
}


@media (max-width: 1024px) {
    .mobile-menu {
        display: flex !important;
    }

    .desktop-menu {
        /* position: relative; */
        display: none !important;
    }

    /* Hide desktop nav (menu-left) on small screens */
    .menu-left {
        display: none;
    }

    .offcanvas-end {
        width: 100%;
    }

    .logo img {
        height: 40px !important;
    }

    .scrolled-header {
        background: #222a48b3;
        padding: 0px 0px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        color: #fff;
    }
}


.btn-outline-dark {
    --bs-btn-color: #fff !important;
    --bs-btn-border-color: #fff !important;
    --bs-btn-hover-color: #fff !important;
}

.accordion-button {
    font-weight: 600;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background-color: #222a48 !important;
    border-color: var(--bs-nav-tabs-link-active-border-color);
}

/* H6 animated border */
h6 {
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    font-weight: bold;
}

h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: yellow;

    /* Animate underline from 0 to 100% */
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineExpand 0.7s ease forwards;
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

/* List item styles */
ul.list-unstyled li a {
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

ul.list-unstyled li a:hover {}

.dropdown-item:focus,
.dropdown-item:hover {
    color: yellow !important;
    background-color: #222a480a;
}

.multi-column-list {
    display: flex;
}

.offcanvas-body a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.offcanvas-body a:hover {
    color: #ffc107;
}

.list-unstyled ul {
    margin-bottom: 0;
}

a.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.85em;
}

/* Active submenu link */
.dropdown-item.active {
    font-weight: 700;
    color: #fff !important;
}

/* Active main nav */
.dropdown-toggle-btn.active-page {
    color: #fff !important;
    font-weight: 700;
    /* border-bottom: 2px solid #0056b3; */
}

.blink-color {
    animation: color-blink 1s infinite;
    color: #fff;
    border: none;
    padding: 3px 6px;
}

@media (min-width: 1100px) {
    .d-lg-block {
        display: block !important;
    }
}

