/* ============================================
   Vishistaa College — BGSU-Inspired Design
   Navy #1B2D5B · Orange #E87520
   ============================================ */

:root {
  --navy: #1B2D5B;
  --navy-light: #27407a;
  --navy-dark: #0f1d3d;
  --accent: #E87520;
  --accent-hover: #d46810;
  --accent-light: #fdf0e4;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-50: #f1f3f9;
  --gray-100: #e4e7ef;
  --gray-200: #c8cdd9;
  --gray-400: #8891a5;
  --gray-600: #4b5568;
  --gray-800: #1e293b;
  --text: #1e293b;
  --text-muted: #64748b;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container: 1220px;
  --header-h: 90px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(27,45,91,0.06);
  --shadow: 0 4px 20px rgba(27,45,91,0.08);
  --shadow-lg: 0 16px 48px rgba(27,45,91,0.12);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
em { font-family: var(--font-serif); font-style: italic; color: var(--accent); }

/* Logo font for brand name — use wherever "Vishistaa" appears */
.brand-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ================================================
   UTILITY BAR
   ================================================ */
.utility-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 500;
  height: 36px;
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.utility-left, .utility-right { display: flex; align-items: center; gap: 1rem; }
.utility-sep { opacity: 0.3; }
.utility-bar a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.utility-bar a:hover { color: #fff; }

.utility-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.2rem 0.85rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.utility-cta:hover { background: var(--accent-hover); }

/* ================================================
   HEADER
   ================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 1; min-width: 0; text-decoration: none; margin: auto 0; }

.logo-mark {
  height: 54px;
  flex-shrink: 0;
}

.logo-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--navy);
  color: #fff; font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
}

.logo-brand {
  display: flex; flex-direction: column; justify-content: center;
  border-left: 5px solid var(--accent);
  padding-left: 0.7rem;
  height: 54px;
}
.logo-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
}
.logo-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
}
[data-typewriter] {
  display: inline-block;
  width: 0;
  border-right: 2px solid var(--navy);
  animation: none;
}
[data-typewriter].typed {
  width: auto;
  border-right: none;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 0; }

.nav-item { position: relative; }

.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-600);
  padding: 0 0.85rem; height: var(--header-h);
  line-height: var(--header-h);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link::after {
  content: ""; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.45; margin-left: 3px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.nav-item:hover .nav-link::after { transform: rotate(180deg); }

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 320px;
  max-width: 420px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 300;
}

.mega-dropdown-sm { grid-template-columns: 1fr; min-width: 240px; max-width: 280px; }

.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col { padding: 1.25rem; }
.mega-col + .mega-col { border-left: 1px solid var(--gray-100); }

.mega-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.65rem;
}

.mega-col a {
  display: block; font-size: 0.88rem; font-weight: 500;
  color: var(--gray-600); padding: 0.35rem 0;
  transition: color 0.15s, padding-left 0.15s;
}

.mega-col a:hover { color: var(--navy); padding-left: 0.35rem; }

/* Nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; flex-shrink: 0;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); transition: 0.3s; }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0;
  background: var(--navy);
}

.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,29,61,0.75) 0%, rgba(27,45,91,0.55) 50%, rgba(232,117,32,0.15) 100%);
}

.hero-body {
  position: relative; z-index: 2;
  max-width: 680px;
}

.hero-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin-bottom: 1rem;
}

.hero-title em { color: var(--accent); font-weight: 700; }

.hero-desc {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  margin-bottom: 2rem; max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.88rem; font-weight: 700;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,117,32,0.35); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.82rem; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-bar .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem; font-weight: 700;
  color: #fff; line-height: 1;
}

.stat-plus { font-family: var(--font-serif); font-size: 2rem; color: var(--accent); font-weight: 700; }
.stat-label { display: block; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }

/* ================================================
   SECTIONS
   ================================================ */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: #fff; }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

.overline {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.overline.light { color: rgba(255,255,255,0.5); }

.heading-lg {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  color: var(--navy);
}
.heading-lg.white { color: #fff; }
.heading-lg em { color: var(--accent); font-family: var(--font-serif); }

.section-desc { font-size: 1.05rem; color: var(--text-muted); margin-top: 0.75rem; max-width: 560px; }
.section-desc.light { color: rgba(255,255,255,0.65); }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 1rem; }

/* ================================================
   ABOUT — SPLIT LAYOUT
   ================================================ */
.split-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: start;
}

.split-text .overline { margin-bottom: 0.5rem; }
.split-text .heading-lg { margin-bottom: 1.25rem; }
.split-text p { color: var(--text-muted); margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.5rem; }

.split-cards { display: flex; flex-direction: column; gap: 1rem; }

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card.accent-border { border-left-color: var(--accent); }
.info-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ================================================
   PROGRAMMES
   ================================================ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.prog-hero-card {
  grid-row: 1 / 3;
  min-height: 320px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative;
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.prog-hero-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.prog-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,29,61,0.8) 0%, rgba(27,45,91,0.2) 60%, transparent 100%);
}

.prog-card-body {
  position: relative; z-index: 1;
  padding: 2rem;
}

.prog-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(232,117,32,0.3); color: #ffcfa0;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  margin-bottom: 0.75rem;
}

.prog-card-body h3 {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700;
  margin-bottom: 0.5rem;
}

.prog-card-body p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 0.75rem; }

.prog-cta {
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  transition: gap 0.2s;
}

.prog-sm {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease);
}

