/* ==========================================================================
   Internship Adda — Design System (V5)
   Style reference: dub.co — clean, modern, spacious SaaS
   Base: white (#ffffff), Primary: light blue scale, Neutrals: slate
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Primary — navy blue scale anchored on brand #0D3B66 */
  --blue-50:  #eff5fa;
  --blue-100: #dce8f3;
  --blue-200: #b9d0e5;
  --blue-300: #84aacc;
  --blue-400: #5684ae;
  --blue-500: #2e5e8f;
  --blue-600: #0d3b66;
  --blue-700: #0a2e51;
  --blue-800: #07223d;
  --blue-900: #05182b;
  --blue-950: #030e1a;

  /* Neutrals — slate scale */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Semantic */
  --bg: #ffffff;
  --bg-subtle: var(--slate-50);
  --bg-muted: var(--slate-100);
  --surface: #ffffff;
  --border: var(--slate-200);
  --border-strong: var(--slate-300);
  --text: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --text-faint: var(--slate-400);
  --accent: var(--blue-600);
  --accent-hover: var(--blue-700);
  --accent-soft: var(--blue-50);
  --accent-ring: rgba(13, 59, 102, 0.14);

  /* Status (no greens — blue/amber/red/slate only) */
  --success: var(--blue-600);
  --success-soft: var(--blue-50);
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --info: #0d3b66;
  --info-soft: #eff5fa;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows — soft, subtle depth (light skeuomorphic touch) */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --sh-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --sh-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
  --sh-xl: 0 24px 64px -16px rgba(15, 23, 42, 0.18), 0 8px 24px -8px rgba(15, 23, 42, 0.08);
  --sh-blue: 0 8px 24px -6px rgba(30, 58, 95, 0.35);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(15, 23, 42, 0.04);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
::selection { background: var(--blue-200); color: var(--blue-900); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: 1320px; }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(36px, 5vw, 64px); }
.section-tint { background: var(--bg-subtle); }
.section-blue {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--blue-100), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, var(--blue-50), transparent 55%),
    var(--bg);
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--blue-100);
  padding: 6px 14px; border-radius: var(--r-full);
}
.h-display { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-secondary); line-height: 1.7; }
.muted { color: var(--text-muted); }
.secondary { color: var(--text-secondary); }
.text-gradient {
  background: linear-gradient(100deg, var(--blue-600), var(--blue-400) 60%, #5684ae);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-center { text-align: center; }
.section-head { max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 24px; border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: var(--sh-blue), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--blue-600), var(--blue-700)); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 32px -6px rgba(30, 58, 95, 0.45), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-dark { background: var(--slate-900); color: #fff; box-shadow: var(--sh-md); }
.btn-dark:hover { background: var(--slate-800); color: #fff; transform: translateY(-1px); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); box-shadow: var(--sh-xs); }
.btn-outline:hover { border-color: var(--blue-300); color: var(--accent); background: var(--accent-soft); }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-soft { background: var(--accent-soft); color: var(--accent); border-color: var(--blue-100); }
.btn-soft:hover { background: var(--blue-100); color: var(--blue-700); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--r-lg); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: ia-spin 0.7s linear infinite; }

/* ---------- Badges / Pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-muted); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.badge-blue { background: var(--accent-soft); color: var(--blue-700); border-color: var(--blue-100); }
.badge-amber { background: var(--warning-soft); color: var(--warning); border-color: #fde68a; }
.badge-red { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.badge-slate { background: var(--slate-100); color: var(--slate-600); }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.card-pad { padding: clamp(22px, 3vw, 32px); }
.card-flat { box-shadow: none; }
.card-inset { box-shadow: var(--sh-inset), var(--sh-xs); }

/* Feature icon tile */
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  box-shadow: var(--sh-inset), var(--sh-xs);
  flex: none;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile-lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-tile-lg svg { width: 27px; height: 27px; }

/* Course / internship cards */
.course-card { overflow: hidden; display: flex; flex-direction: column; }
.course-card .thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(140deg, var(--blue-500), var(--blue-700)); overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.course-card:hover .thumb img { transform: scale(1.05); }
.course-card .body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-card .title { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--text); }
.course-card .meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); }
.course-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text); }
.price s { color: var(--text-faint); font-weight: 500; font-size: 14px; margin-left: 6px; }
.price .free { color: var(--blue-600); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--sh-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { height: 34px; width: auto; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; box-shadow: var(--sh-blue), inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-muted); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--text); }
.nav-toggle:hover { background: var(--bg-muted); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a .chev { transition: transform var(--dur) var(--ease); }
.nav-drop:hover > a .chev, .nav-drop:focus-within > a .chev { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--dur) var(--ease);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { display: flex; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-secondary); }
.nav-drop-menu a:hover { background: var(--accent-soft); color: var(--accent); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-lg); padding: 16px 20px 24px;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; animation: ia-slide-down 260ms var(--ease); }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 13px 10px; font-size: 16px; font-weight: 500; color: var(--text); border-radius: var(--r-sm); }
.mobile-menu a:hover { background: var(--bg-muted); }
.mobile-menu .btn { margin-top: 12px; }

