@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --ink: #071c14;
  --muted: #4f5f5a;
  --line: #e3ece8;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --mist: #e2f2e9;
  --green: #108a55;
  --green-dark: #0a5c38;
  --green-deep: #052618;
  --gold: #d4a32b;
  --gold-soft: #fcf4dd;
  --red: #a82d3e;
  --blue: #1b6397;
  --shadow: 0 20px 40px rgba(3, 33, 20, 0.06);
  --shadow-soft: 0 10px 30px rgba(3, 33, 20, 0.03);
  --shadow-glow: 0 0 25px rgba(16, 138, 85, 0.12);
  --shadow-gold-glow: 0 0 25px rgba(212, 163, 43, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(180deg, #f7faf8 0%, #ffffff 35%), var(--paper);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* Preloader styling */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff, #eaf5ef);
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
}
.preloader-mark span {
  position: absolute;
  inset: 0;
  border: 4px solid transparent;
  border-top-color: var(--green);
  border-right-color: var(--gold);
  border-radius: 50%;
  clip-path: inset(0 0 50% 0);
  animation: ringSweep 1.25s linear infinite;
}
.preloader-mark span:nth-child(2) {
  inset: 18px;
  border-top-color: var(--red);
  border-right-color: var(--green-dark);
  animation-duration: 1.65s;
  animation-direction: reverse;
}
.preloader-mark span:nth-child(3) {
  inset: 36px;
  border-top-color: var(--gold);
  border-right-color: var(--blue);
  animation-duration: 2s;
}
.preloader-mark img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: 0 16px 42px rgba(7,58,41,.18);
  animation: logoPulse 1.1s ease-in-out infinite alternate;
}
body.preloader-done .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Glassmorphism helpers */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-dark {
  background: rgba(5, 38, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.grid-pattern {
  background-color: var(--green-deep);
  background-image: 
    radial-gradient(rgba(212, 163, 43, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* Top bar strip */
.top-strip { 
  background: #031811; 
  color: rgba(255, 255, 255, 0.85); 
  font-size: 13px; 
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-strip-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 20px; 
  padding: 10px 0; 
}
.top-strip-inner span { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  white-space: nowrap; 
}
.top-strip-inner span i {
  color: var(--gold);
}
.top-social { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.top-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); font-size: 12px; transition: all 0.2s ease; }
.top-social a:hover { color: #fff; background: var(--green); transform: translateY(-1px); }
.top-social a.portal-link { 
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 6px 14px; 
  border-radius: 999px; 
  background: var(--gold); 
  color: var(--green-deep); 
  font-weight: 800; 
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.top-social a.portal-link:hover {
  background: #fff;
  color: var(--green-deep);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(212, 163, 43, 0.3);
}

/* Header & Main Navigation */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 999; 
  background: rgba(255,255,255,0.85); 
  box-shadow: 0 10px 30px rgba(5,38,24,0.04); 
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(227, 236, 232, 0.6);
  transition: all 0.3s ease;
}
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.brand img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(7,58,41,0.12)); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--font-serif); font-size: 25px; font-weight: 800; color: var(--green-deep); letter-spacing: -0.2px; line-height: 1.1; }
.brand small { color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 2px; }
.nav-toggle, .drawer-close, .drawer-scrim { display: none; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.nav-links a { 
  position: relative; 
  padding: 10px 18px; 
  border-radius: 999px; 
  color: var(--muted); 
  font-size: 14px; 
  font-weight: 700; 
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover, .nav-links a.active { 
  color: var(--green-dark); 
  background: var(--mist); 
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* Hero Section */
.hero { 
  min-height: 720px; 
  position: relative; 
  display: grid; 
  align-items: center; 
  isolation: isolate; 
  overflow: hidden; 
}
.hero.compact { min-height: 480px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: heroDrift 20s ease-in-out infinite alternate; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at 80% 20%, rgba(212, 163, 43, 0.18), transparent 45%),
    linear-gradient(90deg, rgba(3, 22, 14, 0.95) 25%, rgba(5, 38, 24, 0.75) 60%, rgba(7, 58, 41, 0.25) 100%),
    linear-gradient(0deg, rgba(3, 22, 14, 0.95) 0%, rgba(3, 22, 14, 0) 50%);
}
.hero-content { padding: 120px 0 100px; color: #fff; animation: fadeUp .8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.kicker { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  margin: 0 0 20px; 
  color: var(--gold); 
  font-size: 13px; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 999px; background: currentColor; }
.hero h1 { 
  max-width: 860px; 
  margin: 0; 
  font-family: var(--font-sans);
  font-size: clamp(40px, 6.5vw, 68px); 
  font-weight: 800;
  line-height: 1.08; 
  letter-spacing: -1.5px; 
}
.hero.compact h1 { font-family: var(--font-serif); font-size: clamp(34px, 5.5vw, 56px); font-weight: 700; letter-spacing: -0.5px; }
.hero p:not(.kicker) { 
  max-width: 720px; 
  margin: 22px 0 0; 
  color: rgba(255,255,255,0.85); 
  font-size: 18px; 
  font-weight: 400; 
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* In-Hero Search Form */
.hero-search-container {
  max-width: 620px;
  margin-top: 40px;
  animation: fadeUp .9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(3, 22, 14, 0.25);
  transition: all 0.3s ease;
}
.hero-search-form:focus-within {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--green);
  box-shadow: 0 15px 35px rgba(16, 138, 85, 0.15);
}
.hero-search-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 24px;
  font-size: 15px;
  color: #fff;
  font-family: var(--font-sans);
  outline: none;
}
.hero-search-form:focus-within input {
  color: var(--ink);
}
.hero-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.hero-search-form:focus-within input::placeholder {
  color: var(--muted);
}
.hero-search-form button {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.hero-search-form button:hover {
  background: linear-gradient(135deg, var(--gold), #e0b443);
  color: var(--green-deep);
  transform: scale(1.02);
}

.hero-pager {
  position: absolute;
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 84px;
  z-index: 2;
  display: grid;
  gap: 12px;
}
.hero-pager span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  background: rgba(3, 22, 14, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-pager span:first-child { color: var(--green-deep); background: var(--gold); border-color: var(--gold); box-shadow: var(--shadow-gold-glow); }

/* Buttons & Interactive Elements */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  min-height: 52px; 
  padding: 12px 28px; 
  border: 0; 
  border-radius: 999px; 
  font-weight: 800; 
  font-size: 14px;
  cursor: pointer; 
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--gold), #f3d484); color: var(--green-deep); }
.btn.primary:hover { background: linear-gradient(135deg, #fff, var(--gold-soft)); box-shadow: var(--shadow-gold-glow); }
.btn.secondary { border: 1px solid rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); }
.btn.secondary:hover { background: #fff; color: var(--green-deep); }
.btn.outline { border: 1px solid var(--line); color: var(--green-dark); background: #fff; }
.btn.outline:hover { background: var(--soft); color: var(--green-deep); border-color: var(--green); }
.hero-actions.on-light .btn.secondary { color: var(--green-dark); border-color: var(--line); background: var(--soft); }

/* Sections */
.section { padding: 96px 0; position: relative; }
.section h1, .section h2 { max-width: 860px; margin: 0 0 20px; font-weight: 800; line-height: 1.15; color: var(--green-deep); }
.section h1 { font-size: clamp(34px, 5.5vw, 60px); letter-spacing: -0.5px; }
.section h2 { font-size: clamp(28px, 4.2vw, 42px); letter-spacing: -0.5px; }
.section p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.section.soft { background: linear-gradient(180deg, var(--soft), #ffffff); }
.band { padding: 60px 0; background: linear-gradient(135deg, var(--green-deep), var(--green-dark)); box-shadow: inset 0 1px rgba(255,255,255,0.06); color: #fff; }

/* Floating Quick Routes / Popular Links */
.quick-routes { position: relative; z-index: 10; margin-top: -54px; }
.quick-routes-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(16, 138, 85, 0.08);
  box-shadow: 0 30px 60px rgba(3, 22, 14, 0.08);
}
.quick-routes a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-routes a:last-child { border-right: 0; }
.quick-routes a:hover { background: var(--soft); transform: translateY(-3px); color: var(--green); }
.quick-routes .fa {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--green-dark);
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(212, 163, 43, 0.15);
  transition: all 0.3s ease;
}
.quick-routes a:hover .fa {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: rotate(10deg);
}

/* Section Header */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading.light h2 { color: #fff; }
.text-link { color: var(--green); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }
.text-link i { transition: transform 0.2s ease; }
.text-link:hover { color: var(--green-deep); }
.text-link:hover i { transform: translateX(4px); }
.section-heading.light .text-link { color: var(--gold); }
.section-heading.light .text-link:hover { color: #fff; }

/* Grid Layouts & Cards */
.action-grid, .card-grid, .suggestion-grid, .leader-grid, .chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.action-grid { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-grid a, .info-card, .chart-card, .side-nav, .timeline article {
  min-height: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.action-grid a:hover, .info-card:hover, .chart-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow); 
  border-color: rgba(16, 138, 85, 0.2); 
}
.action-grid a { display: flex; align-items: center; gap: 14px; color: var(--green-deep); font-weight: 800; background: linear-gradient(135deg, #fff, var(--soft)); }
.action-grid a .fa { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--green-dark); background: var(--gold-soft); }

.info-card span { display: block; color: var(--red); font-weight: 800; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.info-card strong { display: block; color: var(--ink); font-size: 20px; line-height: 1.4; font-weight: 800; }
.info-card p { margin-top: 10px; margin-bottom: 0; font-size: 14px; }
.card-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 12px; color: var(--green-dark); background: linear-gradient(135deg, var(--gold-soft), #fff); box-shadow: inset 0 0 0 1px rgba(212, 163, 43, 0.2); }

/* Vice Chancellor Welcome Section */
.vc-welcome {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.vc-portrait-wrapper {
  position: relative;
  padding: 15px;
}
.vc-portrait-wrapper::before {
  content: "";
  position: absolute;
  inset: 0 30px 30px 0;
  border-radius: 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 163, 43, 0.3);
  z-index: 1;
}
.vc-portrait-wrapper::after {
  content: "";
  position: absolute;
  inset: 30px 0 0 30px;
  border-radius: 16px;
  background: var(--mist);
  z-index: 1;
}
.vc-portrait {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
}
.vc-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s ease; }
.vc-portrait-wrapper:hover .vc-portrait img { transform: scale(1.03); }
.vc-copy {
  padding: 10px 0;
}
.vc-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-deep);
  margin-bottom: 24px;
}
.vc-quote {
  position: relative;
  background: var(--soft);
  border-left: 4px solid var(--green);
  padding: 24px 30px;
  border-radius: 0 16px 16px 0;
  margin-bottom: 28px;
}
.vc-quote p {
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.vc-quote i.fa-quote-left {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 32px;
  color: rgba(16, 138, 85, 0.08);
}
.vc-signature-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.vc-signature-details strong {
  display: block;
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 800;
}
.vc-signature-details span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vc-signature-sig {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

/* Drop-cap helper */
.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--green);
}

/* Gateways Hub */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.gateway-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gateway-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.25);
}
.gateway-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.gateway-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--green);
  font-size: 20px;
  transition: all 0.3s ease;
}
.gateway-card:hover .gateway-icon {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.gateway-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-deep);
}
.gateway-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-grow: 1;
}
.gateway-links {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.gateway-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.gateway-links li a i {
  color: var(--gold);
  font-size: 12px;
  transition: transform 0.2s ease;
}
.gateway-links li a:hover {
  color: var(--green);
}
.gateway-links li a:hover i {
  transform: translateX(4px);
}
.gateway-action {
  width: 100%;
}

/* Event Grid & Card */
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow); 
  border-color: rgba(16, 138, 85, 0.22); 
}
.event-image { display: block; overflow: hidden; background: var(--soft); position: relative; }
.event-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.event-card:hover .event-image img { transform: scale(1.05); }
.event-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green-deep);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(3, 22, 14, 0.3);
}
.event-body { 
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px; 
}
.event-body h3 { 
  margin: 0 0 12px; 
  font-size: 21px; 
  font-weight: 800;
  line-height: 1.3; 
  color: var(--green-deep);
}
.event-body p { margin: 0 0 20px; font-size: 14.5px; color: var(--muted); }
.event-meta { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 14px; 
  color: var(--muted); 
  font-size: 13px; 
  font-weight: 700; 
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}
.event-meta time {
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-meta time i {
  color: var(--gold);
}
.event-meta a { 
  color: var(--green); 
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.event-meta a:hover {
  color: var(--green-deep);
}
.event-meta a i {
  transition: transform 0.2s ease;
}
.event-meta a:hover i {
  transform: translateX(3px);
}

/* Statistics Grid Section */
.glance-band { padding: 86px 0; }
.stat-grid { 
  display: grid; 
  grid-template-columns: repeat(8, minmax(0, 1fr)); 
  gap: 16px; 
}
.stat { 
  color: #fff; 
  padding: 24px 12px; 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 16px; 
  background: rgba(255,255,255,0.04); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 163, 43, 0.12);
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(212, 163, 43, 0.05);
  transition: all 0.3s ease;
}
.stat:hover .stat-icon {
  background: var(--gold);
  color: var(--green-deep);
  transform: scale(1.05);
}
.stat:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212, 163, 43, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-glow);
}
.stat strong { 
  display: block; 
  font-size: 26px; 
  font-weight: 800;
  line-height: 1.1; 
  letter-spacing: -0.5px; 
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212, 163, 43, 0.15);
  margin-bottom: 6px;
}
.stat span { 
  color: rgba(255,255,255,0.7); 
  font-size: 11px; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  line-height: 1.2;
}

