/* ============================================================
   MED CRACK INSTITUTE — Stylesheet
   Single scrollable page layout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --navy:    #0a1628;
  --deep:    #0d1f3c;
  --crimson: #c0392b;
  --gold:    #e8b84b;
  --cream:   #fdf6ec;
  --card-bg: #f7f3ee;
  --text:    #1a2744;
  --muted:   #6b7a99;
  --white:   #ffffff;
  --border:  #e8e0d4;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--white); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.72); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--crimson); color: #fff; border: none; padding: 0.55rem 1.4rem; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: #a93226; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: #fff; display: block; border-radius: 2px; transition: all 0.3s; }

/* ── SECTION COMMONS ── */
section { padding: 90px 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--crimson); margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; color: var(--text); line-height: 1.15; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 580px; margin-bottom: 3.5rem; }

/* ── SECTION DIVIDER (dark header for inner sections) ── */
.section-hero { background: var(--navy); padding: 80px 5vw 60px; position: relative; overflow: hidden; }
.section-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 80% 50%, #1a2f5e 0%, transparent 65%); }
.section-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.section-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.section-hero-tag { display: inline-block; background: rgba(232,184,75,0.15); border: 1px solid rgba(232,184,75,0.4); color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 2px; margin-bottom: 1.2rem; }
.section-hero h2 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 0.8rem; }
.section-hero h2 em { font-style: italic; color: var(--gold); }
.section-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.7; max-width: 540px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--crimson); color: #fff; border: none; padding: 0.85rem 2rem; border-radius: 4px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; display: inline-block; }
.btn-primary:hover { background: #a93226; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); padding: 0.85rem 2rem; border-radius: 4px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-white { background: var(--white); color: var(--crimson); border: none; padding: 0.85rem 2rem; border-radius: 4px; font-size: 0.95rem; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── RESULTS STRIP ── */
.results-strip { background: var(--crimson); padding: 24px 5vw; display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.strip-item { text-align: center; }
.strip-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; color: var(--white); }
.strip-lbl { color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 500; }

/* ── FOOTER ── */
footer { background: #060e1c; color: rgba(255,255,255,0.4); padding: 40px 5vw; text-align: center; font-size: 0.85rem; line-height: 1.8; }
footer strong { color: rgba(255,255,255,0.75); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--gold); }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(6,14,28,0.85); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 20px; padding: 3rem; width: 100%; max-width: 520px; position: relative; transform: translateY(30px); transition: transform 0.3s; box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 900; color: var(--text); margin-bottom: 0.5rem; }
.modal-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; letter-spacing: 0.03em; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #ddd; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text); background: #fafafa; transition: border-color 0.2s; outline: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--crimson); background: #fff; }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal-submit { width: 100%; padding: 1rem; background: var(--crimson); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s, transform 0.15s; margin-top: 0.5rem; }
.modal-submit:hover { background: #a93226; transform: translateY(-2px); }
.success-msg { display: none; text-align: center; padding: 1rem 0; }
.success-msg .check { font-size: 3rem; margin-bottom: 0.5rem; }
.success-msg h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; }
.success-msg p { color: var(--muted); font-size: 0.95rem; }

/* ══════════════════════════════
   #home — HERO
══════════════════════════════ */
#home {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, #1a2f5e 0%, transparent 65%), radial-gradient(ellipse 50% 80% at 10% 80%, #1e0a0a 0%, transparent 60%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-tag { display: inline-block; background: rgba(232,184,75,0.15); border: 1px solid rgba(232,184,75,0.4); color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 2px; margin-bottom: 1.5rem; }
.hero-h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.08; font-weight: 900; color: var(--white); margin-bottom: 1.5rem; }
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; backdrop-filter: blur(10px); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 0.5rem; }

/* ══════════════════════════════
   #why
══════════════════════════════ */
#why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.why-card { background: var(--cream); border: 1.5px solid var(--border); border-radius: 14px; padding: 2rem; transition: all 0.3s; }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(10,22,40,0.1); border-color: var(--gold); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.why-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ══════════════════════════════
   #courses
══════════════════════════════ */
#courses { background: var(--cream); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.course-card { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); transition: all 0.3s; }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10,22,40,0.12); border-color: var(--gold); }
.course-header { padding: 2rem; background: var(--deep); position: relative; overflow: hidden; }
.course-header::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 100px; height: 100px; border-radius: 50%; background: rgba(232,184,75,0.1); }
.course-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.course-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.course-tag { display: inline-block; background: rgba(232,184,75,0.2); color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.25rem 0.75rem; border-radius: 20px; }
.course-body { padding: 1.8rem 2rem; }
.course-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.course-features { list-style: none; margin-bottom: 1.8rem; }
.course-features li { color: var(--text); font-size: 0.9rem; padding: 0.45rem 0; display: flex; align-items: flex-start; gap: 0.6rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.course-features li::before { content: '✓'; color: var(--crimson); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }
.course-fee { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1.5px solid var(--border); }
.fee-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.fee-amount { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--crimson); }
.course-cta { display: block; width: 100%; margin-top: 1.2rem; padding: 0.8rem; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; }
.course-cta:hover { background: var(--crimson); }