@media (max-width: 1023px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Footer ---------- */
.footer { background: var(--slate-950); color: var(--slate-400); }
.footer a { color: var(--slate-400); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 18px; font-family: var(--font-sans); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; font-size: 14.5px; }
.footer .brand { color: #fff; }
.footer-bottom { border-top: 1px solid var(--slate-800); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13.5px; }
.footer .socials { display: flex; gap: 10px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--slate-900); border: 1px solid var(--slate-800); color: var(--slate-400);
  transition: all var(--dur) var(--ease);
}
.footer .socials a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-2px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.label { font-size: 14px; font-weight: 600; color: var(--text); }
.label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 12px 15px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 15px; color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--sh-xs);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.input.is-error { border-color: var(--danger); }
.input.is-error:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }
.hint { font-size: 13px; color: var(--text-muted); }
.error-text { font-size: 13px; color: var(--danger); display: none; }
.error-text.show { display: block; }
.input-group { position: relative; }
.input-group .input { padding-right: 46px; }
.input-group .input-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border-radius: var(--r-sm);
}
.input-group .input-btn:hover { color: var(--text); background: var(--bg-muted); }
.input-icon .input { padding-left: 44px; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint); pointer-events: none; }

/* OTP boxes */
.otp-row { display: flex; gap: 10px; justify-content: center; }
.otp-box {
  width: 52px; height: 60px; text-align: center;
  font-size: 24px; font-weight: 700; font-family: var(--font-display);
  border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--text);
  transition: all var(--dur) var(--ease);
}
.otp-box:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--accent-ring); }
.otp-box.filled { border-color: var(--blue-400); background: var(--accent-soft); }

/* ---------- Alerts / Toasts ---------- */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-md);
  font-size: 14.5px; border: 1px solid var(--border);
  background: var(--bg-subtle); color: var(--text-secondary);
}
.alert-info { background: var(--info-soft); border-color: #b9d0e5; color: #075985; }
.alert-warn { background: var(--warning-soft); border-color: #fde68a; color: #92400e; }
.alert-danger { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.alert-blue { background: var(--accent-soft); border-color: var(--blue-200); color: var(--blue-800); }

.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--slate-900); color: #fff;
  padding: 13px 18px; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); font-size: 14.5px; font-weight: 500;
  animation: ia-toast-in 300ms var(--ease);
}
.toast.success { background: var(--blue-700); }
.toast.error { background: var(--danger); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: ia-fade-in 200ms var(--ease); }
.modal {
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); width: 100%; max-width: 460px;
  padding: 32px; position: relative;
  animation: ia-pop 280ms var(--ease);
}
.modal-lg { max-width: 720px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--dur) var(--ease);
}
.modal-close:hover { background: var(--bg-muted); color: var(--text); }

/* ---------- Skeletons ---------- */
.skeleton {
  position: relative; overflow: hidden;
  background: var(--slate-100); border-radius: var(--r-md);
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: ia-shimmer 1.4s infinite;
  transform: translateX(-100%);
}
.skel-card { border-radius: var(--r-xl); border: 1px solid var(--border); padding: 16px; background: var(--surface); }
.skel-card .skeleton { border-radius: var(--r-sm); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-xs); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th {
  text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); background: var(--bg-subtle);
  padding: 13px 18px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 15px 18px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: middle; }
.table tbody tr { transition: background var(--dur) var(--ease); }
.table tbody tr:hover { background: var(--accent-soft); }
.table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Progress ---------- */
.progress { height: 8px; background: var(--slate-100); border-radius: var(--r-full); overflow: hidden; }
.progress > i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  transition: width 600ms var(--ease);
}
.progress-lg { height: 12px; }

/* ---------- Avatar ---------- */
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--blue-400), var(--blue-600));
  color: #fff; font-weight: 700; font-size: 15px;
  border: 2px solid #fff; box-shadow: var(--sh-sm);
  object-fit: cover; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 88px; height: 88px; font-size: 30px; }

/* ---------- Utilities ---------- */
/* CRITICAL: kai learner/admin pages JS se classList.add('hidden') karte hain —
   ye class missing thi isliye skeletons/loading kabhi hide nahi hote the. */
