/* =========================================================
   TOPPERS NEXT — Global Stylesheet
   Brand: Navy + Gold | Mobile-first | Premium card UI
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --navy:        #0A1F44;
  --deep-blue:   #1E3A8A;
  --gold:        #F5A623;
  --gold-2:      #FFB800;
  --white:       #FFFFFF;
  --light-bg:    #F4F7FB;
  --text-dark:   #0F1B33;
  --muted:       #5b6b86;
  --border:      #e4eaf2;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 10px rgba(10, 31, 68, .06);
  --shadow:      0 10px 30px rgba(10, 31, 68, .10);
  --shadow-lg:   0 18px 50px rgba(10, 31, 68, .18);

  --grad-navy:   linear-gradient(135deg, #0A1F44 0%, #16306e 55%, #1E3A8A 100%);
  --grad-gold:   linear-gradient(135deg, #FFB800 0%, #F5A623 100%);

  --container:   1200px;
  --header-h:    72px;

  --font: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 18px;
}

.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.bg-light { background: var(--light-bg); }
.text-center { text-align: center; }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--deep-blue);
  background: #e8eefc;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.18; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(245, 166, 35, .35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(245, 166, 35, .45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--deep-blue); transform: translateY(-3px); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--navy);
  color: #cfe0ff;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #cfe0ff; transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-social { display: flex; gap: 12px; font-size: .95rem; }
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-toggle button {
  color: #cfe0ff;
  padding: 3px 12px;
  font-size: .78rem;
  font-weight: 600;
}
.lang-toggle button.active { background: var(--gold); color: var(--navy); }

/* =========================================================
   MAIN NAV (sticky)
   ========================================================= */
.header { position: sticky; top: 0; z-index: 1000; }
.navbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, padding .25s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; flex: none; }
.brand img { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; box-shadow: 0 2px 8px rgba(10,31,68,.18); }
.brand .brand-text { line-height: 1.1; white-space: nowrap; }
.brand .brand-text strong { display: block; color: var(--navy); font-size: 1.12rem; font-weight: 700; letter-spacing: .02em; }
.brand .brand-text small { display: block; color: var(--gold); font-size: .66rem; font-weight: 600; letter-spacing: .04em; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li > a,
.nav-menu > li > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  font-weight: 500;
  font-size: .9rem;
  white-space: nowrap;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}

