/* ============================================================
   MJS Defence Academy — Rankers Batch landing page
   Built from Figma (Om prakash file, node 4992:4).
   ============================================================ */

:root {
  --z: 1;
  --bg: #0b0f19;
  --bg-alt: #1b2a1c;
  --card-bg: #1e293b;
  --card-border: #334155;
  --accent: #d4af37;
  --accent-soft: #f3e5ab;
  --ink: #ffffff;
  --body-text: #f1f5f9;
  --muted: #64748b;
  --display: "Big Shoulders Display", sans-serif;
  --sans: "Archivo", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--body-text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
section[id] { scroll-margin-top: 24px; }

.wrap { width: 1440px; margin: 0 auto; position: relative; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Shared section heading ---------- */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 96px 80px 0; text-align: center; }
.section-head .kicker, .section-head h2 { width: 100%; }
.section-head .kicker { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: 48px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.section-divider { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.section-divider .line { width: 40px; height: 1px; background: var(--accent); opacity: .55; }
.section-divider img { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--bg); font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; padding: 14px 28px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(212, 175, 55, .3); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--bg); }
.hero-content { position: relative; height: 945px; display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 111px 80px 48px; background: rgba(27, 42, 28, .85); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 898px; opacity: .07; overflow: hidden; z-index: 0; }
.hero-bg img { position: absolute; top: 0; left: -17.51%; width: 135.02%; height: 100%; max-width: none; object-fit: cover; }

.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 1280px; max-width: 100%; }
.hero-title, .hero-subtitle, .hero-desc { width: 100%; }
.hero-tag { display: inline-flex; background: var(--accent); color: var(--bg); font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; padding: 6px 12px; border-radius: 4px; }
.hero-title { font-family: var(--display); font-weight: 900; font-size: 80px; line-height: 1.05; letter-spacing: 2px; text-align: center; color: var(--ink); text-transform: uppercase; }
.hero-title span { display: block; color: var(--accent); }
.hero-subtitle { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: 4px; text-align: center; color: var(--accent-soft); text-transform: uppercase; }
.hero-desc { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.5; text-align: center; color: var(--body-text); max-width: 800px; margin: 0 auto; }

.hero-image-container { position: relative; z-index: 1; width: 1192.73px; max-width: 100%; height: 410px; border: 1.86px solid var(--accent); border-radius: 31px; overflow: hidden; }
.hero-image-container img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge { position: absolute; z-index: 2; left: 617px; top: 436px; width: 206px; height: 132px; overflow: hidden; border-radius: 8px; }
.hero-badge img { position: absolute; top: -.21%; left: -104.21%; width: 315.86%; height: 100.41%; max-width: none; }

.announcement-banner { position: relative; z-index: 1; background: var(--accent); display: flex; align-items: center; justify-content: center; padding: 16px 80px; }
.announcement-banner p { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: 2px; text-align: center; color: var(--bg); min-width: 0; }

.top-bar { position: absolute; z-index: 3; left: 50%; top: 22px; transform: translateX(-50%); width: 1304px; max-width: calc(100% - 40px); display: flex; align-items: center; justify-content: space-between; background: rgba(11, 15, 25, .51); border-radius: 22px; padding: 10px 20px; backdrop-filter: blur(6px); }
.top-bar-brand { display: flex; align-items: center; gap: 12px; }
.top-bar-logo { width: 71px; height: 46px; overflow: hidden; border-radius: 4px; flex-shrink: 0; }
.top-bar-logo img { position: absolute; top: -.21%; left: -104.21%; width: 315.86%; height: 100.41%; max-width: none; }
.top-bar-logo { position: relative; }
.top-bar-brand-name { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.top-bar-pill { display: inline-flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--accent); border-radius: 25px; padding: 8px 16px; }
.top-bar-pill span { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--accent); white-space: nowrap; }

/* ============================================================
   WHY RANKERS BATCH
   ============================================================ */
.why-rankers { background: var(--bg); padding-bottom: 96px; }
.feature-grid { display: flex; flex-wrap: wrap; gap: 24px; padding: 48px 80px 0; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1 1 calc(33.333% - 16px); }
.feature-icon { width: 48px; height: 48px; background: var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.feature-icon img { width: 24px; height: 24px; }
.feature-card h3 { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--ink); }
.feature-card p { font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.5; color: var(--body-text); }

/* ============================================================
   ABOUT PROGRAMME
   ============================================================ */