.hidden { display: none !important; }

/* Content pages (.prose) — original site ka rich content naye design mein */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.4rem,2.4vw,1.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 14px; color: var(--text); }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.prose p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 15.5px; }
.prose ul, .prose ol { color: var(--text-secondary); line-height: 1.8; margin: 0 0 16px 22px; font-size: 15.5px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-subtle); font-weight: 700; }
.prose img { max-width: 100%; border-radius: var(--r-lg); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 18px 0; color: var(--text-secondary); font-style: italic; }

/* Page hero strip for content pages */
.page-hero { background: linear-gradient(160deg, var(--blue-700), var(--blue-600) 55%, var(--blue-500)); color: #fff; padding: clamp(44px,7vw,72px) 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 240px at 85% -20%, rgba(255,255,255,.14), transparent 60%); }
.page-hero > * { position: relative; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; font-size: 16px; line-height: 1.7; }

/* ---------- App shell (learner + admin) ---------- */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100dvh; }
.shell-side {
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 20px 14px; position: sticky; top: 0; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.shell-side .brand { padding: 6px 10px 20px; }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); padding: 18px 12px 8px; }
.side-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--r-md);
  font-size: 14.5px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
}
.side-link svg { width: 18px; height: 18px; flex: none; }
.side-link:hover { background: var(--bg-muted); color: var(--text); }
.side-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.side-link.active svg { color: var(--accent); }
.shell-main { min-width: 0; background: var(--bg-subtle); }
.shell-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.shell-body { padding: 28px; }
.shell-toggle { display: none; }

@media (max-width: 1023px) {
  .shell { grid-template-columns: 1fr; }
  .shell-side {
    position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 90;
    transform: translateX(-100%); transition: transform 280ms var(--ease);
    box-shadow: var(--sh-xl);
  }
  .shell-side.open { transform: translateX(0); }
  .shell-toggle { display: inline-flex; }
  .shell-body { padding: 20px 16px; }
  .shell-top { padding: 12px 16px; }
}
.side-scrim { display: none; position: fixed; inset: 0; z-index: 80; background: rgba(15,23,42,0.45); }
.side-scrim.open { display: block; }

/* Stat cards */
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--sh-xs); transition: all var(--dur) var(--ease);
}
.stat:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.stat .num { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat .lbl { font-size: 13.5px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-600), var(--blue-800) 70%, var(--blue-900));
  color: #fff; padding: 56px; display: flex; flex-direction: column;
}
.auth-aside::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 110% -10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(500px 500px at -20% 110%, rgba(169, 190, 214, 0.25), transparent 55%);
}
.auth-aside > * { position: relative; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

/* ---------- Chatbot ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-blue), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-panel {
  position: fixed; right: 20px; bottom: 90px; z-index: 96;
  width: min(392px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 130px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: ia-pop 260ms var(--ease); }
.chat-head { padding: 16px 18px; background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-subtle); }
.chat-msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.chat-msg.bot { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: var(--sh-xs); }
.chat-msg.user { background: var(--blue-600); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-foot { padding: 12px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-foot form { display: flex; gap: 8px; }
.chat-foot .input { border-radius: var(--r-full); }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-suggest button {
  font-size: 12.5px; font-weight: 500; color: var(--blue-700);
  background: var(--accent-soft); border: 1px solid var(--blue-100);
  padding: 7px 13px; border-radius: var(--r-full); transition: all var(--dur) var(--ease);
}
.chat-suggest button:hover { background: var(--blue-100); }
.chat-ai-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #dfe7f0; }
.chat-ai-link:hover { color: #fff; }

/* ---------- Ads slots ---------- */
.ad-slot {
  margin-block: 28px; padding: 10px;
  border: 1px dashed var(--border-strong); border-radius: var(--r-md);
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; overflow: hidden;
  font-size: 12px; color: var(--text-faint);
}
.ad-slot:empty { display: none; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin-block: 24px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-secondary); }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check-list .tick svg { width: 13px; height: 13px; }

.scroll-top {
  position: fixed; right: 20px; bottom: 90px; z-index: 60;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-secondary); box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--dur) var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { color: var(--accent); border-color: var(--blue-200); }

.rating { color: #f59e0b; display: inline-flex; gap: 2px; }
.rating svg { width: 15px; height: 15px; }

/* Tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab {
  padding: 12px 18px; font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Accordion / FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.faq-item.open { border-color: var(--blue-200); box-shadow: var(--sh-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text); text-align: left; }
.faq-q .chev { flex: none; width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease); }
.faq-a > div { padding: 0 24px 22px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* Toggle switch */
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i {
  position: absolute; inset: 0; border-radius: var(--r-full);
  background: var(--slate-300); transition: background var(--dur) var(--ease);
}
.switch i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease);
}
.switch input:checked + i { background: var(--blue-600); }
.switch input:checked + i::after { transform: translateX(20px); }