.prog-sm:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }

.prog-sm h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.prog-sm p { font-size: 0.85rem; color: var(--text-muted); flex-grow: 1; margin-bottom: 0.75rem; }

/* ================================================
   ADMISSIONS CTA
   ================================================ */
.section-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4.5rem 0;
}

.cta-box {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}

.cta-text .overline.light { color: var(--accent); }
.cta-text .heading-lg.white { margin-bottom: 0.75rem; }
.cta-text .heading-lg.white em { color: var(--accent); }
.cta-text p { color: rgba(255,255,255,0.7); }

.cta-steps { display: flex; flex-direction: column; gap: 1rem; }

.cta-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.cta-step:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }

.step-num {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--accent); display: block; margin-bottom: 0.25rem;
}

.cta-step h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.cta-step p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 0.5rem; }

/* ================================================
   CAMPUS LIFE
   ================================================ */
.campus-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
}

.campus-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.campus-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.campus-card-lg { grid-column: span 1; }

.campus-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.campus-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.campus-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ================================================
   PLACEMENTS
   ================================================ */
.placement-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 0.5rem;
}

.placement-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.placement-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(232,117,32,0.4); transform: translateY(-4px); }

.placement-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.placement-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.placement-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ================================================
   SCHOLARSHIPS
   ================================================ */
.scholarship-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}

.sch-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.sch-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }

.sch-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--accent); opacity: 0.3; margin-bottom: 0.35rem; line-height: 1;
}

.sch-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.sch-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.sch-card-cta {
  background: var(--accent-light);
  border-color: rgba(232,117,32,0.2);
}

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.contact-card h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a { font-size: 0.95rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--accent); }

.social-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.map-link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent) !important;
  transition: color 0.2s;
}
.map-link:hover { color: var(--navy) !important; }

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,45,91,0.08);
}
.map-embed iframe {
  display: block;
  width: 100%;
}

/* ================================================
   ENQUIRY MODAL
   ================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 29, 61, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1.5rem;
}
.modal-overlay.is-open {
  opacity: 1; visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(15, 29, 61, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.8rem; color: var(--text-muted);
  cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--navy); }

.modal-header { margin-bottom: 1.5rem; }
.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.25rem;
}
.modal-header p {
  font-size: 0.9rem; color: var(--text-muted);
}

.enquiry-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.02em;
}
.form-group .req { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 117, 32, 0.12);
}
.form-group textarea { resize: vertical; }

.btn-full { width: 100%; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }

.form-success {
  text-align: center; padding: 2rem 1rem;
}
.form-success i {
  font-size: 3rem; color: #22c55e; margin-bottom: 1rem;
}
.form-success h4 {
  font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem;
}
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 1.5rem; }
}

.social-btn {
  font-size: 0.78rem; font-weight: 700; color: var(--gray-600);
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.social-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-light); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }
.footer-logo .logo-mark { background: rgba(255,255,255,0.95); }

.footer-tagline {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  margin-top: 0.75rem; letter-spacing: 0.04em;
}

.footer-col h5 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.85rem;
}

.footer-col a {
  display: block; font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 0.25rem 0; transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center; padding: 1.5rem 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-hero-card { grid-row: span 1; min-height: 260px; }
  .campus-grid { grid-template-columns: repeat(3, 1fr); }
  .placement-grid { grid-template-columns: repeat(2, 1fr); }
  .scholarship-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet & small desktop: use hamburger menu so nav doesn't cramp or wrap */
@media (max-width: 992px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s var(--ease);
    z-index: 99;
  }

  .nav.is-open {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
  }

  .nav-link {
    height: auto; line-height: 1.4;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--gray-100);
    justify-content: space-between;
  }

  .nav-link::after { margin-left: auto; }

  /* Mobile: show dropdown content always (no accordion) - avoids visibility bugs */
  .mega-dropdown {
    position: static;
    transform: none;
    display: grid;
    grid-template-columns: 1fr;
    min-width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--gray-100);
    border-top: none;
    box-shadow: none;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin: 0 0 0.5rem 0;
    padding: 0.75rem 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mega-col + .mega-col { border-left: none; border-top: 1px solid var(--gray-100); }

  .mega-dropdown .mega-col {
    padding: 0.75rem 1rem;
  }

  .mega-dropdown .mega-col h4 {
    color: var(--accent);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .mega-dropdown .mega-col a {
    display: block;
    color: var(--gray-600);
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }

  .nav-toggle { display: flex; }
  .nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 768px) {
  .utility-bar { display: none; }

  .header { height: 64px; }

  .header .container { gap: 0.75rem; padding-left: 1rem; padding-right: 1rem; }

  .logo-brand { display: flex; min-width: 0; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub { font-size: 0.65rem; }
  .logo-mark { height: 42px; }
  .logo-brand { height: 42px; border-left-width: 3px; padding-left: 0.5rem; }

  .nav { top: 64px; max-height: calc(100vh - 64px); }

  .hero { height: 75vh; min-height: 440px; }
  .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }

  .prog-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr 1fr; }
  .placement-grid { grid-template-columns: 1fr; }
  .scholarship-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .logo-name { font-size: 0.95rem; text-overflow: ellipsis; overflow: hidden; max-width: 100%; }
  .logo-sub { font-size: 0.55rem; text-overflow: ellipsis; overflow: hidden; max-width: 100%; }
  .logo-mark { height: 36px; }
  .logo-brand { height: 36px; min-width: 0; }
}
