/* Home page theme. Loaded after style.css on index.html only.
   Primary colour #146ef5, with deep blue and white. Button styles follow the supplied
   .upgrade-btn and .wp-admin-btn specs (rounded, blue, soft blue glow). */

:root {
  --blue: #146ef5;
  --blue-d: #0e56c4;
  --blue-deep: #0a3478;
  --blue-soft: #eaf2ff;
  --blue-line: #cfe0fb;
  --indigo: #146ef5;
  --indigo-d: #0e56c4;
  --focus: #146ef5;
  --bg: #ffffff;
  --line: #e1e8f5;
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --navy: #0a2250;
  --navy-2: #0e3070;
}
body.home { background: #fff; font-family: var(--font); padding-bottom: 68px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.only-mobile { display: flex; }

/* ---------- Buttons ---------- */
.upgrade-btn, .outline-btn, .btn-white, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: all .15s; touch-action: manipulation; border: 0;
}
.upgrade-btn { background: #146ef5; color: #fff; box-shadow: 0 4px 18px rgba(20, 110, 245, 0.32); }
.upgrade-btn:hover { background: #0e56c4; color: #fff; transform: translateY(-1px); }
.upgrade-btn:active, .outline-btn:active { transform: scale(0.97); }
body.home a.upgrade-btn, body.home a.upgrade-btn:hover { color: #fff; }
.outline-btn { color: #146ef5; border: 1.5px solid #146ef5; border-radius: 8px; padding: 0 16px; background: #fff; font-size: 14px; }
.outline-btn:hover { background: #f0f5ff; color: #146ef5; }
.upgrade-btn.lg, .outline-btn.lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.outline-btn.lg { border-radius: 12px; }
.upgrade-btn .ic, .outline-btn .ic { width: 18px; height: 18px; }
.upgrade-btn.btn-block { width: 100%; border-radius: 10px; padding: 9px 20px; }
.btn-white { background: #fff; color: var(--blue-d); min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-white:hover { background: #eaf2ff; color: var(--blue-d); }
.btn-line { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); min-height: 50px; padding: 0 24px; font-size: 16px; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
body.home .cta-band a.btn-white { color: var(--blue-d); }
body.home .cta-band a.btn-line { color: #fff; }

/* ---------- Top bar ---------- */
.htop { background: #0a3478; color: #fff; font-size: 14px; }
.htop-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 44px; padding-block: 4px; }
.htop a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; }
.htop a:hover { text-decoration: underline; color: #fff; }
.htop .ic { width: 17px; height: 17px; }
.htop-mid { display: none; margin: 0; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.htop-right { display: flex; align-items: center; gap: 18px; }
.htop-mail { display: none !important; }
.htop .ph { background: transparent; color: #ffe27a; padding: 0; }
.advisor-pill { background: #fbbf24; color: #1b1400 !important; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: 14px; min-height: 36px; }
.advisor-pill:hover { background: #fcd34d; text-decoration: none !important; }
:focus-visible { outline-color: var(--blue); }
.htop :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
@media (min-width: 760px) { .htop-mid { display: inline-flex; } }
@media (min-width: 1000px) { .htop-mail { display: inline-flex !important; } }

/* ---------- Header ---------- */
.hhead { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); box-shadow: 0 1px 10px rgba(10, 52, 120, 0.05); }
.hhead .logo small { color: var(--blue-d); }
.hhead .nav-toggle { border-color: var(--blue-line); border-radius: 10px; color: var(--blue-d); }
.hhead .nav a.nav-link[aria-current="page"] { color: var(--blue-d); background: var(--blue-soft); }
.hhead .nav a.nav-link:hover { background: var(--blue-soft); }
.hhead .nav .upgrade-btn { margin-top: 10px; }
.h-actions { display: none; align-items: center; gap: 10px; }
.hsearch { position: relative; display: none; align-items: center; }
.hsearch .ic { position: absolute; left: 12px; width: 18px; height: 18px; color: #5b6b8c; pointer-events: none; }
.hsearch input {
  width: 210px; min-height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: #f6f9ff;
  font: inherit; font-size: 15px; color: var(--ink);
}
.hsearch input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 110, 245, 0.2); background: #fff; }
@media (min-width: 960px) {
  .only-mobile { display: none; }
  .h-actions { display: flex; }
  .hhead .header-inner { gap: 16px; }
  .hhead .nav { margin-inline: auto; }
  .hhead .nav a.nav-link { font-size: 15px; padding: 8px 10px; }
  .hhead .nav a.nav-link[aria-current="page"] { background: transparent; box-shadow: inset 0 -3px 0 var(--blue); color: var(--blue-d); }
  .h-second { display: none; }
}
@media (min-width: 1360px) { .h-second { display: inline-flex; } }
@media (min-width: 1560px) { .hsearch { display: flex; } }
.hhead .logo span, .hhead .nav a.nav-link, .h-actions a { white-space: nowrap; }

/* ---------- Hero ---------- */
.home-hero {
  background: radial-gradient(700px 420px at 8% 0%, rgba(20, 110, 245, 0.14), transparent 70%), radial-gradient(520px 380px at 100% 20%, rgba(20, 110, 245, 0.1), transparent 70%), linear-gradient(180deg, #f1f6ff, #fff);
  padding: 40px 0 72px;
}
.home-hero .hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .home-hero { padding: 64px 0 88px; } .home-hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.pill-label {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--blue-d); border: 1px solid var(--blue-line);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px;
}
.pill-label .ic { width: 16px; height: 16px; }
.home-hero h1 { color: #0b1226; font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -0.02em; }
.home-hero h1 .blue { color: var(--blue); }
.home-hero .lead { color: #4a5675; }
.home-hero .hero-badges { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.home-hero .hero-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--blue-line); border-radius: 999px; background: #fff; color: #1b2a4e; font-size: 14px; font-weight: 600; }
.home-hero .hero-badges svg { width: 16px; height: 16px; color: var(--blue); }
.home-hero .hero-ctas, .featured .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .form-card { border: 1px solid var(--blue-line); box-shadow: 0 24px 56px rgba(20, 110, 245, 0.16); }
.home-hero .form-card .btn { border-radius: 10px; }
.form-card .btn-primary { background: #146ef5; box-shadow: 0 4px 18px rgba(20, 110, 245, 0.32); border-radius: 10px; font-family: var(--font); }
.form-card .btn-primary:hover { background: #0e56c4; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 110, 245, 0.2); }
.pill input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-d); }

/* ---------- Stats ---------- */
.stats { background: #fff; color: var(--ink); border: 1px solid var(--blue-line); box-shadow: 0 16px 40px rgba(20, 110, 245, 0.14); margin-top: -40px; }
.stat-num { color: var(--blue); }
.stat-label { color: #4a5675; font-weight: 500; }

/* ---------- Sections ---------- */
.section.soft { background: #f4f8ff; }
.section-head h2, .title-row h2 { letter-spacing: -0.02em; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-bottom: 8px; }
.title-row h2 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.section-head.center .pill-label { margin-bottom: 14px; }
.eyebrow { color: var(--blue-d); }
.icon-bubble { background: var(--blue-soft); color: var(--blue); }
.card { border-color: var(--line); box-shadow: 0 1px 2px rgba(10, 52, 120, 0.05), 0 8px 24px rgba(10, 52, 120, 0.06); }
.ticks li::before { background: var(--blue); }
.tags li { background: #fff; border-color: var(--blue-line); color: #1b2a4e; }
.partner { border-color: #9db8e6; }
.avatar { background: var(--blue-soft); color: var(--blue-d); }
.faq details[open], .syllabus details[open] { border-color: var(--blue); }
.faq summary::after { border-color: var(--blue); }
.course-card.cyber .cc-top { background: linear-gradient(135deg, #0a3478, #146ef5); }
.course-card.data .cc-top { background: linear-gradient(135deg, #0c4a8f, #2f8bff); }
.course-card.flutter .cc-top { background: linear-gradient(135deg, #0a2a66, #1a62d6); }
.course-card .cc-top svg { color: #bfdbff; }
.course-card .cc-meta svg { color: var(--blue); }
.course-card .upgrade-btn { margin-top: auto; }

/* ---------- Batch carousel ---------- */
.carousel { position: relative; }
.batch-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: none;
  -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
}
.batch-track::-webkit-scrollbar { display: none; }
.batch-track.auto { scroll-snap-type: none; }
.batch-card {
  flex: 0 0 min(86%, 340px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: 0 1px 2px rgba(10, 52, 120, 0.05), 0 10px 28px rgba(10, 52, 120, 0.08); display: flex; flex-direction: column;
}
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.b-tag { background: #eef3fb; color: #3b4a6b; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.seat-badge { background: #fee4e2; color: #b42318; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.seat-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.seat-badge .ph { background: transparent; color: inherit; padding: 0; }
.batch-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.b-sub { color: var(--muted); font-size: 0.9375rem; margin-bottom: 14px; }
.b-meta { list-style: none; margin: 0 0 18px; padding: 12px 0; border-block: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.9375rem; }
.b-meta li { display: flex; align-items: center; gap: 8px; }
.b-meta .ic { width: 18px; height: 18px; color: var(--blue); }
.b-actions { display: flex; gap: 10px; margin-top: auto; }
.b-actions .upgrade-btn { flex: 1; }
.b-actions .outline-btn { border-color: var(--line); color: #1b2a4e; border-radius: 12px; }
.b-actions .outline-btn:hover { background: #f4f8ff; color: #1b2a4e; }
.car-btn {
  display: none; position: absolute; top: 40%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue-line);
  background: #fff; color: var(--blue); cursor: pointer; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(10, 52, 120, 0.16);
}
.car-btn:hover { background: var(--blue-soft); }
.car-btn .ic { width: 22px; height: 22px; }
.car-btn.prev { left: -20px; } .car-btn.next { right: -20px; }
@media (min-width: 1000px) { .car-btn { display: inline-flex; } .batch-card { flex-basis: 340px; } }

/* ---------- Featured track ---------- */
.featured { display: grid; gap: 28px; align-items: center; margin-bottom: 36px; background: linear-gradient(135deg, #f1f6ff, #fff); border: 1px solid var(--blue-line); border-radius: 24px; padding: 28px; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.3fr 0.7fr; padding: 44px; gap: 40px; } }
.featured h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.chip-row li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--blue-line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.chip-row .ic { width: 16px; height: 16px; color: var(--blue); }
.feat-card { background: linear-gradient(145deg, #0a3478, #146ef5); color: #fff; border-radius: 20px; padding: 32px 24px; text-align: center; box-shadow: 0 20px 44px rgba(20, 110, 245, 0.3); display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 220px; justify-content: center; }
.feat-card .ic { width: 64px; height: 64px; color: #bfdbff; }
.feat-card strong { font-size: 1.25rem; }
.feat-card span { color: #d6e6ff; font-size: 0.9375rem; }
.timeline .t-num { background: var(--blue); }
.timeline .t-when { color: var(--blue-d); }
.timeline::before { background: linear-gradient(90deg, #0a3478, #146ef5, #6aa8ff) !important; }
.timeline li::before { border-color: var(--blue) !important; }

/* ---------- CTA and footer ---------- */
.cta-band { background: linear-gradient(120deg, #0a3478, #146ef5); }
.cta-band p { color: #e1edff; }
.site-footer { background: #0a2250; }
.site-footer .logo small { color: #8fc0ff; }
.site-footer a:hover { color: #8fc0ff; }
.wa-float { bottom: 84px; }

/* ---------- Callback modal (native dialog) ---------- */
.modal { border: 0; padding: 0; width: min(92vw, 420px); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(5, 20, 60, 0.5); font-family: var(--font); color: var(--ink); }
.modal::backdrop { background: rgba(8, 20, 50, 0.6); backdrop-filter: blur(2px); }
.modal-head { background: linear-gradient(135deg, #0a3478, #146ef5); color: #fff; padding: 26px 24px 22px; position: relative; }
.modal-head h2 { color: #fff; font-size: 1.35rem; margin: 10px 0 4px; }
.modal-head p { color: #dbe8ff; margin: 0; font-size: 0.9375rem; }
.modal-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); align-items: center; justify-content: center; }
.modal-icon .ic { width: 22px; height: 22px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.18); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: rgba(255, 255, 255, 0.3); }
.modal-close:focus-visible { outline-color: #fff; }
.modal-body { padding: 22px 24px 24px; background: #fff; }
.modal .form-note { text-align: center; }

/* ---------- Mobile bottom bar ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 52, 120, 0.08); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 6px 2px; color: #3b4a6b; text-decoration: none; font-size: 12px; font-weight: 600; }
.bottom-nav a .ic { width: 22px; height: 22px; }
.bottom-nav a[aria-current="page"] { color: var(--blue-d); }
.bottom-nav a:hover { color: var(--blue-d); background: var(--blue-soft); }
@media (min-width: 900px) { .bottom-nav { display: none; } body.home { padding-bottom: 0; } .wa-float { bottom: 16px; } }