/* Drawer-only elements — hidden on desktop */
.mobile-cta,
.nav-drawer-head,
.nav-lang-li { display: none; }
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: var(--deep-blue); background: #eef3fc; }
.nav-menu .caret { font-size: .6rem; transition: transform .2s; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
  border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-dark);
  transition: background .2s, color .2s;
}
.dropdown li a:hover { background: #eef3fc; color: var(--deep-blue); }

.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 6px; flex: none; }
.nav-cta .btn { padding: 9px 15px; font-size: .82rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; position: relative; z-index: 2; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* Mobile overlay (behind drawer, above page) */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 18, 40, .55);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 9998;
  pointer-events: none;
}
.mobile-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--grad-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 420px at 88% 18%, rgba(245, 166, 35, .22), transparent 60%),
    radial-gradient(360px 360px at 6% 90%, rgba(30, 58, 138, .55), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #ffe2ad;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.5px;
}
.hero h1 .gold { color: var(--gold-2); }
.hero .hindi-punch {
  color: var(--gold-2);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-top: 14px;
}
.hero .hero-sub { color: #d4e0f5; margin-top: 16px; max-width: 540px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badges .tb { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; }
.hero-badges .tb i { color: var(--gold-2); font-size: 1.15rem; }

.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
/* Mobile poster hidden on desktop/tablet (shown only ≤768px) */
.hero-img-mobile { display: none; }
.hero-art .float-card {
  position: absolute;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floaty 4s ease-in-out infinite;
}
.hero-art .float-card i { color: var(--gold); font-size: 1.4rem; }
.hero-art .fc-1 { top: 16px; left: -14px; }
.hero-art .fc-2 { bottom: 22px; right: -10px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   STATS COUNTER
   ========================================================= */
.stats {
  background: var(--grad-navy);
  color: #fff;
  border-top: 3px solid var(--gold);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 42px 18px;
}
.stat { text-align: center; }
.stat .num { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; color: var(--gold-2); line-height: 1; }
.stat .label { margin-top: 8px; color: #d4e0f5; font-size: .92rem; font-weight: 500; }

/* =========================================================
   CARD GRIDS
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #d8e3f5; }

/* Course card */
.course-card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e8eefc, #f3f7ff);
  color: var(--deep-blue);
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.course-card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 8px; }
.course-card p { color: var(--muted); font-size: .94rem; min-height: 44px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.tag {
  font-size: .74rem; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: #eef3fc; color: var(--deep-blue);
}
.tag.live { background: #fde9cf; color: #b8730a; }
.tag.rec { background: #e3f6ec; color: #18794e; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--deep-blue); font-weight: 600; font-size: .92rem;
}
.card-link:hover { gap: 10px; color: var(--gold); }
.card-link i { transition: transform .2s; }

/* =========================================================
   CATEGORY PILLS
   ========================================================= */
.pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
  transition: all .2s;
}
.pill:hover, .pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Govt job card */
.gov-card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-navy); color: var(--gold-2);
  font-size: 1.4rem; margin-bottom: 14px;
}
.gov-card h3 { color: var(--navy); margin-bottom: 12px; }
.gov-card ul li {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; color: var(--muted); padding: 4px 0;
}
.gov-card ul li i { color: var(--gold); font-size: .75rem; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .icon {
  flex: none; width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: var(--navy); font-size: 1.3rem;
}
.feature h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .9rem; }

/* =========================================================
   MD MESSAGE
   ========================================================= */
.md-message {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center;
}
/* Intro variant: text (wider) on the left, photo on the right */
.md-message--intro { grid-template-columns: 1.2fr .8fr; }
.md-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  background: var(--grad-navy);
}
.md-photo img { width: 100%; }
.md-photo .badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10, 31, 68, .92));
  color: #fff; padding: 24px 20px 18px;
}
.md-photo .badge strong { display: block; font-size: 1.1rem; }
.md-photo .badge span { color: var(--gold-2); font-size: .85rem; }
.md-message blockquote {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--text-dark); line-height: 1.6;
  border-left: 4px solid var(--gold); padding-left: 22px;
  font-weight: 500; font-style: italic;
}
.md-message .signoff { margin-top: 20px; font-weight: 700; color: var(--navy); }
.md-message .signoff span { display: block; color: var(--muted); font-weight: 500; font-size: .9rem; }
.quote-mark { font-size: 3rem; color: var(--gold); line-height: 0; }

/* =========================================================
   SCHOLARSHIP / CTA BANNER
   ========================================================= */
