@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

/* =========================================================
   NHCE IQAC MASTER STYLESHEET
   Reusable Tokens, Typography, Buttons & Layout
   ========================================================= */

:root {
  --nhce-navy: #0b1d51;
  --nhce-navy-dark: #07153a;
  --nhce-red: #df1f26;
  --nhce-canvas: #f4f6fa;
  --nhce-surface: #ffffff;
  --nhce-border: #dce5ef;
  --nhce-divider: #c6d4e8;
  --nhce-text-main: #333333;              /* Base text color */
  --nhce-text-muted: #566a85;
  --nhce-font: "Inter", Arial, Helvetica, sans-serif;            /* Body font */
  --nhce-font-heading: "Outfit", "Inter", Arial, sans-serif;     /* Heading font */
  --nhce-heading-color: #111111;          /* Heading text color (light backgrounds) */

  /* Button colors */
  --nhce-btn-primary-bg: var(--nhce-navy);
  --nhce-btn-primary-text: #ffffff;
  --nhce-btn-primary-hover-bg: var(--nhce-red);
  --nhce-btn-primary-hover-text: #ffffff;
  --nhce-btn-secondary-bg: #ffffff;
  --nhce-btn-secondary-text: var(--nhce-navy);
  --nhce-btn-secondary-border: #ffffff;
  --nhce-btn-secondary-hover-bg: var(--nhce-canvas);
  --nhce-btn-secondary-hover-text: var(--nhce-navy-dark);
  --nhce-radius-sm: 4px;
  --nhce-radius-md: 6px;
  --nhce-transition: 0.25s ease;
}

/* Global Reset & Base Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--nhce-font);
  color: var(--nhce-text-main);
  background-color: var(--nhce-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Heading typography (font only; colors are set per heading class) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nhce-font-heading);
}

/* Form controls don't inherit fonts by default */
button, input, select, textarea {
  font-family: inherit;
}

/* Reusable Layout Container */
.nhce-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reusable Button System */
.nhce-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--nhce-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--nhce-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--nhce-transition), transform var(--nhce-transition), box-shadow var(--nhce-transition);
  white-space: nowrap;
}

.nhce-btn-primary {
  background-color: var(--nhce-btn-primary-bg);
  color: var(--nhce-btn-primary-text);
}

.nhce-btn-primary:hover {
  background-color: var(--nhce-btn-primary-hover-bg);
  color: var(--nhce-btn-primary-hover-text);
  box-shadow: 0 4px 12px rgba(11, 29, 81, 0.2);
}

.nhce-btn-icon {
  transition: transform var(--nhce-transition);
}

.nhce-btn-primary:hover .nhce-btn-icon {
  transform: translate(2px, -2px);
}

/* =========================================================
   1. TOP HEADER (3-COLUMN BAR)
   ========================================================= */
.nhce-header-wrapper {
  width: 100%;
  background-color: var(--nhce-surface);
  border-bottom: 1px solid var(--nhce-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(7, 21, 58, 0.06);
}

.nhce-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Column 1: College Logo */
.nhce-logo-col {
  display: flex;
  align-items: center;
  padding-right: 24px;
  border-right: 1px solid var(--nhce-divider);
}

.nhce-college-logo {
  display: block;
  flex-shrink: 0;
}

.nhce-college-logo img {
  display: block;
  height: 54px;
  max-height: none;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* Header button: smaller than the default .nhce-btn */
.nhce-action-col .nhce-btn {
  padding: 9px 14px;
  font-size: 12.5px;
  gap: 6px;
}

.nhce-action-col .nhce-btn-icon {
  width: 12px;
  height: 12px;
}

/* Column 2: IQAC Branding */
.nhce-iqac-col {
  display: flex;
  align-items: center;
}

.nhce-iqac-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nhce-iqac-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--nhce-navy);
}

.nhce-iqac-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--nhce-text-muted);
  text-transform: uppercase;
}

/* Centred "INTERNAL QUALITY ASSURANCE CELL" with red accent bars */
.nhce-iqac-col {
  justify-content: center;
  text-align: center;
}

.nhce-iqac-brand {
  align-items: center;
}

.nhce-iqac-name {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--nhce-font-heading);
  font-size: clamp(18px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nhce-navy);
}

.nhce-iqac-name::before,
.nhce-iqac-name::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--nhce-red);
}

/* Narrow desktops: title may wrap to two lines, so drop the side bars */
@media (min-width: 992px) and (max-width: 1199px) {
  .nhce-iqac-name {
    font-size: 19px;
    letter-spacing: 1.5px;
  }

  .nhce-iqac-name::before,
  .nhce-iqac-name::after {
    display: none;
  }
}

/* Column 3: Action Button & Mobile Toggle */
.nhce-action-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Hamburger Toggle Button (Hidden on Desktop) */
.nhce-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nhce-hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--nhce-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger Active (Close X) Animation */
.nhce-mobile-toggle.is-active .nhce-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nhce-mobile-toggle.is-active .nhce-hamburger-line:nth-child(2) {
  opacity: 0;
}

.nhce-mobile-toggle.is-active .nhce-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Topbar Rules */
@media (max-width: 991px) {
  .nhce-topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nhce-logo-col {
    border-right: none;
    padding-right: 0;
  }

  .nhce-logo-col {
    min-width: 0;
  }

  .nhce-college-logo {
    max-width: 100%;
  }

  /* Logo scales down inside its column instead of running under the button */
  .nhce-college-logo img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 44px;
  }

  .nhce-action-col {
    gap: 8px;
  }

  .nhce-iqac-col {
    grid-column: 1 / -1;
    order: 3;
    padding-top: 10px;
    border-top: 1px solid var(--nhce-border);
  }

  .nhce-iqac-title {
    font-size: 24px;
  }

  .nhce-iqac-tagline {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .nhce-iqac-name {
    gap: 8px;
    font-size: clamp(12px, 3.4vw, 20px);
    letter-spacing: 0.8px;
    white-space: nowrap;
  }

  .nhce-iqac-name::before,
  .nhce-iqac-name::after {
    width: 14px;
  }

  .nhce-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .nhce-container {
    padding: 0 16px;
  }

  .nhce-btn {
    padding: 9px 14px;
    font-size: 12px;
  }

  .nhce-college-logo img {
    max-height: 34px;
  }

  /* Compact two-line header button so the logo keeps its size */
  .nhce-action-col .nhce-btn {
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
    max-width: 118px;
    text-align: left;
  }

  .nhce-mobile-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}


/* =========================================================
   2. NAVIGATION MENU BAR & SUBMENUS
   ========================================================= */
.nhce-navbar {
  background-color: var(--nhce-surface);
  border-top: 1px solid var(--nhce-border);
  position: relative;
}

.nhce-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 0;
}

.nhce-nav-item {
  position: relative;
}

.nhce-nav-link-row {
  display: flex;
  align-items: center;
}

.nhce-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--nhce-navy);
  border-radius: var(--nhce-radius-sm);
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-nav-link:hover,
.nhce-nav-item:hover > .nhce-nav-link-row .nhce-nav-link {
  background-color: var(--nhce-canvas);
  color: var(--nhce-navy-dark);
}

/* Active Pill State (Matches Screenshot "IQAC HOME") */
.nhce-nav-link.is-active {
  background-color: var(--nhce-navy-dark);
  color: var(--nhce-surface);
}

/* Desktop Caret Indicator */
.nhce-submenu-toggle {
  background: none;
  border: none;
  color: var(--nhce-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 4px 4px 0;
  cursor: pointer;
  transition: transform var(--nhce-transition);
}

.nhce-nav-item.has-submenu:hover .nhce-submenu-toggle svg {
  transform: rotate(180deg);
}

/* Desktop Dropdown Submenu */
.nhce-submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-top: 3px solid var(--nhce-navy);
  border-radius: 0 0 var(--nhce-radius-md) var(--nhce-radius-md);
  box-shadow: 0 12px 28px rgba(7, 21, 58, 0.12);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
}

/* Prevent right-edge overflow on far-right dropdowns */
.nhce-submenu-right {
  left: auto;
  right: 0;
}

.nhce-nav-item.has-submenu:hover > .nhce-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nhce-submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nhce-text-main);
  border-bottom: 1px solid var(--nhce-canvas);
  transition: background-color var(--nhce-transition), color var(--nhce-transition), padding-left var(--nhce-transition);
}

.nhce-submenu li:last-child a {
  border-bottom: none;
}

.nhce-submenu li a:hover {
  background-color: var(--nhce-canvas);
  color: var(--nhce-red);
  padding-left: 20px;
}

/* ---------------------------------------------------------
   SECOND-LEVEL (SUB) DROPDOWN - e.g. Digital Repository
   --------------------------------------------------------- */
.nhce-submenu li.has-subsubmenu {
  position: relative;
}

.nhce-subsub-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--nhce-canvas);
}

.nhce-subsub-row > a {
  flex: 1;
  border-bottom: none !important;
}

.nhce-subsubmenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  align-self: stretch;
  background: none;
  border: none;
  color: var(--nhce-text-muted);
  cursor: pointer;
  transition: transform var(--nhce-transition), color var(--nhce-transition);
}

.nhce-submenu li.has-subsubmenu:hover > .nhce-subsub-row > a,
.nhce-submenu li.has-subsubmenu:hover .nhce-subsubmenu-toggle {
  color: var(--nhce-red);
}

.nhce-subsubmenu {
  list-style: none;
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 200px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-left: 3px solid var(--nhce-navy);
  border-radius: 0 var(--nhce-radius-md) var(--nhce-radius-md) 0;
  box-shadow: 0 12px 28px rgba(7, 21, 58, 0.12);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1200;
}

.nhce-submenu li.has-subsubmenu:hover > .nhce-subsubmenu,
.nhce-submenu li.has-subsubmenu:focus-within > .nhce-subsubmenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* =========================================================
   RESPONSIVE MOBILE MENU & ACCORDION SUBMENUS
   ========================================================= */
@media (max-width: 1140px) {
  .nhce-nav-link {
    padding: 8px 8px;
    font-size: 11px;
  }
}

