/* ============================================================
   NENAP — North Eastern National Polytechnic
   Main Stylesheet
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:        #2196F3;
  --primary-light:  #1565C0;
  --primary-dark:   #64B5F6;
  --accent:         #d4a017;
  --accent-light:   #f0c830;
  --accent-pale:    rgba(212,160,23,0.14);
  --red:            #c0392b;
  --white:          #ffffff;
  --off-white:      #f0f9f4;
  --gray-50:        #f8fefb;
  --gray-100:       #eaf4ee;
  --gray-200:       #e8e5dd;
  --gray-300:       #d5d0c5;
  --gray-500:       #8c8375;
  --gray-700:       #4a4640;
  --dark:           #1a1410;
  --text:           #2c2820;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --nav-h:    76px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --t:        0.28s var(--ease);
  --radius:   8px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
  --shadow:    0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

/* ── Reset ── */
*, *::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);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, select, textarea { font-family: var(--font-body); }

/* ── Utility ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 88px 0; }
.text-center { text-align: center; }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

/* ── Section Headers ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag::before,
.section-tag::after { content: '—'; opacity: 0.4; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.22;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--gray-500);
  font-size: 0.97rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-header { margin-bottom: 52px; }
.section-header.left { text-align: left; }
.section-header.left .section-tag { justify-content: flex-start; }
.section-header.left .section-desc { margin: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,168,75,0.35); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,61,46,0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 16px 34px; font-size: 0.95rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.up { transform: translateY(28px); }
.reveal.left { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.visible { opacity: 1 !important; transform: none !important; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: #0d5c40;
  color: rgba(255,255,255,0.8);
  font-size: 0.775rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left .icon { font-size: 0.85rem; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--t);
  font-weight: 500;
  font-size: 0.775rem;
}
.topbar-right a:hover { color: var(--accent-light); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  transition: all var(--t);
}
.topbar-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.topbar-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }
.topbar-portal-btn {
  background: var(--accent) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 0.74rem !important;
}
.topbar-portal-btn:hover { background: var(--accent-light) !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: visible !important;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.13); }
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; flex-shrink: 0;
}
.logo-badge {
  width: 50px; height: 50px;
  background: var(--primary);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.logo-badge::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3.5px;
  background: var(--accent);
}
.logo-badge span {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--gray-500);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1px;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: stretch; /* children fill full navbar height — closes hover gap */
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-mega { position: static !important; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 5px;
  transition: all var(--t);
  white-space: nowrap;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: #07321f; background: #e8f7ee; }
.nav-link .chevron {
  width: 10px; height: 10px;
  transition: transform var(--t);
  flex-shrink: 0;
  margin-left: 1px;
}
.nav-item:hover .chevron, .nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 200;
  overflow: hidden;
  

}
.dropdown::before { content: ''; display: block; height: 3px; background: var(--accent); }
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: 0.845rem;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gray-100); color: var(--primary); padding-left: 26px; }
.dropdown a::before { content: '›'; color: var(--accent); font-size: 1.1rem; font-weight: 900; flex-shrink: 0; }

/* Nav CTA */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-search-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: all var(--t);
}
.nav-search-btn:hover { background: var(--gray-100); color: var(--primary); border-color: var(--gray-300); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger .bar {
  display: block; width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 85vw);
  background: var(--white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
  background: var(--primary);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.mobile-nav-logo { display: flex; align-items: center; gap: 10px; }
.mobile-nav-logo .badge {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.8rem; font-weight: 700;
}
.mobile-nav-logo .name { color: var(--white); font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.mobile-nav-logo .sub { color: rgba(255,255,255,0.6); font-size: 0.67rem; }
.mobile-nav-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: none;
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.15); }

.mobile-nav-body { overflow-y: auto; flex: 1; padding: 8px 0 20px; }

.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t);
  cursor: pointer;
  background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left;
}
.mobile-nav-link:hover { background: var(--gray-100); color: var(--primary); }
.mobile-nav-link .mob-chevron {
  font-size: 0.7rem;
  transition: transform var(--t);
  color: var(--gray-500);
}
.mobile-nav-link.has-children.expanded .mob-chevron { transform: rotate(180deg); }

