/* ============================================================
   COE HONG – MAIN STYLESHEET
   Institutional Color Scheme: Green (#1a6b3a), Yellow (#f5a800), White
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --green-dark:   #0d4a26;
  --green:        #1a6b3a;
  --green-mid:    #228b46;
  --green-light:  #2eab58;
  --green-pale:   #e8f5ed;
  --yellow:       #f5a800;
  --yellow-light: #ffd166;
  --yellow-pale:  #fff8e6;
  --white:        #ffffff;
  --off-white:    #f8f9fa;
  --gray-100:     #f1f3f5;
  --gray-200:     #e9ecef;
  --gray-300:     #dee2e6;
  --gray-500:     #adb5bd;
  --gray-600:     #6c757d;
  --gray-700:     #495057;
  --gray-800:     #343a40;
  --gray-900:     #212529;
  --text-body:    #3a3a3a;
  --text-muted:   #6c757d;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all .25s ease;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Merriweather', Georgia, serif;
  --header-height: 0px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
address { font-style: normal; }
input, select, textarea { font-family: inherit; }

/* ── UTILITY ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* ── SECTION TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .5rem;
}
.section-label.light { color: var(--yellow-light); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,.8); }
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.section-header { margin-bottom: 2.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--yellow);
  color: var(--green-dark);
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,107,58,.3);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
}
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid transparent;
}
.btn-white:hover {
  background: var(--yellow);
  color: var(--green-dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--green-dark);
  padding: .6rem 0;
  border-bottom: 3px solid var(--yellow);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.logo-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.brand-full {
  font-size: .7rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-motto {
  font-size: .72rem;
  color: var(--yellow-light);
  margin-top: 1px;
}

/* Utility nav + portal */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.utility-nav {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex-wrap: wrap;
}
.util-link {
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  padding: .3rem .6rem;
  border-radius: 3px;
  transition: var(--transition);
  white-space: nowrap;
}
.util-link:hover {
  color: var(--yellow-light);
  background: rgba(255,255,255,.08);
}
.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-portal:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-1px);
}

/* ── TOP-BAR DROPDOWNS ── */
.util-dropdown { position: relative; }
.util-caret { font-size: .55rem; margin-left: .2rem; transition: transform .25s ease; }
.util-dropdown:hover .util-caret,
.util-dropdown.open .util-caret { transform: rotate(180deg); }
.util-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1001;
  padding: .35rem 0;
  margin-top: 2px;
}
.util-dropdown:hover .util-dropdown-menu,
.util-dropdown.open .util-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.util-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1rem;
  font-size: .8rem;
  color: var(--gray-800);
  transition: var(--transition);
  white-space: nowrap;
}
.util-dropdown-menu a:hover { background: var(--green-pale); color: var(--green); }
.util-dropdown-menu a i:first-child { color: var(--green); width: 16px; text-align: center; }
.util-dropdown-menu .ext-ico { font-size: .6rem; color: var(--gray-500); margin-left: auto; }
.util-dropdown-menu .coming-soon { color: var(--gray-500); cursor: default; }
.util-dropdown-menu .coming-soon:hover { background: var(--gray-100); color: var(--gray-500); }
.util-dropdown-menu .soon-tag {
  margin-left: auto;
  background: var(--yellow-pale);
  color: #b5790a;
  font-size: .6rem;
  font-weight: 700;
  padding: .12rem .45rem;
  border-radius: 10px;
}
/* Portal dropdown aligns to the right edge */
.portal-dropdown .portal-menu { left: auto; right: 0; }
.portal-dropdown .btn-portal { cursor: pointer; }

/* ── PRIMARY NAV ── */
.primary-nav {
  background: var(--green);
}
.nav-inner {
  display: flex;
  align-items: stretch;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  flex: 1;
}
.nav-menu > li {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 1rem .875rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: var(--transition);
  height: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: rgba(0,0,0,.15);
}
.nav-link.active {
  border-bottom: 3px solid var(--yellow);
}
.dropdown-arrow {
  font-size: .6rem;
  transition: transform .25s ease;
}
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 999;
}
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1rem;
  font-size: .82rem;
  color: var(--gray-800);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: var(--green-pale);
  color: var(--green);
  padding-left: 1.25rem;
}