/* Portal CTA Band */
.portal-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(3, 22, 14, 0.96) 30%, rgba(10, 92, 56, 0.85)), url("../images/university/campus-gate.png") center/cover;
  color: #fff;
  box-shadow: 0 30px 60px rgba(3, 22, 14, 0.15);
}
.portal-cta p { color: rgba(255,255,255,0.8); font-size: 16px; margin: 18px 0 28px; }
.portal-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin: 0; }
.portal-tabs { display: grid; gap: 14px; }
.portal-tabs a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.portal-tabs a:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-deep);
  border-color: #fff;
  transform: translateX(6px);
  box-shadow: 0 10px 25px rgba(3, 22, 14, 0.2);
}
.portal-tabs .fa {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 163, 43, 0.18);
  color: var(--gold);
  font-size: 16px;
  transition: all 0.25s ease;
}
.portal-tabs a:hover .fa {
  background: var(--mist);
  color: var(--green);
}

/* Page Layout templates */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.side-nav { position: sticky; top: 118px; display: grid; gap: 8px; min-height: 0; background: #ffffff; border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.side-nav strong { margin-bottom: 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--green-deep); letter-spacing: 0.5px; }
.side-nav a { padding: 12px 16px; border-radius: 8px; color: var(--muted); font-weight: 700; transition: all 0.2s ease; }
.side-nav a.active, .side-nav a:hover { color: var(--green-dark); background: var(--soft); }

/* Content layouts */
.page-content { min-width: 0; }
.content-block { margin-bottom: 34px; }
.content-block p { font-size: 17px; background: linear-gradient(90deg, rgba(16,138,85,0.04), transparent); padding: 6px 0 6px 20px; border-left: 4px solid var(--green); }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 0 0 34px; list-style: none; }
.feature-list li { position: relative; padding: 18px 20px 18px 52px; border: 1px solid var(--line); background: #ffffff; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow-soft); transition: transform 0.2s ease; }
.feature-list li:hover { transform: translateX(4px); }
.feature-list li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }

