:root {
    --primary-color: #363777;
    --secondary-color: #228651;
}

.primary-color {
    color: var(--primary-color);
}
.bg-primary-color {
    background-color: var(--primary-color) !important;
}
.logo {
    height: 100px;
}
.secondary-color {
    color: var(--secondary-color);
}
.btn-read-more {
    width: 150px;
}
.btn-read-more:hover {
    color: #fff !important;
}

/* MAIN LINK */
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    height: 45px;
    font-size: 20px;
}

/* SUBMENU */
.nav-menu {
    position: absolute;
    min-width: 220px;
    background: transparent !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    top: 105px;
    width: calc(100vw - 300px);
    left: 150px;
    padding-top: 55px;
}
.nav-menu-container {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    margin-top: -35px;
}

/* SHOW ON HOVER */
.nav-item:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* OPTIONAL: submenu items */
.nav-menu a {
    display: block;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
}

.nav-menu a:hover {
    color: var(--primary-color);
}
.nav-item.active {
    /* border-bottom: 3px solid var(--secondary-color) !important; */
}
.nav-item.active a {
    color: var(--secondary-color) !important;
    font-weight: bold;
    font-size: 22px !important;
}
.menu-title-container {
    min-width: 25%;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 35px;
}
.nav-bar-menu {
    min-width: 50%;
}
.nav-bar-menu-item {
    border-bottom: 1px solid #ccc;
    color: var(--primary-color) !important;
    font-size: 18px;
    /* padding: 25px 10px; */
}
.nav-menu .d-flex {
    align-items: stretch; /* default, but be explicit */
}

.nav-bar-menu,
.nav-menu .bg-secondary {
    flex: 1;
}
.nav-bar-menu-item-info {
    background-color: #cccccc44;
    width: 100%;
}
.menu-content .main-img {
    width: 100%;
    /* max-height: 200px; */
    border-radius: 10px;
    object-position: center;
    object-fit: cover;
}
.btn-read-more {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 7px 20px;
    border-radius: 10px;
}
.btn-read-more:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.specialities-list a {
    list-style: none;
    margin-bottom: 0px;
    padding: 0;
}
.specialities-list img {
    height: 14px;
    margin-right: 5px;
}
.slider .single-slider h1 span {
    color: var(--secondary-color) !important;
}
.nav-item {
    margin-left: 1px;
}
.nav-item:hover {
    /* border-bottom: 3px solid var(--secondary-color) !important; */
}
.nav-item:hover a.nav-link {
    color: var(--secondary-color) !important;
    font-weight: bold;
    font-size: 22px !important;
}
.nav-padding {
    padding-left: 50px !important;
    padding-right: 50px !important;
}
.menu-toggle-button {
    display: none;
}
.toggle-menus-container {
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    height: 100vh !important;
    width: 100vw !important;
    position: fixed;
    z-index: 1000;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}
.box-container {
    background-color: #fff;
    width: 100%;
    padding: 20px;
    height: 100vh;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.toggle-menu {
    font-size: 20px;
    padding: 15px 10px;
    display: block;
    background-color: var(--secondary-color);
    margin-bottom: 1px;
    border-radius: 6px;
    color: #fff !important;
}
.toggle-menu:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
}
.multi-level {
    /* margin-bottom: 0 !important; */
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.toggle-menu-box {
    background-color: var(--secondary-color);
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}
.toggle-sub-menu {
    margin-bottom: 1px !important;
    display: block;
    padding: 10px 8px;
    color: #fff !important;
}
.toggle-sub-menu:hover {
    background-color: #dadada !important;
    color: var(--primary-color) !important;
    /* padding: 10px 0 !important; */
}
/* Make anchor behave like block */
.department-card {
    text-decoration: none;
    cursor: pointer;
}

/* Card smooth transition */
.department-card .single-news {
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}

/* Hover effect */
.department-card:hover .single-news {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image zoom effect */
.department-card:hover img {
    transform: scale(1.05);
    transition: 0.4s ease;
}

/* Change title color on hover */
.department-card:hover .date {
    background-color: var(--primary-color) !important;
    color: #dadada !important; /* Bootstrap primary */
}

/* Smooth image transition */
.news-head img {
    transition: 0.4s ease;
}

.border-left {
    border-left: 1px solid #cccccc4c !important;
    margin-left: 0px;
    padding-left: 15px;
}
.nav-social-links {
    width: 00px;
}
@media (max-width: 1250px) {
    .navbar-menu-container {
        display: none !important;
    }
    .menu-toggle-button {
        display: block !important;
    }
}
@media (max-width: 920px) {
    .nav-social-links {
        display: none !important;
    }
}
.padding-vertical {
    padding: 100px !important;
}
.navbar-sticky {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-sticky.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    animation: slideDown 0.55s ease-out forwards;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1800px) {
    .logo {
        height: 90px !important;
    }
    .nav-item,
    .nav-item a {
        margin: 0 !important;
        padding: 0 5px !important;
        gap: 5px;
    }
    .nav-menu-container {
        margin-top: -45px !important;
    }
}
.nav-bar-menu-item {
    height: 40px;
}
.nav-padding {
    padding: 13px;
}
@media (max-width: 1600px) {
    .navbar-menu-container .nav-item a {
        font-size: 19px !important;
    }
    .navbar-menu-container .nav-item a:hover {
        font-size: 20px !important;
    }
    .nav-item:hover a.nav-link {
        font-size: 20px !important;
    }
    .logo {
        height: 70px !important;
    }
    .nav-item,
    .nav-item a {
        margin: 0 !important;
        padding: 0 5px !important;
        gap: 3px;
    }
    .main-title b {
        font-size: 25px !important;
    }
    .nav-padding {
        padding: 10px;
    }
    .nav-menu-container {
        margin-top: -70px !important;
    }
}

@media (max-width: 1300px) {
    .navbar-menu-container .nav-item a {
        font-size: 16px !important;
    }
    .navbar-menu-container .nav-item a:hover {
        font-size: 17px !important;
    }
    .nav-item:hover a.nav-link {
        font-size: 17px !important;
    }
    .logo {
        height: 60px !important;
    }
    .nav-item,
    .nav-item a {
        margin: 0 !important;
        padding: 0 3px !important;
        gap: 3px;
    }
    .main-title b {
        font-size: 20px !important;
    }
    .nav-padding {
        padding: 7px;
    }
    .nav-menu-container {
        margin-top: -85px !important;
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* full screen */
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* black overlay */
    z-index: 1;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.video-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
}
.video-content h3 {
    color: #ffffffba;
}
.video-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffffba;
}

.video-content .btn {
    padding: 10px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
@media (max-width: 600px) {
    .nav-bar-container header {
        display: block !important;
        font-size: 10px;
    }
    .nav-bar-container .nav-padding {
        padding: 10px 10px !important;
    }
    .nav-right {
        position: absolute !important;
        left: 63% !important;
        top: 10px;
    }

    .padding-vertical {
        padding: 50px !important;
    }
}