.mobile-submenu {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.mobile-submenu.open { max-height: 500px; }
.mobile-submenu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 22px 11px 36px;
  font-size: 0.84rem;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t);
}
.mobile-submenu a:last-child { border-bottom: none; }
.mobile-submenu a:hover { background: var(--gray-100); color: var(--primary); }
.mobile-submenu a::before { content: '›'; color: var(--accent); font-weight: 900; font-size: 1.1rem; }

.mobile-nav-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-nav-foot .btn { justify-content: center; }

/* ============================================================
   GLOBAL SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(10,30,20,0.92);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(6px);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(660px, 90vw); }
.search-box label {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.search-input-row {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}
.search-input-row input {
  flex: 1;
  padding: 18px 22px;
  border: none;
  font-size: 1.1rem;
  color: var(--text);
  background: var(--white);
  outline: none;
}
.search-input-row button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0 26px;
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--t);
}
.search-input-row button:hover { background: var(--accent-light); }
.search-close {
  position: absolute;
  top: 24px; right: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.search-close:hover { background: rgba(255,255,255,0.22); }
.search-shortcuts {
  margin-top: 20px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.search-shortcuts span { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.search-shortcuts a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  text-decoration: none;
  transition: all var(--t);
}
.search-shortcuts a:hover { background: rgba(255,255,255,0.18); color: var(--white); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: min(88vh, 760px);
  min-height: 580px;
  overflow: hidden;
  background: #0d5c40;
}
.slides-container { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center center;
}
.slide.active { opacity: 1; }
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: none;
}
.slide:nth-child(1) { background-image: url('images/hero/slide9.jpeg'); }
.slide:nth-child(2) { background-image: url('images/hero/slide10.jpeg'); }
.slide:nth-child(3) { background-image: url('images/hero/slide11.jpeg'); }
.slide:nth-child(4) { background-image: url('images/hero/slide12.jpeg'); }
.slide:nth-child(5) { background-image: url('images/hero/slide13.jpeg'); }
.slide:nth-child(6) { background-image: url('images/hero/slide14.jpeg'); }

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.hero-content .container { width: 100%; }
.hero-text {
  max-width: 620px;
  background: none;
  padding: 40px 48px 40px 0;
  border-radius: 0 16px 16px 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,0.38);
  border: 1px solid rgba(200,168,75,0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-light);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 3px;
  margin-bottom: 22px;
  animation: fadeUp 0.9s ease both;
}
.hero-badge::before { content: ''; width: 18px; height: 1.5px; background: var(--accent); flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.7rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 3px 24px rgba(0,0,0,0.55), 0 1px 6px rgba(0,0,0,0.40);
  line-height: 1.12;
  margin-bottom: 20px;
  animation: fadeUp 0.9s ease 0.15s both;
}
.hero-title em { color: var(--accent-light); font-style: normal; }

.hero-desc {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.50);
  font-size: 1.05rem;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeUp 0.9s ease 0.3s both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.45s both;
}

/* Slider controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  backdrop-filter: blur(4px);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-prev:hover, .slider-next:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }

/* Ken Burns zoom on active slide */
.slide.active {
  filter: brightness(1.15) saturate(1.3) contrast(1.08);
}



.slider-dots {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: all var(--t); padding: 0;
}
.slider-dot.active { background: var(--accent); width: 28px; }

/* Stats panel on hero */
.hero-stats {
  position: absolute;
  right: 40px; bottom: 60px;
  z-index: 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.9s ease 0.6s both;
}
.stat-item {
  background: rgba(255,255,255,1);
  backdrop-filter: blur(12px);
  padding: 18px 26px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.stat-item:first-child { border-top: 3px solid var(--accent); }
.stat-item:last-child { border-bottom: none; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--primary); line-height: 1;
}
.stat-label { font-size: 0.68rem; color: var(--gray-500); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   QUICK LINKS BAR
   ============================================================ */
.quicklinks-bar { background: linear-gradient(135deg, #0d2a4a 0%, #1565C0 100%); }
.quicklinks-bar .container { padding: 0 28px; }
.ql-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.ql-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.ql-item:last-child { border-right: none; }
.ql-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--t);
}
.ql-item:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.ql-item:hover::after { transform: scaleX(1); }
.ql-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  transition: background var(--t);
}
.ql-item:hover .ql-icon { background: var(--accent-pale); }
.ql-title { font-weight: 600; font-size: 0.875rem; line-height: 1.3; }
.ql-sub { font-size: 0.7rem; color: rgba(255,255,255,0.48); margin-top: 2px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: #eff6ff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  background: url('images/about/campus.jpg') center/cover;
  display: block;
}
.about-accent-box {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--primary);
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 12px 40px rgba(10,61,46,0.28);
}
.accent-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.accent-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 5px; letter-spacing: 0.05em; }
.about-content {}
.about-body {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.82;
  margin-bottom: 24px;
}
.about-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 34px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--gray-700); font-weight: 500;
}
.about-list .check {
  width: 20px; height: 20px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.6rem; font-weight: 900;
  flex-shrink: 0; margin-top: 2px;
}
.about-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses-section { background: #ffffff; }
.courses-toolbar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.search-bar {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  transition: border-color var(--t);
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input {
  padding: 11px 18px;
  border: none;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  min-width: 240px;
}
.search-bar button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--t);
  white-space: nowrap;
}
.search-bar button:hover { background: var(--primary-light); }