@media (max-width: 991px) {
  .nhce-navbar {
    display: none;
    /* Overlay dropdown: opens on top of the hero without pushing content down */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: var(--nhce-surface);
    border-top: 1px solid var(--nhce-border);
    box-shadow: 0 14px 28px rgba(7, 21, 58, 0.12);
    max-height: 78vh;
    overflow-y: auto;
  }

  .nhce-navbar.is-open {
    display: block;
  }

  .nhce-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nhce-nav-item {
    border-bottom: 1px solid var(--nhce-border);
  }

  .nhce-nav-item:last-child {
    border-bottom: none;
  }

  .nhce-nav-link-row {
    justify-content: space-between;
  }

  .nhce-nav-link {
    flex: 1;
    text-align: left;
    justify-content: flex-start;
    padding: 13px 12px;
    font-size: 13px;
    border-radius: 0;
  }

  .nhce-submenu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-left: 1px solid var(--nhce-border);
  }

  .nhce-nav-item.is-submenu-open .nhce-submenu-toggle svg {
    transform: rotate(180deg);
  }

  /* Mobile Accordion Submenu */
  .nhce-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--nhce-border);
    border-radius: 0;
    background-color: var(--nhce-canvas);
    padding: 0;
    display: none;
  }

  .nhce-nav-item.is-submenu-open > .nhce-submenu {
    display: block;
  }

  .nhce-submenu li a {
    padding: 11px 24px;
    font-size: 13px;
    border-bottom: 1px solid var(--nhce-border);
  }

  /* Mobile: second-level dropdown as nested accordion */
  .nhce-subsub-row {
    border-bottom: 1px solid var(--nhce-border);
  }

  .nhce-subsubmenu-toggle {
    width: 44px;
    border-left: 1px solid var(--nhce-border);
    transform: rotate(90deg);
  }

  .nhce-submenu li.has-subsubmenu.is-subsub-open .nhce-subsubmenu-toggle {
    transform: rotate(-90deg);
  }

  .nhce-subsubmenu,
  .nhce-submenu li.has-subsubmenu:hover > .nhce-subsubmenu,
  .nhce-submenu li.has-subsubmenu:focus-within > .nhce-subsubmenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background-color: var(--nhce-surface);
  }

  .nhce-submenu li.has-subsubmenu.is-subsub-open > .nhce-subsubmenu {
    display: block;
  }

  .nhce-subsubmenu li a {
    padding-left: 40px;
  }
}

/* =========================================================
   3. HERO SLIDER STYLES
   ========================================================= */
.nhce-hero-slider-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--nhce-navy-dark);
}

.nhce-hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.nhce-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.nhce-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.nhce-hero-content-wrapper {
  padding: 64px 24px;
  max-width: 960px;
  margin-left: max(24px, calc((100% - 1280px) / 2 + 24px));
}

.nhce-hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--nhce-surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--nhce-radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nhce-hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--nhce-surface);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.nhce-hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

/* Slider Navigation Arrows */
.nhce-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(11, 29, 81, 0.6);
  color: var(--nhce-surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background-color var(--nhce-transition), border-color var(--nhce-transition);
  z-index: 10;
}

.nhce-slider-arrow:hover {
  background-color: var(--nhce-navy);
  border-color: var(--nhce-surface);
}

.nhce-slider-prev {
  left: 20px;
}

.nhce-slider-next {
  right: 20px;
}

/* Slider Indicator Dots */
.nhce-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.nhce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color var(--nhce-transition), width var(--nhce-transition);
  padding: 0;
}

.nhce-dot.is-active {
  background-color: var(--nhce-surface);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .nhce-hero-slider-container {
    min-height: 400px;
  }
  .nhce-hero-title {
    font-size: 28px;
  }
  .nhce-hero-description {
    font-size: 14px;
  }
  .nhce-hero-content-wrapper {
    margin-left: auto;
    margin-right: auto;
  }
  .nhce-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ---------------------------------------------------------
   HERO SLIDER ENHANCEMENTS (autoplay, swipe, text animation)
   --------------------------------------------------------- */
.nhce-hero-slider-container {
  touch-action: pan-y;          /* allow vertical page scroll, we handle horizontal swipe */
  user-select: none;
  -webkit-user-select: none;
}

.nhce-hero-slide {
  transition: opacity 0.9s ease, visibility 0.9s ease;
  overflow: hidden;
}

/* Slow "zoom-out" on the active slide image (copy of the slide background) */
.nhce-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  background-size: cover;
  background-position: var(--nhce-hero-pos, center);
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.nhce-hero-slide.is-active::before {
  transform: scale(1);
}

/* Text: hidden on inactive slides, animated in on the active one */
.nhce-hero-slide .nhce-hero-badge,
.nhce-hero-slide .nhce-hero-title,
.nhce-hero-slide .nhce-hero-description {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nhce-hero-slide.is-active .nhce-hero-badge,
.nhce-hero-slide.is-active .nhce-hero-title,
.nhce-hero-slide.is-active .nhce-hero-description {
  opacity: 1;
  transform: translateY(0);
}

.nhce-hero-slide.is-active .nhce-hero-badge       { transition-delay: 0.25s; }
.nhce-hero-slide.is-active .nhce-hero-title       { transition-delay: 0.45s; }
.nhce-hero-slide.is-active .nhce-hero-description { transition-delay: 0.65s; }

/* Desktop: slider height follows screen width so wide screens don't over-crop the photos */
@media (min-width: 769px) {
  .nhce-hero-slider-container {
    height: clamp(480px, 46vw, 820px);
  }

  .nhce-hero-slide {
    background-position: var(--nhce-hero-pos, center);
  }
}

/* Desktop: keep slide text clear of the side arrows */
@media (min-width: 769px) {
  .nhce-hero-content-wrapper {
    margin-left: max(0px, calc((100% - 1280px) / 2));
    padding-left: 92px;
    padding-right: 92px;
  }
}

/* Brighter hero: image boosted with a CSS filter, overlay only behind the text */
.nhce-hero-slide::before {
  filter: brightness(1.12) saturate(1.15) contrast(1.03);
}

.nhce-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 21, 58, 0.72) 0%, rgba(7, 21, 58, 0.45) 38%, rgba(7, 21, 58, 0.08) 70%, rgba(7, 21, 58, 0) 100%);
  pointer-events: none;
}

.nhce-hero-slide .nhce-hero-title,
.nhce-hero-slide .nhce-hero-description {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* Phones: text spans the full width, so use an even, lighter veil */
@media (max-width: 768px) {
  .nhce-hero-slide::after {
    background: linear-gradient(180deg, rgba(7, 21, 58, 0.3) 0%, rgba(7, 21, 58, 0.6) 100%);
  }

  .nhce-hero-content-wrapper {
    padding-bottom: 48px;
  }
}

/* Arrows: proper buttons with a subtle lift */
.nhce-slider-arrow {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nhce-slider-arrow:hover {
  background-color: var(--nhce-red);
  border-color: var(--nhce-red);
}

.nhce-slider-arrow:focus-visible,
.nhce-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Active dot doubles as an autoplay progress bar */
.nhce-dot {
  position: relative;
  overflow: hidden;
}

.nhce-dot.is-active {
  width: 34px;
  background-color: rgba(255, 255, 255, 0.4);
}

.nhce-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  transform-origin: left center;
  animation: nhceDotProgress var(--nhce-hero-delay, 6s) linear forwards;
}

.nhce-hero-slider-container.is-paused .nhce-dot.is-active::after {
  animation-play-state: paused;
}

@keyframes nhceDotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Mobile: move arrows beside the dots so they never cover the text */
@media (max-width: 768px) {
  .nhce-hero-content-wrapper {
    padding: 48px 20px 84px;
  }

  .nhce-slider-arrow {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .nhce-slider-prev {
    left: 16px;
  }

  .nhce-slider-next {
    right: 16px;
  }

  .nhce-slider-dots {
    bottom: 26px;
  }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .nhce-hero-slide,
  .nhce-hero-slide .nhce-hero-badge,
  .nhce-hero-slide .nhce-hero-title,
  .nhce-hero-slide .nhce-hero-description {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }

  .nhce-hero-slide::before {
    transform: none !important;
  }

  .nhce-dot.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}

/* =========================================================
   4. MESSAGE FROM LEADERSHIP SECTION
   ========================================================= */
.nhce-leadership-section {
  background-color: var(--nhce-surface);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--nhce-border);
}

/* Section Eyebrow Title + Full Navy Divider */
.nhce-section-eyebrow-wrap {
  border-bottom: 2px solid var(--nhce-navy);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.nhce-section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nhce-red);
}

/* Desktop Two-Column Grid */
.nhce-leadership-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 44px;
  align-items: start;
}

/* Left Column: Profile Card */
.nhce-leader-card {
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-sm);
  overflow: hidden;
}

.nhce-leader-photo-wrap {
  width: 100%;
  background-color: #e6ebf2;
}

.nhce-leader-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.nhce-leader-info {
  padding: 18px 18px 22px;
}

.nhce-leader-role-tag {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--nhce-red);
  margin-bottom: 6px;
}

.nhce-leader-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--nhce-heading-color);
  margin-bottom: 10px;
}

.nhce-leader-qualifications {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--nhce-text-muted);
  margin-bottom: 10px;
}

.nhce-leader-designation {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--nhce-navy);
}

/* Right Column: Message Typography */
.nhce-leader-message {
  color: var(--nhce-text-main);
  font-size: 15.5px;
  line-height: 1.72;
}

.nhce-leader-message p {
  margin-bottom: 18px;
  text-align:justify;
}

.nhce-message-lead {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--nhce-navy);
  margin-bottom: 20px;
}

/* Quote Callout Box */
.nhce-quote-box {
  background-color: var(--nhce-canvas);
  border-left: 4px solid var(--nhce-red);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.55;
  color: var(--nhce-navy);
  border-radius: 0 var(--nhce-radius-sm) var(--nhce-radius-sm) 0;
}

/* Sign-off Block */
.nhce-message-signoff {
  margin-top: 24px;
}

.nhce-message-signoff p {
  margin-bottom: 3px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--nhce-text-main);
}

.nhce-signoff-name {
  font-weight: 700;
  color: var(--nhce-navy) !important;
}

/* =========================================================
   RESPONSIVE MOBILE RULES (NO AWKWARD GAPS, CLEAN STACKING)
   ========================================================= */
@media (max-width: 900px) {
  .nhce-leadership-grid {
    grid-template-columns: 230px 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .nhce-leadership-section {
    padding: 36px 0 44px;
  }

  .nhce-section-eyebrow-wrap {
    margin-bottom: 24px;
  }

  .nhce-leadership-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nhce-leader-card {
    max-width: 100%;
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
  }

  .nhce-leader-photo-wrap {
    height: 100%;
  }

  .nhce-leader-photo-wrap img {
    height: 100%;
    object-fit: cover;
  }

  .nhce-leader-info {
    padding: 14px 16px;
  }

  .nhce-leader-name {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .nhce-leader-qualifications {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .nhce-leader-designation {
    font-size: 12.5px;
  }

  .nhce-message-lead {
    font-size: 16px;
  }

  .nhce-leader-message {
    font-size: 15px;
    line-height: 1.68;
  }

  .nhce-quote-box {
    padding: 16px 18px;
    margin: 20px 0;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .nhce-leader-card {
    grid-template-columns: 1fr;
  }

  .nhce-leader-photo-wrap img {
    max-height: 300px;
    object-position: top center;
  }
}


/* =========================================================
   5. VISION & MISSION SECTION
   ========================================================= */
.nhce-vision-mission-section {
  background-color: var(--nhce-canvas);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--nhce-border);
}

.nhce-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.nhce-vm-card {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 36px 32px;
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.04);
  display: flex;
  flex-direction: column;
}

.nhce-vm-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--nhce-navy);
  color: var(--nhce-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.nhce-vm-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.nhce-vm-text {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--nhce-text-main);
}

.nhce-vm-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nhce-vm-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--nhce-text-main);
}

/* =========================================================
   RESPONSIVE MOBILE RULES FOR VISION & MISSION
   ========================================================= */