/* Comparison table */
#compare { background: var(--card-bg); }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th { background: var(--navy); color: var(--white); padding: 1rem 1.2rem; text-align: left; font-weight: 600; }
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child  { border-radius: 0 10px 0 0; }
.compare-table td { padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.6); }
.compare-table tr:hover td { background: rgba(232,184,75,0.08); }
.check-yes { color: #27ae60; font-weight: 700; }
.check-no  { color: #bbb; }

/* ══════════════════════════════
   #faculty
══════════════════════════════ */
#faculty { background: var(--white); }
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2rem; }
.prof-card { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.prof-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10,22,40,0.13); border-color: var(--gold); }
.prof-img { width: 100%; height: 200px; background: var(--deep); display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; }
.prof-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, var(--card-bg), transparent); }
.prof-body { padding: 1.5rem 1.8rem 1.8rem; }
.prof-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.prof-subject { color: var(--crimson); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.prof-bio { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.2rem; }
.prof-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prof-tag { background: var(--white); border: 1px solid var(--border); color: var(--text); font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 20px; }

/* Teaching philosophy */
#philosophy { background: var(--navy); }
#philosophy .section-title { color: var(--white); }
#philosophy .section-sub  { color: rgba(255,255,255,0.5); }
.phil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.phil-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 2rem; transition: all 0.3s; }
.phil-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.phil-icon { font-size: 2rem; margin-bottom: 1rem; }
.phil-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.phil-text { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.65; }

/* ══════════════════════════════
   #alumni
══════════════════════════════ */
#alumni { background: var(--white); }
.alumni-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.alumni-card { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 16px; padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden; }
.alumni-card::before { content: '"'; font-family: 'Playfair Display', serif; font-size: 8rem; font-weight: 900; color: var(--gold); opacity: 0.08; position: absolute; top: -1rem; left: 1rem; line-height: 1; pointer-events: none; }
.alumni-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(10,22,40,0.12); border-color: var(--gold); }
.alumni-top { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.alumni-avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--deep); border: 2.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.alumni-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.alumni-rank { color: var(--crimson); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; margin-top: 0.2rem; }
.alumni-batch { color: var(--muted); font-size: 0.75rem; margin-top: 0.15rem; }
.alumni-quote { color: #4a5568; font-size: 0.93rem; line-height: 1.7; font-style: italic; margin-bottom: 1.2rem; }
.alumni-college { display: inline-block; background: rgba(10,22,40,0.07); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 20px; }

/* Hall of Fame */
#hall { background: var(--navy); }
#hall .section-title { color: var(--white); }
#hall .section-sub   { color: rgba(255,255,255,0.5); }
.hall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.hall-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.hall-card:hover { background: rgba(232,184,75,0.1); border-color: rgba(232,184,75,0.4); }
.hall-emoji { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hall-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.hall-rank { color: var(--gold); font-size: 0.82rem; font-weight: 600; }
.hall-college { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.3rem; }

/* CTA Band */
.cta-band { background: var(--crimson); padding: 60px 5vw; text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: var(--white); margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 2rem; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content        { gap: 2.5rem; }
  .courses-grid        { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid        { grid-template-columns: repeat(2, 1fr); }
  .alumni-grid         { grid-template-columns: repeat(2, 1fr); }
  .why-grid            { grid-template-columns: repeat(3, 1fr); }
  .hall-grid           { grid-template-columns: repeat(4, 1fr); }
}

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

  /* ── Nav ── */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 1.5rem 5vw; gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open a { font-size: 1rem; padding: 0.4rem 0; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }

  /* ── Sections ── */
  section { padding: 60px 6vw; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-sub   { font-size: 0.95rem; margin-bottom: 2rem; }
  .section-hero  { padding: 60px 6vw 44px; }
  .section-hero h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* ── Hero ── */
  #home { padding-top: 68px; min-height: auto; padding-bottom: 50px; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 6vw; }
  .hero-h1  { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.97rem; margin-bottom: 2rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; text-align: center; padding: 0.9rem 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 0; }
  .stat-card  { padding: 1.4rem 1rem; }
  .stat-num   { font-size: 2.2rem; }

  /* ── Results strip ── */
  .results-strip { gap: 1.5rem; padding: 20px 6vw; }
  .strip-num { font-size: 1.8rem; }
  .strip-lbl { font-size: 0.72rem; }

  /* ── Why cards ── */
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-card { padding: 1.5rem; }

  /* ── Course cards ── */
  .courses-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .course-header { padding: 1.5rem; }
  .course-body   { padding: 1.4rem 1.5rem; }

  /* ── Compare table ── */
  #compare { padding: 50px 4vw; }
  .compare-table th,
  .compare-table td { padding: 0.7rem 0.8rem; font-size: 0.82rem; }

  /* ── Faculty cards ── */
  .faculty-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .prof-img     { height: 160px; font-size: 4rem; }

  /* ── Philosophy cards ── */
  .phil-grid { grid-template-columns: 1fr; gap: 1rem; }
  .phil-card { padding: 1.5rem; }

  /* ── Alumni cards ── */
  .alumni-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .alumni-card { padding: 1.5rem; }
  .alumni-avatar { width: 52px; height: 52px; font-size: 1.3rem; }

  /* ── Hall of fame ── */
  .hall-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .hall-card { padding: 1.2rem 0.8rem; }

  /* ── CTA band ── */
  .cta-band { padding: 50px 6vw; }
  .btn-row  { flex-direction: column; align-items: center; }
  .btn-row .btn-white,
  .btn-row .btn-outline { width: 100%; max-width: 300px; text-align: center; }

  /* ── Modal ── */
  .modal { padding: 1.8rem 1.4rem; border-radius: 14px; margin: 0 0.5rem; }
  .modal-title  { font-size: 1.5rem; }
  .form-grid    { grid-template-columns: 1fr; }
  .modal-submit { padding: 0.9rem; }

  /* ── Footer ── */
  footer { padding: 32px 6vw; font-size: 0.82rem; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (≤ 420px)
════════════════════════════════════════ */
@media (max-width: 420px) {
  .hero-h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 1.9rem; }
  .hall-grid { grid-template-columns: repeat(2, 1fr); }
  .results-strip { flex-direction: column; gap: 1.2rem; padding: 18px 6vw; }
  .nav-logo { font-size: 1.25rem; }
}
