/* ═══════════════════════════════════════════════════════════════
   ATMA MALIK EDUCATIONAL CAMPUS — style.css
   Premium University-Grade Stylesheet
   Design: Deep Navy + Gold + White | Mobile-First
   ═══════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0b1f3a;
  --navy-mid:    #122849;
  --navy-light:  #1a3a5c;
  --gold:        #c9a227;
  --gold-light:  #e0b93a;
  --gold-pale:   #fdf5dc;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --text-dark:   #0b1f3a;
  --text-mid:    #3b4f65;
  --text-muted:  #6b7d93;
  --border:      rgba(201,162,39,0.2);
  --border-light:rgba(11,31,58,0.08);
  --shadow-sm:   0 2px 12px rgba(11,31,58,0.08);
  --shadow-md:   0 8px 32px rgba(11,31,58,0.12);
  --shadow-lg:   0 20px 60px rgba(11,31,58,0.18);
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Poppins', sans-serif;
  --max-w:       1240px;
  --section-py:  64px; /* mobile-first: smaller padding */
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* prevent horizontal scroll at root level */
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-width: 320px; /* minimum supported width */
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ── UTILITY ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
/* Prevent any child from escaping the container on mobile */
.container > * { max-width: 100%; }
.section-py { padding: var(--section-py) 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Global word-break for long words/URLs on small screens */
p, h1, h2, h3, h4, h5, h6, li, span, div {
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title span { color: var(--gold); }
.section-title.light { color: var(--white); }
.section-desc {
  font-size: 15px; /* reduced from 16px for mobile */
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.75;
}
.section-desc.light { color: rgba(255,255,255,0.65); }
/* When section-desc needs to center under a centered heading */
.text-center .section-desc,
.section-desc[style*="margin:0 auto"],
.section-desc[style*="margin: 0 auto"] {
  margin-left: auto;
  margin-right: auto;
}
.gold-line {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 20px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* Eyebrow colour variants — avoids inline style hacks */
.eyebrow-light { color: var(--gold-light) !important; }
.eyebrow-light::before { background: var(--gold-light) !important; }
.eyebrow-navy { color: var(--navy) !important; }
.eyebrow-navy::before { background: var(--navy) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: normal; /* allow wrap on small screens */
  text-align: center;
  line-height: 1.4;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.45);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  padding: 13px 30px;
  border: 1.5px solid var(--navy);
}
.btn-ghost-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
  overflow: hidden;
}
.header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(11,31,58,0.3);
}
.header.transparent { background: transparent; }
.header.menu-open { background: var(--navy); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.logo-img {
  width: 40px; /* slightly smaller on mobile */
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
}
.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-tagline {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold); background: rgba(201,162,39,0.1); }
.nav-link.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-apply { display: flex; }