/* Tables and figures */
.table-wrap { overflow-x: auto; margin: 34px 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #fff; background: linear-gradient(135deg, var(--green-dark), var(--green)); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
tbody tr:nth-child(even) { background: #fafdfa; }
tbody tr:hover { background: var(--soft); }
tr:last-child td { border-bottom: 0; }
.page-figure { margin: 36px 0; }
.page-figure img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; font-style: italic; }

/* Charts styles */
.chart-panel, .chart-card { min-height: 400px; }
.chart-card { grid-column: span 1; display: flex; flex-direction: column; }
.chart-card h2 { font-size: 20px; color: var(--green-deep); margin-bottom: 20px; font-weight: 800; }

/* Gallery layout */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(16, 138, 85, 0.2); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 18px 20px; margin: 0; font-weight: 700; color: var(--green-deep); }
.image-detail { margin: 30px 0 0; }
.image-detail img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 16px; background: #fbfdfc; box-shadow: var(--shadow); border: 1px solid var(--line); }
.image-detail figcaption { font-size: 16px; padding: 18px 0; }

/* Search components */
.search-form { display: flex; gap: 14px; margin: 30px 0 40px; }
.search-form input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  outline: none;
  transition: all 0.25s ease;
}
.search-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 138, 85, 0.08);
}