.dept-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.dept-tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  border: 1.5px solid var(--gray-200);
  background: none; color: var(--gray-500);
  transition: all var(--t);
  cursor: pointer;
}
.dept-tab:hover { border-color: var(--primary); color: var(--primary); }
.dept-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.course-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--t);
  display: flex; flex-direction: column;
  background: var(--white);
}
.course-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 36px rgba(212,160,23,0.25);
  transform: translateY(-4px);
}
.course-card.hidden { display: none; }
.course-top {
  padding: 22px 20px 16px;
  display: flex; align-items: flex-start; gap: 14px;
}
.course-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.course-dept {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px;
}
.course-name {
  font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.38;
}
.course-bottom {
  margin-top: auto;
  padding: 13px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 16px;
}
.course-meta {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.74rem; color: var(--gray-500);
}
.courses-footer { text-align: center; margin-top: 40px; }
.courses-count {
  font-size: 0.83rem; color: var(--gray-500); margin-bottom: 20px;
}
.no-results {
  text-align: center; padding: 48px;
  color: var(--gray-500); font-size: 0.9rem;
  display: none;
}
.no-results.show { display: block; }

/* ============================================================
   NEWS & EVENTS
   ============================================================ */
.news-section { background: #e6efff; }
.news-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-bottom: 36px;
}
/* Featured */
.news-featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
}
.news-featured-bg {
  position: absolute; inset: 0;
  background: url('images/backgrounds/stats-bg.jpg') center/cover;
  transition: transform 0.6s ease;
}
.news-featured:hover .news-featured-bg { transform: scale(1.04); }
.news-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(8,30,20,0.95));
}
.news-featured-content {
  position: relative; z-index: 1;
  padding: 30px;
}
.news-cat {
  display: inline-block;
  background: var(--accent); color: var(--primary);
  font-size: 0.67rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  margin-bottom: 12px;
}
.news-featured-title {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
  margin-bottom: 10px;
}
.news-meta-row { color: rgba(255,255,255,0.55); font-size: 0.78rem; display: flex; gap: 14px; }
/* Events list */
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; align-items: flex-start; gap: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all var(--t);
}
.event-item:hover { border-color: transparent; box-shadow: none; cursor: default; }
.event-date {
  flex-shrink: 0; width: 52px;
  text-align: center;
  padding-top: 2px;
}
.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  color: var(--primary); line-height: 1;
}
.event-month {
  display: block; font-size: 0.64rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.event-cat { font-size: 0.68rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.07em; }
.event-title { font-size: 0.87rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-top: 3px; }
.event-sub { font-size: 0.74rem; color: var(--gray-500); margin-top: 4px; }
.news-footer { text-align: center; }

/* ============================================================
   PRINCIPAL MESSAGE
   ============================================================ */
.principal-section {
  background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
  position: relative;
  overflow: hidden;
}
.principal-section::before {
  content: '"';
  position: absolute; top: -80px; left: 30px;
  font-family: var(--font-display);
  font-size: 32rem; color: rgba(118, 154, 252, 0.025);
  line-height: 1; pointer-events: none;
}
.principal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}
.principal-photo-wrap { text-align: center; }
.principal-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  padding: 5px;
  margin: 0 auto 18px;
}
.principal-avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: url('images/staff/principal.jpg') center/cover;
  display: block;
}
.principal-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.principal-post { font-size: 0.78rem; color: var(--accent); font-weight: 500; }
.principal-copy .section-tag { color: rgba(200,168,75,0.65); }
.principal-copy .section-title { color: var(--white); }
.principal-quote {
  color: rgba(255,255,255,0.78);
  font-size: 1rem; line-height: 1.88;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  margin: 20px 0 30px;
}