/* Submenu */
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 240px;
  background: var(--white);
  border-top: 3px solid var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: var(--transition);
  z-index: 1000;
}
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.sub-arrow { font-size: .6rem; }

/* Search */
.nav-search {
  display: flex;
  align-items: center;
  padding: 0 .5rem;
  position: relative;
}
.search-toggle {
  color: rgba(255,255,255,.8);
  padding: .5rem;
  font-size: 1rem;
  transition: var(--transition);
}
.search-toggle:hover { color: var(--yellow); }
.search-box {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: var(--white);
  border-top: 3px solid var(--yellow);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.search-box.open {
  opacity: 1;
  visibility: visible;
}
.search-box form {
  display: flex;
  gap: .4rem;
}
.search-box input {
  flex: 1;
  padding: .55rem .75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  outline: none;
}
.search-box input:focus { border-color: var(--green); }
.search-box button {
  padding: .55rem .875rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  transition: var(--transition);
}
.search-box button:hover { background: var(--green-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .75rem;
  order: -1;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 500px;
  max-height: 780px;
  overflow: hidden;
}
.hero-slider { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--green-dark);
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,74,38,.82) 0%,
    rgba(13,74,38,.55) 50%,
    rgba(13,74,38,.25) 100%
  );
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: heroFadeIn .8s ease both;
  animation-delay: .2s;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: var(--white);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }
.hero-prev:hover, .hero-next:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--green-dark);
}
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .5rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.6);
  transition: var(--transition);
}
.dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================
   QUICK LINKS BAR
   ============================================================ */
.quick-links-bar {
  background: var(--green-dark);
  padding: 0;
  position: relative;
  z-index: 10;
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-right: 1px solid rgba(255,255,255,.1);
}
.quick-link-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem .875rem;
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
  border-left: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.quick-link-item i {
  font-size: 1.1rem;
  color: var(--yellow);
  flex-shrink: 0;
}
.quick-link-item:hover {
  background: var(--green-mid);
  color: var(--white);
}
.quick-link-item:hover i { color: var(--yellow-light); }

/* ============================================================
   PROVOST SECTION
   ============================================================ */
.provost-section {
  padding: 5rem 0;
  background: var(--white);
}
.provost-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.provost-image-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.provost-img-frame {
  width: 260px;
  height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  outline: 3px solid var(--yellow);
}
.provost-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.provost-img-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(13,74,38,.6));
}
.provost-nameplate {
  text-align: center;
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  width: 100%;
}
.provost-nameplate strong {
  display: block;
  color: var(--green-dark);
  font-size: .95rem;
  font-weight: 700;
}
.provost-nameplate span { font-size: .78rem; color: var(--text-muted); }