/* Site Footer */
.site-footer { padding: 0 0 40px; background: #031811; color: rgba(255, 255, 255, 0.7); border-top: 4px solid var(--gold); }
.footer-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-hero h2 { max-width: 760px; margin: 0; color: #fff; font-family: var(--font-serif); font-size: clamp(26px, 4vw, 42px); line-height: 1.2; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; gap: 40px; padding: 50px 0 30px; }
.site-footer img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.site-footer h2 { margin: 0 0 20px; color: #fff; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer a { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: rgba(255, 255, 255, 0.7); }
.site-footer a i { color: var(--gold); font-size: 11px; transition: transform 0.2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer a:hover i { transform: translateX(3px); }
.footer-about p { max-width: 360px; font-size: 14.5px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px; }

/* Newsletter Mockup styling */
.newsletter-form {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 100%;
}
.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.newsletter-form button {
  background: var(--green);
  color: white;
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.newsletter-form button:hover {
  background: var(--gold);
  color: var(--green-deep);
}

/* Admin interface overrides */
.admin-shell { min-height: 100vh; background: #f0f4f2; padding-left: 280px; transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; padding: 26px; background: linear-gradient(180deg, var(--green-deep), var(--green-dark)); color: #fff; overflow-y: auto; border-right: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; z-index: 1000; transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.admin-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.admin-brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand small { color: rgba(255, 255, 255, 0.6); font-size: 11px; }
.admin-side-nav { display: grid; gap: 4px; }
.nav-group-label { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--gold); opacity: 0.7; letter-spacing: 1px; margin: 16px 0 6px 14px; }
.admin-side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; color: rgba(255, 255, 255, 0.7); font-weight: 700; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.admin-side-nav a:hover, .admin-side-nav a.active { color: #ffffff; background: rgba(255, 255, 255, 0.06); transform: translateX(4px); }
.admin-side-nav a.active { background: linear-gradient(90deg, rgba(212, 163, 43, 0.15), transparent); border-left: 3px solid var(--gold); padding-left: 13px; }
.admin-side-nav span, .admin-metric i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.9); font-style: normal; font-size: 14px; transition: all 0.3s ease; }
.admin-side-nav a:hover span, .admin-side-nav a.active span { background: rgba(212, 163, 43, 0.15); color: var(--gold); }
.admin-sidebar-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.admin-avatar-row { display: flex; align-items: center; gap: 12px; }
.admin-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; font-size: 15px; color: var(--gold); }
.admin-version { font-size: 11px; color: rgba(255, 255, 255, 0.4); margin-top: 12px; }
.admin-main { min-height: 100vh; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 32px; background: rgba(255, 255, 255, 0.85); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; }
.admin-topbar-left { display: flex; align-items: center; gap: 16px; }
.admin-menu-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--green-deep); cursor: pointer; }
.admin-breadcrumb { font-size: 13.5px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.admin-breadcrumb .current { color: var(--green-deep); font-weight: 700; }
.admin-topbar-right { display: flex; align-items: center; gap: 16px; }
.admin-topbar-date { font-size: 13px; font-weight: 600; color: var(--muted); }
.admin-topbar-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--green); border: 1px solid var(--line); transition: all 0.2s ease; }
.admin-topbar-btn:hover { background: var(--green); color: #ffffff; transform: translateY(-2px); }
.admin-topbar-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green-deep); color: #ffffff; display: grid; place-items: center; font-size: 15px; }
.admin-panel { padding: 32px; flex: 1; }
.admin-content-footer { padding: 20px 32px; text-align: center; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.5); }
.flash { padding: 14px 18px; margin-bottom: 22px; border-radius: 12px; background: #e6f6ee; color: var(--green-dark); font-weight: 800; border: 1px solid rgba(16, 138, 85, 0.15); display: flex; align-items: center; gap: 10px; }

/* Admin Grid System & Metrics */
.admin-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.admin-metric-card { background: #ffffff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 20px; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.admin-metric-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(7, 28, 20, 0.08); }
.metric-icon-wrap { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--soft); color: var(--green); border: 1px solid var(--line); flex-shrink: 0; }
.metric-body { display: flex; flex-direction: column; }
.metric-label { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-size: 32px; font-weight: 850; color: var(--green-deep); line-height: 1.2; margin: 4px 0; }
.metric-sub { font-size: 11px; color: var(--muted); }
.metric-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; }
.metric-pages .metric-accent { background: #108a55; }
.metric-gallery .metric-accent { background: #3b82f6; }
.metric-charts .metric-accent { background: #8b5cf6; }
.metric-notices .metric-accent { background: var(--gold); }

/* Quick Actions Grid */
.admin-section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.admin-section-header h3 { font-family: var(--serif); font-size: 22px; color: var(--green-deep); font-weight: 850; margin: 0; }
.admin-section-header p { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }
.badge-count { background: var(--soft); color: var(--green-deep); font-weight: 800; font-size: 12.5px; padding: 6px 14px; border-radius: 50px; border: 1px solid var(--line); }
.admin-quick-actions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 32px; }
.quick-action-card { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; align-items: center; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.quick-action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16, 138, 85, 0.15); }
.qa-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--green); display: grid; place-items: center; font-size: 18px; margin-bottom: 12px; border: 1px solid var(--line); }
.quick-action-card strong { font-size: 14.5px; color: var(--green-deep); margin-bottom: 4px; }
.quick-action-card span { font-size: 11px; color: var(--muted); }