.banner {
  background: var(--grad-gold);
  border-radius: 22px;
  padding: 46px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.banner::after {
  content: "🎓"; position: absolute; right: 36px; bottom: -20px;
  font-size: 9rem; opacity: .12;
}
.banner h2 { color: var(--navy); font-size: clamp(1.4rem, 4vw, 2.1rem); }
.banner p { color: #5a3d05; margin-top: 8px; max-width: 560px; }
.banner .btn-navy { box-shadow: var(--shadow); }

/* =========================================================
   TESTIMONIALS SLIDER
   ========================================================= */
.testimonials { background: var(--navy); color: #fff; }
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head .eyebrow { background: rgba(255,255,255,.1); color: #ffe2ad; }
.slider { position: relative; max-width: 1000px; margin: 0 auto; }
.slides { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: linear-gradient(160deg, #142a55, #0d2148);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 26px;
}
.t-card .stars { color: var(--gold-2); margin-bottom: 14px; letter-spacing: 2px; }
.t-card p { color: #d4e0f5; font-size: .96rem; font-style: italic; }
.t-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.t-card .who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy);
  display: grid; place-items: center; font-weight: 700;
}
.t-card .who strong { display: block; font-size: .95rem; }
.t-card .who span { color: var(--gold-2); font-size: .8rem; }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.slider-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1rem;
  transition: background .2s;
}
.slider-nav button:hover { background: var(--gold); color: var(--navy); }

/* =========================================================
   ADMISSION / ENQUIRY FORM
   ========================================================= */
.enquiry-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.enquiry-wrap .info h2 { color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.3rem); }
.enquiry-wrap .info p { color: var(--muted); margin-top: 12px; }
.enquiry-wrap .info ul { margin-top: 20px; display: grid; gap: 12px; }
.enquiry-wrap .info ul li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.enquiry-wrap .info ul li i { color: var(--gold); }

.form-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px; border: 1px solid var(--border);
}
.form-card h3 { color: var(--navy); margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .94rem; color: var(--text-dark);
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, .12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field .err { color: #c0392b; font-size: .78rem; margin-top: 4px; display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #e74c3c; }
.field.invalid .err { display: block; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 18px; }
.alert-success { background: #e3f6ec; color: #18794e; border: 1px solid #b6e5c9; }
.alert-error { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--grad-navy); color: #fff; text-align: center;
  padding: 64px 18px 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 0%, rgba(245,166,35,.18), transparent 60%);
}
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); position: relative; }
.page-hero p { color: #d4e0f5; max-width: 640px; margin: 14px auto 0; position: relative; }
.breadcrumbs { position: relative; font-size: .85rem; color: #aebfdd; margin-top: 14px; }
.breadcrumbs a { color: var(--gold-2); }

/* =========================================================
   STUDY MATERIAL / PDF CARDS
   ========================================================= */
.pdf-card { display: flex; flex-direction: column; }
.pdf-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pdf-card .head .ic {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: #fde9cf; color: #b8730a; font-size: 1.3rem;
}
.pdf-card h3 { color: var(--navy); font-size: 1.12rem; }
.pdf-card ul { margin-bottom: 18px; flex: 1; }
.pdf-card ul li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--muted); padding: 4px 0; }
.pdf-card ul li i { color: var(--gold); font-size: .7rem; margin-top: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 26px; }
.step .n {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  background: var(--grad-navy); color: var(--gold-2);
}
.step h4 { color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* =========================================================
   TABS (Government Jobs page)
   ========================================================= */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab-btn {
  padding: 11px 24px; border-radius: var(--radius-pill);
  background: #fff; border: 1.5px solid var(--border);
  font-weight: 600; color: var(--text-dark); transition: all .2s;
}
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel { display: none; animation: fadeIn .4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Info list cards */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-block h4 { color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-block h4 i { color: var(--gold); }
.info-block ul li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: .92rem;
}
.info-block ul li:last-child { border-bottom: none; }
.info-block .badge-new { background: #ffe2ad; color: #b8730a; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }

/* =========================================================
   ABOUT blocks
   ========================================================= */
.vfg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vfg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.vfg .ic {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--grad-gold); color: var(--navy); font-size: 1.5rem;
}
.vfg h3 { color: var(--navy); margin-bottom: 8px; }
.vfg p { color: var(--muted); }

/* =========================================================
   RESULTS / rank holders
   ========================================================= */
.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rank-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.rank-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rank-card .ph {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad-navy); color: var(--gold-2);
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 800;
  border: 3px solid var(--gold);
}
.rank-card strong { display: block; color: var(--navy); }
.rank-card .exam { color: var(--muted); font-size: .85rem; }
.rank-card .rank-badge { display: inline-block; margin-top: 8px; background: var(--grad-gold); color: var(--navy); font-weight: 700; font-size: .8rem; padding: 4px 14px; border-radius: var(--radius-pill); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .ci-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; transition: transform .2s, box-shadow .2s;
}
.contact-info .ci-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-info .ci-card .ic {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--grad-navy); color: var(--gold-2); font-size: 1.2rem;
}
.contact-info .ci-card h4 { color: var(--navy); font-size: 1rem; }
.contact-info .ci-card p, .contact-info .ci-card a { color: var(--muted); font-size: .92rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 8px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--grad-navy); color: #cdd9ef; padding-top: 56px; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer .f-brand .brand-text strong { color: #fff; }
.footer p { font-size: .9rem; margin-top: 14px; color: #aebfdd; max-width: 320px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: .9rem; color: #aebfdd; transition: color .2s, padding .2s; }
.footer ul li a:hover { color: var(--gold-2); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; margin-bottom: 12px; }
.footer .f-contact li i { color: var(--gold-2); margin-top: 3px; }
.f-social { display: flex; gap: 12px; margin-top: 18px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,.08);
  color: #fff; transition: background .2s, transform .2s;
}
.f-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0; text-align: center; font-size: .85rem; color: #8ea3cc;
}
.motto-strip {
  background: var(--gold); color: var(--navy); text-align: center;
  font-weight: 700; padding: 12px; letter-spacing: .03em; font-size: .95rem;
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.8rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  animation: wa-pulse 2.2s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   ENQUIRY POPUP MODAL
   ========================================================= */
.tn-modal { position: fixed; inset: 0; z-index: 10000; display: none; }
.tn-modal.open { display: block; }
body.popup-open { overflow: hidden; }
.tn-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(8, 18, 40, .62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: tnFade .3s ease;
}
.tn-modal__card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(840px, 94vw); max-height: 94vh; overflow: hidden;
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: tnPop .38s cubic-bezier(.2, .8, .3, 1.15);
}
@keyframes tnFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tnPop {
  from { opacity: 0; transform: translate(-50%, -44%) scale(.9); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.tn-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; z-index: 4;
  background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 1.2rem;
  transition: background .2s, color .2s, transform .2s;
}
.tn-modal__close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

/* Two-column split */
.tn-modal__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; max-height: 94vh; }