/* ============================================================
   DEPARTMENTS
   ============================================================ */
.depts-section { background: #ffffff; }
.depts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dept-card {
  padding: 26px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  display: flex; flex-direction: column; gap: 11px;
  position: relative; overflow: hidden;
  transition: all var(--t);
}
.dept-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--t);
}
.dept-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(212,160,23,0.28);
  transform: translateY(-3px);
}
.dept-card:hover::before { transform: scaleX(1); }
.dept-icon {
  width: 46px; height: 46px;
  background: var(--gray-100); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  transition: background var(--t);
}
.dept-card:hover .dept-icon { background: var(--accent-pale); }
.dept-name { font-weight: 700; font-size: 0.88rem; color: var(--text); line-height: 1.35; }
.dept-count { font-size: 0.78rem; color: var(--gray-500); margin-top: auto; }

/* ============================================================
   TENDERS SECTION
   ============================================================ */
.tenders-section { background: #eff6ff; }

.tenders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}

.tender-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tender-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.tender-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}
.tender-status.open  { background: #dbeafe; color: #1e40af; }
.tender-status.closed { background: #fee2e2; color: #991b1b; }

.tender-ref {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-500);
}
.tender-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.3;
}
.tender-category {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.tender-desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
  flex: 1;
}
.tender-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: 4px;
}
.tender-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tender-closed-note {
  font-size: 0.8rem;
  color: #991b1b;
  font-style: italic;
  align-self: center;
}

/* Tender Application Form */
.tender-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
  border-top: 4px solid var(--accent);
}