/* System Health Section */
.admin-system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.system-item { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-soft); }
.sys-icon { font-size: 18px; color: var(--green); }
.system-item strong { display: block; font-size: 13.5px; color: var(--green-deep); }
.system-item span { display: block; font-size: 12px; color: var(--muted); font-family: monospace; }

/* Admin Buttons & Inputs */
.admin-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 13.5px; font-weight: 750; cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; }
.admin-btn.primary { background: var(--green); color: #ffffff; }
.admin-btn.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.admin-btn.outline { background: #ffffff; color: var(--green-deep); border: 1px solid var(--line); }
.admin-btn.outline:hover { background: var(--soft); border-color: var(--green-deep); }
.admin-search-bar { position: relative; margin-bottom: 20px; }
.admin-search-bar i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.admin-search-bar input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; outline: none; transition: all 0.25s ease; }
.admin-search-bar input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 138, 85, 0.08); }

/* Table Overrides */
.table-thumb { width: 60px; height: 38px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.no-image { color: var(--muted); font-size: 12px; }
.table-badge { background: var(--soft); color: var(--green-dark); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; }
.table-action { color: var(--muted); margin: 0 6px; font-size: 15px; transition: color 0.2s; }
.table-action:hover { color: var(--green); }
.table-action.danger:hover { color: #ef4444; }

/* Admin Form layout */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13.5px; font-weight: 750; color: var(--green-deep); margin-bottom: 0; }
.form-field input, .form-field textarea { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; outline: none; transition: all 0.25s ease; width: 100%; background: #fff; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 138, 85, 0.08); }
.form-hint { font-size: 12px; color: var(--muted); margin-top: -4px; }
.form-actions { display: flex; gap: 12px; margin-top: 12px; }

/* Drag & Drop Upload Zone */
.upload-zone { border: 2px dashed var(--line); border-radius: 12px; padding: 24px; text-align: center; background: #ffffff; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--green); background: var(--soft); }
.upload-zone-content { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.upload-preview-img { max-width: 100%; max-height: 180px; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-soft); }
.upload-prompt { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.upload-prompt i { font-size: 28px; color: var(--green); }
.upload-prompt strong { font-size: 14px; color: var(--green-deep); }
.upload-prompt span { font-size: 11.5px; color: var(--muted); }
.upload-file-input { display: none; }

/* Gallery Admin */
.admin-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-gallery-item { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.2s ease; }
.admin-gallery-item:hover { transform: translateY(-2px); }
.gallery-thumb-wrap { position: relative; height: 140px; }
.gallery-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gallery-delete-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(239, 68, 68, 0.9); color: #ffffff; display: grid; place-items: center; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: all 0.2s ease; }
.gallery-delete-btn:hover { background: #dc2626; transform: scale(1.1); }
.gallery-caption-input { padding: 10px; }
.gallery-caption-input input { width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; outline: none; }
.gallery-caption-input input:focus { border-color: var(--green); }

/* Settings Layout */
.settings-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-bottom: 24px; }
.settings-logo-section { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px; }
.logo-preview { max-height: 120px; object-fit: contain; }

/* Notices Admin */
.admin-notices-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.admin-notice-card { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; gap: 16px; box-shadow: var(--shadow-soft); position: relative; transition: all 0.25s ease; }
.admin-notice-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.notice-card-body { flex: 1; }
.notice-card-meta { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.admin-notice-card h4 { font-size: 16.5px; color: var(--green-deep); margin: 0 0 6px; font-weight: 800; }
.admin-notice-card p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0; }
.notice-card-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.notice-card-actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; border-left: 1px solid var(--line); padding-left: 12px; }

/* Responsive Media Queries for Admin Console */
@media (max-width: 1200px) {
  .admin-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-quick-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .admin-shell { padding-left: 0; }
  .admin-sidebar { left: -286px; z-index: 2000; transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
  .admin-sidebar.open { left: 0; }
  .admin-menu-toggle { display: block; }
  .admin-quick-actions { grid-template-columns: repeat(2, 1fr); }
  .admin-system-grid, .admin-gallery-grid, .admin-notices-list, .settings-layout, .form-grid-2 { grid-template-columns: 1fr; }
}

/* Admin Login Page overrides */
.admin-login-body { min-height: 100vh; background: linear-gradient(135deg, rgba(5, 38, 24, 0.95), rgba(16, 138, 85, 0.85)), url("../images/docx/image9.png") center/cover fixed; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-login-card { width: min(480px, 100%); padding: 46px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 40px 80px rgba(3, 22, 14, 0.3); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.login-emblem img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 24px; }
.admin-login-card h1 { margin: 0 0 12px; font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--green-deep); }

/* Keyframes & Scroll Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(0.16, 1, 0.3, 1), transform .75s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes logoPulse {
  from { transform: scale(.95); filter: drop-shadow(0 8px 16px rgba(7,58,41,.12)); }
  to { transform: scale(1.03); filter: drop-shadow(0 16px 28px rgba(7,58,41,.22)); }
}

@keyframes ringSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Tablet Layout & Navigation */
@media (max-width: 980px) {
  body.nav-open { overflow: hidden; }
  .top-strip { font-size: 12px; }
  .top-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    padding: 10px 0;
  }
  .top-strip-inner span { min-width: 0; white-space: nowrap; }
  .top-strip-inner > span:nth-child(2) { justify-self: end; }
  .top-strip-inner > span:nth-child(3) { grid-column: 1 / 2; }
  .top-social {
    grid-column: 2 / 3;
    margin-left: 0;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .top-social a { width: 24px; height: 24px; font-size: 11px; }
  .top-social a.portal-link { padding: 4px 10px; font-size: 10.5px; }
  
  .nav-shell { min-height: 72px; padding: 10px 0; }
  .brand { min-width: 0; flex: 1; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 10px; }
  
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--green-dark);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .nav-toggle:hover {
    background: var(--soft);
    color: var(--green);
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: min(85vw, 340px);
    height: 100vh;
    padding: 90px 24px 30px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(3, 22, 14, 0.15);
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-radius: 10px;
    padding: 12px 18px;
    color: var(--ink);
    font-size: 15px;
  }
  .drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft);
    color: var(--green-dark);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .drawer-close:hover {
    background: var(--mist);
  }
  .drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 9998;
    border: 0;
    background: rgba(3, 22, 14, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open .drawer-scrim {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .hero-pager { right: 20px; bottom: 30px; grid-auto-flow: column; }
  .hero-pager span { width: 38px; height: 38px; font-size: 11px; }
  
  .quick-routes { margin-top: 0; }
  .quick-routes-inner, .stat-grid, .split, .vc-welcome, .action-grid, .card-grid, .event-grid, .suggestion-grid, .leader-grid, .chart-grid, .page-layout, .gallery-grid, .footer-grid, .portal-cta, .gateways-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .quick-routes-inner { border-radius: 0; width: calc(100% + 40px); margin-left: -20px; border-left: 0; border-right: 0; }
  .quick-routes a { border-right: 0; border-bottom: 1px solid var(--line); min-height: 80px; }
  .quick-routes a:last-child { border-bottom: 0; }
  
  .vc-portrait-wrapper { max-width: 480px; margin: 0 auto; }
  
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .side-nav { position: static; }
  .admin-shell { padding-left: 0; }
  .admin-sidebar { position: static; width: auto; }
  .admin-topbar, .footer-hero, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .portal-cta { padding: 40px; }
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px; }
}

/* Mobile Screen Layout */
@media (max-width: 540px) {
  .container { width: min(100% - 24px, 1200px); }
  .top-strip { font-size: 11px; }
  .top-strip-inner { gap: 8px; }
  .top-strip-inner > span:nth-child(2) { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .top-strip-inner > span:nth-child(3) { font-size: 10px; }
  .top-social { gap: 4px; }
  .top-social a.portal-link { padding: 4px 8px; font-size: 10px; }
  
  .brand strong { font-size: 19px; }
  .brand small { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  
  .hero, .hero.compact { min-height: 540px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.8px; }
  .hero-content { padding: 70px 0; }
  .hero-search-container { margin-top: 24px; }
  .hero-search-form { padding: 4px; flex-direction: column; border-radius: 16px; background: rgba(255, 255, 255, 0.95); border-color: rgba(255, 255, 255, 1); }
  .hero-search-form input { padding: 12px 16px; font-size: 14px; color: var(--ink); }
  .hero-search-form input::placeholder { color: var(--muted); }
  .hero-search-form button { width: 100%; justify-content: center; border-radius: 12px; }
  
  .btn, .search-form { width: 100%; }
  .search-form { flex-direction: column; }
  
  .vc-quote { padding: 18px 20px; }
  .portal-cta { padding: 28px 24px; }
  .newsletter-form { flex-direction: column; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ==========================================================================
   ACADEMICS PAGES STYLES
   ========================================================================== */

/* Directory & Toolbar Utilities */
.directory-search, .directory-toolbar, .catalog-header-bar, .int-search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}
.search-box-wrapper {
  position: relative;
  flex: 1;
  max-width: 460px;
}
.search-box-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
}
.search-box-wrapper input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 138, 85, 0.08);
}
.search-box-wrapper .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
}
.directory-stats-summary {
  display: flex;
  gap: 20px;
}
.directory-stats-summary span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.directory-stats-summary span strong {
  color: var(--green-deep);
}

/* College Interactive Cards */
.colleges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.college-card-interactive {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.college-card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.15);
}
.college-card-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(3, 22, 14, 0.02), rgba(16, 138, 85, 0.03));
  border-bottom: 1px solid var(--line);
  position: relative;
}
.college-code {
  position: absolute;
  right: 24px;
  top: 24px;
  background: var(--soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.college-card-header h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green-deep);
  margin: 0 0 12px;
  padding-right: 50px;
  line-height: 1.3;
}
.dean-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.dean-info i {
  color: var(--gold);
}
.college-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.college-meta-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  background: var(--soft);
  padding: 12px;
  border-radius: 12px;
}
.college-meta-metrics .metric {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--line);
}
.college-meta-metrics .metric:last-child {
  border-right: 0;
}
.college-meta-metrics .metric i {
  color: var(--green);
  font-size: 14px;
}
.college-meta-metrics .metric span {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.college-meta-metrics .metric span small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

/* Departments Toggle & Accordion list */
.departments-toggle-section {
  margin-top: auto;
}
.toggle-deps-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.toggle-deps-btn:hover, .toggle-deps-btn.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}
.departments-list-slide {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.departments-list-slide.open {
  max-height: 400px;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
}
.departments-list-slide table {
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  border: 0;
}
.departments-list-slide th, .departments-list-slide td {
  padding: 10px 14px;
  font-size: 12.5px;
}
.departments-list-slide th {
  background: #f4f8f6;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 11px;
}
.departments-list-slide td.hod-name {
  color: var(--muted);
  font-weight: 600;
}

/* Upcoming Academics Cards */
.upcoming-colleges-section {
  background: var(--soft);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--line);
}
.upcoming-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.upcoming-header i {
  color: var(--gold);
  font-size: 24px;
}
.upcoming-header h3 {
  font-size: 22px;
  font-family: var(--serif);
  color: var(--green-deep);
  margin: 0;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.upcoming-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.upcoming-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 16px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  display: inline-block;
}
.upcoming-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.upcoming-card ul li {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.upcoming-card ul li i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

/* Accreditation Status Badge Overrides */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-full {
  background: rgba(16, 138, 85, 0.1);
  color: var(--green);
  border: 1px solid rgba(16, 138, 85, 0.2);
}
.status-interim {
  background: rgba(212, 163, 43, 0.1);
  color: #b45309;
  border: 1px solid rgba(212, 163, 43, 0.25);
}
.status-awaiting {
  background: rgba(43, 108, 176, 0.1);
  color: #2b6cb0;
  border: 1px solid rgba(43, 108, 176, 0.2);
}
.badge-prof {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.prof-full {
  background: #eefdf5;
  color: var(--green);
  border: 1px solid rgba(16, 138, 85, 0.15);
}
.prof-interim {
  background: #fffdf5;
  color: #b45309;
  border: 1px solid rgba(212, 163, 43, 0.15);
}
.prof-none {
  color: var(--muted);
  font-size: 12px;
}

/* Accreditation Hub Layout */
.accreditation-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}
.accreditation-chart-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.accreditation-chart-card h4 {
  font-size: 16px;
  font-weight: 850;
  color: var(--green-deep);
  margin: 0 0 16px;
}
.accreditation-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.summary-metric-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.summary-metric-card .metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.summary-metric-card.full .metric-icon { background: rgba(16, 138, 85, 0.1); color: var(--green); }
.summary-metric-card.interim .metric-icon { background: rgba(212, 163, 43, 0.1); color: var(--gold); }
.summary-metric-card.awaiting .metric-icon { background: rgba(43, 108, 176, 0.1); color: #2b6cb0; }
.summary-metric-card.failed .metric-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.summary-metric-card .metric-info {
  display: flex;
  flex-direction: column;
}
.summary-metric-card .metric-info strong {
  font-size: 28px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.1;
}
.summary-metric-card .metric-info span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.filter-buttons {
  display: flex;
  gap: 8px;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}
.accreditation-table .col-name {
  color: var(--muted);
  font-size: 12.5px;
}
.accreditation-table .dept-name {
  color: var(--green-deep);
  font-size: 14.5px;
}

/* Short Courses Hub Layout */
.courses-hub-header {
  text-align: center;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.institute-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.courses-hub-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.certification-pathways-section {
  margin-bottom: 50px;
}
.certification-pathways-section h3 {
  font-size: 22px;
  font-family: var(--serif);
  color: var(--green-deep);
  margin-bottom: 24px;
}
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pathway-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 163, 43, 0.3);
}
.pathway-badge {
  align-self: flex-start;
  background: rgba(212, 163, 43, 0.12);
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pathway-card h4 {
  font-size: 16.5px;
  color: var(--green-deep);
  margin: 0 0 6px;
  font-weight: 800;
  line-height: 1.3;
}
.pathway-duration {
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pathway-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.catalog-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.catalog-tab-btn {
  padding: 14px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.catalog-tab-btn.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: var(--shadow-soft);
}
.catalog-tab-panel {
  display: none;
}
.catalog-tab-panel.active {
  display: block;
}
.course-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.course-item-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.course-item-card:hover {
  border-color: rgba(16, 138, 85, 0.2);
  box-shadow: var(--shadow);
}
.course-code-tag {
  background: #f0fbf5;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.course-item-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 12px;
}
.course-meta {
  display: flex;
  gap: 14px;
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.course-meta span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* International Page Styles */
.international-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.istat-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.istat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 850;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}
.istat-card span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.int-tab-bar {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 30px;
}
.int-tab-btn {
  padding: 14px 28px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.int-tab-btn:hover {
  color: var(--green);
}
.int-tab-btn.active {
  color: var(--green);
}
.int-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}
.int-tab-panel {
  display: none;
}
.int-tab-panel.active {
  display: block;
}
.faculty-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.faculty-profile-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}
.faculty-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.15);
}
.fac-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.fac-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.fac-card-header h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
}
.role-tag {
  background: rgba(212, 163, 43, 0.08);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.fac-card-body p {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fac-card-body p i {
  color: var(--muted);
  width: 14px;
}
.fac-contact-link, .fac-contact-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 650;
  margin-top: 6px;
}
.fac-contact-link {
  color: var(--green);
  text-decoration: none;
}
.fac-contact-link:hover {
  text-decoration: underline;
}
.international-student-table th {
  font-size: 12.5px;
}
.international-student-table td {
  font-size: 13.5px;
}
.student-name {
  color: var(--green-deep);
}

/* Responsive Overrides for Academics */
@media (max-width: 980px) {
  .colleges-grid, .upcoming-grid, .pathways-grid, .course-list-grid, .faculty-cards-grid {
    grid-template-columns: 1fr;
  }
  .accreditation-overview-grid {
    grid-template-columns: 1fr;
  }
  .international-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-search, .directory-toolbar, .catalog-header-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .directory-stats-summary, .filter-buttons {
    justify-content: center;
  }
}
@media (max-width: 540px) {
  .catalog-tab-bar {
    grid-template-columns: 1fr;
  }
  .int-tab-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   INSTITUTION & PORTAL HEADER PAGES STYLES
   ========================================================================== */

/* About & Governance Layouts */
.pro-chancellor-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}
.vc-split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.vision-cards-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}
.card-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
}
.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.15);
}
.vision-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  background: var(--soft);
  color: var(--green);
}
.officer-name {
  color: var(--green-deep) !important;
  font-weight: 750 !important;
}