.provost-content { max-width: 620px; }
.provost-lead {
  font-size: 1.05rem;
  color: var(--green-dark);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.provost-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: 2px;
  margin: .75rem 0 1.25rem;
}
.provost-content p { color: var(--gray-700); margin-bottom: .75rem; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  position: relative;
  padding: 5rem 0;
  background: var(--green-dark);
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/stats-bg.jpg') center/cover no-repeat;
  opacity: .12;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,74,38,.95), rgba(26,107,58,.9));
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.stat-card:hover {
  background: rgba(255,255,255,.14);
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.stat-icon {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: .75rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   NEWS & ANNOUNCEMENTS
   ============================================================ */
.news-section {
  padding: 5rem 0;
  background: var(--off-white);
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

/* News Cards */
.news-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card.featured { grid-template-columns: 1fr; }
.news-card:not(.featured) { grid-template-columns: 200px 1fr; }
.news-img-wrap { overflow: hidden; position: relative; }
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card.featured .news-img-wrap { height: 220px; }
.news-card:not(.featured) .news-img-wrap { height: 140px; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--green);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 3px;
}
.news-body { padding: 1.25rem; }
.news-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.news-meta i { margin-right: .25rem; color: var(--green); }
.news-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.news-title a { transition: var(--transition); }
.news-title a:hover { color: var(--green); }
.news-card p { font-size: .82rem; color: var(--gray-600); line-height: 1.6; margin-bottom: .75rem; }
.read-more {
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.read-more:hover { color: var(--yellow); gap: .6rem; }

/* ── Social Share buttons ── */
.news-card-foot{
  display:flex;align-items:center;justify-content:space-between;
  gap:.75rem;flex-wrap:wrap;margin-top:.5rem;
}
.share-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;}
.share-label{font-size:.8rem;color:var(--text-muted);display:inline-flex;align-items:center;gap:.35rem;}
.share-label i{color:var(--green);}
.share-btn{
  width:30px;height:30px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.78rem;background:var(--gray-100);color:var(--gray-600);
  border:none;cursor:pointer;transition:var(--transition);text-decoration:none;
}
.share-btn:hover{transform:translateY(-2px);color:#fff;}
.share-btn.fb:hover{background:#1877f2;}
.share-btn.tw:hover{background:#000;}
.share-btn.wa:hover{background:#25d366;}
.share-btn.li:hover{background:#0a66c2;}
.share-btn.tg:hover{background:#229ed9;}
.share-btn.copy:hover{background:var(--green);}
.share-btn.copied{background:var(--green);color:#fff;}
/* compact variant on cards */
.share-row.compact .share-btn{width:26px;height:26px;font-size:.7rem;}

/* Sidebar */
.announcements-sidebar { position: sticky; top: 130px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.widget-header i { color: var(--yellow); font-size: 1.1rem; }
.widget-header h3 { font-size: .95rem; font-weight: 700; }

.announcement-list { padding: .5rem 0; }
.announcement-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 .75rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.announcement-item:last-child { border-bottom: none; }
.ann-tag {
  grid-row: 1 / 3;
  align-self: center;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 3px;
  background: var(--green-pale);
  color: var(--green);
  white-space: nowrap;
}
.ann-tag.urgent { background: #fef3f2; color: #c0392b; }
.announcement-item a {
  font-size: .8rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.4;
  transition: var(--transition);
}
.announcement-item a:hover { color: var(--green); }
.ann-date { font-size: .68rem; color: var(--text-muted); }

.see-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .875rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  border-top: 1px solid var(--gray-100);
  transition: var(--transition);
}
.see-all-link:hover { background: var(--green-pale); }

/* Events */
.events-list { padding: .5rem 0; }
.event-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.event-item:last-child { border-bottom: none; }
.event-date-badge {
  min-width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-day { font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1; }
.event-month { font-size: .55rem; font-weight: 700; text-transform: uppercase; color: var(--yellow); letter-spacing: .04em; }
.event-info strong { display: block; font-size: .82rem; color: var(--gray-900); }
.event-info span { font-size: .72rem; color: var(--text-muted); }

/* ============================================================
   PROGRAMMES SECTION
   ============================================================ */
.programmes-section {
  padding: 5rem 0;
  background: var(--white);
}

/* Tabs */
.programmes-tabs { margin-top: 1rem; }
.tab-buttons {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .75rem 1.5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--green); background: var(--green-pale); }
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--green-pale);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Schools Grid */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.school-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.school-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.school-card:hover::before { transform: scaleX(1); }
.school-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.school-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.school-card h3 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.school-card p { font-size: .78rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1rem; }
.school-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.school-link:hover { color: var(--yellow); gap: .6rem; }

/* Degree Programmes */
.degree-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.degree-col {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}
.degree-affil-header {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--yellow);
}
.affil-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  border: 2px solid var(--gray-200);
}
.degree-affil-header strong { display: block; font-size: .9rem; color: var(--green-dark); }
.degree-affil-header span { font-size: .72rem; color: var(--text-muted); }
.degree-list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .83rem;
  color: var(--gray-700);
  padding: .45rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.degree-list li:last-child { border-bottom: none; }
.degree-list i { color: var(--green); font-size: .85rem; flex-shrink: 0; }
.badge-new {
  background: var(--yellow);
  color: var(--green-dark);
  font-size: .6rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 3px;
  margin-left: auto;
}

/* Pre-NCE */
.prence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.prence-card {
  background: var(--yellow-pale);
  border: 1px solid rgba(245,168,0,.3);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.prence-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.prence-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 0 auto 1rem;
}
.prence-card h4 { font-size: .9rem; font-weight: 700; color: var(--green-dark); margin-bottom: .5rem; }
.prence-card p { font-size: .78rem; color: var(--gray-600); line-height: 1.6; }

/* ============================================================
   CAMPUS GALLERY
   ============================================================ */
.campus-section {
  padding: 5rem 0;
  background: var(--gray-100);
}
.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: .875rem;
}
/* Large item spans both rows; remaining 4 fill right 2 columns */
.campus-item.large {
  grid-row: 1 / 3;
}
.campus-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.campus-item.large {
  grid-row: 1 / 3;
}
.campus-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,74,38,.85) 0%, transparent 50%);
  transition: var(--transition);
}
.campus-item:hover::before {
  background: rgba(13,74,38,.75);
}
.campus-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  transform: translateY(0);
  transition: var(--transition);
}
.campus-overlay i {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: .4rem;
  display: block;
}
.campus-overlay h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.campus-overlay p {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.campus-item:hover .campus-overlay p {
  max-height: 60px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 5rem 0;
  background: var(--green-pale);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-icon {
  font-size: 1.75rem;
  color: var(--green-light);
  opacity: .4;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.author-avatar i { font-size: 2.5rem; color: var(--green-light); }
.testimonial-author strong { display: block; font-size: .85rem; color: var(--gray-900); }
.testimonial-author span { font-size: .72rem; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 4.5rem 0;
  background: var(--green-dark);
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: url('../assets/images/cta-bg.jpg') center/cover no-repeat;
  opacity: .08;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245,168,0,.1);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(245,168,0,.08);
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: .5rem;
}
.cta-text p { color: rgba(255,255,255,.75); font-size: .95rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.75); }
.footer-main { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1rem;
}
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  padding: 4px;
}
.footer-brand strong { display: block; color: var(--white); font-size: .95rem; }
.footer-brand span { font-size: .72rem; color: rgba(255,255,255,.5); }
.footer-col p { font-size: .82rem; line-height: 1.7; margin-bottom: .75rem; }
.footer-motto { color: var(--yellow-light) !important; font-size: .82rem !important; }
.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--yellow); color: var(--green-dark); }

