/* ================= 1. NCEMR LOGO COLOR THEME ================= */
:root {
    --primary: #1B5E20;       /* NCEMR Logo Forest Green */
    --primary-dark: #0A2240;  /* NCEMR Logo Midnight Navy */
    --accent: #1B5E20;        /* Electropathy Herbal Green */
    --gold: #E5A91A;          /* Logo Lightning & Star Gold */
    --bg-light: #F3F7F4;      /* Soft Mint-Tint Background */
    --text-dark: #0A2240;
    --text-muted: #475569;
    --border: #CBD5E1;
}

/* ================= 2. BASE RESET & TYPOGRAPHY ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
    top: 0 !important;
    position: static !important;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

h1, h2, h3, h4, h5, h6,
.section-tag,
.box-3d h3,
.portal-card h3,
.card h3,
.sidebar-box h3,
.notice-board-card h3,
.page-banner p,
.portal-card p {
    text-align: left;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ================= 3. TOP UTILITY BAR, SEARCH & LANGUAGE ================= */
.top-bar {
    background: var(--accent);
    color: #E2E8F0;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-contact {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Compact Top Bar Search with Icon */
.top-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.top-search input {
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: 0.78rem;
    color: var(--primary-dark);
    width: 185px;
    height: 100%;
    font-family: inherit;
    background: transparent;
}

.top-search input::placeholder {
    color: #64748B;
}

.top-search button {
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    height: 100%;
    padding: 0 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.top-search button:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 3px 5px;
    border-radius: 6px;
}

.lang-globe {
    font-size: 0.85rem;
    padding: 0 3px;
    line-height: 1;
}

.lang-btn {
    background: transparent;
    color: #E2E8F0;
    border: none;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hide Google Translate Default Banner */
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
}

/* Social Links & Top Login Button */
.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    transition: 0.2s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-login-top {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.78rem;
    transition: 0.2s;
}

.btn-login-top:hover {
    filter: brightness(1.08);
}

/* ================= 4. STICKY BRAND BAR (SINGLE ROW DESKTOP) ================= */
.brand-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(10, 34, 64, 0.10);
}

.brand-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-emblem-img {
    height: 106px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1.1;
}

.brand-title-main {
    font-family: 'Plus Jakarta Sans', 'Arial Black', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.8px;
    line-height: 1;
    margin-bottom: 3px;
}

.brand-title-sub {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    line-height: 1.18;
}

.partner-badges-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    min-width: 0;
}

.partner-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.partner-badges img {
    height: 71px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: #fff;
}

.header-right-logo {
    width: 83px;
    height: 83px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: #fff;
    padding: 3px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 34, 64, 0.14);
}

.right-circle-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ================= 5. MAIN NAVIGATION ================= */
.main-nav {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    z-index: 900;
    box-shadow: 0 4px 12px rgba(10, 34, 64, 0.14);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.mobile-nav-label {
    display: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: 0.25s;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.nav-list li a {
    display: block;
    padding: 13px 16px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.2s;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold);
}

/* ================= LOGIN BUTTON IN MAIN NAV ================= */
.nav-list li.nav-login-item {
    margin-left: auto;
    padding: 6px 0;
}

.nav-list li a.nav-login-btn {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-list li a.nav-login-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .nav-list li.nav-login-item {
        margin-left: 0;
        padding: 12px 20px;
    }
    .nav-list li a.nav-login-btn {
        display: block;
        text-align: center;
        border-radius: 8px;
        padding: 11px 16px;
    }
}

/* ================= FULL WIDTH + CENTERED NAV (SINGLE LINE) ================= */
.main-nav .nav-container {
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
}

.nav-list li a {
    padding: 13px 12px;
    white-space: nowrap;
    font-size: 0.86rem;
}

.nav-list li.nav-login-item {
    margin-left: 10px; /* Center mein hi thoda gap ke saath alag dikhega */
    padding: 6px 0;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .nav-list li a {
        padding: 13px 8px;
        font-size: 0.79rem;
    }
    .nav-list li a.nav-login-btn {
        padding: 7px 13px;
        font-size: 0.79rem;
    }
}

/* Mobile view par wapas vertical stack */
@media (max-width: 992px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .nav-list li.nav-login-item {
        margin-left: 0;
        width: 100%;
    }
}

/* ================= 6. HERO SLIDESHOW & NEWS TICKER ================= */
.hero-full-wrap {
    width: 100%;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 10px 28px rgba(10, 34, 64, 0.14);
}

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
    overflow: hidden;
    background: var(--primary-dark);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 34, 64, 0.65);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots button,
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: 0.25s;
}