.about-programme { background: var(--bg-alt); padding-bottom: 96px; }
.about-body { display: flex; align-items: center; gap: 48px; padding: 48px 80px 0; }
.about-portrait { width: 480px; height: 520px; flex-shrink: 0; border: 2px solid var(--accent); border-radius: 8px; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.about-eyebrow { display: flex; align-items: center; gap: 8px; }
.about-eyebrow img { width: 20px; height: 20px; }
.about-eyebrow span { font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.about-copy p { font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.65; color: var(--body-text); }
.about-copy p strong { font-weight: 700; color: var(--accent-soft); }
.about-copy .btn { align-self: flex-start; margin-top: 16px; }

/* ============================================================
   COURSE DETAILS
   ============================================================ */
.course-details { background: var(--bg); padding-bottom: 96px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 80px 0; }
.stat-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; }
.stat-card-top span { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.stat-card-top img { width: 20px; height: 20px; }
.stat-card .stat-value { font-family: var(--display); font-weight: 800; font-size: 32px; text-transform: uppercase; color: var(--ink); }
.stat-card .stat-note { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--accent-soft); }

/* ============================================================
   CURRICULUM
   ============================================================ */
.curriculum { background: var(--bg-alt); padding-bottom: 96px; }
.curriculum-grid { display: flex; gap: 48px; padding: 48px 80px 0; }
.curriculum-card { flex: 1; background: var(--bg); border: 1px solid var(--accent); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.curriculum-head { display: flex; align-items: center; gap: 12px; }
.curriculum-head img { width: 24px; height: 24px; }
.curriculum-head h3 { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: 1px; color: var(--ink); }
.curriculum-card hr { border: 0; border-top: 1px solid var(--card-border); }
.curriculum-list { display: flex; flex-direction: column; gap: 16px; }
.curriculum-list div { display: flex; align-items: center; gap: 12px; }
.curriculum-list img { width: 14px; height: 14px; }
.curriculum-list span { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--body-text); }

/* ============================================================
   FACULTY
   ============================================================ */
.faculty { background: var(--bg); padding-bottom: 96px; }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px 80px 0; }
.faculty-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; }
.faculty-photo { position: relative; width: 100%; aspect-ratio: 302 / 232; overflow: hidden; }
.faculty-photo img { position: absolute; max-width: none; }
.faculty-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.faculty-card-body h3 { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--ink); }
.faculty-card-body span { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--accent); }

/* ============================================================
   CTA / FOOTER
   ============================================================ */
.cta-footer { position: relative; background: var(--bg-alt); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; opacity: .09; z-index: 0; }
.cta-bg img { position: absolute; top: 0; left: 0; width: 100%; height: 146.94%; max-width: none; object-fit: cover; }
.cta-inner { padding: 96px 80px 48px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.cta-main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; width: 100%; }
.cta-main h2 { width: 100%; font-family: var(--display); font-weight: 900; font-size: 64px; color: var(--accent); }
.cta-main p { width: 100%; font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 720px; margin: 0 auto; }
.cta-main .btn { margin-top: 12px; }
.cta-call { position: relative; z-index: 1; background: var(--bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 24px; }
.cta-call p { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 1px; color: var(--ink); }
.cta-call a { color: inherit; text-decoration: none; }
.cta-quote { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; width: 100%; }
.cta-quote h3, .cta-quote p { width: 100%; }
.cta-quote h3 { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.cta-quote p { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--muted); }
.cta-legal { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; padding-top: 24px; font-family: var(--sans); font-size: 12px; }
.cta-legal .copyright { color: var(--muted); }
.cta-legal .tag { color: var(--accent); }

/* ============================================================
   ZOOM LAYER: 900-1439px shows the 1440 design proportionally
   ============================================================ */
@media (min-width: 900px) and (max-width: 1439.98px) {
  body { zoom: var(--z, .68); }
}

/* ============================================================
   MOBILE (<900px)
   ============================================================ */
@media (max-width: 899.98px) {
  .wrap { width: 100%; }

  .top-bar { position: static; transform: none; width: 100%; max-width: none; margin: 16px auto 0; border-radius: 16px; padding: 10px 14px; flex-wrap: wrap; gap: 10px; }
  .top-bar-brand-name { font-size: 18px; }
  .top-bar-pill span { font-size: 11px; }

  .hero-content { height: auto; padding: 16px 20px 32px; gap: 24px; }
  .hero-copy { width: 100%; gap: 12px; }
  .hero-title { font-size: 30px; letter-spacing: 0; }
  .hero-subtitle { font-size: 17px; letter-spacing: 1.5px; }
  .hero-desc { font-size: 16px; }
  .hero-image-container { width: 100%; height: auto; aspect-ratio: 1192.73 / 410; }
  .hero-badge { display: none; }
  .announcement-banner { padding: 14px 20px; }
  .announcement-banner p { font-size: 13px; letter-spacing: .5px; }

  .section-head { padding: 56px 20px 0; }
  .section-head h2 { font-size: 30px; }

  .feature-grid { padding: 32px 20px 0; }
  .feature-card { flex-basis: 100%; }
  .stat-grid, .faculty-grid { grid-template-columns: 1fr; padding: 32px 20px 0; }
  .curriculum-grid { flex-direction: column; padding: 32px 20px 0; }
  .curriculum-card { padding: 28px; }

  .about-body { flex-direction: column; padding: 32px 20px 0; gap: 24px; }
  .about-portrait { width: 100%; height: auto; aspect-ratio: 480 / 520; }
  .about-copy p { font-size: 16px; }

  .cta-inner { padding: 56px 20px 32px; gap: 40px; }
  .cta-main h2 { font-size: 34px; }
  .cta-main p { font-size: 16px; }
  .cta-quote h3 { font-size: 24px; }
  .cta-legal { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Reduced motion (always last)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