@media (max-width: 900px) {
  .nhce-vm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .nhce-vision-mission-section {
    padding: 36px 0 44px;
  }
  .nhce-vm-card {
    padding: 24px 20px;
  }
  .nhce-vm-title {
    font-size: 22px;
  }
  .nhce-vm-text,
  .nhce-vm-list li {
    font-size: 14.5px;
  }
}

/* =========================================================
   6. OUR COMMITMENT SECTION (SINGLE COLUMN)
   ========================================================= */
.nhce-commitment-section {
  background-color: var(--nhce-surface);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--nhce-border);
}

.nhce-commitment-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.nhce-commitment-content-box {
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 40px 48px;
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.04);
}

.nhce-commitment-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  margin-bottom: 24px;
  letter-spacing: -0.4px;
}

.nhce-commitment-subheading {
  font-size: 20px;
  font-weight: 700;
  color: var(--nhce-heading-color);
  margin-top: 28px;
  margin-bottom: 14px;
}

.nhce-commitment-subheading:first-of-type {
  margin-top: 0;
}

/* Quality Policy Blockquote Style */
.nhce-policy-blockquote {
  background-color: var(--nhce-surface);
  border-left: 4px solid var(--nhce-navy);
  border-top: 1px solid var(--nhce-border);
  border-right: 1px solid var(--nhce-border);
  border-bottom: 1px solid var(--nhce-border);
  padding: 22px 26px;
  margin: 0 0 32px 0;
  font-size: 16.5px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.65;
  color: var(--nhce-navy);
  border-radius: 0 var(--nhce-radius-sm) var(--nhce-radius-sm) 0;
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.03);
}

/* Goals List Style */
.nhce-commitment-list {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nhce-commitment-list li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--nhce-text-main);
}

/* =========================================================
   RESPONSIVE MOBILE RULES FOR COMMITMENT SECTION
   ========================================================= */
@media (max-width: 767px) {
  .nhce-commitment-section {
    padding: 36px 0 44px;
  }

  .nhce-commitment-content-box {
    padding: 24px 20px;
  }

  .nhce-commitment-heading {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .nhce-commitment-subheading {
    font-size: 18px;
    margin-top: 22px;
  }

  .nhce-policy-blockquote {
    padding: 16px 18px;
    font-size: 15px;
    margin-bottom: 24px;
  }

  .nhce-commitment-list li {
    font-size: 14.5px;
  }
}


/* =========================================================
   7. RECORDS & GOVERNANCE (RESOURCE CARDS)
   ========================================================= */
.nhce-resources-section {
  background-color: var(--nhce-canvas);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--nhce-border);
}

.nhce-resources-header-content {
  margin-bottom: 32px;
}

.nhce-resources-main-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--nhce-navy);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.nhce-resources-subtitle {
  font-size: 15.5px;
  color: var(--nhce-text-muted);
}

.nhce-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.nhce-resource-card {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: transform var(--nhce-transition), box-shadow var(--nhce-transition), border-color var(--nhce-transition);
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.03);
}

.nhce-resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 29, 81, 0.08);
  border-color: var(--nhce-navy);
}

.nhce-card-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: rgba(11, 29, 81, 0.06);
  color: var(--nhce-navy);
  border-radius: var(--nhce-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-resource-card:hover .nhce-card-icon-wrap {
  background-color: var(--nhce-navy);
  color: var(--nhce-surface);
}

/* Animated SVG Icon Effect */
.nhce-animated-svg {
  transition: transform 0.3s ease;
}

.nhce-resource-card:hover .nhce-animated-svg {
  transform: scale(1.1);
}

.nhce-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nhce-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--nhce-navy);
  transition: color var(--nhce-transition);
}

.nhce-resource-card:hover .nhce-card-title {
  color: var(--nhce-red);
}

.nhce-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nhce-text-muted);
}

.nhce-card-arrow {
  width: 32px;
  height: 32px;
  background-color: var(--nhce-canvas);
  color: var(--nhce-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--nhce-transition), color var(--nhce-transition), transform var(--nhce-transition);
}

.nhce-resource-card:hover .nhce-card-arrow {
  background-color: var(--nhce-red);
  color: var(--nhce-surface);
  transform: translate(2px, -2px);
}

/* =========================================================
   RESPONSIVE MOBILE RULES FOR RESOURCE CARDS
   ========================================================= */
@media (max-width: 900px) {
  .nhce-resource-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .nhce-resources-section {
    padding: 36px 0 44px;
  }

  .nhce-resources-main-title {
    font-size: 22px;
  }

  .nhce-resource-card {
    padding: 18px 20px;
    gap: 14px;
  }

  .nhce-card-icon-wrap {
    width: 42px;
    height: 42px;
  }

  .nhce-card-title {
    font-size: 15.5px;
  }

  .nhce-card-desc {
    font-size: 13px;
  }

  .nhce-card-arrow {
    display: none; /* Hide arrow on tiny screens to save horizontal space */
  }
}

/* =========================================================
   8. CONTACT THE IQAC OFFICE BANNER
   ========================================================= */
/* Keep the banner clear of the sticky header when jumped to */
#contact-links {
  scroll-margin-top: 170px;
}

@media (max-width: 991px) {
  #contact-links {
    scroll-margin-top: 130px;
  }
}

.nhce-contact-banner-section {
  background-color: var(--nhce-navy-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nhce-contact-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nhce-contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nhce-contact-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.nhce-contact-email {
  font-size: 24px;
  font-weight: 800;
  color: var(--nhce-surface);
  text-decoration: none;
  transition: color var(--nhce-transition);
  word-break: break-all;
}

.nhce-contact-email:hover {
  color: #ff6b6b;
}

/* Light Button Style for Dark Banner */
.nhce-btn-light,
.nhce-btn-secondary {
  background-color: var(--nhce-btn-secondary-bg);
  color: var(--nhce-btn-secondary-text);
  border: 1px solid var(--nhce-btn-secondary-border);
}

.nhce-btn-light:hover,
.nhce-btn-secondary:hover {
  background-color: var(--nhce-btn-secondary-hover-bg);
  color: var(--nhce-btn-secondary-hover-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   RESPONSIVE MOBILE RULES FOR CONTACT BANNER
   ========================================================= */
@media (max-width: 767px) {
  .nhce-contact-banner-section {
    padding: 32px 0;
  }

  .nhce-contact-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nhce-contact-email {
    font-size: 18px;
  }
}


/* =========================================================
   THIN VERTICAL DIVIDERS BETWEEN DESKTOP NAVIGATION ITEMS
   ========================================================= */
@media (min-width: 992px) {
  .nhce-navbar .nhce-nav-list {
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .nhce-navbar .nhce-nav-item {
    display: flex;
    align-items: center;
    border-right: 1px solid #d5dfec;
    padding: 0 6px;
  }

  .nhce-navbar .nhce-nav-item:first-child {
    padding-left: 0;
  }

  .nhce-navbar .nhce-nav-item:last-child {
    border-right: none;
    padding-right: 0;
  }
}

/* Give bottom space on Contact Banner so the blue card overlaps cleanly */
.nhce-contact-banner-section {
  padding-bottom: 110px !important;
}

/* =========================================================
   9. COMPLETE INSTITUTIONAL FOOTER (CENTERED BOX & SPACIOUS DARK FOOTER)
   ========================================================= */
.nhce-footer {
  background-color: #1c2633;
  color: #ffffff;
  font-size: 14px;
  position: relative;
}

/* Boxed Blue Contact Card - Centered with margin: 0 auto */
.nhce-footer-top-wrap {
  position: relative;
  margin-top: -72px;
  margin-bottom: 0;
  z-index: 10;
}

.nhce-footer-blue-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Perfectly centered */
  background-color: #369ff5;
  color: #ffffff;
  padding: 32px 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nhce-footer-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  text-align: center;
}

.nhce-footer-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nhce-footer-icon {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nhce-footer-contact-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.nhce-footer-contact-text a {
  color: #ffffff;
  text-decoration: none;
}

.nhce-footer-contact-text a:hover {
  text-decoration: underline;
}

.nhce-footer-divider-pipe {
  opacity: 0.75;
}

.nhce-footer-email-block {
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.nhce-email-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nhce-email-label {
  font-weight: 500;
  text-decoration: underline;
}

/* Spacious, Big Main Dark Footer Area */
.nhce-footer-main {
  padding: 80px 0 72px; /* Generous top and bottom spacing */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nhce-footer-grid {
  display: grid;
  grid-template-columns: 320px 1fr 280px;
  gap: 48px;
  align-items: start;
}

.nhce-footer-about-col img {
  max-height: 52px;
  width: auto;
  margin-bottom: 22px;
}

.nhce-footer-about-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.nhce-footer-socials {
  display: flex;
  gap: 12px;
}

.nhce-social-icon {
  width: 38px;
  height: 38px;
  background-color: #ffffff;
  color: #1c2633;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nhce-social-icon:hover {
  background-color: #369ff5;
  color: #ffffff;
  transform: translateY(-2px);
}

.nhce-footer-heading {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.nhce-footer-links-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.nhce-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nhce-footer-list li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.nhce-footer-list li a:hover {
  color: #369ff5;
  padding-left: 4px;
}

.nhce-footer-bottom-bar {
  background-color: #1c2633;
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   RESPONSIVE MOBILE RULES
   ========================================================= */
@media (max-width: 1024px) {
  .nhce-contact-banner-section {
    padding-bottom: 36px !important;
  }
  .nhce-footer-top-wrap {
    margin-top: 0;
    padding-top: 32px;
  }
  .nhce-footer-blue-box {
    margin: 0 16px;
    width: auto;
  }
  .nhce-footer-contacts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nhce-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .nhce-footer-about-col {
    grid-column: 1 / -1;
  }
  .nhce-footer-main {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  .nhce-footer-blue-box {
    padding: 24px 20px;
    margin: 0 12px;
  }
  .nhce-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nhce-footer-links-split {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* =========================================================
   SUB-PAGE STYLING (BREADCRUMB, HERO, OP GRID, FOCUS BOXES)
   ========================================================= */
.nhce-breadcrumb-bar {
  background-color: var(--nhce-surface);
  border-bottom: 1px solid var(--nhce-border);
  padding: 12px 0;
}

.nhce-breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nhce-text-muted);
}

.nhce-breadcrumb-list a {
  color: var(--nhce-navy);
  text-decoration: none;
}

.nhce-breadcrumb-list a:hover {
  text-decoration: underline;
  color: var(--nhce-red);
}

.nhce-breadcrumb-list .current {
  color: var(--nhce-text-muted);
}

.nhce-subpage-hero {
  background: linear-gradient(rgba(11, 29, 81, 0.9), rgba(7, 21, 58, 0.95)), url('../assets/images/hero-bg-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 54px 0;
  color: var(--nhce-surface);
}

.nhce-subpage-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--nhce-radius-sm);
  margin-bottom: 12px;
}

.nhce-subpage-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.nhce-subpage-subtitle {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.nhce-section-spacing {
  padding: 56px 0 64px;
}

.nhce-content-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  letter-spacing: -0.3px;
  text-align:center;
}

/* Seven Operational Areas Grid */
.nhce-op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nhce-op-card {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 24px;
  position: relative;
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.03);
  transition: transform var(--nhce-transition), box-shadow var(--nhce-transition), border-color var(--nhce-transition);
}

.nhce-op-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 29, 81, 0.08);
  border-color: var(--nhce-navy);
}

.nhce-op-card-wide {
  grid-column: span 3;
}

.nhce-op-number {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--nhce-red);
  margin-bottom: 10px;
}

.nhce-op-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  margin-bottom: 8px;
}

.nhce-op-desc {
  font-size: 14px;
  color: var(--nhce-text-muted);
  line-height: 1.55;
}

/* Detailed Focus Stack */
.nhce-focus-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Feedback page: a card on its own above the grid, and a card spanning both columns */
.nhce-focus-box-solo {
  margin-bottom: 24px;
}

.nhce-focus-stack > .nhce-focus-box-wide {
  grid-column: 1 / -1;
}

/* Three-card version (Audits page): 3 columns, 2 + 1 wide on tablets, 1 on phones */
.nhce-focus-stack.nhce-focus-stack-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .nhce-focus-stack.nhce-focus-stack-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nhce-focus-stack.nhce-focus-stack-3 > .nhce-focus-box:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nhce-focus-stack.nhce-focus-stack-3 {
    grid-template-columns: 1fr;
  }
}

.nhce-focus-box {
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 28px;
}

.nhce-focus-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--nhce-navy);
}

.nhce-focus-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nhce-focus-list li {
  font-size: 14.5px;
  color: var(--nhce-text-main);
  line-height: 1.6;
}

/* Functions of IQAC Card */
.nhce-functions-card {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 36px 40px;
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.04);
}