@media (max-width: 900px) {
  .tenders-grid { grid-template-columns: 1fr 1fr; }
  .tender-form-card { padding: 28px; }
}
@media (max-width: 600px) {
  .tenders-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FEES SECTION
   ============================================================ */
.fees-section { background: #eff6ff; }
.fees-inner { max-width: 960px; margin: 0 auto; }
.fees-table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.fees-table { width: 100%; border-collapse: collapse; }
.fees-table thead tr { background: var(--primary); }
.fees-table th {
  padding: 15px 20px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); text-align: left;
}
.fees-table th:last-child { text-align: right; }
.fees-table td {
  padding: 14px 20px;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  background: var(--white);
}
.fees-table td:last-child { text-align: right; font-weight: 700; color: var(--primary); }
.fees-table tbody tr:hover td { background: var(--gray-50); }
.fees-table tbody tr:last-child td { border-bottom: none; }
.fees-note {
  margin-top: 18px; padding: 14px 18px;
  background: rgba(200,168,75,0.1);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.82rem; color: var(--gray-700); line-height: 1.6;
}
.fees-cta { text-align: center; margin-top: 30px; }

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads-section { background: #ffffff; }
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dl-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--white);
  transition: all var(--t);
}
.dl-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dl-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  font-family: var(--font-mono);
}
.dl-name { font-size: 0.84rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.dl-meta { font-size: 0.71rem; color: var(--gray-500); margin-top: 3px; }

/* ============================================================
   ONLINE APPLICATION
   ============================================================ */
.apply-section { background: #eef3ff; }
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.apply-info {}
.apply-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.apply-step {
  display: flex; align-items: flex-start; gap: 16px; align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 800; font-size: 0.85rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-title { font-weight: 700; font-size: 0.9rem; color: var(--text); margin-bottom: 3px; }
.step-desc { font-size: 0.83rem; color: var(--gray-500); line-height: 1.55; }

.apply-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.form-heading {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--primary); margin-bottom: 8px;
}
.form-subhead { font-size: 0.84rem; color: var(--gray-500); margin-bottom: 28px; }
.form-section-title {
  font-size: 0.75rem; font-weight: 700;
  color: var(--primary); letter-spacing: 0.1em;
  text-transform: uppercase; margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.form-section-title:first-of-type { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--gray-700); letter-spacing: 0.02em;
}
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.12);
}
.form-group input.error,
.form-group select.error { border-color: var(--red); }
.field-error { font-size: 0.74rem; color: var(--red); display: none; margin-top: 2px; }
.field-error.show { display: block; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.form-check input[type="checkbox"] { width: auto; margin-top: 2px; flex-shrink: 0; }
.form-check label { font-size: 0.82rem; color: var(--gray-700); font-weight: 400; }
.btn-submit-form {
  width: 100%;
  background: var(--primary); color: var(--white);
  border: none; padding: 15px;
  border-radius: 6px;
  font-size: 0.92rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--t);
  margin-top: 6px;
}
.btn-submit-form:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,61,46,0.25); }
.form-success {
  display: none;
  background: linear-gradient(135deg, #f0faf1 0%, #e4f5e6 100%);
  border: 1.5px solid #4caf50;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  animation: successPop 0.45s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes successPop {
  from { opacity: 0; transform: scale(0.85) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.form-success.show { display: block; }
.form-success .tick-circle {
  width: 68px; height: 68px;
  background: #4caf50;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(76,175,80,0.35);
  animation: tickBounce 0.5s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes tickBounce {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.form-success .tick-circle svg {
  width: 36px; height: 36px;
  stroke: #fff; stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.form-success .tick-circle svg path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawTick 0.4s 0.4s ease forwards;
}
@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}
.form-success h3 { color: #1b5e20; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.form-success p { font-size: 0.9rem; color: #2e7d32; line-height: 1.6; margin-bottom: 6px; }
.form-success .ref-number { font-family: var(--font-mono, monospace); font-size: 0.82rem; color: #388e3c; background: rgba(76,175,80,0.12); padding: 4px 12px; border-radius: 20px; display: inline-block; margin-top: 10px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: #eef3ff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary); color: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.contact-label {
  font-size: 0.7rem; font-weight: 700;
  color: var(--gray-500); letter-spacing: 0.09em;
  text-transform: uppercase; margin-bottom: 4px;
}
.contact-val { font-size: 0.9rem; color: var(--text); font-weight: 500; line-height: 1.55; }
.map-embed {
  width: 100%; height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-200);
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-fallback {
  position: absolute; inset: 0;
  background: url('images/backgrounds/cta-bg.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.map-fallback-label {
  background: var(--primary); color: var(--white);
  padding: 9px 18px; border-radius: 4px;
  font-weight: 600; font-size: 0.82rem;
  display: flex; align-items: center; gap: 6px;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #367fec;
  color: rgba(255,255,255,0.65);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; text-decoration: none; }
.footer-logo-badge {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--accent);
  font-size: 0.9rem; font-weight: 700;
}
.footer-logo-name { color: var(--white); font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.footer-desc { font-size: 0.84rem; line-height: 1.75; margin-bottom: 22px; }
.footer-social-row { display: flex; gap: 8px; }
.footer-social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 0.72rem; font-weight: 700;
  transition: all var(--t);
}
.footer-social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.footer-col-title {
  color: var(--white);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,168,75,0.25);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.58);
  text-decoration: none; font-size: 0.84rem;
  transition: all var(--t);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--accent); font-weight: 900; }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-accred {
  margin-top: 22px; padding: 15px 16px;
  background: rgba(107, 180, 248, 0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
}
.footer-accred-label { font-size: 0.67rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.footer-accred-name { font-size: 0.84rem; color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-accred-sub { font-size: 0.75rem; color: var(--accent); margin-top: 3px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a {
  color: rgba(137, 138, 243, 0.42); text-decoration: none;
  transition: color var(--t);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transform: translateY(12px);
  transition: all var(--t);
  z-index: 900;
  box-shadow: 0 4px 18px rgba(10,61,46,0.35);
}
#scrollTop.show { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--primary-light); transform: translateY(-2px); }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .depts-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
  .hero-stats  { display: none; }
  .ql-grid     { grid-template-columns: repeat(3, 1fr); }
  .about-grid  { grid-template-columns: 1fr; gap: 50px; }
  .about-accent-box { bottom: -18px; right: 18px; }
  .news-grid   { grid-template-columns: 1fr; }
  .principal-grid { grid-template-columns: 1fr; text-align: center; }
  .principal-quote { text-align: left; }
  .apply-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; }
  .depts-grid   { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns .btn:last-child { display: none; }
}

@media (max-width: 420px) {
  .depts-grid { grid-template-columns: 1fr; }
  .ql-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PARTNERS & COLLABORATIONS CAROUSEL
   ═══════════════════════════════════════════ */
.partners-strip {
  padding: 56px 0;
  background: #f0fdf6;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}
.partners-strip-title {
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: red;
  margin-bottom: 36px;
}
.partners-track-wrapper {
  overflow: hidden !important;
  overflow: hidden;
  position: relative;
}
/* fade edges — pointer-events: none so they never block clicks */
.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 4;
  pointer-events: none;
}
.partners-track-wrapper::before { left: 0; background: linear-gradient(to right, #218d06, transparent); }
.partners-track-wrapper::after  { right: 0; background: linear-gradient(to left, #118d22, transparent); }

.partners-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
  position: relative;
  z-index: 3;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes partnersScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 110px;
  padding: 12px 20px;
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 3;
  background: transparent;
}
.partner-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  background: #f8f8f8;
}
.partner-logo img {
  height: 100%;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}


/* ── File Upload Area ─────────────────────────────── */
.upload-area {
  border: 2px dashed #c9d4e8;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #f8faff;
}
.upload-area:hover, .upload-area.drag-over {
  border-color: var(--primary);
  background: #eef3ff;
}
.upload-icon { font-size: 2.2rem; margin-bottom: 8px; }
.upload-label { font-weight: 600; color: #333; margin: 0; }
.upload-browse { color: var(--primary); text-decoration: underline; cursor: pointer; }
.upload-hint { font-size: .82rem; color: #888; margin: 4px 0 0; }
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #f0f4ff; border-radius: 8px; padding: 8px 14px;
  font-size: .88rem; color: #333;
}
.file-item .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 10px; }
.file-item .file-size { color: #888; font-size: .8rem; margin-right: 10px; }
.file-item .file-remove {
  background: none; border: none; cursor: pointer;
  color: #c0392b; font-size: 1rem; padding: 0 4px; flex-shrink: 0;
}
.file-item .file-status { font-size: .78rem; margin-left: 8px; }

/* ── Tender Alert Banner ── */
.tender-alert-banner {
  background: #ff0000;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  animation: tenderBlink 1s step-start infinite;
  position: relative;
  z-index: 10;
}
.tender-alert-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
@keyframes tenderBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── News Videos ── */
.news-videos { margin-bottom: 36px; }
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-card video {
  width: 100%;
  display: block;
  max-height: 220px;
  object-fit: cover;
  background: #000;
}
.video-info { padding: 14px 16px; }
.video-title { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.video-sub   { font-size: 0.75rem; color: var(--gray-500); }
@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════════════════
   NENAP AI CHATBOX WIDGET
   ══════════════════════════════════════════════════ */
#naiChatWidget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* ── Toggle Button ── */
#naiChatToggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a237e 0%, #2196F3 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(26,35,126,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
#naiChatToggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(26,35,126,0.5);
}
#naiChatIcon { font-size: 1.2rem; }
.nai-unread {
  position: absolute;
  top: -6px; right: -6px;
  background: #d4a017;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ── Panel ── */
.nai-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 370px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid rgba(26,35,126,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
  max-height: 520px;
}
.nai-panel.nai-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Header ── */
.nai-header {
  background: linear-gradient(135deg, #1a237e 0%, #2196F3 100%);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  flex-shrink: 0;
}
.nai-header-left { display: flex; align-items: center; gap: 12px; }
.nai-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.nai-title { font-weight: 700; font-size: 0.95rem; }
.nai-status { font-size: 0.75rem; opacity: 0.85; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.nai-dot {
  width: 7px; height: 7px;
  background: #69f0ae;
  border-radius: 50%;
  display: inline-block;
  animation: naiPulse 2s infinite;
}
@keyframes naiPulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
.nai-header-actions { display: flex; gap: 6px; }
.nai-close-btn, .nai-clear-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  border-radius: 6px;
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.nai-close-btn:hover, .nai-clear-btn:hover { background: rgba(255,255,255,0.3); }

/* ── Messages ── */
.nai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.nai-messages::-webkit-scrollbar { width: 4px; }
.nai-messages::-webkit-scrollbar-track { background: transparent; }
.nai-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.nai-msg { display: flex; flex-direction: column; max-width: 88%; }
.nai-msg-bot { align-self: flex-start; }
.nai-msg-user { align-self: flex-end; }

.nai-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.6;
}
.nai-msg-bot .nai-msg-bubble {
  background: #f0f4ff;
  border: 1px solid #e0e8ff;
  border-bottom-left-radius: 4px;
  color: #1a1a2e;
}
.nai-msg-user .nai-msg-bubble {
  background: linear-gradient(135deg, #1a237e, #2196F3);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.nai-msg-time {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 4px;
  padding: 0 4px;
}
.nai-msg-bot .nai-msg-time { align-self: flex-start; }
.nai-msg-user .nai-msg-time { align-self: flex-end; }

/* ── Suggestions ── */
.nai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.nai-suggest-btn {
  background: #fff;
  border: 1.5px solid #c5d3f5;
  color: #1a237e;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-family: var(--font-body);
}
.nai-suggest-btn:hover {
  background: #e8eeff;
  border-color: #2196F3;
}

/* ── Typing indicator ── */
.nai-typing {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nai-typing span {
  width: 7px; height: 7px;
  background: #2196F3;
  border-radius: 50%;
  animation: naiTypingBounce 1.2s infinite;
  opacity: 0.7;
}
.nai-typing span:nth-child(2) { animation-delay: 0.2s; }
.nai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes naiTypingBounce {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
}

/* ── Input Row ── */
.nai-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #edf0ff;
  flex-shrink: 0;
}
#naiInput {
  flex: 1;
  border: 1.5px solid #dde3f5;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--font-body);
  background: #f8f9ff;
  color: var(--text);
}
#naiInput:focus { border-color: #2196F3; background: #fff; }
#naiSendBtn {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #1a237e, #2196F3);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
}
#naiSendBtn:hover { transform: scale(1.08); }
#naiSendBtn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
#naiSendBtn svg { width: 16px; height: 16px; }

/* ── Footer note ── */
.nai-footer-note {
  text-align: center;
  font-size: 0.68rem;
  color: #bbb;
  padding: 0 14px 10px;
  flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  #naiChatWidget { bottom: 16px; right: 16px; }
  .nai-panel { width: calc(100vw - 32px); right: -6px; }
  #naiChatLabel { display: none; }
  #naiChatToggle { padding: 14px; border-radius: 50%; }
}

/* ══════════════════════════════════════════════
   MOBILE CRITICAL FIXES
   ══════════════════════════════════════════════ */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .hero {
    width: 100%;
    max-width: 100%;
  }

  .slides-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .slide {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
  }

  .container {
    padding: 0 16px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .apply-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Cookie banner fix */
#cookieBanner.show {
  display: flex !important;
}

#cookieBanner {
  z-index: 99999 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#cookieAccept {
  max-width: none !important;
  min-height: 44px !important;
  cursor: pointer !important;
  pointer-events: all !important;
}

@media (max-width: 600px) {
  #cookieBanner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 16px !important;
  }
  #cookieAccept {
    width: 100% !important;
  }
}

/* ════════════════════════════════════════════════════
   NENAP MOBILE FIX — Complete override
   ════════════════════════════════════════════════════ */

/* Fix partners track causing page-wide overflow */
.partners-track-wrapper {
  overflow: hidden !important;
  max-width: 100% !important;
}
.partners-strip {
  overflow: hidden !important;
  max-width: 100% !important;
}

/* Root level — prevent ALL horizontal overflow */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Cookie banner — always on top and fully clickable */
#cookieBanner {
  z-index: 99999 !important;
  width: 100% !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
}
#cookieBanner.show {
  display: flex !important;
}
#cookieAccept {
  min-height: 44px !important;
  min-width: 80px !important;
  cursor: pointer !important;
  pointer-events: all !important;
  position: relative !important;
  z-index: 100000 !important;
}

@media (max-width: 768px) {
  /* Full width for everything */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Hero full width */
  #hero, .hero {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .slides-container, .slide {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Quicklinks — stack on mobile */
  .ql-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Apply form — single column */
  .apply-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .apply-info, .apply-form-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Fix form padding */
  .apply-form-card {
    padding: 20px !important;
  }

  /* Fix hero text */
  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
  }
  .hero-btns {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-btns .btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Cookie banner mobile */
  #cookieBanner {
    flex-direction: column !important;
    padding: 16px !important;
    gap: 12px !important;
    text-align: center !important;
  }
  #cookieAccept {
    width: 100% !important;
    padding: 12px !important;
    font-size: 1rem !important;
  }
}


/* ============================================================
   NENAP ARTICLE CARD — Council Meets Garissa
   ============================================================ */
.nenap-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26,35,126,0.10);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid #e2e6f3;
}
.na-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; padding: 18px 24px 0;
}
.na-header-left { display: flex; gap: 8px; flex-wrap: wrap; }
.na-badge {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px;
}
.na-badge-blue  { background: #e3f0ff; color: #1a237e; }
.na-badge-green { background: #e4f5e6; color: #1b5e20; }
.na-badge-gold  { background: #fff8e1; color: #8a6200; }
.na-date { font-size: 0.8rem; color: #888; font-weight: 500; }

.na-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700;
  color: #1a237e; padding: 14px 24px 4px; line-height: 1.25;
}
.na-subtitle { color: #666; font-size: 0.97rem; padding: 0 24px 16px; line-height: 1.5; }

/* Hero banner */
.na-hero-banner {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #1565c0 100%);
  padding: 20px 24px;
}
.na-hero-inner { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-around; }
.na-stat { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 80px; }
.na-stat-num { font-size: 1.8rem; }
.na-stat-label { color: rgba(255,255,255,0.85); font-size: 0.72rem; font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }

/* Body */
.na-body { padding: 24px; }
.na-lead { font-size: 0.97rem; color: #333; line-height: 1.75; margin-bottom: 20px; }

.na-focus-box {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border-left: 4px solid #c8a84b; border-radius: 10px;
  padding: 14px 18px; margin-bottom: 24px; font-size: 0.93rem; color: #5a4000;
}
.na-focus-icon { font-size: 1.8rem; flex-shrink: 0; }

.na-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; color: #1a237e;
  margin-bottom: 14px; padding-bottom: 6px;
  border-bottom: 2px solid #e8eaf6;
}

/* Highlight cards */
.na-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px; }
.na-highlight-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 10px; font-size: 0.88rem;
}
.na-highlight-card p { margin-top: 4px; line-height: 1.6; opacity: 0.85; }
.na-hl-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.na-hl-blue   { background: #e8eeff; border-left: 3px solid #3949ab; color: #1a237e; }
.na-hl-green  { background: #e8f5e9; border-left: 3px solid #43a047; color: #1b5e20; }
.na-hl-gold   { background: #fffde7; border-left: 3px solid #f9a825; color: #5a4000; }
.na-hl-purple { background: #f3e5f5; border-left: 3px solid #8e24aa; color: #4a148c; }

/* Commitment box */
.na-commitment-box {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  border-radius: 12px; padding: 22px 24px; margin-bottom: 20px;
}
.na-goals { display: flex; flex-direction: column; gap: 10px; }
.na-goal { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.9); font-size: 0.92rem; }
.na-goal-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #c8a84b; color: #1a237e; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

/* Quote */
.na-quote {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border-left: 5px solid #43a047;
  border-radius: 0 10px 10px 0;
  padding: 18px 24px; margin: 20px 0;
  font-style: italic; font-size: 1.05rem; font-weight: 600;
  color: #1b5e20; line-height: 1.6; text-align: center;
}
.na-quote-mark { font-size: 1.6rem; color: #43a047; font-style: normal; vertical-align: middle; }

/* CTA */
.na-cta-box {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px; background: linear-gradient(135deg, #fff8e1, #ffecb3);
  border: 1.5px solid #c8a84b; border-radius: 12px; padding: 18px 20px;
  margin: 20px 0;
}
.na-cta-text { font-size: 0.92rem; color: #5a4000; line-height: 1.6; flex: 1; }
.na-cta-btn {
  display: inline-block; background: #1a237e; color: #fff;
  padding: 10px 22px; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.na-cta-btn:hover { background: #283593; transform: translateY(-2px); }

/* Hashtags */
.na-hashtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.na-tag {
  background: #e8eeff; color: #1a237e; font-size: 0.75rem;
  font-weight: 600; padding: 4px 10px; border-radius: 20px;
  border: 1px solid #c5cae9;
}
.na-tag:nth-child(3n+1) { background: #e4f5e6; color: #1b5e20; border-color: #a5d6a7; }
.na-tag:nth-child(3n+2) { background: #fff8e1; color: #8a6200; border-color: #ffe082; }

@media (max-width: 600px) {
  .na-title { font-size: 1.25rem; padding: 12px 16px 4px; }
  .na-subtitle, .na-body { padding: 0 16px 16px; }
  .na-header { padding: 14px 16px 0; }
  .na-highlights { grid-template-columns: 1fr; }
  .na-cta-box { flex-direction: column; }
  .na-cta-btn { width: 100%; text-align: center; }
}