.footer-heading {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(245,168,0,.4);
}
.footer-links li { margin-bottom: .4rem; }
.footer-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.footer-links a::before {
  content: '›';
  color: var(--yellow);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--yellow-light); padding-left: 4px; }

.footer-address .contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .8rem;
  margin-bottom: .75rem;
}
.footer-address i { color: var(--yellow); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }

.footer-newsletter { margin-top: 1.25rem; }
.footer-newsletter h5 { font-size: .82rem; font-weight: 600; color: var(--white); margin-bottom: .625rem; }
.newsletter-form { display: flex; gap: .4rem; }
.newsletter-form input {
  flex: 1;
  padding: .6rem .75rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: .8rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--yellow); }
.newsletter-form button {
  padding: .6rem .875rem;
  background: var(--yellow);
  color: var(--green-dark);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.45); }
.footer-bottom-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-nav a {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-bottom-nav a:hover { color: var(--yellow-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--yellow); color: var(--green-dark); }

/* Placeholder for missing images */
.campus-item { background-color: var(--green-dark); }

/* Sticky header scrolled state */
.site-header.scrolled .top-bar { padding: .35rem 0; }
.site-header.scrolled .logo-wrap { width: 48px; height: 48px; }
.site-header.scrolled .site-logo { width: 40px; height: 40px; }
.site-header.scrolled .brand-name { font-size: 1rem; }
.site-header.scrolled .brand-full { display: none; }
.top-bar, .logo-wrap, .site-logo, .brand-name, .brand-full {
  transition: all .3s ease;
}

/* News card – fix height for small variant */
.news-card:not(.featured) .news-img-wrap.small { height: 100%; min-height: 120px; }

/* Degree-list check icons */
.degree-list i.fa-check-circle { color: var(--green-mid); }

/* Campus item overlay always visible on touch */
@media (hover: none) {
  .campus-overlay p { max-height: 60px; }
}

/* Focus visible outline for keyboard nav */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Smooth image loading fade */
img {
  opacity: 1;
  transition: opacity .3s ease;
}
img[src=""] { opacity: 0; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner{
  position:relative;
  padding:4rem 0 3rem;
  background:linear-gradient(135deg,var(--green-dark) 0%,var(--green) 100%);
  overflow:hidden;
}
.page-banner::before{content:'';position:absolute;inset:0;background:url('../assets/images/hero1.jpg') center/cover no-repeat;opacity:.08;}
.banner-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(13,74,38,.92),rgba(26,107,58,.8));}
.banner-content{position:relative;z-index:1;}
.banner-content h1{font-family:var(--font-heading);font-size:clamp(1.6rem,3vw,2.4rem);color:var(--white);margin-bottom:.5rem;}
.banner-content>p{color:rgba(255,255,255,.8);font-size:.95rem;max-width:560px;margin-bottom:1rem;}
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:rgba(255,255,255,.65);flex-wrap:wrap;}
.breadcrumb a{color:var(--yellow-light);transition:var(--transition);}
.breadcrumb a:hover{color:var(--white);}
.breadcrumb i{font-size:.6rem;}