.nhce-functions-list {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.nhce-functions-list li {
  font-size: 15px;
  color: var(--nhce-text-main);
  line-height: 1.65;
}

/* =========================================================
   RESPONSIVE MOBILE RULES FOR SUB-PAGE
   ========================================================= */
@media (max-width: 1024px) {
  .nhce-op-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nhce-op-card-wide {
    grid-column: span 2;
  }
  .nhce-focus-stack {
    grid-template-columns: 1fr;
  }
  .nhce-functions-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nhce-op-grid {
    grid-template-columns: 1fr;
  }
  .nhce-op-card-wide {
    grid-column: span 1;
  }
  .nhce-subpage-title {
    font-size: 28px;
  }
  .nhce-functions-card {
    padding: 24px 20px;
  }
}



/* =========================================================
   IQAC ADVISORY COMMITTEE STYLES & HORIZONTAL SCROLL TABLE
   ========================================================= */
.nhce-advisory-lead-text {
  font-size: 16px;
  line-height: 1.72;
  color: var(--nhce-text-main);
  margin-bottom: 24px;
}

.nhce-advisory-intro-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nhce-advisory-intro-list li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--nhce-text-main);
}

/* Horizontally scrollable wrapper for mobile devices */
.nhce-table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.04);
}

.nhce-committee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px; /* Ensures table maintains structure on mobile viewports with horizontal scroll */
}

.nhce-committee-table th {
  background-color: var(--nhce-navy);
  color: var(--nhce-surface);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  text-transform: uppercase;
}

.nhce-committee-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--nhce-text-main);
  border-bottom: 1px solid var(--nhce-border);
  line-height: 1.55;
}

.nhce-committee-table tbody tr:last-child td {
  border-bottom: none;
}

.nhce-committee-table tbody tr:hover {
  background-color: var(--nhce-canvas);
}

/* Position Badges */
.nhce-badge-pos {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--nhce-radius-sm);
  font-size: 12.5px;
  font-weight: 700;
}

.nhce-badge-chair {
  background-color: rgba(223, 31, 38, 0.1);
  color: var(--nhce-red);
}

.nhce-badge-sec {
  background-color: rgba(11, 29, 81, 0.1);
  color: var(--nhce-navy);
}

.nhce-table-note {
  font-size: 13px;
  color: var(--nhce-text-muted);
  font-style: italic;
  margin-top: 16px;
  line-height: 1.5;
}



/* =========================================================
   YEAR-WISE IQAC MEMBERS TABS & PANELS
   ========================================================= */
.nhce-yw-subtitle {
  font-size: 14.5px;
  color: var(--nhce-text-muted);
  margin-bottom: 24px;
}

/* Tabs Container */
.nhce-yw-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.nhce-yw-tab {
  background-color: var(--nhce-canvas);
  color: var(--nhce-navy);
  border: 1px solid var(--nhce-border);
  padding: 10px 22px;
  border-radius: var(--nhce-radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nhce-yw-tab:hover {
  border-color: var(--nhce-navy);
}

.nhce-yw-tab.is-active {
  background-color: var(--nhce-navy);
  color: var(--nhce-surface);
  border-color: var(--nhce-navy);
  box-shadow: 0 4px 12px rgba(11, 29, 81, 0.15);
}

/* Tab Panels */
.nhce-yw-panel {
  display: none;
}

.nhce-yw-panel.is-active {
  display: block;
  animation: fadeInPanel 0.3s ease-in-out;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.nhce-yw-panel-header {
  margin-bottom: 16px;
}

.nhce-yw-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--nhce-heading-color);
  margin-bottom: 4px;
}

.nhce-yw-panel-meta {
  font-size: 13.5px;
  color: var(--nhce-text-muted);
}
/* GLITCH FIX: the blue footer card (margin-top: -72px) was covering the
   bottom of the last section. Extra bottom space gives it room to overlap. */
.nhce-section-spacing:last-of-type {
  padding-bottom: 140px;
}

@media (max-width: 1024px) {
  .nhce-section-spacing:last-of-type {
    padding-bottom: 64px;
  }
}


/* =========================================================
   IQAC MOM ARCHIVES ACCORDION STYLES
   ========================================================= */
.nhce-mom-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nhce-mom-item {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nhce-mom-item:hover {
  border-color: var(--nhce-navy);
}

.nhce-mom-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.nhce-mom-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nhce-mom-year-badge {
  background-color: rgba(11, 29, 81, 0.08);
  color: var(--nhce-navy);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--nhce-radius-sm);
  white-space: nowrap;
}

.nhce-mom-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--nhce-navy);
}

.nhce-mom-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--nhce-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.nhce-mom-chevron {
  color: var(--nhce-navy);
  transition: transform 0.3s ease;
}

.nhce-mom-item.is-open .nhce-mom-chevron {
  transform: rotate(180deg);
}

.nhce-mom-item.is-open .nhce-mom-header {
  background-color: var(--nhce-canvas);
  border-bottom: 1px solid var(--nhce-border);
}

/* Accordion Body Panel */
.nhce-mom-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--nhce-surface);
}

.nhce-mom-item.is-open .nhce-mom-body {
  max-height: 2000px; /* Expands smoothly to fit contents */
}

.nhce-mom-content-inner {
  padding: 24px;
}

.nhce-mom-desc {
  font-size: 14.5px;
  color: var(--nhce-text-main);
  line-height: 1.68;
  margin-bottom: 16px;
}

.nhce-mom-bullet-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.nhce-mom-bullet-list li {
  font-size: 14.5px;
  color: var(--nhce-text-main);
  line-height: 1.6;
}

.nhce-mom-table-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--nhce-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Responsive Rules for Mobile Accordion */
@media (max-width: 900px) {
  .nhce-mom-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }
  .nhce-mom-meta-info {
    width: 100%;
    justify-content: space-between;
  }
  .nhce-mom-content-inner {
    padding: 18px;
  }
}


/* =========================================================
   IQAC ORGANOGRAM & RESPONSIBILITY MATRIX STYLES
   ========================================================= */
.nhce-org-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.nhce-org-card {
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.03);
}

.nhce-org-tier-1 {
  background: linear-gradient(135deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  color: var(--nhce-surface);
  border: none;
  box-shadow: 0 6px 20px rgba(11, 29, 81, 0.15);
}

.nhce-org-tier-1 .nhce-org-role-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--nhce-surface);
}

.nhce-org-tier-1 .nhce-org-name {
  color: var(--nhce-surface);
}

.nhce-org-tier-1 .nhce-org-desc {
  color: rgba(255, 255, 255, 0.85);
}

.nhce-org-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.nhce-org-role-badge {
  display: inline-block;
  background-color: rgba(11, 29, 81, 0.08);
  color: var(--nhce-navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--nhce-radius-sm);
  margin-bottom: 8px;
}

.nhce-org-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--nhce-navy);
  margin-bottom: 6px;
}

.nhce-org-desc {
  font-size: 14px;
  color: var(--nhce-text-muted);
  line-height: 1.55;
}

/* Responsibility Matrix Badges */
.nhce-matrix-table {
  min-width: 900px;
}

.nhce-matrix-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--nhce-radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.nhce-lead {
  background-color: rgba(223, 31, 38, 0.1);
  color: var(--nhce-red);
}

.nhce-owner {
  background-color: rgba(11, 29, 81, 0.12);
  color: var(--nhce-navy);
}

.nhce-sec {
  background-color: rgba(54, 159, 245, 0.15);
  color: #0b6cb0;
}

.nhce-supp {
  background-color: var(--nhce-border);
  color: var(--nhce-text-main);
}

/* Responsive Rules for Organogram */
@media (max-width: 768px) {
  .nhce-org-sub-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   COMPACT ORGANOGRAM IMAGE SECTION STYLES
   ========================================================= */
.nhce-org-image-wrapper {
  position: relative;
  max-width: 820px;
  margin: 24px auto 0;
  padding: 14px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-top: 4px solid var(--nhce-navy);
  border-radius: var(--nhce-radius-md);
  box-shadow: 0 10px 30px rgba(11, 29, 81, 0.08);
  text-align: center;
  overflow: hidden;
}

.nhce-org-schema-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: none;
  border-radius: calc(var(--nhce-radius-md) - 4px);
  background-color: var(--nhce-surface);
  box-shadow: none;
}

.nhce-org-image-caption {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--nhce-border);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nhce-text-muted);
  font-style: italic;
}

/* Tablet */
@media (max-width: 991px) {
  .nhce-org-image-wrapper {
    margin-top: 20px;
    padding: 10px;
  }
}

/* Mobile: let the image use almost the full screen width */
@media (max-width: 576px) {
  .nhce-org-image-wrapper {
    margin-top: 16px;
    padding: 6px;
    border-top-width: 3px;
    box-shadow: 0 6px 18px rgba(11, 29, 81, 0.07);
  }

  .nhce-org-image-caption {
    margin-top: 8px;
    padding: 8px 6px 4px;
    font-size: 12px;
  }
}



/* =========================================================
   ORGANOGRAM PAGE - 2-COLUMN IMAGE CARDS
   ========================================================= */
.nhce-org-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.nhce-org-card-img {
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(11, 29, 81, 0.07);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nhce-org-card-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 29, 81, 0.13);
}

/* Card header */
.nhce-org-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  color: #ffffff;
}

.nhce-org-card-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--nhce-font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nhce-org-card-titles {
  min-width: 0;
}

.nhce-org-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.nhce-org-card-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* Image area */
.nhce-org-card-media {
  position: relative;
  display: block;
  padding: 14px;
  background-color: var(--nhce-canvas);
  cursor: zoom-in;
}