/* Empty state */
.empty { text-align: center; padding: 56px 24px; }
.empty .icon-tile { margin-inline: auto; margin-bottom: 18px; }
.empty h3 { margin-bottom: 8px; }

/* ---------- Animations ---------- */
@keyframes ia-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ia-pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes ia-slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ia-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ia-shimmer { to { transform: translateX(100%); } }
@keyframes ia-spin { to { transform: rotate(360deg); } }
@keyframes ia-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Progressive enhancement: content hidden ONLY when JS is active (html.js).
   JS fail/disable hone par content hamesha visible rahega — safe. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .chat-fab, .chat-panel, .scroll-top, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Utility: hidden (fix referrals/content reveal) ---------- */
.hidden { display: none !important; }

/* ---------- Mobile responsive helpers ---------- */
@media (max-width: 900px) {
  .ref-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Legal / static pages ---------- */
.sec-num { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:linear-gradient(150deg, var(--blue-500), var(--blue-700)); color:#fff; font-size:14px; font-weight:800; margin-right:10px; flex:none; }
.legal-step { display:flex; gap:12px; align-items:flex-start; margin:12px 0; padding:14px 16px; background:var(--surface, #fff); border:1px solid var(--border, #e2e8f0); border-radius:14px; }
.badge-row { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
.legal-badge { display:inline-block; padding:5px 12px; border-radius:9999px; background:var(--accent-soft, #f2f5f9); color:var(--blue-700, #182f4e); font-size:13px; font-weight:600; }
.legal-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin:24px 0; }
.legal-stats .stat-num { font-size:1.7rem; font-weight:800; color:var(--blue-600, #1e3a5f); }
.legal-stats .stat-lbl { color:var(--text-2, #64748b); font-size:13.5px; }
.legal-stats .stat-card { text-align:center; }
.prose h3 { display:flex; align-items:center; }

/* ===== Premium footer (dub.co-style) ===== */
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
  box-shadow: 0 20px 50px rgba(24, 47, 78, 0.35);
}
.footer-cta h3 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 0 0 6px; }
.footer-cta p { color: rgba(255,255,255,.82); font-size: 14.5px; margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.footer-trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--slate-400);
  border: 1px solid var(--slate-800); border-radius: 999px;
  padding: 5px 12px; width: fit-content;
}
.footer-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-400); }
.footer-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
  animation: ia-pulse 2.2s ease-in-out infinite;
}
@keyframes ia-pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.footer-bottom-links { display: flex; gap: 18px; font-size: 13.5px; }
.footer-bottom-links a:hover { color: #fff; }
@media (max-width: 640px) {
  .footer-cta { flex-direction: column; align-items: flex-start; }
}

/* ===== Floating side quick links (IT Services / Offline Internship) ===== */
.ia-side-buttons {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 55; display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s ease, opacity .3s ease;
}
.ia-side-buttons.ia-side-hidden { transform: translateY(-50%) translateX(110%); opacity: 0; pointer-events: none; }
.ia-side-btn {
  writing-mode: vertical-rl; text-orientation: mixed;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 16px 8px; border-radius: 10px 0 0 10px;
  color: #fff !important; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .25);
  transition: padding-right .25s ease, box-shadow .25s ease;
}
.ia-side-btn:hover { padding-right: 14px; }
.ia-side-btn svg { transform: rotate(90deg); }
.ia-side-btn-blue { background: linear-gradient(160deg, var(--blue-500), var(--blue-700)); }
.ia-side-btn-blue:hover { box-shadow: 0 8px 28px rgba(46, 78, 116, .5); }
.ia-side-btn-indigo { background: linear-gradient(160deg, #35567c, #1c3450); }
.ia-side-btn-indigo:hover { box-shadow: 0 8px 28px rgba(53, 86, 124, .5); }
.ia-side-toggle {
  position: fixed; right: 8px; bottom: 96px; z-index: 56;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-700)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(46, 78, 116, .4);
  transition: transform .3s ease;
}
.ia-side-toggle:hover { transform: scale(1.08); }
.ia-side-toggle svg { transition: transform .3s ease; }
.ia-side-toggle-collapsed svg { transform: rotate(180deg); }
@media (max-width: 640px) {
  .ia-side-btn { padding: 12px 6px; font-size: 10px; }
}
@media print { .ia-side-buttons, .ia-side-toggle { display: none !important; } }

/* =====================================================================
   Original-design DNA port (v6) — old site ke signature UI patterns,
   platform ke premium blue mein. Applies to ALL public pages via
   shared classes: .page-hero, .card, .btn-primary, .eyebrow, .prose
   ===================================================================== */

/* 1. Shimmer sweep on primary buttons (old .btn-hero-primary effect) */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(30, 58, 95, .5), inset 0 1px 0 rgba(255,255,255,.22); }

/* 2. Card top gradient accent bar on hover (old .service-card::before) */
.card { position: relative; }
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--blue-500) 0%, var(--blue-700) 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .card:hover::before { transform: scaleX(1); }
  .card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
}

/* 3. Page hero — floating radial glow blobs (old .hero-gradient::before/::after) */
.page-hero::after {
  content: '';
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  animation: ia-float 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ia-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* 4. Eyebrow badge — old .hero-badge hover behaviour */
.eyebrow { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.eyebrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 95, .15);
  border-color: var(--blue-300);
}

/* 5. Prose headings — gradient underline accent (old section heading style) */
.prose h2 { position: relative; padding-bottom: 12px; }
.prose h2::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-500) 0%, var(--blue-700) 100%);
}