/* LEFT branded panel */
.tn-modal__aside {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0A1F44 0%, #16306e 60%, #1E3A8A 100%);
  color: #fff; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.tn-modal__aside::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(260px 260px at 110% 0%, rgba(245,166,35,.25), transparent 60%);
  pointer-events: none;
}
.tn-modal__brand { display: flex; align-items: center; gap: 10px; position: relative; }
.tn-modal__brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.tn-modal__brand strong { font-size: 1.05rem; letter-spacing: .02em; }
.tn-modal__badge {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,.12); color: #ffe2ad;
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 600; font-size: .74rem; padding: 6px 14px;
  border-radius: var(--radius-pill); position: relative;
}
.tn-modal__aside-title { font-size: 1.5rem; line-height: 1.2; position: relative; }
.tn-modal__aside-sub { color: var(--gold-2); font-weight: 600; font-size: .98rem; position: relative; margin-top: -4px; }
.tn-modal__benefits { display: grid; gap: 10px; position: relative; margin-top: 4px; }
.tn-modal__benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #dbe6fb; }
.tn-modal__benefits i { color: var(--gold-2); margin-top: 3px; }
.tn-modal__stats { display: flex; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.tn-modal__stats div { display: flex; flex-direction: column; }
.tn-modal__stats strong { color: var(--gold-2); font-size: 1.15rem; }
.tn-modal__stats span { font-size: .72rem; color: #aebfdd; }

/* RIGHT form panel */
.tn-modal__main { padding: 34px 30px 26px; overflow-y: auto; }
.tn-modal__head { margin-bottom: 16px; }
.tn-modal__head h3 { color: var(--navy); font-size: 1.42rem; line-height: 1.2; }
.tn-modal__head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.tn-modal__form .field { margin-bottom: 12px; }
.tn-modal__form input,
.tn-modal__form select {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: .94rem; color: var(--text-dark); background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.tn-modal__form input:focus,
.tn-modal__form select:focus { outline: none; border-color: var(--deep-blue); box-shadow: 0 0 0 3px rgba(30, 58, 138, .12); }
.tn-modal__form .err { display: none; color: #c0392b; font-size: .76rem; margin-top: 4px; }
.tn-modal__form .field.invalid input,
.tn-modal__form .field.invalid select { border-color: #e74c3c; }
.tn-modal__form .field.invalid .err { display: block; }
.tn-modal__form .btn { margin-top: 4px; }
.tn-modal__note { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 12px; }
.tn-modal__alert { padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 14px; }
.tn-modal__alert.ok { background: #e3f6ec; color: #18794e; border: 1px solid #b6e5c9; }
.tn-modal__alert.bad { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

@media (max-width: 700px) {
  .tn-modal__grid { grid-template-columns: 1fr; }
  /* Compact branded banner on top, form below */
  .tn-modal__aside { padding: 22px 22px 18px; gap: 10px; }
  .tn-modal__aside-title { font-size: 1.25rem; }
  .tn-modal__benefits, .tn-modal__stats { display: none; }
  .tn-modal__main { padding: 22px 20px 20px; }
  .tn-modal__head h3 { font-size: 1.2rem; }
  .tn-modal__card { width: 94vw; }
}

/* =========================================================
   SCROLL-FADE ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* =========================================================
   MOBILE DRAWER — premium off-canvas (below ~1200px)
   z-index: overlay 9998, drawer 9999, clickables z-index 2
   ========================================================= */
@media (max-width: 1199px) {
  .hamburger { display: flex; order: 3; }
  .nav-cta { display: none; }

  /* The off-canvas panel (slides in from the LEFT) */
  .nav-menu {
    position: fixed;
    top: 0; left: 0;
    width: 85%; max-width: 360px;
    height: 100vh; height: 100dvh;
    background: linear-gradient(180deg, #0A1F44 0%, #0d2553 100%);
    color: #fff;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 10px 0 50px rgba(0, 0, 0, .45);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
    pointer-events: none;            /* not interactive while closed/off-screen */
    visibility: hidden;
  }
  .nav-menu.open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  /* Sticky drawer header: logo + close */
  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 18px;
    position: sticky; top: 0; z-index: 3;
    background: rgba(10, 31, 68, .98);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .drawer-brand { display: flex; align-items: center; gap: 10px; }
  .drawer-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
  .drawer-brand strong { color: #fff; font-size: 1.02rem; letter-spacing: .02em; }
  .nav-close {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex: none;
    border-radius: 12px; color: #fff; font-size: 1.45rem; line-height: 1;
    background: rgba(255, 255, 255, .08);
    position: relative; z-index: 2;
    transition: background .2s, color .2s, transform .2s;
  }
  .nav-close:hover, .nav-close:active { background: var(--gold); color: var(--navy); transform: rotate(90deg); }

  /* Language switch row */
  .nav-lang-li {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: 12px 14px 4px; padding: 12px 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
  }
  .nav-lang-label {
    color: #e8eefc; font-weight: 600; font-size: .95rem;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .nav-lang-label::before { content: "\f0ac"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold-2); }
  .lang-toggle--drawer { border-color: rgba(255, 255, 255, .3); }
  .lang-toggle--drawer button { font-size: .85rem; padding: 7px 16px; min-height: 36px; position: relative; z-index: 2; }

  /* Scrollable list area */
  .nav-menu > li { width: 100%; }
  .nav-menu > li:not(.nav-drawer-head):not(.mobile-cta) { padding: 0 14px; }
  .nav-menu > li:nth-child(2) { margin-top: 10px; }

  .nav-menu > li > a,
  .nav-menu > li > .nav-link {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 50px; padding: 13px 14px;
    color: #e8eefc; font-size: 1.02rem; font-weight: 500;
    border-radius: 12px;
    transition: background .2s, color .2s;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > .nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .nav-menu > li.active > a,
  .nav-menu > li.active > .nav-link {
    background: rgba(245, 166, 35, .14);
    color: var(--gold-2);
    box-shadow: inset 3px 0 0 var(--gold);
  }

  /* Accordion dropdowns */
  .has-dropdown .caret { transition: transform .3s ease; font-size: .7rem; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; min-width: 0;
    background: rgba(0, 0, 0, .18);
    border-radius: 12px; margin: 2px 0 6px;
    max-height: 0; overflow: hidden; padding: 0 8px;
    transition: max-height .35s ease, padding .35s ease;
  }
  .has-dropdown.open .dropdown { max-height: 520px; padding: 6px 8px; }
  .dropdown li a {
    position: relative; z-index: 2;
    display: flex; align-items: center; min-height: 46px;
    padding: 11px 14px; border-radius: 9px;
    color: #b9c8e6; font-size: .95rem;
  }
  .dropdown li a:hover { background: rgba(255, 255, 255, .08); color: var(--gold-2); }

  /* Sticky CTA footer */
  .mobile-cta {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: auto; padding: 18px;
    position: sticky; bottom: 0; z-index: 3;
    background: rgba(10, 31, 68, .98);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .mobile-cta .btn { width: 100%; min-height: 50px; position: relative; z-index: 2; }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex: 0 0 calc(50% - 12px); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }

  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 36px; padding-bottom: 40px; gap: 22px; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-art .float-card { display: none; }

  /* Mobile: show the promotional poster, hide the desktop banner */
  .hero-img-desktop { display: none; }
  .hero-img-mobile { display: block; border-radius: 18px; }

  /* The poster already contains the headline, tagline, badges & programs —
     hide the duplicated text copy on mobile, keep only the action buttons */
  .hero-copy .hero-badge,
  .hero-copy h1,
  .hero-copy .hindi-punch,
  .hero-copy .hero-sub,
  .hero-copy .hero-badges { display: none; }
  .hero-copy .hero-actions { margin-top: 4px; }

  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .md-message { grid-template-columns: 1fr; }
  .md-photo { max-width: 360px; margin: 0 auto; }
  .enquiry-wrap, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .info-grid, .vfg-grid { grid-template-columns: 1fr; }
  .t-card { flex: 0 0 88%; }
  .banner { padding: 32px 24px; }
  .footer .container { grid-template-columns: 1fr; gap: 26px; }
  .footer p { max-width: none; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .form-row { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .wa-float { width: 52px; height: 52px; font-size: 1.6rem; }
}
