/* ==========================================================================
   ESWATINI MEDICAL CHRISTIAN UNIVERSITY (EMCU) — 2027 Design System
   Multi-Page Architecture • Online Lucide Icons • Scroll Animations • Print Ready
   ========================================================================== */

:root {
  --emcu-navy: #0A3B66;
  --emcu-navy-dark: #062440;
  --emcu-navy-light: #13528C;
  --emcu-purple: #4A156B;
  --emcu-purple-dark: #320C4A;
  --emcu-purple-soft: #F5EEF9;
  --emcu-gold: #F2DC3A;
  --emcu-gold-dark: #C49B08;

  --bg-page: #F7F9FC;
  --bg-surface: #FFFFFF;
  --bg-muted: #EEF2F7;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  --success: #0F766E;
  --success-bg: #CCFBF1;
  --info-bg: #E0F2FE;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --shadow-xs: 0 1px 2px rgba(10, 59, 102, 0.05);
  --shadow-sm: 0 4px 12px rgba(10, 59, 102, 0.07);
  --shadow-md: 0 10px 28px rgba(10, 59, 102, 0.10);
  --shadow-lg: 0 20px 48px rgba(6, 36, 64, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container-max: 1240px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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-primary);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Lucide Icon Alignment */
.lucide {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-pad {
  padding: 5rem 0;
}

.bg-white {
  background-color: var(--bg-surface);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emcu-purple);
  background: var(--emcu-purple-soft);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.04rem;
  color: var(--text-secondary);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.animate-in {
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emcu-navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--emcu-navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-purple {
  background: var(--emcu-purple);
  color: #fff;
}
.btn-purple:hover {
  background: var(--emcu-purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--emcu-gold);
  color: var(--emcu-navy-dark);
  font-weight: 700;
}
.btn-gold:hover {
  background: #e7d127;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--emcu-navy);
  color: var(--emcu-navy);
  background: rgba(10, 59, 102, 0.04);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.54rem 1.05rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   TOP UTILITY BAR & STICKY HEADER
   ========================================================================== */
.utility-bar {
  background: var(--emcu-navy-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.utility-contact, .utility-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-contact a, .utility-contact span, .utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.utility-contact a:hover, .utility-links a:hover {
  color: var(--emcu-gold);
}

.utility-links a.highlight-link {
  background: rgba(242, 220, 58, 0.16);
  color: var(--emcu-gold);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 78px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--emcu-navy);
  line-height: 1.15;
}

.brand-motto {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emcu-purple);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--emcu-navy);
  background: rgba(10, 59, 102, 0.07);
}

.nav-link.active {
  color: var(--emcu-purple);
  background: var(--emcu-purple-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--emcu-navy);
}

/* ==========================================================================
   PAGE BANNER (For Subpages: About, Programmes, Fees, Admissions, Contact)
   ========================================================================== */
.page-banner {
  background: linear-gradient(120deg, var(--emcu-navy-dark) 0%, var(--emcu-navy) 55%, var(--emcu-purple-dark) 100%);
  color: #fff;
  padding: 3.75rem 0;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(242, 220, 58, 0.14), transparent 45%);
  pointer-events: none;
}

.page-banner .eyebrow {
  background: rgba(242, 220, 58, 0.18);
  color: var(--emcu-gold);
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  margin-bottom: 0.65rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION & SLIDER (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--emcu-navy-dark);
  color: #fff;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 36, 64, 0.92) 0%, rgba(10, 59, 102, 0.80) 50%, rgba(74, 21, 107, 0.62) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 6.75rem;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emcu-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.15rem;
}

.hero-title span {
  color: var(--emcu-gold);
}

.hero-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-controls {
  position: absolute;
  bottom: 4.5rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  width: 30px;
  background: var(--emcu-gold);
}

/* ==========================================================================
   QUICK ACCESS BAR & STATS
   ========================================================================== */
.quick-bar-wrap {
  position: relative;
  z-index: 10;
  margin-top: -3.2rem;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border-right: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.quick-card:last-child {
  border-right: none;
}

.quick-card:hover {
  background: var(--emcu-purple-soft);
}

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 59, 102, 0.08);
  color: var(--emcu-navy);
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: all var(--transition);
}

.quick-card:hover .quick-icon {
  background: var(--emcu-purple);
  color: #fff;
  transform: scale(1.06);
}

.quick-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.quick-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--emcu-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ==========================================================================
   FACULTIES & PROGRAMMES (Aligned Cards)
   ========================================================================== */
.faculties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faculty-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--emcu-navy-light);
}

.faculty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emcu-purple-soft);
  color: var(--emcu-purple);
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
}