.slider-dots button.active,
.slider-dot.active {
    width: 26px;
    border-radius: 10px;
    background: var(--gold);
}

.news-ticker-bar {
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--gold);
    overflow: hidden;
    font-size: 0.88rem;
}

.ticker-label {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 800;
    padding: 10px 18px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-track-wrap {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 48px;
    padding: 10px 0;
    animation: ncemrTicker 28s linear infinite;
}

.news-ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track a {
    color: #F8FAFC;
    font-weight: 600;
}

.ticker-track a:hover {
    color: var(--gold);
}

@keyframes ncemrTicker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= 7. COMMON SECTIONS, BUTTONS & GRIDS ================= */
.section { padding: 48px 0; }
.bg-light { background: var(--bg-light); }

.section-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    text-align: center;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-gold { background: var(--gold); color: var(--primary-dark); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-accent { background: var(--primary-dark); color: #fff; }
.btn-accent:hover { background: var(--primary); }

.grid-4,
.portal-4-grid,
.strip-3d-grid,
.stats-3d-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* ================= 8. MASTER 3D CARDS SYSTEM ================= */
.box-3d,
.welcome-3d-card,
.notice-board-card,
.sidebar-box,
.card,
.portal-card {
    background: linear-gradient(145deg, #ffffff 0%, #f6faf7 100%);
    border: 1px solid #D2E1D6;
    border-bottom: 5px solid var(--primary);
    border-radius: 15px;
    padding: 24px;
    box-shadow:
        0 14px 28px rgba(10, 34, 64, 0.11),
        0 4px 10px rgba(27, 94, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.box-3d:hover,
.welcome-3d-card:hover,
.notice-board-card:hover,
.sidebar-box:hover,
.card:hover,
.portal-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--gold);
    box-shadow:
        0 20px 38px rgba(10, 34, 64, 0.16),
        0 6px 14px rgba(27, 94, 32, 0.12);
}

.box-3d.navy-accent,
.portal-card.navy-border { border-bottom-color: var(--primary-dark); }

.box-3d.gold-accent,
.portal-card.gold-border { border-bottom-color: var(--gold); }

/* Portal Cards */
.portal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 20px;
}

.portal-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.portal-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: #E8F3EB;
    color: var(--primary);
}

.portal-card.navy-border .portal-card-icon { background: #E6EDF5; color: var(--primary-dark); }
.portal-card.gold-border .portal-card-icon { background: #FEF6DF; color: #B47B00; }

.portal-card h3 { color: var(--primary-dark); font-size: 1.05rem; margin: 0; }
.portal-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.55; margin-bottom: 18px; }
.portal-card-action { margin-top: auto; }

/* Welcome & Notice Board Cards */
.welcome-3d-card {
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
    border-bottom-color: var(--primary-dark);
    padding: 30px 28px;
}

.notice-board-card {
    background: linear-gradient(145deg, #f4f8f5 0%, #eaf3ec 100%);
    border-left: 5px solid var(--primary);
    border-bottom-color: var(--gold);
    padding: 28px 26px;
}

.notice-board-card h3 { color: var(--primary-dark); font-size: 1.2rem; margin-bottom: 14px; }
.notice-list { list-style: none; }
.notice-list li { padding: 11px 0; border-bottom: 1px solid #DCE7DF; font-size: 0.9rem; color: #1E293B; }
.notice-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* Quick-Action Strip & Box 3D Elements */
.strip-3d-grid { margin-top: 24px; position: relative; z-index: 15; }
.strip-3d-grid .box-3d { display: flex; flex-direction: column; height: 100%; padding: 22px 20px; }
.strip-3d-grid .box-3d-link { margin-top: auto; }

.box-3d-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: 0 6px 14px rgba(10, 34, 64, 0.2);
}

.box-3d h3, .card h3 { color: var(--primary-dark); font-size: 1.08rem; margin-bottom: 6px; }
.box-3d p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.55; margin-bottom: 12px; }
.box-3d-link { font-size: 0.84rem; font-weight: 800; color: var(--primary); }
.box-3d-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* Stats Bar */
.stats-3d-bar { margin-top: 28px; gap: 16px; }
.stat-3d-card {
    background: linear-gradient(135deg, #0A2240 0%, #143B66 100%);
    color: #fff;
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 12px 24px rgba(10, 34, 64, 0.18);
}
.stat-3d-card strong { display: block; font-size: 1.85rem; color: var(--gold); line-height: 1.1; }
.stat-3d-card span { font-size: 0.82rem; color: #E2E8F0; font-weight: 600; }

/* ================= 9. MARQUEE IMAGE GALLERY ================= */
.marquee-gallery-wrap { overflow: hidden; width: 100%; padding: 10px 0; position: relative; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: ncemrMarquee 26s linear infinite; }
.marquee-gallery-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-card {
    width: 290px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(10, 34, 64, 0.08);
    text-align: center;
}
.marquee-card img { width: 100%; height: 190px; object-fit: cover; }
.marquee-card span { display: block; padding: 10px 12px; font-size: 0.86rem; font-weight: 700; color: var(--primary-dark); }

@keyframes ncemrMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= 10. INNER PAGES, SIDEBAR & TABLES ================= */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 42px 0;
    border-bottom: 4px solid var(--gold);
}
.page-banner h1 { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.page-banner p { color: #E2E8F0; font-size: 0.96rem; }

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}
.content-with-sidebar > main,
.content-with-sidebar > aside { min-width: 0; }

.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.sidebar-box { padding: 20px; margin-bottom: 20px; }
.sidebar-3d-wrap .sidebar-box {
    background: linear-gradient(145deg, #f5faf6 0%, #eaf3ec 100%);
    border-left: 5px solid var(--primary);
    border-bottom: 4px solid var(--gold);
}
.sidebar-box h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a { display: block; transition: transform 0.2s ease, color 0.2s ease; }
.sidebar-list li a:hover { transform: translateX(4px); color: var(--primary); font-weight: 700; }


/* ================= 12. FOOTER CTA & SITE FOOTER ================= */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 40px 0;
    border-top: 4px solid var(--gold);
}
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-text { max-width: 680px; }
.cta-badge {
    display: inline-block;
    background: rgba(229, 169, 26, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.cta-text h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; line-height: 1.25; }
.cta-text p { color: #E2E8F0; font-size: 0.94rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: 0.2s;
}
.btn-cta-outline:hover { background: #fff; color: var(--primary-dark); }

.site-footer {
    background: var(--primary-dark);
    color: #CBD5E1;
    padding: 48px 0 20px;
    font-size: 0.88rem;
}
.footer-logo-box { padding: 8px 0; }
.footer-logo-box img { max-height: 105px; width: auto; display: block; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.25fr;
    gap: 32px;
    margin-bottom: 30px;
    align-items: start;
}
.footer-contact-list p { margin-bottom: 10px; line-height: 1.6; color: #CBD5E1; }
.footer-contact-list strong { color: #ffffff; }
.site-footer h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-social { margin-top: 14px; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.18); }
.footer-social a:hover { border-color: var(--gold); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
    text-align: center;
    font-size: 0.82rem;
}
.footer-bottom p { text-align: center; }

/* ================= 13. RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1200px) {
    .brand-emblem-img { height: 58px; }
    .partner-badges { gap: 8px; }
    .partner-badges img { height: 40px; }
    .header-right-logo { width: 62px; height: 62px; }
}

@media (max-width: 1080px) {
    .grid-4,
    .portal-4-grid,
    .strip-3d-grid,
    .stats-3d-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .brand-bar-inner,
    .partner-badges-wrap,
    .partner-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .partner-badges img { height: 38px; }
    .header-right-logo { width: 58px; height: 58px; }

    .mobile-nav-label { display: block; }
    .menu-toggle { display: flex; }
    .nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }
    .nav-list.open { display: flex; }
    .nav-list li a { padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

    .grid-3,
    .grid-2,
    .content-with-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .top-bar-inner { justify-content: center; text-align: center; }
    .top-right { width: 100%; justify-content: center; gap: 8px; }
    .top-search { width: 100%; max-width: 340px; height: 34px; order: 10; }
    .top-search input { flex: 1; width: auto; font-size: 0.84rem; }
    .top-search button { padding: 0 14px; }
}

@media (max-width: 640px) {
    .top-contact { justify-content: center; gap: 8px; }
    .brand-logo-link { gap: 10px; }
    .brand-emblem-img { height: 54px; }
    .brand-title-main { font-size: 1.5rem; }
    .brand-title-sub { font-size: 0.92rem; }
    .slider-btn { width: 34px; height: 34px; font-size: 0.95rem; }
    .marquee-card { width: 230px; }
    .marquee-card img { height: 155px; }
    .grid-4,
    .portal-4-grid,
    .strip-3d-grid,
    .stats-3d-bar,
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta-inner { text-align: center; justify-content: center; }
    .cta-actions { justify-content: center; width: 100%; }
}

/* ================= STICKY HEADER + MENU TOGETHER ================= */
.sticky-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 14px rgba(10, 34, 64, 0.14);
}

.sticky-header-wrap .brand-bar {
    position: relative;
    top: auto;
    box-shadow: none;
}

.sticky-header-wrap .main-nav {
    position: relative;
    top: auto;
    box-shadow: none;
}


#google_translate_element {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

.ncemr-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 2px;
    height: 30px;
    flex-shrink: 0;
}

.ncemr-lang-btn {
    border: none;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 10px;
    height: 24px;
    border-radius: 50px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.ncemr-lang-btn:hover {
    color: #E5A91A;
}

.ncemr-lang-btn.active {
    background: #E5A91A;
    color: #0A2240;
}

/* Hide Google Translate Top Banner, Spinner Loader & Hover Highlights */
.goog-te-spinner-pos,
.goog-te-spinner,
.goog-te-spinner-animation,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* Background Pre-Translation Stage (Invisible, Zero Layout Impact) */
#gtPreloadStage {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0.001 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#sitePageContent.gt-swapped .reveal-up {
    opacity: 1 !important;
    transform: none !important;
}

/* ================= DYNAMIC NOTICE BOARD (BOTTOM-TO-TOP MARQUEE + HOVER PAUSE) ================= */
.notice-marquee-wrap {
    height: 270px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.notice-marquee-track {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    will-change: transform;
}

.notice-marquee-track.is-seamless {
    animation: noticeScrollSeamless var(--notice-speed, 18s) linear infinite;
}

.notice-marquee-track.is-single {
    animation: noticeScrollSingle var(--notice-speed, 14s) linear infinite;
}

.notice-marquee-wrap:hover .notice-marquee-track,
.notice-marquee-wrap:focus-within .notice-marquee-track {
    animation-play-state: paused;
}

@keyframes noticeScrollSeamless {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}

@keyframes noticeScrollSingle {
    0%   { transform: translate3d(0, 270px, 0); }
    100% { transform: translate3d(0, -100%, 0); }
}

.notice-list li a.notice-item-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice-list li a.notice-item-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.notice-new-badge {
    display: inline-block;
    background: #DC2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}