/* Inner page layout */
.page-layout{display:grid;grid-template-columns:1fr 320px;gap:2.5rem;align-items:start;padding:3.5rem 0;}
.page-content{}
.page-sidebar{position:sticky;top:140px;display:flex;flex-direction:column;gap:1.5rem;}
.content-section{padding:3.5rem 0;}

/* Sidebar widgets (public) */
.pub-widget{background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);overflow:hidden;border:1px solid var(--gray-200);}
.pub-widget-header{background:var(--green-dark);padding:.875rem 1.25rem;display:flex;align-items:center;gap:.5rem;}
.pub-widget-header h3{color:var(--white);font-size:.9rem;}
.pub-widget-header i{color:var(--yellow);}
.pub-widget ul{padding:.5rem 0;}
.pub-widget li a{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.25rem;font-size:.82rem;color:var(--gray-700);border-bottom:1px solid var(--gray-100);transition:var(--transition);}
.pub-widget li:last-child a{border-bottom:none;}
.pub-widget li a:hover{background:var(--green-pale);color:var(--green);padding-left:1.5rem;}
.pub-widget li a i{color:var(--green);font-size:.75rem;flex-shrink:0;}

/* Info card */
.info-card{background:var(--off-white);border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:1.5rem;}
.info-card h3{font-size:1rem;font-weight:700;color:var(--green-dark);margin-bottom:.75rem;}
.info-list li{display:flex;align-items:flex-start;gap:.625rem;font-size:.83rem;color:var(--gray-700);padding:.4rem 0;border-bottom:1px solid var(--gray-100);}
.info-list li:last-child{border-bottom:none;}
.info-list i{color:var(--green);flex-shrink:0;margin-top:2px;}

/* Tables in content */
.content-table{width:100%;border-collapse:collapse;font-size:.85rem;margin:1rem 0;}
.content-table th{background:var(--green);color:var(--white);padding:.75rem 1rem;text-align:left;font-weight:600;}
.content-table td{padding:.75rem 1rem;border-bottom:1px solid var(--gray-200);}
.content-table tr:nth-child(even) td{background:var(--off-white);}

/* Officer card */
.officer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.5rem;margin-top:1.5rem;}
.officer-card{background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:1.5rem;text-align:center;border:1px solid var(--gray-200);transition:var(--transition);}
.officer-card:hover{border-color:var(--green);box-shadow:var(--shadow-md);transform:translateY(-4px);}
.officer-avatar{width:80px;height:80px;border-radius:50%;background:var(--green-pale);display:flex;align-items:center;justify-content:center;margin:0 auto .875rem;font-size:2rem;color:var(--green);border:3px solid var(--yellow);}
.officer-name{font-size:.9rem;font-weight:700;color:var(--gray-900);}
.officer-title{font-size:.75rem;color:var(--text-muted);margin-top:.25rem;}
.officer-dept{font-size:.72rem;color:var(--green);margin-top:.25rem;font-weight:500;}