.nhce-org-card-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--nhce-border);
  background-color: #ffffff;
}

.nhce-org-card-media::after {
  content: "Click to enlarge";
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(7, 21, 58, 0.85);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.nhce-org-card-media:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Card footer */
.nhce-org-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--nhce-border);
  font-size: 13px;
  color: var(--nhce-text-muted);
}

.nhce-org-card-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--nhce-radius-md);
  background-color: var(--nhce-navy);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--nhce-transition);
}

.nhce-org-card-btn:hover {
  background-color: var(--nhce-red);
  color: #ffffff;
}

/* Tablet & mobile: one column */
@media (max-width: 991px) {
  .nhce-org-gallery {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .nhce-org-card-head {
    padding: 14px 14px;
    gap: 10px;
  }

  .nhce-org-card-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .nhce-org-card-title {
    font-size: 16px;
  }

  .nhce-org-card-media {
    padding: 6px;
  }

  .nhce-org-card-media::after {
    display: none;
  }

  .nhce-org-card-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 12px 14px 14px;
  }

  .nhce-org-card-btn {
    justify-content: center;
  }
}

/* =========================================================
   TABBED IMAGE SHOWCASE (e.g. Feedback page)
   Info column + fixed-height preview + full-screen viewer
   ========================================================= */
.nhce-showcase {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 29, 81, 0.08);
  overflow: hidden;
}

/* Tabs */
.nhce-showcase-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: var(--nhce-canvas);
  border-bottom: 1px solid var(--nhce-border);
}

.nhce-showcase-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--nhce-font);
  color: var(--nhce-text-muted);
  cursor: pointer;
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-showcase-tab + .nhce-showcase-tab {
  border-left: 1px solid var(--nhce-border);
}

.nhce-showcase-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: var(--nhce-red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nhce-showcase-tab:hover {
  background-color: rgba(11, 29, 81, 0.04);
}

.nhce-showcase-tab.is-active {
  background-color: var(--nhce-surface);
  color: var(--nhce-navy);
}

.nhce-showcase-tab.is-active::after {
  transform: scaleX(1);
}

.nhce-showcase-tab-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--nhce-border);
  color: var(--nhce-navy);
  font-family: var(--nhce-font-heading);
  font-weight: 800;
  font-size: 15px;
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-showcase-tab.is-active .nhce-showcase-tab-num {
  background-color: var(--nhce-navy);
  color: #ffffff;
}

.nhce-showcase-tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nhce-showcase-tab-text strong {
  font-family: var(--nhce-font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.nhce-showcase-tab-text small {
  font-size: 12.5px;
  color: var(--nhce-text-muted);
  margin-top: 2px;
}

/* Panel: info column + preview stage */
.nhce-showcase-panel {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  align-items: center;
}

.nhce-showcase-panel[hidden] {
  display: none;
}

.nhce-showcase-panel.is-active {
  animation: nhceShowcaseIn 0.35s ease;
}

@keyframes nhceShowcaseIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nhce-showcase-eyebrow {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background-color: rgba(223, 31, 38, 0.08);
  color: var(--nhce-red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.nhce-showcase-title {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--nhce-navy);
}

.nhce-showcase-desc {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--nhce-text-muted);
}

.nhce-showcase-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nhce-showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--nhce-text-main);
}

.nhce-showcase-tick {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(11, 29, 81, 0.08);
  color: var(--nhce-navy);
}

.nhce-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nhce-showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--nhce-font);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--nhce-transition), color var(--nhce-transition), border-color var(--nhce-transition);
}

.nhce-showcase-btn-primary {
  background-color: var(--nhce-navy);
  color: #ffffff;
  border: 1px solid var(--nhce-navy);
}

.nhce-showcase-btn-primary:hover {
  background-color: var(--nhce-red);
  border-color: var(--nhce-red);
  color: #ffffff;
}

.nhce-showcase-btn-ghost {
  background-color: transparent;
  color: var(--nhce-navy);
  border: 1px solid var(--nhce-divider);
}

.nhce-showcase-btn-ghost:hover {
  border-color: var(--nhce-navy);
  background-color: var(--nhce-canvas);
  color: var(--nhce-navy);
}

/* Preview stage: fixed height, whole image always visible */
.nhce-showcase-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 560px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(11, 29, 81, 0.06), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(223, 31, 38, 0.05), transparent 40%),
    var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: 12px;
  cursor: zoom-in;
  overflow: hidden;
}

.nhce-showcase-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(11, 29, 81, 0.16);
  transition: transform 0.35s ease;
}

.nhce-showcase-stage:hover img {
  transform: scale(1.02);
}

.nhce-showcase-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background-color: rgba(7, 21, 58, 0.85);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  transition: background-color var(--nhce-transition);
}

.nhce-showcase-stage:hover .nhce-showcase-zoom-hint {
  background-color: var(--nhce-red);
}

/* Tablet */
@media (max-width: 991px) {
  .nhce-showcase-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .nhce-showcase-stage {
    height: auto;
  }

  .nhce-showcase-stage img {
    max-height: 600px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .nhce-showcase {
    border-radius: 12px;
  }

  .nhce-showcase-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
  }

  .nhce-showcase-tab-num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .nhce-showcase-tab-text strong {
    font-size: 14px;
  }

  .nhce-showcase-tab-text small {
    display: none;
  }

  .nhce-showcase-panel {
    padding: 18px 14px;
    gap: 18px;
  }

  .nhce-showcase-title {
    font-size: 20px;
  }

  .nhce-showcase-actions {
    flex-direction: column;
  }

  .nhce-showcase-btn {
    width: 100%;
  }

  .nhce-showcase-stage {
    padding: 8px;
  }

  .nhce-showcase-stage img {
    max-height: none;
    width: 100%;
  }

  .nhce-showcase-zoom-hint {
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* ---------------------------------------------------------
   FULL-SCREEN IMAGE VIEWER (LIGHTBOX)
   --------------------------------------------------------- */
.nhce-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  background-color: rgba(5, 12, 33, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nhce-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.nhce-lightbox-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nhce-lightbox-title {
  margin: 0;
  font-family: var(--nhce-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nhce-lightbox-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nhce-lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--nhce-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--nhce-transition);
}

.nhce-lightbox-btn:hover {
  background-color: var(--nhce-red);
  border-color: var(--nhce-red);
  color: #ffffff;
}

.nhce-lightbox-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  padding: 20px;
}

.nhce-lightbox-stage img {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: zoom-in;
}

/* Zoomed: image at its real size, scroll to read */
.nhce-lightbox.is-zoomed .nhce-lightbox-stage img {
  width: min(220%, 2600px);
  max-width: none;
  max-height: none;
  height: auto;
  cursor: zoom-out;
}

body.nhce-no-scroll {
  overflow: hidden;
}

@media (max-width: 576px) {
  .nhce-lightbox-bar {
    padding: 10px 12px;
  }

  .nhce-lightbox-title {
    font-size: 14px;
  }

  .nhce-lightbox-btn-label {
    display: none;
  }

  .nhce-lightbox-stage {
    padding: 10px;
  }
}

/* =========================================================
   HOME PAGE REDESIGN: DEAN MESSAGE, VISION & MISSION,
   QUALITY POLICY & GOALS  (new "nhce-hm-" classes only)
   ========================================================= */

/* ---------- 4. Dean's message ---------- */
.nhce-hm-dean {
  background-color: var(--nhce-surface);
  padding: 80px 0;
}

.nhce-hm-dean-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.nhce-hm-dean-aside {
  position: sticky;
  top: 180px; /* below the sticky header */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nhce-hm-profile {
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 29, 81, 0.1);
}

.nhce-hm-profile-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--nhce-canvas);
}

.nhce-hm-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.nhce-hm-profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 58, 0) 55%, rgba(7, 21, 58, 0.55) 100%);
  pointer-events: none;
}

.nhce-hm-profile-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--nhce-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nhce-hm-profile-body {
  padding: 22px 24px 24px;
}

.nhce-hm-profile-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--nhce-navy);
  line-height: 1.2;
}

.nhce-hm-profile-role {
  margin: 6px 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nhce-text-muted);
}

.nhce-hm-quals-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  margin-bottom: 6px;
  border-top: 1px solid var(--nhce-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nhce-red);
}

.nhce-hm-profile-quals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 2px;
}

.nhce-hm-profile-quals li {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--nhce-text-main);
}

.nhce-hm-profile-quals li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 9px;
  border-radius: 50%;
  background-color: var(--nhce-red);
}

.nhce-hm-pullquote {
  position: relative;
  margin: 0;
  padding: 24px 24px 26px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  color: #ffffff;
  overflow: hidden;
}

.nhce-hm-pullquote::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, 0.05);
}

.nhce-hm-pullquote-mark {
  color: var(--nhce-red);
  margin-bottom: 8px;
}

.nhce-hm-pullquote p {
  position: relative;
  margin: 0;
  font-family: var(--nhce-font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
}

.nhce-hm-dean-message {
  max-width: 820px;
}

.nhce-hm-dean-message p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--nhce-text-main);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.nhce-hm-dean-message .nhce-hm-lead {
  position: relative;
  margin-bottom: 30px;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--nhce-red);
  font-family: var(--nhce-font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--nhce-navy);
}

.nhce-hm-signoff {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--nhce-border);
}

.nhce-hm-signoff-regards {
  font-size: 14px;
  color: var(--nhce-text-muted);
}

.nhce-hm-signoff-name {
  font-family: var(--nhce-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--nhce-navy);
}

.nhce-hm-signoff-meta {
  font-size: 14px;
  color: var(--nhce-text-muted);
}

/* ---------- 5. Vision & Mission ---------- */
.nhce-hm-vm {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.06), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(223, 31, 38, 0.14), transparent 45%),
    linear-gradient(135deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  overflow: hidden;
}

.nhce-hm-vm-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: stretch;
}

.nhce-hm-vm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--nhce-navy);
  color: #ffffff;
  flex-shrink: 0;
}

.nhce-hm-vm-icon-red {
  background-color: var(--nhce-red);
}

.nhce-hm-vm-title {
  margin: 20px 0 14px;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
}

.nhce-hm-vm-title-dark {
  margin: 0;
  color: var(--nhce-navy);
}

.nhce-hm-vision {
  padding: 40px;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nhce-hm-vision-text {
  margin: 0;
  font-family: var(--nhce-font-heading);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.nhce-hm-mission {
  padding: 40px;
  border-radius: 18px;
  background-color: var(--nhce-surface);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.nhce-hm-mission-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.nhce-hm-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nhce-hm-mission-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--nhce-border);
}

.nhce-hm-mission-list li:last-child {
  padding-bottom: 0;
}

.nhce-hm-num {
  flex-shrink: 0;
  font-family: var(--nhce-font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--nhce-red);
  min-width: 34px;
}

.nhce-hm-mission-list p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--nhce-text-main);
}

/* ---------- 6. Quality Policy & Goals ---------- */
.nhce-hm-qp {
  background-color: var(--nhce-canvas);
  padding: 84px 0;
}