/* 6. Tinted sections — soft vertical gradient (old .section-light-green, blue me) */
.section-tint { background: linear-gradient(180deg, var(--blue-50, #f2f5f9) 0%, #ffffff 100%); }

/* 7. Stat numbers — gradient text (old .stat-number treatment) */
.legal-stats .stat-card > div:first-child,
.stat-grad {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-800) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 8. Subtle dot pattern on white heroes (old .hero-pattern) */
.section-blue {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(30, 58, 95, .04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30, 58, 95, .04) 0%, transparent 50%);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
  .btn-primary::before { transition: none; }
}

/* =====================================================================
   v7 polish: premium steps, mobile-first animations, pro footer CTA,
   services/portfolio card grids
   ===================================================================== */

/* ---- Premium "4 steps" ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--sh-sm);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  opacity: .85;
}
.step-num {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  box-shadow: 0 10px 24px -8px rgba(30, 58, 95, .55);
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .step-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---- Mobile: hover-effects ko always-on premium look me convert ---- */
@media (hover: none), (max-width: 900px) {
  .card::before { transform: scaleX(1); }              /* top accent bar hamesha visible */
  .card, .step-card { box-shadow: var(--sh-md, 0 4px 16px -4px rgba(15,23,42,.08)); }
  .card:active, .step-card:active, .btn:active { transform: scale(.98); }
}

/* ---- Footer CTA: professional dark look (blue box replace) ---- */
.footer-cta {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  margin-top: 48px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; top: -120px; right: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 78, 116, .18) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Services v2 cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-50, #f2f5f9), #dfe7f0);
  border: 1px solid var(--blue-100);
}
.svc-card h3 { font-size: 17px; margin: 4px 0 2px; }
.svc-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; }
.svc-card ul li { font-size: 13.8px; color: var(--slate-600, #475569); display: flex; gap: 8px; align-items: flex-start; }
.svc-card ul li::before { content: '\2713'; color: var(--blue-600); font-weight: 700; flex-shrink: 0; }
@media (min-width: 1024px) { .svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue-200); } }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- Portfolio v2 grid ---- */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pf-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pf-emoji { font-size: 32px; line-height: 1; }
.pf-card h3 { font-size: 16.5px; margin: 2px 0; }
.pf-card p { font-size: 14px; color: var(--slate-600, #475569); margin: 0; flex: 1; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 1024px) { .pf-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue-200); } }
@media (max-width: 900px) { .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }

/* ---- Enquiry form ---- */
.enq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq-form .full { grid-column: 1 / -1; }
.enq-form label { font-size: 13px; font-weight: 600; color: var(--slate-700, #334155); display: block; margin-bottom: 6px; }
.enq-form input, .enq-form select, .enq-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: 14.5px; background: var(--surface); color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.enq-form input:focus, .enq-form select:focus, .enq-form textarea:focus {
  outline: none; border-color: var(--blue-400, #6d8cab); box-shadow: 0 0 0 4px rgba(30, 58, 95, .12);
}
@media (max-width: 640px) { .enq-form { grid-template-columns: 1fr; } }

/* ---- Course hero: included list ---- */
.hero-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin-top: 24px; }
.hero-includes .inc {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate-700, #334155);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px;
}
.hero-includes .inc svg { flex-shrink: 0; color: var(--blue-600); margin-top: 1px; }
@media (max-width: 640px) { .hero-includes { grid-template-columns: 1fr; } }

/* ============================================================
   v9: Neumorphic + skeuomorphic premium layer
   ============================================================ */

/* 0. Progress-bar jaisi card animation COMPLETELY removed */
.card::before, .card:hover::before { content: none !important; display: none !important; }

/* 1. Neumorphic cards — soft dual shadows (light top-left, dark bottom-right) */
.card, .step-card, .svc-card, .pf-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    8px 8px 20px rgba(100, 116, 139, .14),
    -8px -8px 20px rgba(255, 255, 255, .95),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}
@media (hover: hover) and (min-width: 1024px) {
  .card:hover, .step-card:hover, .svc-card:hover, .pf-card:hover {
    box-shadow:
      12px 12px 28px rgba(100, 116, 139, .2),
      -10px -10px 24px rgba(255, 255, 255, 1),
      inset 0 1px 0 rgba(255, 255, 255, .95);
  }
}

/* 2. Skeuomorphic primary button — 3D embossed, presses in on click */
.btn-primary {
  background-image: linear-gradient(180deg, #2e4e74 0%, #1e3a5f 55%, #182f4e 100%);
  border: 1px solid #13263f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -2px 0 rgba(15, 30, 51, .45),
    5px 5px 14px rgba(30, 58, 95, .28),
    -4px -4px 10px rgba(255, 255, 255, .7);
  text-shadow: 0 1px 1px rgba(15, 30, 51, .35);
}
.btn-primary:hover {
  background-image: linear-gradient(180deg, #3a5c85 0%, #1e3a5f 60%, #13263f 100%);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    inset 3px 3px 8px rgba(15, 30, 51, .5),
    inset -1px -1px 4px rgba(169, 190, 214, .4);
}

/* 3. Secondary buttons — soft raised neumorphic */
.btn-outline, .btn-ghost {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
  box-shadow:
    4px 4px 10px rgba(100, 116, 139, .12),
    -4px -4px 10px rgba(255, 255, 255, .9),
    inset 0 1px 0 #ffffff;
}
.btn-outline:active, .btn-ghost:active {
  box-shadow: inset 2px 2px 6px rgba(100, 116, 139, .18), inset -2px -2px 6px rgba(255, 255, 255, .8);
  transform: translateY(1px);
}

/* 4. Inputs — pressed-in (inset) neumorphic wells */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"], input[type="date"],
select, textarea {
  background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
  box-shadow:
    inset 2px 2px 6px rgba(100, 116, 139, .12),
    inset -2px -2px 6px rgba(255, 255, 255, .9);
}
input:focus, select:focus, textarea:focus {
  box-shadow:
    inset 2px 2px 6px rgba(100, 116, 139, .1),
    inset -2px -2px 6px rgba(255, 255, 255, .9),
    0 0 0 4px rgba(30, 58, 95, .12);
}

/* 5. Embossed icon tiles, step numbers, emojis, badges, avatars */
.step-num, .svc-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -2px 0 rgba(15, 30, 51, .35),
    6px 6px 14px rgba(30, 58, 95, .28),
    -4px -4px 10px rgba(255, 255, 255, .8);
}
.pf-emoji {
  background: linear-gradient(145deg, #ffffff, #eef2f9);
  border-radius: 16px; padding: 10px; display: inline-flex;
  box-shadow:
    5px 5px 12px rgba(100, 116, 139, .16),
    -5px -5px 12px rgba(255, 255, 255, .95),
    inset 0 1px 0 #ffffff;
}
.badge {
  box-shadow: 2px 2px 6px rgba(100, 116, 139, .12), -2px -2px 6px rgba(255, 255, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.avatar {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 3px 3px 8px rgba(100, 116, 139, .2), -2px -2px 6px rgba(255, 255, 255, .8);
}

/* 6. Soft neumorphic page background for tinted sections + shells */
.section-tint { background: linear-gradient(180deg, #f0f4fa 0%, #e9eef7 100%); }
.admin-wrap, .shell-main { background: #eef2f8; }
.shell-side, .ia-admin-side { box-shadow: 6px 0 18px rgba(100, 116, 139, .08); }
.admin-top { box-shadow: 0 4px 14px rgba(100, 116, 139, .06); }

/* 7. Side quick links — shifted UP so hide-toggle & FABs never collide */
.ia-side-buttons { top: 32%; transform: translateY(0); }
.ia-side-buttons.ia-side-hidden { transform: translateX(110%); opacity: 0; }
.ia-side-btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(2, 6, 23, .3), 6px 6px 16px rgba(15, 23, 42, .28);
}
.ia-side-toggle {
  bottom: auto; top: calc(32% - 50px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(15, 30, 51, .4), 5px 5px 14px rgba(30, 58, 95, .35);
}
@media (max-width: 640px) {
  .ia-side-buttons { top: 26%; }
  .ia-side-toggle { top: calc(26% - 48px); }
}

/* 8. Page-hero heading always white (readable on blue) */
.page-hero h1 { color: #ffffff !important; }
.page-hero p { color: rgba(255, 255, 255, .88) !important; }

/* 9. Footer CTA actions sit a bit lower for a professional stance */
.footer-cta { align-items: flex-end; }
.footer-cta-actions { margin-top: 22px; }
@media (max-width: 760px) { .footer-cta { align-items: stretch; } }

/* 10. Neumorphic scroll-top + tables/stat cards in shells */
.scroll-top {
  background: linear-gradient(180deg, #ffffff, #eef2f9);
  box-shadow: 4px 4px 12px rgba(100, 116, 139, .18), -4px -4px 10px rgba(255, 255, 255, .95), inset 0 1px 0 #fff;
}
.table-wrap, .stat-card {
  box-shadow: 6px 6px 16px rgba(100, 116, 139, .12), -6px -6px 16px rgba(255, 255, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .85);
}

/* ===== v10: Deep-navy premium pass ===== */
/* Footer CTA box thoda niche + extra breathing room = premium stance */
.site-footer .footer-cta { margin-top: clamp(56px, 8vw, 104px); margin-bottom: clamp(40px, 6vw, 72px); }
.footer-cta { transform: translateY(14px); }
@media (max-width: 760px) { .footer-cta { transform: none; } }
/* Banner ke nav arrows / counter navy accent */
#promo-prev, #promo-next, #promo-counter { color: #182f4e !important; }

/* ===== v12: Banner centered + impressive hero ===== */
/* Banner ab center mein, left-right margin ke saath */
#promo-wrapper { max-width: 1060px; margin-left: auto; margin-right: auto; }
@media (max-width: 1200px) { #promo-wrapper { max-width: 92%; } }
@media (max-width: 640px) { #promo-wrapper { max-width: 100%; } }

/* Hero section — premium glow + depth */
.section-blue { position: relative; overflow: hidden; }
.section-blue::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(46, 94, 143, .16), transparent 65%);
  animation: ia-float 9s ease-in-out infinite;
}
.section-blue > .container { position: relative; z-index: 1; }

/* Hero ke andar card — glassy premium depth */
.section-blue .card {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .9);
}

/* Why-choose feature cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { text-align: center; padding: 28px 22px; }
.why-card .pf-emoji { font-size: 30px; margin-bottom: 14px; }
.why-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--slate-600); line-height: 1.65; }

/* ===== v16: Tailwind override layer — navy everywhere, fixes invisible primary-* buttons ===== */
/* PRIMARY palette (Tailwind mein define nahi hai — isliye buttons invisible the) */
.bg-primary-50{background-color:#eff5fa!important}.bg-primary-100{background-color:#dce8f3!important}.bg-primary-200{background-color:#b9d0e5!important}.bg-primary-500{background-color:#2e5e8f!important}.bg-primary-600{background-color:#0d3b66!important}.bg-primary-700{background-color:#0a2e51!important}
.hover\:bg-primary-700:hover{background-color:#0a2e51!important}.hover\:bg-primary-600:hover{background-color:#0d3b66!important}.hover\:bg-primary-100:hover{background-color:#dce8f3!important}.hover\:bg-primary-50:hover{background-color:#eff5fa!important}
.text-primary-100{color:#dce8f3!important}.text-primary-500{color:#2e5e8f!important}.text-primary-600{color:#0d3b66!important}.text-primary-700{color:#0a2e51!important}.text-primary-800{color:#07223d!important}.text-primary-900{color:#05182b!important}
.hover\:text-primary-600:hover{color:#0d3b66!important}.hover\:text-primary-700:hover{color:#0a2e51!important}
.border-primary-200{border-color:#b9d0e5!important}.border-primary-300{border-color:#84aacc!important}.border-primary-500{border-color:#2e5e8f!important}.border-primary-600{border-color:#0d3b66!important}
.ring-primary-500{--tw-ring-color:#2e5e8f!important}.focus\:ring-primary-500:focus{--tw-ring-color:#2e5e8f!important}
.from-primary-50{--tw-gradient-from:#eff5fa!important}.from-primary-500{--tw-gradient-from:#2e5e8f!important}.from-primary-600{--tw-gradient-from:#0d3b66!important}
.to-primary-50{--tw-gradient-to:#eff5fa!important}.to-primary-600{--tw-gradient-to:#0d3b66!important}.to-primary-700{--tw-gradient-to:#0a2e51!important}
/* BLUE / INDIGO / SKY Tailwind classes -> deep navy */
.bg-blue-50{background-color:#eff5fa!important}.bg-blue-100{background-color:#dce8f3!important}.bg-blue-200{background-color:#b9d0e5!important}.bg-blue-500{background-color:#2e5e8f!important}.bg-blue-600{background-color:#0d3b66!important}.bg-blue-700{background-color:#0a2e51!important}
.hover\:bg-blue-700:hover{background-color:#0a2e51!important}.hover\:bg-blue-600:hover{background-color:#0d3b66!important}
.text-blue-500{color:#2e5e8f!important}.text-blue-600{color:#0d3b66!important}.text-blue-700{color:#0a2e51!important}.text-blue-800{color:#07223d!important}.text-blue-900{color:#05182b!important}
.hover\:text-blue-600:hover{color:#0d3b66!important}.hover\:text-blue-700:hover{color:#0a2e51!important}
.border-blue-200{border-color:#b9d0e5!important}.border-blue-300{border-color:#84aacc!important}.border-blue-500{border-color:#2e5e8f!important}.border-blue-600{border-color:#0d3b66!important}
.ring-blue-500{--tw-ring-color:#2e5e8f!important}.focus\:ring-blue-500:focus{--tw-ring-color:#2e5e8f!important}
.from-blue-50{--tw-gradient-from:#eff5fa!important}.from-blue-500{--tw-gradient-from:#2e5e8f!important}.from-blue-600{--tw-gradient-from:#0d3b66!important}
.to-blue-600{--tw-gradient-to:#0d3b66!important}.to-blue-700{--tw-gradient-to:#0a2e51!important}
.bg-indigo-100{background-color:#dce8f3!important}.bg-indigo-500{background-color:#2e5e8f!important}.bg-indigo-600{background-color:#0d3b66!important}
.text-indigo-600{color:#0d3b66!important}.text-indigo-700{color:#0a2e51!important}
.ring-indigo-500{--tw-ring-color:#2e5e8f!important}.focus\:ring-indigo-500:focus{--tw-ring-color:#2e5e8f!important}
.bg-sky-100{background-color:#dce8f3!important}.bg-sky-500{background-color:#2e5e8f!important}.bg-sky-600{background-color:#0d3b66!important}.text-sky-600{color:#0d3b66!important}.text-sky-700{color:#0a2e51!important}

/* ===== v17: Hero 10x — content-rich premium hero ===== */
.hero-ticks{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:10px}
.hero-ticks li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;font-weight:600;color:var(--text)}
.hero-ticks li svg{flex:none;margin-top:2px;color:var(--blue-600);background:var(--blue-50);border-radius:50%;padding:3px;width:21px;height:21px;box-shadow:inset 0 1px 2px rgba(5,24,43,.08),0 1px 0 rgba(255,255,255,.9)}
.hero-trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.hero-trust-chip{font-size:12.5px;font-weight:600;color:var(--blue-800);background:linear-gradient(180deg,#fff,var(--blue-50));border:1px solid var(--blue-100);border-radius:999px;padding:7px 14px;box-shadow:0 1px 2px rgba(5,24,43,.06),inset 0 1px 0 rgba(255,255,255,.9)}
.hero-visual .hero-float{position:absolute;z-index:2;font-size:11.5px;line-height:1.45;color:var(--blue-800);background:linear-gradient(180deg,#fff,var(--blue-50));border:1px solid var(--blue-100);border-radius:14px;padding:10px 14px;box-shadow:0 12px 28px rgba(5,24,43,.16),inset 0 1px 0 rgba(255,255,255,.95);animation:heroFloat 5s ease-in-out infinite}
.hero-visual .hero-float strong{font-size:13px;color:var(--blue-900)}
.hero-float-1{top:-18px;right:-10px}
.hero-float-2{bottom:-16px;left:-12px;animation-delay:2.5s}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (max-width:768px){.hero-float-1{top:-14px;right:4px}.hero-float-2{bottom:-12px;left:4px}.hero-ticks li{font-size:13.5px}}
@media (prefers-reduced-motion:reduce){.hero-visual .hero-float{animation:none}}


/* ===== v20: button color safety (site-wide) ===== */
.btn-primary, a.btn-primary, .btn-primary:visited, .btn-primary:hover, .btn-primary:focus { color:#fff !important; }
.btn-outline, a.btn-outline, .btn-ghost, a.btn-ghost { color:var(--blue-700) !important; }
.btn-outline:hover, .btn-ghost:hover { color:var(--blue-800) !important; }