/* Announcement page list */
.ann-page-list{display:flex;flex-direction:column;gap:1rem;}
.ann-page-item{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:1.25rem;display:flex;align-items:flex-start;gap:1rem;transition:var(--transition);}
.ann-page-item:hover{border-color:var(--green);box-shadow:var(--shadow-sm);}
.ann-page-item.urgent{border-left:4px solid var(--red);}
.ann-date-block{text-align:center;background:var(--green);color:var(--white);border-radius:var(--radius-sm);padding:.5rem .75rem;min-width:52px;flex-shrink:0;}
.ann-date-block .day{font-size:1.4rem;font-weight:700;line-height:1;}
.ann-date-block .month{font-size:.6rem;text-transform:uppercase;letter-spacing:.05em;color:var(--yellow-light);}
.ann-page-body{flex:1;}
.ann-page-body h3{font-size:.92rem;font-weight:700;color:var(--gray-900);margin-bottom:.35rem;}
.ann-page-body p{font-size:.82rem;color:var(--gray-600);line-height:1.6;}
.ann-page-meta{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.5rem;font-size:.72rem;color:var(--text-muted);}

/* Contact form */
.contact-form .form-group{margin-bottom:1rem;}
.contact-form label{display:block;font-size:.82rem;font-weight:600;color:var(--gray-700);margin-bottom:.35rem;}
.contact-form input,.contact-form textarea,.contact-form select{
  width:100%;padding:.65rem .875rem;border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);
  font-size:.85rem;font-family:inherit;outline:none;transition:var(--transition);
}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(26,107,58,.1);}
.contact-form textarea{resize:vertical;min-height:140px;}
.contact-submit{background:var(--green);color:var(--white);padding:.75rem 2rem;border:none;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:var(--transition);}
.contact-submit:hover{background:var(--green-dark);}