.nhce-hm-qp-heading {
  margin-bottom: 40px;
}

.nhce-hm-qp-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
  align-items: start;
}

.nhce-hm-policy {
  position: sticky;
  top: 180px;
  padding: 36px 32px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(11, 29, 81, 0.22);
  overflow: hidden;
}

.nhce-hm-policy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--nhce-red);
}

.nhce-hm-policy-label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nhce-hm-policy-mark {
  display: block;
  margin: 22px 0 6px;
  color: var(--nhce-red);
}

.nhce-hm-policy-text {
  margin: 0 0 24px;
  padding: 0;
  border: none;
  font-family: var(--nhce-font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}

.nhce-hm-policy-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nhce-hm-policy-tags li {
  padding: 6px 10px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.nhce-hm-goals-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--nhce-navy);
}

.nhce-hm-goals-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nhce-hm-goals-grid li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 14px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  transition: transform var(--nhce-transition), box-shadow var(--nhce-transition), border-color var(--nhce-transition);
}

.nhce-hm-goals-grid li:hover {
  transform: translateY(-3px);
  border-color: var(--nhce-navy);
  box-shadow: 0 14px 30px rgba(11, 29, 81, 0.1);
}

/* 7 goals: last card spans the full row */
.nhce-hm-goals-grid li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.nhce-hm-goal-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: rgba(11, 29, 81, 0.07);
  font-family: var(--nhce-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--nhce-navy);
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-hm-goals-grid li:hover .nhce-hm-goal-num {
  background-color: var(--nhce-red);
  color: #ffffff;
}

.nhce-hm-goals-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nhce-text-main);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nhce-hm-dean-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .nhce-hm-dean,
  .nhce-hm-vm,
  .nhce-hm-qp {
    padding: 60px 0;
  }

  .nhce-hm-dean-grid,
  .nhce-hm-vm-grid,
  .nhce-hm-qp-grid {
    grid-template-columns: 1fr;
  }

  .nhce-hm-dean-aside,
  .nhce-hm-policy {
    position: static;
  }

  .nhce-hm-dean-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .nhce-hm-dean-message {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nhce-hm-dean,
  .nhce-hm-vm,
  .nhce-hm-qp {
    padding: 48px 0;
  }

  .nhce-hm-dean-aside {
    grid-template-columns: 1fr;
  }

  .nhce-hm-dean-message .nhce-hm-lead {
    font-size: 18px;
    padding-left: 16px;
  }

  .nhce-hm-dean-message p {
    font-size: 15px;
    line-height: 1.75;
  }

  .nhce-hm-pullquote p {
    font-size: 17px;
  }

  .nhce-hm-vision,
  .nhce-hm-mission {
    padding: 28px 22px;
  }

  .nhce-hm-vm-title {
    font-size: 26px;
  }

  .nhce-hm-vision-text {
    font-size: 18px;
  }

  .nhce-hm-policy {
    padding: 28px 22px;
  }

  .nhce-hm-policy-text {
    font-size: 19px;
  }

  .nhce-hm-goals-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nhce-hm-goals-grid li {
    padding: 18px;
  }
}

/* =========================================================
   IQAC CALENDAR PAGE - FULL-WIDTH CALENDAR VIEWER
   ========================================================= */
.nhce-cal-viewer {
  margin: 28px 0 0;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-top: 4px solid var(--nhce-navy);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 29, 81, 0.08);
  overflow: hidden;
}

.nhce-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--nhce-border);
  background-color: var(--nhce-surface);
}

.nhce-cal-toolbar-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nhce-cal-toolbar-text strong {
  font-family: var(--nhce-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--nhce-navy);
  line-height: 1.3;
}

.nhce-cal-toolbar-text span {
  font-size: 13px;
  color: var(--nhce-text-muted);
}

.nhce-cal-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nhce-cal-stage {
  position: relative;
  display: block;
  width: 100%;
  padding: 18px;
  border: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(11, 29, 81, 0.05), transparent 45%),
    var(--nhce-canvas);
  cursor: zoom-in;
}

.nhce-cal-stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(11, 29, 81, 0.14);
  transition: transform 0.35s ease;
}

.nhce-cal-stage:hover img {
  transform: scale(1.01);
}

.nhce-cal-stage .nhce-showcase-zoom-hint {
  right: 30px;
  bottom: 30px;
}

.nhce-cal-stage:hover .nhce-showcase-zoom-hint {
  background-color: var(--nhce-red);
}

.nhce-cal-caption {
  margin: 0;
  padding: 14px 24px 16px;
  border-top: 1px solid var(--nhce-border);
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--nhce-text-muted);
  text-align: center;
}

@media (max-width: 767px) {
  .nhce-cal-toolbar {
    padding: 16px;
  }

  .nhce-cal-toolbar-actions {
    width: 100%;
  }

  .nhce-cal-toolbar-actions .nhce-showcase-btn {
    flex: 1 1 auto;
  }

  .nhce-cal-stage {
    padding: 8px;
  }

  .nhce-cal-stage .nhce-showcase-zoom-hint {
    right: 16px;
    bottom: 16px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .nhce-cal-caption {
    padding: 12px 16px;
    font-size: 12.5px;
  }
}

/* =========================================================
   QUALITY INITIATIVES PAGE - INFOGRAPHIC FLOW (nhce-ig-*)
   ========================================================= */
.nhce-ig {
  --ig-node: 92px;
}

.nhce-ig-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Connector line running through the node centres */
.nhce-ig-steps::before {
  content: "";
  position: absolute;
  top: calc(var(--ig-node) / 2);
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--nhce-divider) 0 10px, transparent 10px 18px);
  z-index: 0;
}

.nhce-ig-step {
  position: relative;
  z-index: 1;
  --ig-accent: var(--nhce-navy);
  --ig-soft: rgba(11, 29, 81, 0.08);
}

.nhce-ig-red {
  --ig-accent: var(--nhce-red);
  --ig-soft: rgba(223, 31, 38, 0.08);
}

/* Arrow between steps */
.nhce-ig-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--ig-node) / 2 - 7px);
  right: -21px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--nhce-divider);
  border-right: 3px solid var(--nhce-divider);
  transform: rotate(45deg);
  background-color: var(--nhce-surface);
}

.nhce-ig-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Circular icon node */
.nhce-ig-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--ig-node);
  height: var(--ig-node);
  border-radius: 50%;
  background-color: var(--nhce-surface);
  border: 3px solid var(--ig-accent);
  color: var(--ig-accent);
  box-shadow: 0 0 0 8px var(--ig-soft), 0 12px 26px rgba(11, 29, 81, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.nhce-ig-num {
  position: absolute;
  top: -6px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 999px;
  border: 3px solid var(--nhce-surface);
  background-color: var(--ig-accent);
  color: #ffffff;
  font-family: var(--nhce-font-heading);
  font-size: 12.5px;
  font-weight: 800;
}

/* Card under each node */
.nhce-ig-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  margin-top: 26px;
  padding: 26px 22px 22px;
  text-align: center;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-top: 4px solid var(--ig-accent);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(11, 29, 81, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Small pointer from card up to its node */
.nhce-ig-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--ig-accent);
}

.nhce-ig-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ig-accent);
}

.nhce-ig-title {
  margin: 8px 0 10px;
  font-family: var(--nhce-font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--nhce-navy);
}

.nhce-ig-desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nhce-text-muted);
}

.nhce-ig-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--ig-soft);
  color: var(--ig-accent);
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

/* Hover / focus */
.nhce-ig-link:hover .nhce-ig-node,
.nhce-ig-link:focus-visible .nhce-ig-node {
  transform: translateY(-4px);
  background-color: var(--ig-accent);
  color: #ffffff;
}

.nhce-ig-link:hover .nhce-ig-card,
.nhce-ig-link:focus-visible .nhce-ig-card {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(11, 29, 81, 0.12);
}

.nhce-ig-link:hover .nhce-ig-more,
.nhce-ig-link:focus-visible .nhce-ig-more {
  background-color: var(--ig-accent);
  color: #ffffff;
  gap: 10px;
}

.nhce-ig-link:focus-visible {
  outline: none;
}

.nhce-ig-link:focus-visible .nhce-ig-card {
  outline: 2px solid var(--ig-accent);
  outline-offset: 3px;
}

/* Continuous improvement strip */
.nhce-ig-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 40px auto 0;
  padding: 16px 24px;
  max-width: 760px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nhce-navy) 0%, var(--nhce-navy-dark) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 29, 81, 0.18);
}

.nhce-ig-loop-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--nhce-red);
}

.nhce-ig-loop-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 14px;
}

.nhce-ig-loop-text strong {
  font-family: var(--nhce-font-heading);
  font-size: 16px;
  font-weight: 700;
}

.nhce-ig-loop-chain {
  color: rgba(255, 255, 255, 0.82);
}

.nhce-ig-loop-chain i {
  font-style: normal;
  color: var(--nhce-red);
  margin: 0 3px;
}

/* Tablet: 2 x 2 grid, no horizontal connector */
@media (max-width: 991px) {
  .nhce-ig-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .nhce-ig-steps::before,
  .nhce-ig-step:not(:last-child)::after {
    display: none;
  }
}

/* Mobile: vertical timeline */
@media (max-width: 640px) {
  .nhce-ig {
    --ig-node: 64px;
  }

  .nhce-ig-steps {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .nhce-ig-steps::before {
    display: block;
    top: 10px;
    bottom: 10px;
    left: calc(var(--ig-node) / 2 - 1px);
    right: auto;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--nhce-divider) 0 10px, transparent 10px 18px);
  }

  .nhce-ig-link {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .nhce-ig-node {
    flex-shrink: 0;
    box-shadow: 0 0 0 5px var(--ig-soft), 0 8px 18px rgba(11, 29, 81, 0.12);
  }

  .nhce-ig-node .nhce-ig-icon {
    width: 24px;
    height: 24px;
  }

  .nhce-ig-num {
    min-width: 26px;
    height: 26px;
    font-size: 11px;
    top: -6px;
    right: -6px;
  }

  .nhce-ig-card {
    margin-top: 0;
    align-items: flex-start;
    text-align: left;
    padding: 18px;
  }

  .nhce-ig-card::before {
    top: 22px;
    left: -12px;
    transform: none;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid var(--ig-accent);
    border-left: 0;
  }

  .nhce-ig-title {
    font-size: 17px;
    margin: 6px 0 8px;
  }

  .nhce-ig-more {
    margin-top: 14px;
  }

  .nhce-ig-loop {
    border-radius: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
  }
}

/* =========================================================
   AQAR PAGE - ACADEMIC YEAR CARDS
   ========================================================= */
.nhce-aqar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nhce-aqar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: 14px;
  transition: transform var(--nhce-transition), box-shadow var(--nhce-transition), border-color var(--nhce-transition);
}

.nhce-aqar-card:hover {
  transform: translateY(-3px);
  border-color: var(--nhce-navy);
  box-shadow: 0 14px 30px rgba(11, 29, 81, 0.1);
}

.nhce-aqar-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--nhce-text-muted);
}

.nhce-aqar-year {
  margin: 12px 0 10px;
  font-size: 30px;
  font-weight: 800;
  color: var(--nhce-navy);
}