/* Statistics Layouts */
.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.metric-summary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}
.metric-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 163, 43, 0.2);
}
.ratio-card {
  background: var(--soft);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.25s ease;
}
.ratio-card:hover {
  background: #ffffff;
  border-color: rgba(16, 138, 85, 0.15);
  box-shadow: var(--shadow-soft);
}

/* Management & Boards */
.management-grid, .board-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.management-card, .board-member-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 20px;
  transition: all 0.25s ease;
  align-items: center;
}
.management-card:hover, .board-member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.15);
}

/* Student Portal & Admissions Gateways */
.portal-gateway-grid, .admissions-track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.admissions-track-grid {
  grid-template-columns: repeat(3, 1fr);
}
.portal-card-item, .admission-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-card-item:hover, .admission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 138, 85, 0.15);
}

/* Contact Page Grid */
.contact-split-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
}

/* Responsive Overrides for Headers Pages */
@media (max-width: 980px) {
  .pro-chancellor-panel, .vc-split-layout, .contact-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pro-chancellor-media, .vc-profile-portrait-panel {
    max-width: 320px;
    margin: 0 auto 20px;
  }
  .stats-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .management-grid, .board-members-grid, .portal-gateway-grid, .admissions-track-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .stats-overview-grid {
    grid-template-columns: 1fr;
  }
}