/* ── Officer Profile Page ── */
.officer-profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.officer-photo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: sticky;
  top: 140px;
}
.officer-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  outline: 3px solid var(--yellow);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.officer-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.officer-photo-frame .no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--green-light);
}
.officer-photo-frame .no-photo i  { font-size: 5rem; }
.officer-photo-frame .no-photo span { font-size: .8rem; color: var(--text-muted); }
.officer-nameplate {
  width: 100%;
  background: var(--green-dark);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-align: center;
}
.officer-nameplate strong { display: block; font-size: 1rem; font-weight: 700; }
.officer-nameplate span   { font-size: .78rem; color: var(--yellow-light); }
.officer-nameplate .contact-row {
  margin-top: .625rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.officer-nameplate .contact-row a {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  transition: var(--transition);
}
.officer-nameplate .contact-row a:hover { color: var(--yellow-light); }
.officer-nameplate .contact-row i { color: var(--yellow); font-size: .7rem; }

/* Officer bio section */
.officer-bio-section { margin-top: 1.5rem; }
.officer-bio-section blockquote {
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.25rem;
  background: var(--yellow-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

/* Large officer grid for principal-officers page */
.officers-section { margin-bottom: 3rem; }
.officers-section h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-dark);
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--yellow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.officers-section h2 i { color: var(--yellow); font-size: 1rem; }

.officers-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.officer-card-large {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.officer-card-large:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.officer-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.officer-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.officer-card-photo .no-photo-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--green-light);
}
.officer-card-photo .no-photo-icon i    { font-size: 3.5rem; }
.officer-card-photo .no-photo-icon span { font-size: .7rem; color: var(--text-muted); }
.officer-card-info {
  padding: .875rem 1rem;
  border-top: 3px solid var(--yellow);
}
.officer-card-info .name  { font-size: .88rem; font-weight: 700; color: var(--gray-900); line-height: 1.3; }
.officer-card-info .title { font-size: .73rem; color: var(--green); font-weight: 500; margin-top: .25rem; line-height: 1.3; }

@media (max-width: 768px) {
  .officer-profile-layout { grid-template-columns: 1fr; }
  .officer-photo-panel    { position: static; max-width: 280px; margin: 0 auto; }
  .officers-grid-large    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .officers-grid-large { grid-template-columns: repeat(2, 1fr); }
}

/* ── Dean / Officer sidebar card ── */
.dean-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.dean-card-photo{
  position:relative;
  width:100%;
  aspect-ratio:4 / 4;
  background:var(--green-pale);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.dean-card-photo img{
  width:100%;height:100%;
  object-fit:cover;object-position:top center;
}
.dean-card-nophoto{
  display:flex;flex-direction:column;align-items:center;gap:.5rem;color:var(--green-light);
}
.dean-card-nophoto i{font-size:3rem;}
.dean-card-nophoto span{font-size:.7rem;color:var(--text-muted);}
.dean-card-badge{
  position:absolute;top:.75rem;left:.75rem;
  background:var(--yellow);color:var(--green-dark);
  font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  padding:.25rem .6rem;border-radius:20px;
}
.dean-card-body{
  padding:1rem 1.25rem;
  border-top:3px solid var(--yellow);
}
.dean-card-body strong{display:block;font-size:.95rem;color:var(--gray-900);line-height:1.3;}
.dean-card-title{display:block;font-size:.76rem;color:var(--green);font-weight:500;margin-top:.25rem;line-height:1.35;}
.dean-card-link{
  display:flex;align-items:center;gap:.4rem;
  font-size:.74rem;color:var(--text-muted);margin-top:.5rem;
  transition:var(--transition);
}
a.dean-card-link:hover{color:var(--green);}
.dean-card-link i{color:var(--green);font-size:.72rem;}

/* Memo page */
.memo-list{display:flex;flex-direction:column;gap:1rem;}
.memo-item{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:1.5rem;transition:var(--transition);}
.memo-item:hover{border-color:var(--green);box-shadow:var(--shadow-sm);}
.memo-ref{font-size:.72rem;font-family:monospace;background:var(--gray-100);padding:.2rem .5rem;border-radius:4px;color:var(--gray-600);}
.memo-item h3{font-size:.95rem;font-weight:700;color:var(--gray-900);margin:.5rem 0 .35rem;}
.memo-meta{display:flex;gap:1rem;flex-wrap:wrap;font-size:.75rem;color:var(--text-muted);margin-bottom:.75rem;}
.memo-meta i{color:var(--green);margin-right:.25rem;}

@media(max-width:768px){
  .page-layout{grid-template-columns:1fr;padding:2rem 0;}
  .page-sidebar{position:static;}
  .officer-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:480px){
  .officer-grid{grid-template-columns:1fr;}
}

/* ============================================================
   RESPONSIVE – TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .provost-grid { grid-template-columns: 240px 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
  .news-layout { grid-template-columns: 1fr 300px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .prence-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .campus-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .campus-item.large { grid-row: auto; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Header */
  .top-bar-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .top-bar-right { width: 100%; justify-content: space-between; }
  .utility-nav {
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .util-link { font-size: .68rem; padding: .2rem .4rem; }

  .hamburger { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--green-dark);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 998;
    padding: .5rem 0;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-link {
    padding: .875rem 1.25rem;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.06);
    height: auto;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: rgba(0,0,0,.25);
    display: none;
    border-radius: 0;
  }
  .dropdown.open { display: block; }
  .dropdown li a {
    padding: .65rem 1.5rem;
    color: rgba(255,255,255,.8);
    border-bottom-color: rgba(255,255,255,.05);
  }
  .dropdown li a:hover { background: rgba(255,255,255,.06); color: var(--yellow); padding-left: 1.75rem; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    box-shadow: none;
    background: rgba(0,0,0,.2);
    display: none;
    border-radius: 0;
  }
  .submenu.open { display: block; }
  .submenu li a { padding-left: 2.25rem; }
  .nav-search { margin-left: auto; }
  .search-box { width: 260px; right: -10px; }

  /* Hero */
  .hero { height: 70vw; min-height: 320px; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .hero p { font-size: .88rem; }

  /* Quick Links */
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-link-item span { display: none; }
  .quick-link-item { justify-content: center; padding: .875rem; }
  .quick-link-item i { font-size: 1.4rem; }

  /* Provost */
  .provost-grid { grid-template-columns: 1fr; text-align: center; }
  .provost-image-wrap { align-items: center; }
  .provost-img-frame { width: 200px; height: 240px; }
  .section-divider { margin: .75rem auto 1.25rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 1.8rem; }

  /* News */
  .news-layout { grid-template-columns: 1fr; }
  .announcements-sidebar { position: static; }
  .news-card:not(.featured) { grid-template-columns: 1fr; }
  .news-card:not(.featured) .news-img-wrap { height: 160px; }

  /* Programmes */
  .schools-grid { grid-template-columns: 1fr; }
  .degree-two-col { grid-template-columns: 1fr; }
  .prence-grid { grid-template-columns: 1fr; }

  /* Campus */
  .campus-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Back to top */
  .back-to-top { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
  .campus-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