.nhce-aqar-desc {
  margin: 0 0 26px;
  font-size: 16px;
  color: var(--nhce-text-muted);
}

.nhce-aqar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  background-color: var(--nhce-navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color var(--nhce-transition);
}

.nhce-aqar-btn:hover {
  background-color: var(--nhce-red);
  color: #ffffff;
}

@media (max-width: 640px) {
  .nhce-aqar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nhce-aqar-card {
    padding: 24px;
  }

  .nhce-aqar-year {
    font-size: 26px;
  }
}

/* Poster-shaped images (square / tall): keep a readable width, centred */
.nhce-cal-viewer-poster .nhce-cal-stage img {
  max-width: 860px;
  margin: 0 auto;
}

/* =========================================================
   STRATEGIC PLAN PAGE - INLINE PDF VIEWER
   ========================================================= */
.nhce-pdf-stage {
  padding: 18px;
  background: var(--nhce-canvas);
}

.nhce-pdf-frame {
  display: block;
  width: 100%;
  height: min(85vh, 1100px);
  min-height: 560px;
  border: 1px solid var(--nhce-border);
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 29, 81, 0.12);
}

.nhce-pdf-mobile {
  display: none;
}

@media (max-width: 767px) {
  .nhce-pdf-stage {
    padding: 12px;
  }

  .nhce-pdf-frame {
    display: none;
  }

  .nhce-pdf-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 20px;
    text-align: center;
    background-color: var(--nhce-surface);
    border: 1px dashed var(--nhce-divider);
    border-radius: 10px;
    color: var(--nhce-navy);
  }

  .nhce-pdf-mobile strong {
    font-family: var(--nhce-font-heading);
    font-size: 18px;
  }

  .nhce-pdf-mobile span {
    font-size: 13.5px;
    color: var(--nhce-text-muted);
    margin-bottom: 8px;
  }
}

/* =========================================================
   INSTITUTIONAL POLICIES PAGE (nhce-pol-*)
   ========================================================= */
.nhce-pol-section {
  background-color: var(--nhce-canvas);
}

/* Search bar card */
.nhce-pol-searchbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 18px 20px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(11, 29, 81, 0.06);
}

.nhce-pol-search {
  flex: 1;
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: 10px;
  color: var(--nhce-text-muted);
  transition: border-color var(--nhce-transition), box-shadow var(--nhce-transition);
  cursor: text;
}

.nhce-pol-search:focus-within {
  border-color: var(--nhce-navy);
  box-shadow: 0 0 0 3px rgba(11, 29, 81, 0.08);
}

.nhce-pol-search svg {
  flex-shrink: 0;
}

.nhce-pol-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--nhce-font);
  font-size: 14px;
  color: var(--nhce-text-main);
}

.nhce-pol-search input::-webkit-search-cancel-button {
  display: none;
}

.nhce-pol-clear {
  border: 0;
  background: transparent;
  color: var(--nhce-text-muted);
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.nhce-pol-clear:hover {
  color: var(--nhce-red);
}

.nhce-pol-clear[hidden] {
  display: none;
}

.nhce-pol-stats {
  font-size: 13px;
  color: var(--nhce-text-muted);
  white-space: nowrap;
}

.nhce-pol-stats strong {
  color: var(--nhce-navy);
}

/* Two-column workspace */
.nhce-pol-workspace {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

/* Category sidebar */
.nhce-pol-sidebar {
  position: sticky;
  top: 150px;
  padding: 18px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 14px;
}

.nhce-pol-sidebar-title {
  margin: 0 0 12px 8px;
  font-family: var(--nhce-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--nhce-text-muted);
}

.nhce-pol-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nhce-pol-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-family: var(--nhce-font);
  font-size: 13.5px;
  line-height: 1.3;
  text-align: left;
  color: var(--nhce-text-main);
  cursor: pointer;
  transition: background-color var(--nhce-transition), color var(--nhce-transition);
}

.nhce-pol-cat svg {
  flex-shrink: 0;
  color: var(--nhce-text-muted);
}

.nhce-pol-cat:hover {
  background-color: var(--nhce-canvas);
  color: var(--nhce-navy);
}

.nhce-pol-cat.is-active {
  background-color: rgba(11, 29, 81, 0.07);
  border-left-color: var(--nhce-red);
  color: var(--nhce-navy);
  font-weight: 700;
}

.nhce-pol-cat.is-active svg {
  color: var(--nhce-red);
}

.nhce-pol-cat-count {
  margin-left: auto;
  min-width: 30px;
  padding: 2px 6px;
  border: 1px solid var(--nhce-border);
  border-radius: 999px;
  background-color: var(--nhce-surface);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--nhce-text-muted);
}

.nhce-pol-cat.is-active .nhce-pol-cat-count {
  background-color: var(--nhce-navy);
  border-color: var(--nhce-navy);
  color: #ffffff;
}

/* Panel */
.nhce-pol-panel {
  scroll-margin-top: 130px;
  min-width: 0;
}

.nhce-pol-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.nhce-pol-panel-title {
  margin: 0;
  font-family: var(--nhce-font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--nhce-navy);
}

.nhce-pol-panel-desc {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--nhce-text-muted);
}

.nhce-pol-shown {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(11, 29, 81, 0.07);
  font-size: 12px;
  font-weight: 600;
  color: var(--nhce-navy);
  white-space: nowrap;
}

/* Category accordion */
.nhce-pol-group {
  margin-bottom: 14px;
  overflow: hidden;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 14px;
  transition: box-shadow var(--nhce-transition);
}

.nhce-pol-group.is-open {
  box-shadow: 0 10px 26px rgba(11, 29, 81, 0.06);
}

.nhce-pol-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background-color: var(--nhce-surface);
  font-family: var(--nhce-font);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--nhce-transition);
}

.nhce-pol-group-head:hover {
  background-color: var(--nhce-canvas);
}

.nhce-pol-group-num {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(223, 31, 38, 0.08);
  font-family: var(--nhce-font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--nhce-red);
}

.nhce-pol-group-name {
  flex: 1;
  font-family: var(--nhce-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--nhce-navy);
}

.nhce-pol-group-total {
  font-size: 12px;
  color: var(--nhce-text-muted);
  white-space: nowrap;
}

.nhce-pol-chevron {
  width: 9px;
  height: 9px;
  margin: 0 4px 4px 8px;
  border-right: 2px solid var(--nhce-text-muted);
  border-bottom: 2px solid var(--nhce-text-muted);
  transform: rotate(45deg);
  transition: transform var(--nhce-transition);
}

.nhce-pol-group.is-open .nhce-pol-chevron {
  margin-bottom: -4px;
  transform: rotate(225deg);
}

/* Policy rows */
.nhce-pol-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 6px;
  border-top: 1px solid var(--nhce-border);
}

.nhce-pol-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nhce-canvas);
}

.nhce-pol-item:last-child {
  border-bottom: 0;
}

.nhce-pol-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nhce-pol-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--nhce-navy);
}

.nhce-pol-code {
  font-size: 12px;
  letter-spacing: 0.2px;
  color: var(--nhce-text-muted);
}

.nhce-pol-owner {
  font-size: 11.5px;
  color: var(--nhce-text-muted);
  font-style: italic;
}

/* "View PDF" button: navy fill, red sweep + shine + arrow nudge on hover */
.nhce-pol-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background-color: var(--nhce-navy);
  font-family: var(--nhce-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(11, 29, 81, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Red fill that sweeps in from the left */
.nhce-pol-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--nhce-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

/* Light shine that passes across */
.nhce-pol-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.nhce-pol-btn svg {
  transition: transform 0.25s ease;
}

.nhce-pol-btn:hover,
.nhce-pol-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(223, 31, 38, 0.25);
}

.nhce-pol-btn:hover::before,
.nhce-pol-btn:focus-visible::before {
  transform: scaleX(1);
}

.nhce-pol-btn:hover::after,
.nhce-pol-btn:focus-visible::after {
  animation: nhcePolShine 0.7s ease;
}

.nhce-pol-btn:hover svg,
.nhce-pol-btn:focus-visible svg {
  transform: translate(2px, -2px);
}

.nhce-pol-btn:focus-visible {
  outline: 2px solid var(--nhce-red);
  outline-offset: 3px;
}

/* PDF not uploaded yet: greyed-out, inactive button (no hover effects) */
.nhce-pol-btn.is-disabled,
.nhce-pol-btn.is-disabled:hover {
  transform: none;
  background-color: #e3e9f1;
  color: #8a9ab0;
  box-shadow: none;
  cursor: not-allowed;
}

.nhce-pol-btn.is-disabled::before,
.nhce-pol-btn.is-disabled::after {
  display: none;
}

.nhce-pol-btn.is-disabled svg,
.nhce-pol-btn.is-disabled:hover svg {
  transform: none;
  opacity: 0.6;
}

/* Text for screen readers only */
.nhce-pol-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes nhcePolShine {
  from { left: -60%; }
  to { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .nhce-pol-btn,
  .nhce-pol-btn::before,
  .nhce-pol-btn svg {
    transition: none;
  }

  .nhce-pol-btn:hover::after,
  .nhce-pol-btn:focus-visible::after {
    animation: none;
  }
}

.nhce-pol-empty {
  padding: 42px 20px;
  border: 1px dashed var(--nhce-divider);
  border-radius: 14px;
  background-color: var(--nhce-surface);
  text-align: center;
  color: var(--nhce-text-muted);
}

/* Tablet & mobile */
@media (max-width: 991px) {
  .nhce-pol-workspace {
    grid-template-columns: 1fr;
  }

  .nhce-pol-sidebar {
    position: static;
  }

  .nhce-pol-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nhce-pol-searchbar {
    padding: 14px;
  }

  .nhce-pol-stats {
    white-space: normal;
  }

  .nhce-pol-nav {
    grid-template-columns: 1fr;
  }

  .nhce-pol-panel-title {
    font-size: 20px;
  }

  .nhce-pol-shown,
  .nhce-pol-group-total {
    display: none;
  }

  .nhce-pol-group-head {
    padding: 14px;
  }

  .nhce-pol-list {
    padding: 0 14px 6px;
  }

  .nhce-pol-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nhce-pol-btn {
    justify-self: start;
  }
}

/* =========================================================
   IQAC COMMITTEE MOM PAGE (nhce-mom-*)
   ========================================================= */
.nhce-mom-head {
  margin-bottom: 26px;
}

.nhce-mom-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nhce-border);
  font-family: var(--nhce-font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--nhce-navy);
}

/* Short red bar sitting on the divider line */
.nhce-mom-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 3px;
  background-color: var(--nhce-red);
}

.nhce-mom-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--nhce-red);
}

.nhce-mom-intro {
  margin: 0;
  font-size: 16px;
  color: var(--nhce-text-muted);
}

.nhce-mom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nhce-mom-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  background-color: #f6f9fd;
  border: 1px solid var(--nhce-border);
  border-radius: 10px;
  transition: border-color var(--nhce-transition), box-shadow var(--nhce-transition), transform var(--nhce-transition);
}

