﻿/* =========================
========================= */

body {
    font-family: Cambria, serif !important;
}

a,
a:hover,
a:focus,
a:visited {
    text-decoration: none;
}

/* =========================
========================= */

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.overlay {
    background-color: rgba(255,255,255,0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
}

/* =========================
========================= */

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.hover-shadow {
    transition: transform .3s ease, box-shadow .3s ease;
}

.hover-shadow:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

/* =========================
========================= */

.team-card img {
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: .5rem .5rem 0 0;
    transition: transform .3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card .card-body {
    background: #f8f9fa;
    border-top: 3px solid #198754;
    transition: background-color .3s ease;
}

.team-card:hover .card-body {
    background: #e9f5ef;
}

/* =========================
========================= */

.info-box {
    background: #fff;
    border-radius: 1rem;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    transition: all .3s ease-in-out;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,.15);
}

.info-icon {
    font-size: 32px;
    color: #0d6efd;
    margin-bottom: 10px;
}

.info-img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* =========================
========================= */

.alert-marquee-wrapper {
    display: flex;
    align-items: center;
    background: rgba(248,215,218,.95);
    border: 1px solid #f5c2c7;
    color: #842029;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}

.alert-label {
    background: #dc3545;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
    white-space: nowrap;
}

.alert-marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.alert-marquee-text {
    display: inline-block;
    padding-left: 100%;
    font-weight: 600;
    animation: marquee 30s linear infinite;
}

.alert-marquee-container:hover .alert-marquee-text {
    animation-play-state: paused;
}

@keyframes marquee {
    from {transform: translateX(0);}
    to {transform: translateX(-100%);}
}

/* =========================
========================= */

.custom-marquee-wrapper {
    overflow: hidden;
    background: linear-gradient(to right,#fff3cd,#ffeeba);
    border: 1px solid #ffecb5;
    padding: 10px 0;
}

.custom-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    font-weight: 600;
    font-size: 1.1rem;
}

.custom-marquee:hover {
    animation-play-state: paused;
}

.custom-marquee img {
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes scroll-left {
    from {transform: translateX(100%);}
    to {transform: translateX(-100%);}
}

/* =========================
========================= */

.blink-container {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%,100% {opacity:1;}
    50% {opacity:.3;}
}

/* =========================
========================= */

.header-wrapper {
    background: #fff;
}

.header-logo {
    height: 100px;
    object-fit: contain;
}

@media (max-width:768px) {

    .header-logo {
        height: 70px;
    }

    .header-wrapper h2 {
        font-size: 1.4rem;
    }

    .header-wrapper h5 {
        font-size: 1rem;
    }
}

/* =========================
========================= */

.about-section-bg {
    background: linear-gradient(135deg,#f3fdfa,#e2f1ec,#fff);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.fade-in-section.appear,
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

#about-section h3 {
    color: #006241;
    font-weight: 600;
}

#about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================
========================= */

.icon-box {
    border: 2px solid #198754;
    cursor: pointer;
    transition: all .3s ease;
}

.icon-box:hover {
    transform: scale(1.05);
    border-color: #0f5132;
    box-shadow: 0 8px 20px rgba(25,135,84,.4);
}

.icon-box:hover i {
    color: #0f5132 !important;
}

/* =========================
  ========================= */

.events-whatsnew-container {
    margin: 20px auto;
}

.box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
}

.box h3 {
    color: #006241;
    border-bottom: 2px solid #006241;
    padding-bottom: 8px;
    font-size: 1.5rem;
}

.events-list {
    height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.events-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollUp 10s linear infinite;
}

.events-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

@keyframes scrollUp {
    from {transform: translateY(0);}
    to {transform: translateY(-50%);}
}

/* ==========================================
========================================== */

.important-links-section {
    background: #f5f5f5;
    padding: 20px 0;
    border-top: 2px solid #006241;
    border-bottom: 2px solid #006241;
}

/* Grid */

.important-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Card */

.logo-card {
    width: 220px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* Logo */

.logo-card img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 12px;
}

/* Text */

.logo-card .card-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 0;
}

/* ImageHover */

.important-links-grid img {
    transition: transform .3s ease;
}

.important-links-grid img:hover {
    transform: scale(1.08);
}

/* ==========================================
========================================== */

.col-md-1-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .logo-card {
        width: 200px;
    }

    .important-links-grid {
        gap: 16px;
    }

}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .col-md-1-5,
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .important-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }

    .logo-card {
        width: 100%;
        max-width: 170px;
        padding: 12px !important;
    }

    .logo-card img {
        max-height: 55px;
    }

    .logo-card .card-text {
        font-size: 0.8rem;
    }

}
/* =========================
 ========================= */