/* Mobile menu toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 20px;
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.mobile-nav-cta { margin-top: 12px; }

/* Notice band */
.notice-band {
  background: var(--gold);
  padding: 9px 20px;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.notice-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
.notice-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.notice-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(11,31,58,0.12);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(11,31,58,0.25);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,31,58,0.93) 0%,
    rgba(11,31,58,0.80) 50%,
    rgba(11,31,58,0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px; /* reduced from 140/100 on mobile */
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 24px;
  padding: 7px 18px;
  margin-bottom: 28px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-badge-text { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px; /* smaller row/col gap on mobile */
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-size: 30px; /* smaller on mobile */
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:0.8} 50%{transform:scaleY(0.5);opacity:0.3} }
.scroll-text { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; }

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 260px; /* reduced from 420px on mobile */
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 32px); /* don't overflow on small screens */
}
.about-img-badge-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.about-img-badge-label { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.about-content {}
.about-content p {
  font-size: 14.5px; /* reduced from 15.5px on mobile */
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-content p:last-of-type { margin-bottom: 0; }
.about-quote {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 18px; /* tighter on mobile */
  margin: 20px 0;
}
.about-quote p {
  font-size: 14px; /* reduced on mobile */
  font-style: italic;
  color: var(--navy);
  margin: 0;
  font-weight: 500;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr; /* single column on mobile */
  gap: 12px;
  margin-top: 24px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.about-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.about-highlight-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.about-highlight-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   INSTITUTIONS
══════════════════════════════════════════════════════ */
.institutions { background: var(--navy); }
.inst-intro { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.inst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.inst-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: var(--radius-lg);
  padding: 20px; /* reduced from 28px on mobile */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.inst-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.inst-card:hover {
  background: rgba(201,162,39,0.07);
  border-color: rgba(201,162,39,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.inst-card:hover::before { transform: scaleX(1); }
.inst-card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.inst-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(201,162,39,0.05));
  border: 1px solid rgba(201,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.inst-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.inst-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.inst-card-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.inst-card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inst-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 12px;
}

/* ══════════════════════════════════════════════════════
   NDA FEATURE
══════════════════════════════════════════════════════ */
.nda-feature {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.nda-feature::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
}
.nda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px; /* reduced from 48px */
  align-items: center;
}
.nda-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nda-img-wrap img {
  width: 100%;
  height: 260px; /* reduced from 380px on mobile */
  object-fit: cover;
}
.nda-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.6) 0%, transparent 50%);
}
.nda-badge-wrap {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
}
.nda-badge {
  background: rgba(11,31,58,0.85);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.nda-badge-num { font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1; }
.nda-badge-label { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; text-transform: uppercase; letter-spacing: 1px; }
.nda-content {}
.nda-content .section-title { margin-bottom: 16px; }
.nda-content .section-desc { margin-bottom: 28px; }
.nda-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.nda-feature-item { display: flex; align-items: flex-start; gap: 14px; }
.nda-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.nda-feature-check svg { width: 12px; height: 12px; }
.nda-feature-text { font-size: 14.5px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.nda-feature-text strong { color: var(--white); display: block; margin-bottom: 3px; font-size: 15px; }

/* ══════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════ */
.why-us { background: var(--off-white); }
.why-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 20px; /* tighter on mobile */
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 16px; /* reduced from 20px */
  align-items: flex-start;
}
.why-card:hover {
  border-color: rgba(201,162,39,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.why-card-body {}
.why-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   CAMPUS LIFE
══════════════════════════════════════════════════════ */
.campus-life { background: var(--white); }
.campus-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.campus-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.campus-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.campus-tile img {
  width: 100%;
  height: 200px; /* reduced from 220px on mobile */
  object-fit: cover;
  transition: transform 0.5s ease;
}
.campus-tile:hover img { transform: scale(1.04); }
.campus-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.8) 0%, rgba(11,31,58,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.campus-tile-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.campus-tile-sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.campus-stats {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 cols on mobile */
  gap: 12px;
  margin-top: 32px;
}
.campus-stat {
  text-align: center;
  padding: 20px 12px; /* tighter padding on mobile */
  background: var(--navy);
  border-radius: var(--radius-lg);
}
.campus-stat-num {
  font-size: 28px; /* smaller on mobile */
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.campus-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════
   ACADEMIC FACILITIES
══════════════════════════════════════════════════════ */
.facilities { background: var(--navy); }
.facilities-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  background: var(--navy-mid);
  border: 1px solid rgba(201,162,39,0.12);
  transition: var(--transition);
}
.facility-card:hover {
  border-color: rgba(201,162,39,0.35);
  transform: translateY(-4px);
}
.facility-img-wrap { position: relative; height: 200px; overflow: hidden; }
.facility-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-card:hover .facility-img-wrap img { transform: scale(1.05); }
.facility-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(18,40,73,0.9) 100%);
}
.facility-content { padding: 24px; }
.facility-icon { font-size: 24px; margin-bottom: 10px; }
.facility-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.facility-desc { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   BAL SANSKAR
══════════════════════════════════════════════════════ */
.bal-sanskar {
  background: linear-gradient(135deg, var(--gold-pale) 0%, #fff8e6 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.bal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px; /* reduced from 48px */
  align-items: center;
}
.bal-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bal-img-wrap img {
  width: 100%;
  height: 260px; /* reduced from 360px on mobile */
  object-fit: cover;
}
.bal-content .section-eyebrow { color: var(--navy); }
.bal-content .section-eyebrow::before { background: var(--navy); }
.bal-content .section-title { color: var(--navy); }
.bal-content .section-desc { color: var(--text-mid); margin-bottom: 28px; }
.bal-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.bal-point { display: flex; align-items: flex-start; gap: 12px; }
.bal-point-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}
.bal-point-text { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ══════════════════════════════════════════════════════
   CAMPUSES
══════════════════════════════════════════════════════ */
.campuses { background: var(--off-white); }
.campuses-intro { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.campuses-grid {
  display: grid;
  grid-template-columns: 1fr; /* single column on mobile */
  gap: 12px;
}
.campus-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 16px;
}
.campus-card:hover {
  border-color: rgba(201,162,39,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.campus-card-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.campus-card-main-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,162,39,0.1);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(201,162,39,0.3);
  display: inline-block;
  margin-top: 3px;
}
.campus-card-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.campus-card-region { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   ADMISSIONS
══════════════════════════════════════════════════════ */
.admissions {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.admissions::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.06) 0%, transparent 70%);
}
.admissions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px; /* reduced from 56px */
}
.admissions-content .section-title { margin-bottom: 16px; }
.admissions-content .section-desc { margin-bottom: 36px; }
.adm-steps { display: flex; flex-direction: column; gap: 24px; }
.adm-step { display: flex; gap: 18px; align-items: flex-start; }
.adm-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}
.adm-step-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.adm-step-desc { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.adm-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.adm-note-icon { font-size: 18px; flex-shrink: 0; }
.adm-note-text { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.adm-note-text strong { color: var(--gold); display: block; margin-bottom: 3px; }

/* ══════════════════════════════════════════════════════
   INQUIRY FORM
══════════════════════════════════════════════════════ */
.inquiry-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px 20px; /* reduced from 40px 32px on mobile */
  box-shadow: var(--shadow-lg);
}
.inquiry-card-header { margin-bottom: 28px; }
.inquiry-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.inquiry-card-sub {
  font-size: 14px;
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e9f0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-control::placeholder { color: #a0adb9; }
textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.6; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667085' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-submit { width: 100%; padding: 16px; font-size: 14px; letter-spacing: 1.5px; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: 28px;
}
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-success-desc { font-size: 14px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   STUDENT RESOURCES (Backlinks)
══════════════════════════════════════════════════════ */
.resources { background: var(--off-white); }
.resources-intro { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px; /* tighter on mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  cursor: pointer;
}
.resource-card:hover {
  border-color: rgba(201,162,39,0.4);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  background: var(--gold-pale);
}
.resource-card-left { display: flex; align-items: center; gap: 14px; }
.resource-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.resource-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.resource-card-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.resource-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.resource-card:hover .resource-card-arrow { background: var(--gold); }
.resource-card-arrow svg { width: 14px; height: 14px; color: var(--white); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
}
.footer-main {
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover { color: var(--gold); transform: translateX(4px); }
.footer-link::before { content: '›'; color: var(--gold); font-size: 16px; }
.footer-address-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
.footer-hours {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-hour-item { display: flex; align-items: center; gap: 10px; }
.footer-hour-day { font-size: 12px; font-weight: 600; color: var(--gold); min-width: 80px; }
.footer-hour-time { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-copy a { color: var(--gold); }
.footer-legal { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   FACILITIES EXTRA LIST
══════════════════════════════════════════════════════ */
.facilities-extra {
  margin-top: 32px;
  padding: 24px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius-lg);
}
.facilities-extra-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.facilities-list {
  display: grid;
  grid-template-columns: 1fr; /* single col on mobile */
  gap: 12px;
  list-style: none;
}
.facilities-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.5;
  word-break: normal; /* no hyphenation for list items */
}
.facilities-list-item span {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤380px)
   Extra-small phones like iPhone SE
══════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 13px; }
  .hero-badge-text { font-size: 10px; letter-spacing: 1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stat-num { font-size: 24px; }
  .nda-badge-wrap { gap: 6px; }
  .nda-badge { padding: 8px 10px; }
  .nda-badge-num { font-size: 18px; }
  .section-title { font-size: 22px; }
  .why-card { flex-direction: column; gap: 12px; }
  .why-card-icon { width: 44px; height: 44px; font-size: 18px; }
  .logo-tagline { display: none; } /* hide tagline on very small screens */
}

/* ===== RESPONSIVE - MOBILE COMFORT (<=600px)
   Adds breathing room for common phone widths ===== */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* So hero text isn't cramped under the fixed header */
  .hero { min-height: auto; padding-top: 88px; }
  .hero-content { padding: 108px 0 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px 20px; }

  /* Keep all cards single-column on phones for predictable flow */
  .inst-grid,
  .why-grid,
  .campus-mosaic,
  .facilities-grid,
  .campuses-grid,
  .resources-grid { grid-template-columns: 1fr !important; }

  /* Avoid squished footer columns */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
}

@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .nav { display: none; }
  .header-apply { display: none; }

  /* Mobile nav visible when open */
  .mobile-nav { top: 64px; } /* match new header height */

  /* Hero adjustments */
  .hero h1 { letter-spacing: -0.5px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 13px 24px; }

  /* About grid: single column, image first then text */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap img { height: 260px; }

  /* NDA badges smaller on tablet */
  .nda-badge { padding: 8px 12px; }
  .nda-badge-num { font-size: 18px; }

  /* Bal grid: image goes below content on mobile */
  .bal-grid { grid-template-columns: 1fr; gap: 32px; }
  .bal-img-wrap { order: 2; } /* image after content */

  /* Admissions grid single column */
  .admissions-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Campuses 2-column grid on tablet */
  .campuses-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Font size reductions for sections */
  .inst-card { padding: 20px; }
  .inst-card-title { font-size: 15px; }
  .inst-card-desc { font-size: 13px; }
  .why-card { padding: 20px 18px; }
  .why-card-title { font-size: 15px; }
  .adm-note { padding: 16px 18px; }
  .inquiry-card { padding: 24px 20px; }

  /* Form single column on mobile */
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-group { margin-bottom: 16px; }

  /* Section intros tighter */
  .inst-intro { margin-bottom: 32px; }
  .why-intro { margin-bottom: 32px; }
  .campus-intro { margin-bottom: 32px; }
  .facilities-intro { margin-bottom: 32px; }
  .campuses-intro { margin-bottom: 28px; }
  .resources-intro { margin-bottom: 28px; }

  /* Footer 2-col on tablet */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-legal { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≥640px)
   Mid-range phones and small tablets
══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --section-py: 80px; }

  .container { padding: 0 28px; }

  /* About */
  .about-highlights { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-content p { font-size: 15px; }
  .about-quote p { font-size: 14.5px; }
  .about-img-wrap img { height: 340px; }

  /* Institutions: 2 columns */
  .inst-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .inst-card { padding: 24px; }

  /* NDA */
  .nda-img-wrap img { height: 320px; }
  .nda-badge-num { font-size: 20px; }
  .nda-grid { gap: 40px; }

  /* Why choose us: 2 columns */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { padding: 24px 20px; }
  .why-intro { margin-bottom: 40px; }

  /* Campus mosaic: 2 columns */
  .campus-mosaic { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .campus-tile img { height: 230px; }
  .campus-intro { margin-bottom: 40px; }
  .campus-stats { grid-template-columns: repeat(4, 1fr); }
  .campus-stat { padding: 22px 14px; }
  .campus-stat-num { font-size: 32px; }

  /* Facilities */
  .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .facilities-intro { margin-bottom: 40px; }
  .facilities-extra { padding: 28px 24px; margin-top: 36px; }
  .facilities-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Bal sanskar */
  .bal-img-wrap img { height: 320px; }
  .bal-grid { gap: 40px; }

  /* Campuses: 3 columns */
  .campuses-grid { grid-template-columns: repeat(3, 1fr); }

  /* Admissions */
  .admissions-grid { gap: 48px; }

  /* Inquiry form: 2-col rows */
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-row .form-group { margin-bottom: 0; }
  .inquiry-card { padding: 32px 28px; }

  /* Resources: 2 columns */
  .resources-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .resources-intro { margin-bottom: 36px; }
  .resource-card { padding: 16px 18px; }

  /* Hero stat numbers larger */
  .hero-stat-num { font-size: 34px; }
  .hero-stats { gap: 24px 40px; padding-top: 40px; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (≥1024px)
   Full desktop layouts
══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root { --section-py: 96px; }

  .container { padding: 0 40px; }

  /* Header full desktop */
  .hamburger { display: none; }
  .nav { display: flex; }
  .header-apply { display: flex; }
  .header-inner { height: 72px; gap: 24px; }
  .mobile-nav { display: none !important; }
  .logo-img { width: 48px; height: 48px; }
  .logo-name { font-size: 15px; }
  .logo-tagline { font-size: 10px; letter-spacing: 1.5px; display: block; }

  /* About: 2 columns */
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .about-img-wrap img { height: 420px; }
  .about-highlights { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-content p { font-size: 15.5px; }
  .about-quote { padding: 20px 24px; }
  .about-quote p { font-size: 15px; }
  .about-img-badge { bottom: 24px; left: 24px; padding: 16px 20px; }

  /* Institutions: 3 columns */
  .inst-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .inst-card { padding: 28px; }
  .inst-card-title { font-size: 16px; }
  .inst-card-desc { font-size: 13.5px; }
  .inst-intro { margin-bottom: 56px; }

  /* NDA: 2 columns side by side */
  .nda-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .nda-img-wrap img { height: 460px; }
  .nda-badge-num { font-size: 22px; }
  .nda-badge { padding: 10px 16px; }

  /* Why: 3 columns */
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .why-card { padding: 32px 28px; gap: 20px; }
  .why-card-title { font-size: 17px; }
  .why-intro { margin-bottom: 56px; }

  /* Campus life: 3 columns */
  .campus-mosaic { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .campus-tile img { height: 280px; }
  .campus-intro { margin-bottom: 56px; }
  .campus-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
  .campus-stat { padding: 24px 16px; }
  .campus-stat-num { font-size: 34px; }

  /* Facilities: 3 columns */
  .facilities-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .facilities-intro { margin-bottom: 56px; }
  .facilities-extra { padding: 32px; margin-top: 40px; }
  .facilities-list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .facilities-extra-title { font-size: 14px; }

  /* Bal: 2 columns */
  .bal-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .bal-img-wrap { order: 0; } /* restore natural order */
  .bal-img-wrap img { height: 460px; }

  /* Campuses: wider */
  .campuses-grid { grid-template-columns: repeat(4, 1fr); }
  .campuses-intro { margin-bottom: 48px; }

  /* Admissions: 2 columns */
  .admissions-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }

  /* Form */
  .inquiry-card { padding: 40px 36px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-row .form-group { margin-bottom: 0; }

  /* Resources: 3 columns */
  .resources-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .resource-card { padding: 18px 22px; }
  .resources-intro { margin-bottom: 48px; }

  /* Footer: 4 columns */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-legal { justify-content: flex-end; }

  /* Hero */
  .hero-stat-num { font-size: 38px; }
  .hero-stats { gap: 56px; padding-top: 48px; }
  .hero-content { padding: 140px 0 100px; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (≥1280px)
══════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .why-card { padding: 36px 28px; }
  .inst-card { padding: 32px; }
  .facility-content { padding: 28px; }
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── Counter ── */
.counter { font-variant-numeric: tabular-nums; }

/* ── Section separator ── */
.sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* ── Loading state ── */
.btn-loading { position: relative; pointer-events: none; }
.btn-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: inherit;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