.nhce-mom-card:hover {
  border-color: var(--nhce-divider);
  box-shadow: 0 10px 24px rgba(11, 29, 81, 0.08);
  transform: translateY(-2px);
}

.nhce-mom-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--nhce-text-muted);
}

.nhce-mom-year {
  margin: 8px 0 6px;
  font-family: var(--nhce-font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--nhce-navy);
}

.nhce-mom-desc {
  margin: 0;
  font-size: 14px;
  color: var(--nhce-text-muted);
}

.nhce-mom-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 6px;
  background-color: var(--nhce-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--nhce-transition);
}

.nhce-mom-btn:hover,
.nhce-mom-btn:focus-visible {
  background-color: var(--nhce-red);
  color: #ffffff;
}

/* PDF not uploaded yet: brief "Available soon" state after a click */
.nhce-mom-btn.is-soon,
.nhce-mom-btn.is-soon:hover {
  background-color: var(--nhce-text-muted);
  cursor: default;
}

.nhce-mom-btn.is-soon svg {
  display: none;
}

@media (max-width: 767px) {
  .nhce-mom-title {
    font-size: 26px;
  }

  .nhce-mom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .nhce-mom-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   YEAR-WISE REPORTS ACCORDION (nhce-ar-*)
   Audit Reports, Class Observation Reports
   ========================================================= */
.nhce-ar-intro {
  margin: 0 0 22px;
  max-width: 860px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nhce-text-muted);
}

.nhce-ar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Year accordion item */
.nhce-ar-year {
  overflow: hidden;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 12px;
  transition: border-color var(--nhce-transition), box-shadow var(--nhce-transition);
}

.nhce-ar-year:hover,
.nhce-ar-year.is-open {
  border-color: var(--nhce-divider);
  box-shadow: 0 10px 26px rgba(11, 29, 81, 0.06);
}

.nhce-ar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background-color: var(--nhce-canvas);
  font-family: var(--nhce-font);
  text-align: left;
  cursor: pointer;
}

.nhce-ar-head:focus-visible {
  outline: 2px solid var(--nhce-red);
  outline-offset: -2px;
}

.nhce-ar-year-label {
  font-family: var(--nhce-font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--nhce-navy);
}

.nhce-ar-head-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--nhce-navy);
  white-space: nowrap;
}

/* Plus / minus icon */
.nhce-ar-toggle {
  position: relative;
  width: 14px;
  height: 14px;
}

.nhce-ar-toggle::before,
.nhce-ar-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2.5px;
  margin-top: -1.25px;
  border-radius: 2px;
  background-color: var(--nhce-navy);
  transition: transform 0.3s ease;
}

.nhce-ar-toggle::after {
  transform: rotate(90deg);
}

.nhce-ar-year.is-open .nhce-ar-toggle::after {
  transform: rotate(0deg);
}

.nhce-ar-head:hover .nhce-ar-toggle::before,
.nhce-ar-head:hover .nhce-ar-toggle::after {
  background-color: var(--nhce-red);
}

/* Smooth open / close */
.nhce-ar-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.nhce-ar-year.is-open .nhce-ar-panel {
  grid-template-rows: 1fr;
}

.nhce-ar-panel-inner {
  min-height: 0;
  overflow: hidden;
}

/* Two columns of reports */
.nhce-ar-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 24px 18px 26px;
  align-items: start;
}

.nhce-ar-col-title {
  margin: 4px 0 16px;
  font-family: var(--nhce-font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--nhce-navy);
}

.nhce-ar-docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Report card */
.nhce-ar-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--nhce-transition), box-shadow var(--nhce-transition), transform var(--nhce-transition);
}

.nhce-ar-doc-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--nhce-navy);
  opacity: 0.7;
}

.nhce-ar-doc-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.nhce-ar-doc-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--nhce-navy);
}

.nhce-ar-doc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--nhce-text-muted);
}

/* Tile layout: one large card per entry (Class Observation Reports) */
.nhce-ar-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 26px 26px;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color var(--nhce-transition), box-shadow var(--nhce-transition);
}

/* Red accent bar that sweeps across the top on hover */
.nhce-ar-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nhce-navy), var(--nhce-red));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}

/* Fade up when the year opens (second tile slightly later) */
.nhce-ar-year.is-open .nhce-ar-tile {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.nhce-ar-year.is-open .nhce-ar-tile + .nhce-ar-tile {
  transition-delay: 0.18s;
}

.nhce-ar-year.is-open .nhce-ar-tile:hover {
  transform: translateY(-4px);
  border-color: var(--nhce-divider);
  box-shadow: 0 16px 34px rgba(11, 29, 81, 0.1);
  transition-delay: 0s;
}

.nhce-ar-tile:hover::before {
  transform: scaleX(1);
}

.nhce-ar-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(11, 29, 81, 0.07);
  color: var(--nhce-navy);
  transition: background-color var(--nhce-transition), color var(--nhce-transition), transform var(--nhce-transition);
}

.nhce-ar-tile:hover .nhce-ar-tile-icon {
  background-color: var(--nhce-navy);
  color: #ffffff;
  transform: rotate(-4deg);
}

.nhce-ar-tile-title {
  margin: 0 0 4px;
  font-family: var(--nhce-font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--nhce-navy);
}

@media (prefers-reduced-motion: reduce) {
  .nhce-ar-tile,
  .nhce-ar-tile::before,
  .nhce-ar-tile-icon {
    transition: none;
  }

  .nhce-ar-tile {
    opacity: 1;
    transform: none;
  }
}

/* Optional View PDF button on the right of a card (reuses .nhce-pol-btn) */
.nhce-ar-doc .nhce-pol-btn {
  flex-shrink: 0;
  margin-left: auto;
}

.nhce-ar-doc.is-ready:hover .nhce-pol-btn::before {
  transform: scaleX(1);
}

/* Card with an uploaded PDF */
.nhce-ar-doc.is-ready .nhce-ar-doc-status {
  font-weight: 700;
  color: var(--nhce-red);
}

.nhce-ar-doc.is-ready:hover,
.nhce-ar-doc.is-ready:focus-visible {
  border-color: var(--nhce-navy);
  box-shadow: 0 10px 22px rgba(11, 29, 81, 0.1);
  transform: translateY(-2px);
}

.nhce-ar-doc.is-ready:hover .nhce-ar-doc-icon {
  color: var(--nhce-red);
  opacity: 1;
}

@media (max-width: 767px) {
  .nhce-ar-head {
    padding: 18px;
  }

  .nhce-ar-year-label {
    font-size: 21px;
  }

  .nhce-ar-cols {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px 14px 22px;
  }

  .nhce-ar-doc {
    padding: 15px 14px;
    gap: 12px;
  }

  .nhce-ar-doc-title {
    font-size: 14.5px;
  }
}

@media (max-width: 420px) {
  .nhce-ar-doc {
    flex-wrap: wrap;
  }

  .nhce-ar-doc-text {
    flex: 1 1 calc(100% - 30px);
  }

  .nhce-ar-doc .nhce-pol-btn {
    margin-left: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nhce-ar-panel,
  .nhce-ar-toggle::before,
  .nhce-ar-toggle::after {
    transition: none;
  }
}

/* =========================================================
   FRAMEWORK VISUAL AT THE END OF THE PAGE (nhce-fw-*)
   Audits, Class Observation
   ========================================================= */
.nhce-fw-section {
  background-color: var(--nhce-canvas);
  border-top: 1px solid var(--nhce-border);
}

.nhce-fw-figure {
  position: relative;
  margin: 0 auto;
  padding: 16px;
  overflow: hidden;
  background-color: var(--nhce-surface);
  border: 1px solid var(--nhce-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 29, 81, 0.1);
  animation: nhceFwIn 0.6s ease both;
}

/* Thin navy-to-red line along the top */
.nhce-fw-figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nhce-navy), var(--nhce-red));
}

/* Tall image: narrower card so it stays readable without endless scrolling */
.nhce-fw-portrait {
  max-width: 760px;
}

/* Wide image: use more of the page width */
.nhce-fw-landscape {
  max-width: 1100px;
}

.nhce-fw-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@keyframes nhceFwIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .nhce-fw-figure {
    padding: 8px;
    border-radius: 12px;
  }

  .nhce-fw-image {
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nhce-fw-figure {
    animation: none;
  }
}

/* =========================================================
   AUDITS PAGE STATS & STYLES
   ========================================================= */
.nhce-audit-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.nhce-audit-stat-card {
  background-color: var(--nhce-canvas);
  border: 1px solid var(--nhce-border);
  border-radius: var(--nhce-radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(11, 29, 81, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nhce-audit-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--nhce-navy);
}

.nhce-audit-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--nhce-red);
  line-height: 1.1;
  margin-bottom: 8px;
}

.nhce-audit-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--nhce-navy);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .nhce-audit-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =========================================================
   COLLAPSIBLE INFOGRAPHIC ACCORDION STYLES
   ========================================================= */
.nhce-info-accordion-wrapper {
  width: 100%;
  border-radius: var(--nhce-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.06);
}

.nhce-info-accordion-header {
  width: 100%;
  background-color: var(--nhce-navy);
  color: var(--nhce-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.25s ease;
}

.nhce-info-accordion-header:hover {
  background-color: var(--nhce-navy-dark);
}

.nhce-info-header-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--nhce-surface);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.nhce-info-header-subtitle {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.nhce-info-toggle-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nhce-surface);
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.3s ease;
}

.nhce-info-accordion-wrapper.is-open .nhce-info-toggle-btn {
  transform: rotate(45deg); /* Turns the plus into an X when open */
  background-color: rgba(223, 31, 38, 0.25);
  color: #ff6b6b;
}

/* Accordion Body Panel */
.nhce-info-accordion-body {
  max-height: 0;
  overflow: hidden;
  background-color: var(--nhce-canvas);
  border-left: 1px solid var(--nhce-border);
  border-right: 1px solid var(--nhce-border);
  border-bottom: 1px solid var(--nhce-border);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nhce-info-accordion-wrapper.is-open .nhce-info-accordion-body {
  max-height: 2000px; /* Smooth expansion to fit image */
}

.nhce-info-body-inner {
  padding: 32px 24px;
  text-align: center;
}

.nhce-info-schema-image {
  width: 100%;
  max-width: 800px;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: var(--nhce-radius-sm);
  border: 1px solid var(--nhce-border);
  background-color: var(--nhce-surface);
  box-shadow: 0 4px 16px rgba(11, 29, 81, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nhce-info-accordion-header {
    padding: 18px 20px;
  }
  .nhce-info-header-title {
    font-size: 17px;
  }
  .nhce-info-header-subtitle {
    font-size: 12.5px;
  }
  .nhce-info-body-inner {
    padding: 20px 16px;
  }
}

/* =========================================================
   PRIMARY ACTION BUTTON STYLES
   ========================================================= */
.nhce-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--nhce-btn-primary-bg);
  color: var(--nhce-btn-primary-text);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--nhce-radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(11, 29, 81, 0.15);
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nhce-btn-primary:hover {
  background-color: var(--nhce-btn-primary-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 31, 38, 0.25);
  color: var(--nhce-btn-primary-hover-text);
}