#popup-image {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 1600px;
    margin: 5% auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.popup-content img {
    max-width: 100%;
    height: auto;
}

.popup-content button {
    margin-top: 15px;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* =========================
========================= */

.custom-gradient-bg {
    background: linear-gradient(to right,#d4edda,#f8d7da);
}

.marquee {
    background: #f2f2f2;
    padding: 10px;
    color: #006241;
    font-weight: bold;
}

.carousel-caption {
    background: rgba(0,0,0,.5);
    padding: 15px;
    border-radius: 10px;
}

footer {
    background: #003820;
    color: #fff;
    padding: 30px 10px;
}

footer a {
    color: #d4e9e2;
}


/* ==========================================
========================================== */


/* Force 2 boxes per row on mobile */
@media only screen and (max-width: 768px) {

    .important-links-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

 .logo-card{
        flex:0 0 calc(50% - 10px);
    }

@media (max-width:768px){

    .important-links-grid{
        gap:10px;
    }

    .logo-card{
        width:calc(50% - 10px) !important;
        max-width:calc(50% - 10px) !important;
    }
}
}



@media (max-width:575.98px){

    .bg-danger .row > div{
        width:50% !important;
        flex:0 0 50% !important;
        max-width:50% !important;
    }
}


/* ==========================================
========================================== */


.custom-navbar {
    background-color: #006241;
    z-index: 1000;
}

/* Center the navbar menu and use the full available width */
@media (min-width: 992px) {
    .custom-navbar .navbar-collapse {
        width: 100%;
    }

    .custom-navbar .navbar-nav {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: stretch;
    }

    /* Equal width for all six menu items */
    .custom-navbar .navbar-nav > .nav-item {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    /* Center menu text and icons */
    .custom-navbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 100%;
        padding: 12px 8px;
        white-space: nowrap;
    }

    /* Dropdown on hover */
    .custom-navbar .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Center dropdown under its parent */
    .custom-navbar .navbar-nav .dropdown-menu {
        text-align: left;
    }
}

/* Menu hover and keyboard focus */
.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus {
    background-color: #d4e9e2;
    color: #000 !important;
    border-radius: 5px;
}

.custom-navbar .dropdown-menu .dropdown-item:hover,
.custom-navbar .dropdown-menu .dropdown-item:focus {
    background-color: #d4e9e2;
    color: #000;
}







/* Equal width for all dropdown submenus */
@media (min-width: 992px) {

    .custom-navbar .navbar-nav > .nav-item > .dropdown-menu {
        width: 280px;
        min-width: 280px;
        box-sizing: border-box;
        margin-top: 0;
        padding: 5px 0;
    }

    /* Consistent submenu item styling */
    .custom-navbar .dropdown-menu .dropdown-item {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 15px;
        white-space: normal;
        line-height: 1.4;
    }

}



/* Main navbar menu font size */
@media (min-width: 992px) {
    .custom-navbar .navbar-nav > .nav-item > .nav-link {
        font-size: 16px;
        font-weight: 500;
    }
}

/* Dropdown submenu font size */
.custom-navbar .dropdown-menu .dropdown-item {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}




@media (min-width: 992px) {

    .custom-navbar .navbar-nav {
        display: flex;
        width: 90%;              /* Reduce overall menu width */
        margin: 0 auto;          /* Keep menus centered */
        justify-content: center;
        align-items: stretch;
        gap: 0;                  /* Remove gaps between menu items */
    }

    .custom-navbar .navbar-nav > .nav-item {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    .custom-navbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;                /* Reduce gap between icon and text */
        padding: 12px 4px;       /* Reduce internal spacing */
        font-size: 16px;
        font-weight: 500;
        white-space: nowrap;
    }

}










/* Top Red Line */
.top-danger-line {
    height: 4px;
    width: 100%;
}




/* ==========================================
========================================== */

.sidebar {
    background-color: #006241;
    min-height: 100vh;
    color: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar h5 {
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.sidebar .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background-color: #004d33;
    text-decoration: none;
    color: #fff;
}

/* ContentArea */

.content h4,
.content h5 {
    color: #006241;
    font-weight: 600;
}

.highlight-box {
    background: #e7f8f2;
    border-left: 4px solid #006241;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.content ul {
    list-style: none;
    padding-left: 0;
}

.content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.content ul li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #006241;
}

/* ContactPage */

.contact-wrapper {
    padding: 40px 20px;
}

.contact-box {
    border: 1px solid #dee2e6;
    padding: 25px;
    border-radius: 10px;
    background-color: #f8f9fa;
    height: 100%;
}

.contact-title {
    font-weight: 600;
    color: #198754;
}

/* CampusImage */

.campus-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* MobileResponsive */

@media (max-width: 767.98px) {

    .sidebar {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }

    .contact-wrapper {
        padding: 20px 10px;
    }

    .campus-image {
        height: auto;
    }
}


/* ==========================================
========================================== */

.gallery-title {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.year-card {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 1rem;
    background: #fff;
    border: 2px solid #c8e6c9;
}

.year-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    background: #e8f5e9;
}

.year-link {
    font-size: 1.8rem;
    color: #2e7d32;
    text-decoration: none;
}

.year-link:hover {
    color: #1b5e20;
}

.bi-calendar3 {
    font-size: 2rem;
    color: #66bb6a;
}

/* MobileResponsive */

@media (max-width: 767.98px) {

    .year-link {
        font-size: 1.4rem;
    }

    .bi-calendar3 {
        font-size: 1.5rem;
    }

    .year-card {
        margin-bottom: 15px;
    }
}


/* ==========================================
========================================== */

.gallery-thumb {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.03);
}

.gallery-text {
    min-height: 100px;
    max-height: 100px;
    overflow: hidden;
    font-size: 1rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* MobileResponsive */

@media (max-width: 767.98px) {

    .gallery-thumb img {
        height: 150px;
    }

    .gallery-text {
        min-height: 80px;
        max-height: 80px;
        font-size: 0.9rem;
    }
}

/* ==========================================
========================================== */

.psum-container h1 {
    text-align: center;
    margin-top: 70px;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #30365e;
}

.psum-container p.page-description {
    text-align: center;
    margin: 30px auto;
    font-size: 28px;
    color: rgba(48,54,94,0.56);
}

.psum-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.psum-gallery .thumbnail {
    width: calc(25% - 10px);
    margin: 0;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    box-shadow: 0 8px 15px rgba(0,0,0,.06);
    transition: all .15s ease-in-out;
}

.psum-gallery .thumbnail:hover {
    transform: translateY(-10px) scale(1.02);
}

.psum-gallery .lightbox img,
.psum-gallery .thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.psum-gallery .caption {
    padding: 15px;
    text-align: center;
}

.psum-gallery .caption h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.psum-gallery .caption p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.baguetteBox-button {
    background-color: transparent !important;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .psum-gallery .thumbnail {
        width: calc(33.33% - 10px);
    }
}

/* ==========================================
========================================== */

@media (max-width: 767px) {

    .psum-container h1 {
        font-size: 1.8rem;
    }

    .psum-container p.page-description {
        font-size: 18px;
    }

    .psum-gallery {
        gap: 8px;
        padding: 10px;
    }

    .psum-gallery .thumbnail {
        width: calc(50% - 4px);
    }

    .psum-gallery .thumbnail img {
        height: 140px;
    }

    .psum-gallery .caption {
        padding: 8px;
    }

    .psum-gallery .caption h3 {
        font-size: 13px;
    }

    .psum-gallery .caption p {
        font-size: 11px;
    }
}


/* ==========================================
========================================== */

.sidebar {
    background-color: #006241;
    min-height: 100vh;
    color: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    padding: 15px;
}

.sidebar h5 {
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.sidebar .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all .2s ease;
    display: block;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:focus {
    background-color: #004d33;
    color: #fff;
    text-decoration: none;
}

/* ==========================================
  ========================================== */

.content h4,
.content h5 {
    color: #006241;
    font-weight: 600;
    margin-bottom: 15px;
}

.highlight-box {
    background: #e7f8f2;
    border-left: 4px solid #006241;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.content ul {
    list-style: none;
    padding-left: 0;
}

.content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.content ul li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #006241;
}

/* ==========================================
========================================== */

.contact-wrapper {
    padding: 40px 20px;
}

.contact-box {
    border: 1px solid #dee2e6;
    padding: 25px;
    border-radius: 10px;
    background-color: #f8f9fa;
    height: 100%;
    transition: all .3s ease;
}

.contact-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-title {
    font-weight: 600;
    color: #198754;
    margin-bottom: 15px;
}

/* ==========================================
========================================== */

.campus-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }

    .campus-image {
        max-width: 100%;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .sidebar {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
        padding: 12px;
    }

    .sidebar h5 {
        font-size: 1.1rem;
    }

    .sidebar .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    .contact-wrapper {
        padding: 20px 10px;
    }

    .contact-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .campus-image {
        width: 100%;
        height: auto;
        max-height: 250px;
    }

    .highlight-box {
        padding: 12px;
    }

    .content h4,
    .content h5 {
        font-size: 1.2rem;
    }
}

/* ==========================================
========================================== */

.director-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.director-header {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.director-photo {
    flex-shrink: 0;
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #006241;
}

.director-info {
    flex: 1;
}

.director-info h2 {
    margin: 0 0 5px;
    color: #006241;
    font-size: 1.8rem;
    font-weight: 600;
}

.director-info h4 {
    margin: 0 0 12px;
    font-weight: normal;
    color: #444;
    font-size: 1.1rem;
}

.director-info a {
    display: inline-block;
    margin-bottom: 15px;
    color: #006241;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.director-info a:hover {
    text-decoration: underline;
}

.director-bio {
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
    margin-top: 15px;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .director-container {
        margin: 20px;
        padding: 20px;
    }

    .director-photo {
        width: 110px;
        height: 140px;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .director-container {
        margin: 15px;
        padding: 15px;
    }

    .director-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .director-photo {
        width: 140px;
        height: 170px;
        margin: 0 auto;
    }

    .director-info {
        width: 100%;
    }

    .director-info h2 {
        font-size: 1.4rem;
    }

    .director-info h4 {
        font-size: 1rem;
    }

    .director-info a {
        font-size: 0.95rem;
    }

    .director-bio {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* ==========================================
========================================== */

.faculty-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.faculty-heading {
    text-align: center;
    color: #006241;
    margin-bottom: 40px;
    font-weight: 600;
}

.faculty-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.faculty-photo {
    flex-shrink: 0;
    width: 140px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid #006241;
}

.faculty-info {
    flex: 1;
}

.faculty-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #006241;
    margin-bottom: 5px;
}

.faculty-designation {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.faculty-email {
    display: inline-block;
    font-size: 0.9rem;
    color: #006241;
    margin-bottom: 10px;
    text-decoration: none;
    word-break: break-word;
}

.faculty-email:hover {
    text-decoration: underline;
}

.faculty-brief {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .faculty-container {
        padding: 0 15px;
    }

    .faculty-photo {
        width: 120px;
        height: 140px;
    }
}

/* ==========================================
========================================== */

@media (max-width: 768px) {

    .faculty-container {
        padding: 0 10px;
    }

    .faculty-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .faculty-photo {
        width: 140px;
        height: 170px;
        margin-bottom: 10px;
    }

    .faculty-info {
        width: 100%;
    }

    .faculty-name {
        font-size: 1.1rem;
    }

    .faculty-designation {
        font-size: 0.95rem;
    }

    .faculty-email {
        font-size: 0.85rem;
    }

    .faculty-brief {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* ==========================================
========================================== */

.staff-card {
    display: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.staff-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.staff-flex {
    display: flex;
    align-items: center;
}

.staff-photo {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
    border: 2px solid #006241;
}

.staff-details {
    flex: 1;
}

.staff-details h5 {
    margin-bottom: 0.25rem;
    color: #006241;
    font-weight: 600;
}

.staff-details p {
    margin-bottom: 0.3rem;
    color: #555;
    line-height: 1.5;
}

/* ==========================================
========================================== */

@media (min-width: 768px) {

    .staff-flex {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .staff-card {
        padding: 15px;
    }

    .staff-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .staff-photo {
        width: 120px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .staff-details {
        margin-top: 10px;
        width: 100%;
    }

    .staff-details h5 {
        font-size: 1rem;
    }

    .staff-details p {
        font-size: 0.9rem;
    }
}

/* ==========================================
========================================== */

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #f8f9fa;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    width: calc(250px * 12); /* image width × total images */
    animation: scrollLeft 35s linear infinite;
}

.slider-track > .slide {
    width: 250px;
}

.slider-wrapper:hover .slider-track {
    animation-play-state: paused;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    margin: 0 15px;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.03);
}

/* Scrolling Animation */

@keyframes scrollLeft {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .slide {
        width: 100%;
        margin: 0 10px;
    }

    .slider-track {
        animation-duration: 30s;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .slider-wrapper {
        padding: 10px 0;
    }

    .slide {
        width: 100%;
        margin: 0 8px;
    }

    .slide img {
        border-radius: 6px;
    }

    .slider-track {
        animation-duration: 25s;
    }
}

/* ==========================================
  ========================================== */

.square-img {
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.square-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.column-container {
    text-align: center;
    margin-bottom: 20px;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .square-img {
        width: 90%;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .column-container {
        margin-bottom: 15px;
    }

    .square-img {
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
        display: block;
    }
}

/* ==========================================
========================================== */

.sitemap-section {
    margin-top: 40px;
}

.sitemap-title {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #006241;
    border-bottom: 2px solid #006241;
    padding-bottom: 8px;
}

.sitemap-link {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color: #212529;
    transition: all 0.3s ease;
}

.sitemap-link:hover {
    color: #0d6efd;
    padding-left: 5px;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .sitemap-title {
        font-size: 1.25rem;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .sitemap-section {
        margin-top: 25px;
    }

    .sitemap-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .sitemap-link {
        font-size: 0.95rem;
        padding: 6px 0;
    }
}

/* ==========================================
========================================== */

.slider-wrapperr {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #f8f9fa;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    width: calc(250px * 12);
    animation: scrollLeft 35s linear infinite;
}

.slider-wrapperr:hover .slider-track {
    animation-play-state: paused;
}

.slidee {
    width: 250px;
    flex-shrink: 0;
    margin: 0 15px;
}

.slidee img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.slidee img:hover {
    transform: scale(1.03);
}

@keyframes scrollLeft {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================
========================================== */

.table-container {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
}

.custom-table thead {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    color: #fff;
    text-align: center;
}

.custom-table td,
.custom-table th {
    vertical-align: middle;
}

.custom-table tbody tr:hover {
    background-color: #f2f7ff;
    transition: 0.3s;
}

/* Header Style */

thead.custom-header th {
    background-color: #D1F4FF !important;
    color: #000 !important;
}

/* Download Button */

.download-btn {
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Session Column */

.col-session {
    width: 75%;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .slidee {
        width: 200px;
        margin: 0 10px;
    }

    .slider-track {
        animation-duration: 30s;
    }

    .col-session {
        width: auto;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .slider-wrapperr {
        padding: 10px 0;
    }

    .slidee {
        width: 140px;
        margin: 0 8px;
    }

    .slidee img {
        border-radius: 6px;
    }

    .slider-track {
        animation-duration: 25s;
    }

    .table-container {
        padding: 10px;
    }

    .custom-table {
        font-size: 13px;
    }

    .download-btn {
        font-size: 12px;
        padding: 4px 10px;
    }

    .col-session {
        width: auto;
    }
}

/* ==========================================
========================================== */

.photo-gallery-section {
    background:
        linear-gradient(
            rgba(0, 98, 65, 0.7),
            rgba(0, 98, 65, 0.7)
        ),
        url('../images/gallery/background.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
}

/* MobileOptimization */
@media (max-width: 767.98px) {

    .photo-gallery-section {
        background-position: center center;
    }
}

/* ==========================================
========================================== */

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
========================================== */

.hero-video-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
}

.hero-video-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-video-text {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .hero-video-section {
        height: 400px;
    }

    .hero-video-title {
        font-size: 2rem;
    }

    .hero-video-text {
        font-size: 1.1rem;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .hero-video-section {
        height: 300px;
    }

    .hero-video-title {
        font-size: 1.6rem;
    }

    .hero-video-text {
        font-size: 0.95rem;
    }

    .hero-video-overlay .btn {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
}

/* ==========================================
========================================== */

.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.accordion-button {
    border-radius: 12px !important;
    background-color: #ffffff;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f5ff;
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #e2e2e2;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ==========================================
========================================== */

@media (max-width: 991px) {

    .accordion-button {
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 18px;
    }
}

/* ==========================================
========================================== */

@media (max-width: 767.98px) {

    .accordion-item {
        margin-bottom: 0.75rem;
    }

    .accordion-button {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .accordion-body {
        padding: 15px;
        font-size: 0.9rem;
    }
}


/* ==========================================
========================================== */

.team-member {
    margin-bottom: 20px;
}

.team-member img {
    width: 110px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #006241;
    transition: all 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* MemberName */

.profile-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-name a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-name a:hover {
    color: #006241;
    text-decoration: underline;
}

/* Designation */

.profile-designation {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.35;
    min-height: 42px;
}

/* ==========================================
========================================== */

@media (max-width:991px) {

    .team-member img {
        width: 95px;
        height: 115px;
    }

}

/* ==========================================
========================================== */

@media (max-width:767.98px) {

    .team-member {
        margin-bottom: 25px;
    }

    .team-member img {
        width: 85px;
        height: 105px;
    }

    .profile-name {
        font-size: 0.90rem;
    }

    .profile-designation {
        font-size: 0.80rem;
        min-height: auto;
    }

}



/* ==========================================
========================================== */

.photo-gallery-section {
    background:
        linear-gradient(rgba(0, 98, 65, 0.7), rgba(0, 98, 65, 0.7)),
        url("../images/gallery/background.jpg") no-repeat center center;
    background-size: cover;
    color: #fff;
}

.photo-gallery-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all .3s ease;
}

.photo-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,.25) !important;
}

.photo-gallery-card img {
    border-radius: 8px 8px 0 0;
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.photo-gallery-body {
    background: rgba(255,255,255,.92);
    color: #004d26;
    border-radius: 0 0 8px 8px;
}

.photo-gallery-body h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.photo-gallery-body p {
    margin-bottom: .4rem;
    font-size: .9rem;
}

.photo-gallery-card a {
    text-decoration: none;
}

/* =========================
========================= */

@media (max-width:991.98px){

    .photo-gallery-card img{
        height:210px;
    }

}

/* =========================
========================= */

@media (max-width:767.98px){

    .photo-gallery-card img{
        height:190px;
    }

    .photo-gallery-body h5{
        font-size:.95rem;
    }

    .photo-gallery-body p{
        font-size:.85rem;
    }

}

/* ==========================================
========================================== */

.mygov-banner-wrapper{
    text-align:center;
}

.mygov-banner{
    display:block;
    margin:0 auto;
    cursor:pointer;
    transition:.3s;
}

.mygov-banner:hover{
    opacity:.95;
}

/* ==========================================
========================================== */

.page-last-updated {
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #006241;
    font-weight: 500;
    border-radius: 8px;
}

/* English */
.page-last-updated.en {
    direction: ltr;
    font-family: Arial, Helvetica, sans-serif;
}

/* Hindi */
.page-last-updated.hi {
    direction: ltr;
    font-family: "Nirmala UI", "Mangal", Arial, sans-serif;
}










/* =========================================================
    ========================================================= */


/* ---------------------------------------------------------
--------------------------------------------------------- */

.nidm-forthcoming-box {
    background: #f4f9fc;
    border: 1px solid #b8dce8;
    border-top: 4px solid #007c91;
    box-shadow: 0 4px 12px rgba(0, 124, 145, 0.12);
    transition: all 0.3s ease;
}

.nidm-forthcoming-box:hover {
    box-shadow: 0 7px 18px rgba(0, 124, 145, 0.20);
    transform: translateY(-2px);
}

.nidm-forthcoming-title {
    color: #007c91 !important;
    border-bottom: 2px solid #007c91 !important;
}

.nidm-forthcoming-title i {
    color: #007c91 !important;
}

.nidm-forthcoming-box .event-date {
    color: #007c91;
}


/* ---------------------------------------------------------
--------------------------------------------------------- */

.nidm-ongoing-box {
    background: #f3faf6;
    border: 1px solid #b9dfc8;
    border-top: 4px solid #198754;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.12);
    transition: all 0.3s ease;
}

.nidm-ongoing-box:hover {
    box-shadow: 0 7px 18px rgba(25, 135, 84, 0.20);
    transform: translateY(-2px);
}

.nidm-ongoing-title {
    color: #198754 !important;
    border-bottom: 2px solid #198754 !important;
}

.nidm-ongoing-title i {
    color: #198754 !important;
}

.nidm-ongoing-box .event-date {
    color: #198754;
}


/* ---------------------------------------------------------
--------------------------------------------------------- */

.nidm-forthcoming-box .events-list li,
.nidm-ongoing-box .events-list li {
    border-bottom: 1px solid #d9e3e6;
}

.nidm-forthcoming-box .event-title,
.nidm-ongoing-box .event-title {
    color: #444;
}


/* ---------------------------------------------------------
--------------------------------------------------------- */

@media (max-width: 767.98px) {

    .nidm-forthcoming-box,
    .nidm-ongoing-box {
        margin-bottom: 5px;
    }

}




/* =========================================================
   ========================================================= */

/* 1. Full-page background and default text */
html:has(body.nidm-high-contrast),
body.nidm-high-contrast {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* 2. Main page containers, sections and Bootstrap layouts */
body.nidm-high-contrast #main-content,
body.nidm-high-contrast main,
body.nidm-high-contrast header,
body.nidm-high-contrast footer,
body.nidm-high-contrast section,
body.nidm-high-contrast article,
body.nidm-high-contrast .container,
body.nidm-high-contrast .container-fluid,
body.nidm-high-contrast .row,
body.nidm-high-contrast [class*="col-"],
body.nidm-high-contrast .custom-gradient-bg,
body.nidm-high-contrast .important-links-section,
body.nidm-high-contrast .photo-gallery-section,
body.nidm-high-contrast .events-whatsnew-container,
body.nidm-high-contrast .events-list,
body.nidm-high-contrast .events-list ul,
body.nidm-high-contrast .events-list li,
body.nidm-high-contrast .box,
body.nidm-high-contrast .nidm-ongoing-box,
body.nidm-high-contrast .nidm-forthcoming-box,
body.nidm-high-contrast .info-box,
body.nidm-high-contrast .team-member,
body.nidm-high-contrast .profile-name,
body.nidm-high-contrast .profile-designation,
body.nidm-high-contrast .photo-gallery-card,
body.nidm-high-contrast .photo-gallery-body,
body.nidm-high-contrast .logo-card,
body.nidm-high-contrast .card,
body.nidm-high-contrast .card-body,
body.nidm-high-contrast .card-header,
body.nidm-high-contrast .card-footer,
body.nidm-high-contrast .accordion-item,
body.nidm-high-contrast .accordion-button,
body.nidm-high-contrast .accordion-body,
body.nidm-high-contrast .list-group,
body.nidm-high-contrast .list-group-item,
body.nidm-high-contrast .dropdown-menu,
body.nidm-high-contrast .dropdown-item,
body.nidm-high-contrast .modal-content,
body.nidm-high-contrast .modal-header,
body.nidm-high-contrast .modal-body,
body.nidm-high-contrast .modal-footer {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: none !important;
}

/* 3. Headings */
body.nidm-high-contrast h1,
body.nidm-high-contrast h2,
body.nidm-high-contrast h3,
body.nidm-high-contrast h4,
body.nidm-high-contrast h5,
body.nidm-high-contrast h6,
body.nidm-high-contrast .nidm-ongoing-title,
body.nidm-high-contrast .nidm-forthcoming-title,
body.nidm-high-contrast .info-title,
body.nidm-high-contrast .card-title,
body.nidm-high-contrast .carousel-caption p {
    color: #FFFF00 !important;
}

/* 4. Normal text and Bootstrap text utilities */
body.nidm-high-contrast p,
body.nidm-high-contrast li,
body.nidm-high-contrast span,
body.nidm-high-contrast label,
body.nidm-high-contrast small,
body.nidm-high-contrast b,
body.nidm-high-contrast strong,
body.nidm-high-contrast .card-text,
body.nidm-high-contrast .text-dark,
body.nidm-high-contrast .text-body,
body.nidm-high-contrast .text-success,
body.nidm-high-contrast .text-danger,
body.nidm-high-contrast .text-warning,
body.nidm-high-contrast .text-muted,
body.nidm-high-contrast .text-light {
    color: #FFFFFF !important;
}

/* 5. Links: yellow and underlined */
body.nidm-high-contrast a,
body.nidm-high-contrast a:visited,
body.nidm-high-contrast a.text-dark,
body.nidm-high-contrast a.text-decoration-none,
body.nidm-high-contrast .nav-link,
body.nidm-high-contrast .dropdown-item,
body.nidm-high-contrast .profile-name a {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}

/* 6. Link hover and keyboard focus */
body.nidm-high-contrast a:hover,
body.nidm-high-contrast a:focus,
body.nidm-high-contrast button:hover,
body.nidm-high-contrast button:focus-visible {
    color: #000000 !important;
    background-color: #FFFF00 !important;
    outline: 3px solid #FFFF00 !important;
    outline-offset: 3px;
}

/* 7. Navigation bar */
body.nidm-high-contrast .custom-navbar,
body.nidm-high-contrast .navbar,
body.nidm-high-contrast .navbar-collapse,
body.nidm-high-contrast .navbar-nav,
body.nidm-high-contrast .navbar-brand,
body.nidm-high-contrast .navbar-toggler {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

body.nidm-high-contrast .navbar-brand,
body.nidm-high-contrast .navbar-nav .nav-link,
body.nidm-high-contrast .navbar-toggler-icon {
    color: #FFFF00 !important;
}

/* 8. Hero video and overlay
   Preserve the video; darken the overlay for readable text. */
body.nidm-high-contrast .hero-video-section {
    background: #000000 !important;
}

body.nidm-high-contrast .hero-video-overlay {
    background: rgba(0, 0, 0, 0.88) !important;
    color: #FFFFFF !important;
}

body.nidm-high-contrast .hero-video-title,
body.nidm-high-contrast .hero-video-text {
    color: #FFFF00 !important;
}

/* 9. Carousel captions and controls */
body.nidm-high-contrast .carousel-caption,
body.nidm-high-contrast .carousel-caption.bg-dark,
body.nidm-high-contrast .carousel-caption p {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFF00 !important;
    opacity: 1 !important;
}

body.nidm-high-contrast .carousel-control-prev,
body.nidm-high-contrast .carousel-control-next,
body.nidm-high-contrast .carousel-indicators button {
    background-color: #000000 !important;
    border: 1px solid #FFFFFF !important;
}

/* 10. Ongoing events, forthcoming events and What's New */
body.nidm-high-contrast .event-date {
    color: #00FFFF !important;
    font-weight: bold !important;
}

body.nidm-high-contrast .event-title,
body.nidm-high-contrast .event-title a,
body.nidm-high-contrast .whatsnew-list,
body.nidm-high-contrast .whatsnew-list li {
    color: #FFFFFF !important;
}

body.nidm-high-contrast .event-title a,
body.nidm-high-contrast .whatsnew-list a {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}

/* 11. Alert and scrolling announcement bars */
body.nidm-high-contrast .alert-marquee-wrapper,
body.nidm-high-contrast .alert-label,
body.nidm-high-contrast .alert-marquee-container,
body.nidm-high-contrast .alert-marquee-text,
body.nidm-high-contrast .custom-marquee-wrapper,
body.nidm-high-contrast .custom-marquee,
body.nidm-high-contrast .overlay {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

body.nidm-high-contrast .alert-marquee-text a,
body.nidm-high-contrast .custom-marquee a {
    color: #FFFF00 !important;
}

/* 12. Buttons */
body.nidm-high-contrast .btn,
body.nidm-high-contrast button,
body.nidm-high-contrast input[type="button"],
body.nidm-high-contrast input[type="submit"],
body.nidm-high-contrast input[type="reset"] {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: none !important;
}

body.nidm-high-contrast .btn:hover,
body.nidm-high-contrast button:hover {
    background: #FFFF00 !important;
    background-color: #FFFF00 !important;
    color: #000000 !important;
    border-color: #FFFF00 !important;
}

/* 13. Forms and search boxes */
body.nidm-high-contrast input,
body.nidm-high-contrast select,
body.nidm-high-contrast textarea,
body.nidm-high-contrast .form-control,
body.nidm-high-contrast .form-select {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: none !important;
}

body.nidm-high-contrast input::placeholder,
body.nidm-high-contrast textarea::placeholder {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

body.nidm-high-contrast option {
    background: #000000 !important;
    color: #FFFFFF !important;
}

/* 14. Tables */
body.nidm-high-contrast table,
body.nidm-high-contrast thead,
body.nidm-high-contrast tbody,
body.nidm-high-contrast tr,
body.nidm-high-contrast th,
body.nidm-high-contrast td {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* 15. Override common Bootstrap background utilities */
body.nidm-high-contrast .bg-white,
body.nidm-high-contrast .bg-light,
body.nidm-high-contrast .bg-body,
body.nidm-high-contrast .bg-body-secondary,
body.nidm-high-contrast .bg-body-tertiary,
body.nidm-high-contrast .bg-success,
body.nidm-high-contrast .bg-danger,
body.nidm-high-contrast .bg-primary,
body.nidm-high-contrast .bg-warning,
body.nidm-high-contrast .bg-info {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* 16. Preserve images, video and logos */
body.nidm-high-contrast img,
body.nidm-high-contrast video,
body.nidm-high-contrast iframe,
body.nidm-high-contrast svg {
    filter: none !important;
}

/* 17. Visible keyboard focus */
body.nidm-high-contrast :focus-visible {
    outline: 3px solid #FFFF00 !important;
    outline-offset: 3px !important;
}

/* 18. Skip-to-main-content link */
body.nidm-high-contrast .skip-link {
    background: #FFFF00 !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
}

/* 19. Accessibility toolbar controls remain visible */
body.nidm-high-contrast #normalContrast,
body.nidm-high-contrast #highContrast,
body.nidm-high-contrast #fontPlus,
body.nidm-high-contrast #fontReset,
body.nidm-high-contrast #fontMinus,
body.nidm-high-contrast #languageSelect {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFFFF !important;
}




/* Highlight Box - High Contrast Mode */
body.nidm-high-contrast .highlight-box {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: none !important;
}

body.nidm-high-contrast .highlight-box h1,
body.nidm-high-contrast .highlight-box h2,
body.nidm-high-contrast .highlight-box h3,
body.nidm-high-contrast .highlight-box h4,
body.nidm-high-contrast .highlight-box h5,
body.nidm-high-contrast .highlight-box h6 {
    color: #FFFF00 !important;
}

body.nidm-high-contrast .highlight-box p,
body.nidm-high-contrast .highlight-box span,
body.nidm-high-contrast .highlight-box li,
body.nidm-high-contrast .highlight-box strong,
body.nidm-high-contrast .highlight-box label {
    color: #FFFFFF !important;
}

body.nidm-high-contrast .highlight-box a {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}

body.nidm-high-contrast .highlight-box a:hover,
body.nidm-high-contrast .highlight-box a:focus-visible {
    background: #FFFF00 !important;
    color: #000000 !important;
    outline: 3px solid #FFFF00 !important;
    outline-offset: 3px;
}