.faculty-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.faculty-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.faculty-programmes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.prog-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--emcu-navy);
}

/* Programmes Grid */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--emcu-navy);
  color: var(--emcu-navy);
}

.filter-tab.active {
  background: var(--emcu-navy);
  border-color: var(--emcu-navy);
  color: #fff;
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.programme-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition);
}

.programme-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.prog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prog-faculty-tag {
  color: var(--emcu-purple);
  background: var(--emcu-purple-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.prog-duration {
  color: var(--text-muted);
}

.programme-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.55rem;
}

.programme-card .prog-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.prog-footer {
  margin-top: auto;
}

.prog-fee-preview {
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prog-fee-preview strong {
  font-family: var(--font-mono);
  color: var(--emcu-navy);
}

.prog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* ==========================================================================
   FEES & BANKING
   ========================================================================== */
.fees-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.calculator-card, .banking-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  background: #fff;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--emcu-navy);
  box-shadow: 0 0 0 3px rgba(10, 59, 102, 0.12);
}

.fee-breakdown {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 0.52rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.fee-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.fee-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--emcu-navy);
  color: #fff;
  border-radius: var(--radius-sm);
}

.fee-total strong {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--emcu-gold);
}

.banking-card {
  background: linear-gradient(180deg, #0A3B66 0%, #062440 100%);
  color: #fff;
  border: none;
}

.banking-card h3 { color: #fff; margin-bottom: 0.5rem; }
.banking-card p { color: rgba(255, 255, 255, 0.84); font-size: 0.9rem; margin-bottom: 1.25rem; }

.bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.bank-table td {
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.bank-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emcu-gold);
}

.bank-notice {
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--emcu-gold);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.84rem;
}

/* ==========================================================================
   VISION, MISSION, CORE VALUES & NEWS
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.vm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 4px solid var(--emcu-navy);
}

.vm-card.mission {
  border-top-color: var(--emcu-purple);
}

.vm-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-item h4 { font-size: 1rem; color: var(--emcu-navy); margin-bottom: 0.4rem; }
.value-item p { font-size: 0.87rem; color: var(--text-secondary); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-thumb {
  height: 195px;
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-date-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(6, 36, 64, 0.9);
  color: var(--emcu-gold);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.news-body { padding: 1.5rem; }
.news-cat { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; color: var(--emcu-purple); margin-bottom: 0.4rem; }
.news-body h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.news-body p { font-size: 0.88rem; color: var(--text-secondary); }

/* ==========================================================================
   CONTACT & CAMPUS
   ========================================================================== */
.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--emcu-purple-soft);
  color: var(--emcu-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 36, 64, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open { display: flex; }

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  animation: fadeSlideUp 0.25s ease;
}

.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--emcu-navy-dark);
  color: rgba(255, 255, 255, 0.84);
  padding: 4rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 1rem; }

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--emcu-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   EMCU SMART ADMISSIONS CHATBOT
   ========================================================================== */
.chatbot-launcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--emcu-purple) 0%, var(--emcu-navy) 100%);
  color: #fff;
  border: 2px solid rgba(242, 220, 58, 0.7);
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition);
}

.chatbot-launcher:hover { transform: translateY(-3px) scale(1.02); }

.chatbot-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: min(420px, calc(100vw - 2rem));
  height: min(580px, calc(100vh - 8rem));
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-panel.open {
  display: flex;
  animation: fadeSlideUp 0.25s ease;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--emcu-navy-dark) 0%, var(--emcu-purple) 100%);
  color: #fff;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}

.chatbot-status { font-size: 0.74rem; color: var(--emcu-gold); }

.chatbot-settings-bar {
  display: none;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}
.chatbot-settings-bar.open { display: block; }

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-page);
}

.chat-msg {
  max-width: 88%;
  padding: 0.78rem 0.98rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.52;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--emcu-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.chat-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--emcu-navy);
  cursor: pointer;
}

.chat-chip:hover {
  background: var(--emcu-purple-soft);
  border-color: var(--emcu-purple);
  color: var(--emcu-purple);
}

.chatbot-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.chatbot-input-row input {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.8rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .programmes-grid { grid-template-columns: repeat(2, 1fr); }
  .fees-layout, .campus-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  .mobile-toggle { display: inline-flex; }
  .quick-bar { grid-template-columns: repeat(2, 1fr); }
  .quick-card { border-bottom: 1px solid var(--border-subtle); }
  .stats-grid, .values-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .faculties-grid, .vm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.76rem; }
  .brand-motto { font-size: 0.62rem; }
  .nav-actions .btn { display: none; }
  .quick-bar, .stats-grid, .values-grid, .news-grid, .programmes-grid { grid-template-columns: 1fr; }
}
