/* ==========================================================================
   TechPanda OMR Sholinganallur — MERGED STYLESHEET
   This file is now SELF-CONTAINED. It includes everything that used to
   live in style.css (base reset, header, footer, buttons, reveal-on-scroll,
   popup form, etc.) PLUS all course-page-specific styles.
   Do NOT link style.css on this page anymore — only link this file.
   ========================================================================== */

:root {
  /* ── PREMIUM PALETTE (client brand colors) ── */
  --navy:         #1e2d6b;          /* Deep indigo-navy */
  --navy-dark:    #131d4a;
  --navy-light:   #2d3f8f;
  --blue:         #2563eb;          /* Electric blue (primary CTA) */
  --blue-dark:    #1a4fd4;
  --blue-light:   #4f80f5;
  --blue-ultra:   #6366f1;          /* Violet accent */
  --green:        #4ade80;         /* Rich emerald */
  --green-dark:   #047857;
  --green-light:  #10b981;
  --green-bg:     #ecfdf5;
  --blue-bg:      #eef2ff;
  --navy-bg:      #eef0fa;
  --violet-bg:    #f5f3ff;

  /* Surface & Neutrals */
  --ink:          #0d1117;
  --ink2:         #1c2333;
  --muted:        #64748b;
  --muted2:       #94a3b8;
  --light:        #f8fafc;
  --light2:       #f1f5f9;
  --border-c:     #e2e8f0;
  --border2:      #cbd5e1;
  --white:        #ffffff;
  --surface:      #fafbff;

  /* ── PREMIUM GRADIENTS ── */
  --grad-bar:     linear-gradient(90deg, #1a4fd4 0%, #059669 100%);
  --grad-hero:    linear-gradient(135deg, #0b1545 0%, #131d4a 22%, #1a4fd4 62%, #059669 100%);
  --grad-btn:     linear-gradient(90deg, #2563eb 0%, #059669 100%);
  --grad-green:   linear-gradient(135deg, #059669 0%, #047857 100%);
  --grad-card:    linear-gradient(135deg, #eef2ff 0%, #ecfdf5 100%);
  --grad-violet:  linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
  --grad-mesh:    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,.14) 0%, transparent 60%),
                  radial-gradient(ellipse 60% 70% at 80% 30%, rgba(37,99,235,.18) 0%, transparent 60%),
                  radial-gradient(ellipse 50% 50% at 50% 90%, rgba(5,150,105,.12) 0%, transparent 60%);

  /* Typography */
  --ff:           'Inter', 'Segoe UI', sans-serif;
  --ff-display:   'Poppins', 'Segoe UI', sans-serif;

  /* Spacing & Shape */
  --radius:       10px;
  --radius-lg-c:  16px;
  --radius-xl:    24px;
  --radius-2xl:   32px;
  --radius-pill:  40px;

  /* ── PREMIUM SHADOWS ── */
  --shadow-sm:    0 2px 8px rgba(30,45,107,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow:       0 4px 20px rgba(30,45,107,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg-c:  0 8px 32px rgba(30,45,107,.13), 0 2px 10px rgba(0,0,0,.07);
  --shadow-xl:    0 20px 56px rgba(30,45,107,.16), 0 6px 18px rgba(0,0,0,.09);
  --shadow-blue:  0 4px 20px rgba(37,99,235,.22), 0 1px 6px rgba(37,99,235,.12);
  --shadow-green: 0 4px 20px rgba(5,150,105,.22), 0 1px 6px rgba(5,150,105,.12);
  --shadow-navy:  0 4px 20px rgba(30,45,107,.22), 0 1px 6px rgba(30,45,107,.12);
  --shadow-card:  0 4px 0 0 rgba(37,99,235,.55) inset, 0 6px 24px rgba(30,45,107,.14), 0 12px 40px rgba(37,99,235,.12);
  --shadow-hover: 0 16px 48px rgba(30,45,107,.18), 0 4px 16px rgba(37,99,235,.12);
  --shadow-hover-blue: 0 16px 48px rgba(37,99,235,.28), 0 4px 14px rgba(37,99,235,.16);

  --transition:   .28s cubic-bezier(.4,0,.2,1);

  /* ── Aliases so the rest of the stylesheet maps onto the new palette ── */
  --navy-900: var(--navy-dark);
  --navy-800: var(--navy);
  --navy-700: var(--navy-light);
  --blue-600: var(--blue);
  --amber-500: var(--blue);
  --amber-400: var(--blue-light);
  --amber-050: var(--blue-bg);
  --ink-900: var(--ink);
  --ink-600: var(--muted);
  --ink-400: var(--muted2);
  --bg-body: var(--light);
  --bg-card: var(--white);
  --bg-section-alt: var(--light2);
  --success: var(--green);
  --border: var(--border-c);
  --radius-sm: var(--radius);
  --radius-md: var(--radius-lg-c);
  --radius-lg: var(--radius-xl);
  --shadow-md: var(--shadow);
  --shadow-lg: var(--shadow-xl);
  --font-head: var(--ff-display);
  --font-body: var(--ff);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  /* color: var(--navy-900); */
  color: white;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
p { margin: 8px 0 14px; color: var(--ink-600); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
.section-alt { background: var(--bg-section-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-500);
  background: var(--amber-050);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-cta .btn-primary { margin-left: 20px; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover-blue); }
.btn-outline { background: transparent; color: var(--navy-900); border: 2px solid var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #0e0a0a; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(5,150,105,.32); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.topbar { background: linear-gradient(90deg, #1a4fd4 0%, #059669 100%); color: #e7e9ed; font-size: 0.82rem; padding: 7px 0; display: flex; }
.topbar .container { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.topbar a { color: #eaecf0; transition: color .2s; }
.topbar a:hover { color: #29a354; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-left span, .topbar-right span { display: flex; align-items: center; gap: 6px; }

header.site-header { position: sticky; top: 0; z-index: 500; background: #fff; box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-900); margin-right: auto; }
nav.main-nav { display: flex; align-items: center; }
nav.main-nav ul { display: flex; align-items: center; gap: 34px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.logo span.brand-panda { color: var(--amber-500); }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-400); letter-spacing: 0.03em; }
nav.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink-900); position: relative; padding: 6px 0; }
nav.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--amber-500); transition: width 0.25s ease; }
nav.main-nav a:hover::after, nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--amber-500); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 3px; background: var(--navy-900); border-radius: 4px; }

.hero-form-card { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 20px; position: relative; border-top: 4px solid var(--blue); max-width: 380px; }
.hero-form-card .hf-title { font-family: var(--font-head); font-size: 17px; color: var(--navy-900); margin-bottom: 2px; }
.hero-form-card .hf-sub { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.hero-form-card .form-field { margin-bottom: 10px; }
.hero-form-card .form-field label { font-size: 12px; margin-bottom: 2px; }
.hero-form-card .form-field input, .hero-form-card .form-field select { background: var(--surface); padding: 10px 10px; font-size: 13px; }
.hero-form-card .btn { padding: 10px 18px; font-size: 13px; }
.hero-form-card .hf-note { font-size: 11px; text-align: center; color: var(--muted2); margin: 10px 0 0; }
.hero-form-card .hf-badges { display: flex; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-form-card .hf-badge { font-size: 11px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 4px; }

.form-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy-900); }
.form-field input, .form-field select, .form-field textarea { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-family: var(--font-body); font-size: 14px; background: #fbfcfe; }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--amber-400); box-shadow: 0 0 0 3px rgba(255,122,48,0.15); }

footer.site-footer { background: var(--navy-900); color: #b9c8dd; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-logo span { color: var(--amber-400); }
footer.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
footer.site-footer a:hover { color: var(--amber-400); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; font-size: 13px; color: var(--ink-400); }

.mobile-action-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 600; background: #fff; box-shadow: 0 -6px 20px rgba(11,36,71,0.14); }
.mobile-action-bar .container { display: flex; gap: 10px; padding: 10px 16px; }
.mobile-action-bar .btn { flex: 1; padding: 12px; font-size: 14px; }

.fab-stack { position: fixed; right: 20px; bottom: 90px; z-index: 650; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg-c); transition: transform 0.2s ease; white-space: nowrap; }
.fab:hover { transform: translateY(-3px); }
.fab-call { background: #fff; color: var(--navy-900); border: 1px solid var(--border); }
.fab-whatsapp { background: var(--green); color: #fff; }
.fab-demo { background: var(--navy); color: #fff; }
.scroll-top { position: fixed; left: 20px; bottom: 26px; z-index: 650; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-blue); border: none; cursor: pointer; transition: transform 0.2s ease; }
.scroll-top:hover { transform: translateY(-3px); }
@media (max-width: 640px) {
  .fab-stack { bottom: 78px; right: 14px; gap: 10px; }
  .fab { padding: 10px 14px; font-size: 13px; }
  .fab span.fab-label { display: none; }
  .scroll-top { left: 14px; bottom: 78px; width: 40px; height: 40px; }
}

/* ── Scroll-reveal animation (used by main.js) ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-outline { display: none; }
  body.nav-open nav.main-nav { display: flex; position: fixed; top: 0; right: 0; width: 76%; max-width: 320px; height: 100vh; background: #fff; flex-direction: column; padding: 90px 30px 30px; box-shadow: -10px 0 40px rgba(0,0,0,0.15); z-index: 700; }
  body.nav-open nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-form-card { max-width: 480px; margin: 0 auto; padding: 26px; }
  .mobile-action-bar { display: block; }
  body { padding-bottom: 66px; }
}

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-left { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   POPUP FORM STYLES — TechPanda Sholinganallur
   ══════════════════════════════════════════════════════ */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 39, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 42% 58%;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(21, 27, 84, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.12);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.popup-overlay.open .popup-box {
  transform: translateY(0) scale(1);
}

.popup-media {
  position: relative;
  min-height: 100%;
  display: none;
}

.popup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(21,27,84,0) 30%, rgba(10,14,39,0.92) 100%);
  color: #ffffff;
}

.popup-media-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.popup-media-overlay h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.popup-media-overlay p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0;
}

@media (min-width: 640px) {
  .popup-media { display: block; }
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(21, 27, 84, 0.06);
  border: none;
  color: #151b54;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.popup-close:hover {
  background: rgba(21, 27, 84, 0.12);
}

.popup-left {
  padding: 32px 28px 26px;
  color: #151b54;
}

.popup-left h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #151b54;
}

.popup-timer {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px;
}

.popup-timer span {
  color: #10b981;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#popup-right-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 18px;
}

#popup-right-scroll::-webkit-scrollbar { width: 4px; }
#popup-right-scroll::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.3); border-radius: 4px; }

.popup-field { margin-bottom: 14px; }

.popup-field input,
.popup-field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #151b54;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.popup-field input::placeholder { color: #94a3b8; }

.popup-field input:focus,
.popup-field select:focus {
  border-color: #2563eb;
  background: #ffffff;
}

.popup-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%232563eb' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}

.popup-field select option { background: #ffffff; color: #151b54; }

.field-err { display: none; color: #f87171; font-size: 12px; margin-top: 5px; }
.field-error { border-color: #f87171 !important; }

.btn-popup-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}

.btn-popup-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.popup-success {
  text-align: center;
  color: #34d399;
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0 0;
}

.btn-nav-cta,
.btn-hero-cta,
.btn-inline-cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-cta:hover,
.btn-hero-cta:hover,
.btn-inline-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.btn-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  padding: 14px 22px;
  border-radius: 50px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
  animation: floatPulse 2.4s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 640px) {
  .popup-box { max-width: 100%; grid-template-columns: 1fr !important; }
  .popup-left { padding: 26px 20px 20px; }
}

@media (max-width: 480px) {
  .btn-floating-cta { bottom: 78px; right: 16px; padding: 12px 18px; font-size: 13px; }
}

/* ══════════════════════════════════════════════════════
   course-page.css — TechPanda Sholinganallur
   Course-page-specific sections (ETL Testing, Data Analyst,
   Data Engineering, Generative AI, etc.)
   Palette: Indigo-Navy #151b54 · Electric Blue #2563eb · Emerald #10b981
   ══════════════════════════════════════════════════════ */

/* ── Course Hero ── */
.course-hero {
  background: linear-gradient(120deg, #151b54 0%, #1e2875 55%, #0f6b52 130%);
  padding: 64px 0 56px;
  color: #ffffff;
}

.course-hero .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #93c5fd;
  margin-bottom: 18px;
}

.course-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 680px;
  margin: 0 0 18px;
}

.course-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.course-hero p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: #d7e0f0;
}

/* ── Section shell ── */
.course-section {
  padding: 56px 0;
}

.course-section.alt {
  background: #edf1f8;
}

.course-section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.course-section-head .eyebrow {
  display: inline-block;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.course-section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #151b54;
  margin: 0 0 10px;
}

.course-section-head h2 em {
  font-style: normal;
  color: #10b981;
}

.course-section-head p {
  color: #56637a;
  font-size: 15.5px;
  line-height: 1.7;
}

/* ── Reason / feature grid (Why Learn / Why Choose) ── */

.reason-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.reason-card {
  flex: 1 1 300px;
  max-width: 340px;
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid #e7ecf5;
  box-shadow: 0 8px 22px rgba(21, 27, 84, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(21, 27, 84, 0.1);
}

.reason-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.reason-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #151b54;
  margin: 0 0 8px;
}

.reason-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Simple checklist (Why Learn bullet list) ── */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  max-width: 780px;
  margin: 0 auto;
}

.check-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #334155;
}

.check-list li::before {
  content: "✔";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Curriculum accordion (What You Will Learn) ── */
/* ── Curriculum grid (3 + 3, equal-height boxes with mini charts) ── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.curriculum-block {
  background: #ffffff;
  border: 1px solid #e7ecf5;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.curriculum-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f8;
}

.curriculum-block-top h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

.mini-chart {
  width: 52px; height: 26px; flex-shrink: 0;
}
.mini-chart polyline {
  fill: none; stroke: #2563eb; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.mini-chart rect {
  fill: #10b981; rx: 1.5;
}
.mini-donut {
  width: 34px; height: 34px; flex-shrink: 0;
  transform: rotate(-90deg);
}

.curriculum-block ul { margin: 0; padding: 0; }
.curriculum-block li {
  list-style: none;
  font-size: 14px;
  color: #475569;
  padding: 6px 0 6px 20px;
  position: relative;
}
.curriculum-block li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #10b981;
  font-weight: 700;
}

@media (max-width: 900px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .curriculum-grid { grid-template-columns: 1fr; }
}
/* ── Audience cards (Who Can Join) ── */
/* ── Audience chain (connected flow layout) ── */
.audience-chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.audience-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  position: relative;
  padding: 0 12px;
}

/* ── Methodology flow: cards with ghost numerals + arrows ── */
.method-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  max-width: 1180px;
  margin: 0 auto;
}

.method-card {
  flex: 1 1 220px;
  max-width: 250px;
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 14px;
  padding: 24px 20px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(21, 27, 84, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(21, 27, 84, 0.09);
}

.method-ghost-num {
  position: absolute;
  top: -6px;
  right: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #f1f5fb;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.method-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #151b54;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.method-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.method-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #0a0b0e;
  flex: 0 0 auto;
  padding: 0 4px;
}

/* ── Project grid (icon cards, auto-fit, equal height) ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(21, 27, 84, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(21, 27, 84, 0.09);
  border-color: #dbe4ff;
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f6f8fc;
  border: 1px solid #eef1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.project-card:hover .project-icon {
  transform: scale(1.08);
  background: #eef2ff;
}

.project-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #151b54;
  margin: 0;
  line-height: 1.4;
}

/* ── Future banner (highlighted SEO section with stats) ── */
.future-banner {
  padding: 0 0 56px;
}

.future-box {
  background: linear-gradient(120deg, #151b54 0%, #1e2875 55%, #0f6b52 130%);
  border-radius: 22px;
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.future-text {
  flex: 1 1 420px;
  max-width: 620px;
}

.future-text .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.future-text h2 {
  color: #ffffff;
  font-size: 28px;
}

.future-text h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.future-text p {
  color: #d7e0f0;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.future-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.future-stat {
  text-align: center;
  min-width: 110px;
}

.future-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.future-stat-label {
  font-size: 12px;
  color: #b9c8dd;
  margin-top: 6px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .future-box { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .future-stats { width: 100%; justify-content: space-between; gap: 16px; }
  .future-stat { min-width: 0; flex: 1; }
}

/* Responsive: stack vertically, arrows rotate to point down */
@media (max-width: 900px) {
  .method-flow {
    flex-direction: column;
    align-items: center;
  }
  .method-card { width: 100%; max-width: 340px; }
  .method-arrow { transform: rotate(90deg); }
}


.learning-path-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
/* connector line between nodes */
.audience-link:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(50% + 40px);
  width: calc(100% - 40px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #c7d2fe 0, #c7d2fe 6px, transparent 6px, transparent 12px
  );
}

.audience-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #153b97, #10b950);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  margin-bottom: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.audience-link:hover .audience-node {
  transform: scale(1.1);
}

.audience-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #151b54;
  margin: 0 0 6px;
}

.audience-content p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Responsive: stack vertically with a vertical connector on small screens */
@media (max-width: 900px) {
  .audience-chain {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .audience-link {
    width: 100%;
    max-width: 320px;
  }
  .audience-link:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: repeating-linear-gradient(
      180deg,
      #c7d2fe 0, #c7d2fe 6px, transparent 6px, transparent 12px
    );
  }
}
/* ── Skills grid (auto-fit, equal height boxes) ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.skill-card {
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px rgba(21, 27, 84, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(21, 27, 84, 0.08); }

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f8;
}
.skill-card-top h4 {
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: #151b54;
  margin: 0;
}

.mini-chart {
  width: 52px; height: 26px; flex-shrink: 0;
}
.mini-chart polyline {
  fill: none; stroke: #2563eb; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.mini-chart rect {
  fill: #10b981; rx: 1.5;
}
.mini-donut {
  width: 34px; height: 34px; flex-shrink: 0;
  transform: rotate(-90deg);
}

.skill-card ul { margin: 0; padding: 0; }
.skill-card li { list-style: none; font-size: 13px; color: #64748b; padding: 5px 0 5px 16px; position: relative; }
.skill-card li::before { content: "•"; position: absolute; left: 2px; color: #2563eb; font-weight: 700; }

/* ── Career role pills ── */
.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.role-pill {
  padding: 9px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #dbe4f5;
  color: #151b54;
  font-size: 13.5px;
  font-weight: 600;
}

/* ── FAQ accordion (animated) ── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e7ecf5;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #151b54;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-q.open .faq-icon {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-answer.open {
  max-height: 320px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: #56637a;
  line-height: 1.7;
  margin: 0;
}

/* ── CTA banner (course-specific) ── */
.course-cta {
  background: linear-gradient(120deg, #151b54, #0f6b52);
  border-radius: 20px;
  padding: 46px 32px;
  text-align: center;
  color: #ffffff;
}

.course-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
}

.course-cta p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: #d7e0f0;
  font-size: 15px;
}

.course-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Reviews strip (placeholder cards) ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e7ecf5;
  border-radius: 14px;
  padding: 22px;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 10px;
}

.review-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 12px;
}

.review-author {
  font-size: 13px;
  font-weight: 700;
  color: #151b54;
}

/* ── Sticky right-side quick-nav (desktop only) ── */
.course-side-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 500;
  display: none;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e9f7;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(21, 27, 84, 0.12);
}

.course-side-nav a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #151b54;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.course-side-nav a:hover {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
}

@media (min-width: 1200px) {
  .course-side-nav { display: flex; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .curriculum-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .course-hero h1 { font-size: 28px; }
  .check-list { grid-template-columns: 1fr; }
}

  /* ── Batch Details Strip — lighter, less heavy cards ── */
  .batch-strip {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 5;
  }
  .batch-strip .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .batch-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(21, 27, 84, 0.06);
    margin-top: -30px;
    border: 1px solid #eef1f8;
    overflow: hidden;
  }
  .batch-box {
    padding: 22px 20px;
    border-right: 1px solid #f1f3f9;
    position: relative;
  }
  .batch-box:last-child { border-right: none; }
  .batch-box-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 10px;
  }
  .batch-box-label .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981;
  }
  .batch-box-main {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #151b54;
    line-height: 1.25;
  }
  .batch-box-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
  }

  .countdown-row { display: flex; gap: 8px; }
  .countdown-unit {
    background: #f6f8fc;
    border-radius: 8px;
    padding: 6px 9px;
    text-align: center;
    min-width: 44px;
  }
  .countdown-unit b {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #2563eb;
    font-variant-numeric: tabular-nums;
  }
  .countdown-unit span {
    display: block;
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1px;
  }

  .seat-gauge-track {
    width: 100%;
    height: 8px;
    background: #f1f3f9;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
  }
  .seat-gauge-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #10b981, #f59e0b);
    width: 0%;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .seat-gauge-text { margin-top: 8px; font-size: 12px; }
  .seat-gauge-text .filled { color: #f59e0b; font-weight: 700; }

  @media (max-width: 900px) {
    .batch-card { grid-template-columns: repeat(2, 1fr); margin-top: -18px; border-radius: 14px; }
    .batch-box { border-bottom: 1px solid #f1f3f9; }
    .batch-box:nth-child(2) { border-right: none; }
    .batch-box:nth-child(3), .batch-box:nth-child(4) { border-bottom: none; }
  }
  @media (max-width: 560px) {
    .batch-card { grid-template-columns: 1fr; margin-top: -14px; }
    .batch-box { border-right: none !important; }
    .batch-box:last-child { border-bottom: none; }
  }

  /* ── Lighten up the heavy cards site-wide on this page ── */
  .reason-card {
    box-shadow: 0 2px 10px rgba(21, 27, 84, 0.045) !important;
    border: 1px solid #eef1f8 !important;
  }
  .reason-card:hover {
    box-shadow: 0 8px 20px rgba(21, 27, 84, 0.08) !important;
  }
  .curriculum-block,
  .audience-card,
  .review-card,
  .faq-item {
    box-shadow: 0 2px 8px rgba(21, 27, 84, 0.04);
    border: 1px solid #eef1f8 !important;
  }
  /* ══════════════════════════════════════════════════════
   "Why Choose TechPanda" — distinctive redesign
   Paste into the <style> block in <head>
   Requires: <section class="course-section why-techpanda">
   on the "Why Choose TechPanda" section only.
   ══════════════════════════════════════════════════════ */



.why-techpanda .reason-card {
  background: #ffffff;
  border: 1px solid #eef1f8 !important;
  border-radius: 14px;
  padding: 26px 24px 24px;
  box-shadow: 0 2px 8px rgba(21, 27, 84, 0.04) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

/* colored top accent bar — different color per card, cycling 5 ways */
.why-techpanda .reason-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.why-techpanda .reason-card:hover::before { transform: scaleX(1); }

.why-techpanda .reason-card:nth-child(1)::before { background: #2563eb; }
.why-techpanda .reason-card:nth-child(2)::before { background: #10b981; }
.why-techpanda .reason-card:nth-child(3)::before { background: #f59e0b; }
.why-techpanda .reason-card:nth-child(4)::before { background: #6366f1; }
.why-techpanda .reason-card:nth-child(5)::before { background: #ec4899; }

.why-techpanda .reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(21, 27, 84, 0.10) !important;
}

/* icon badge — circular ring instead of flat square */
.why-techpanda .reason-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f6f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
  border: 1px solid #eef1f8;
  transition: transform 0.28s ease, background 0.28s ease;
}
.why-techpanda .reason-card:hover .icon {
  transform: scale(1.08);
}
.why-techpanda .reason-card:nth-child(1) .icon { background: #eef2ff; }
.why-techpanda .reason-card:nth-child(2) .icon { background: #ecfdf5; }
.why-techpanda .reason-card:nth-child(3) .icon { background: #fffbeb; }
.why-techpanda .reason-card:nth-child(4) .icon { background: #f5f3ff; }
.why-techpanda .reason-card:nth-child(5) .icon { background: #fdf2f8; }

.why-techpanda .reason-card h3 {
  font-size: 16.5px;
}

/* Highlight the most important card: Placement Assistance (4th card) */
.why-techpanda .reason-card:nth-child(4) {
  border-color: #dbe4ff !important;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.why-techpanda .reason-card:nth-child(4)::after {
  content: "Most Popular";
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 640px) {
  .why-techpanda .reason-card:nth-child(4)::after {
    position: static;
    display: inline-block;
    margin-top: 10px;
  }
}
/* ── Force single row for 5 cards (Methodology + Audience) ── */

.method-flow,
.audience-chain {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 12px !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  width: 100%;
}

.method-flow > .method-card,
.audience-chain > .audience-link {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

/* shrink padding/font slightly so 5 cards comfortably fit one row */
.method-flow > .method-card {
  padding: 18px 14px 16px !important;
}
.method-flow > .method-card h3 {
  font-size: 13.5px !important;
}
.method-flow > .method-card p {
  font-size: 12px !important;
}
.method-ghost-num {
  font-size: 40px !important;
}

.audience-link {
  padding: 0 6px !important;
}
.audience-content h4 {
  font-size: 13px !important;
}
.audience-content p {
  font-size: 11.5px !important;
}
.audience-node {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
}

/* On tablets/mobile it's too tight for one row — allow wrap back */
@media (max-width: 900px) {
  .method-flow,
  .audience-chain {
    flex-wrap: wrap !important;
  }
  .method-flow > .method-card,
  .audience-chain > .audience-link {
    flex: 1 1 260px !important;
  }
}

@media (max-width: 640px) {
  .method-flow,
  .audience-chain {
    flex-direction: column !important;
  }
  .method-flow > .method-card,
  .audience-chain > .audience-link {
    width: 100% !important;
    flex: 1 1 auto !important;
  }
}
.footer-grid a[aria-label]:hover {
  background: linear-gradient(135deg, #2563eb, #10b981) !important;
  /* ══════════════════════════════════════════════════════
   FINAL MOBILE FIX — sub-course pages (single consolidated version)
   Covers: phones, small tablets — consistent across all devices
   ══════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: left;
  }
  footer.site-footer { padding: 44px 0 20px !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* ── Course hero ── */
  .course-hero { padding: 44px 0 36px !important; }
  .course-hero h1 { font-size: 26px !important; }
  .course-hero p { font-size: 14.5px !important; }

  /* ── Section spacing ── */
  .course-section { padding: 40px 0 !important; }
  .course-section-head { margin-bottom: 28px !important; }
  .course-section-head h2 { font-size: 22px !important; }
  .course-section-head p { font-size: 14px !important; }

  /* ── Reason / Why Choose grid ── */
  .reason-grid { gap: 16px !important; }
  .reason-card { padding: 20px 18px !important; }

  /* ── Curriculum grid ── */
  .curriculum-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ── Skills grid ── */
  .skills-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ── Project grid ── */
  .project-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* ── Review grid ── */
  .review-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ── Future banner ── */
  .future-box { padding: 28px 22px !important; flex-direction: column !important; align-items: flex-start !important; }
  .future-text h2 { font-size: 22px !important; }
  .future-stats { width: 100% !important; gap: 14px !important; }
  .future-stat-num { font-size: 24px !important; }

  /* ── Batch details strip ── */
  .batch-card { grid-template-columns: repeat(2, 1fr) !important; margin-top: -18px !important; }
  .batch-box { padding: 16px 14px !important; }
  .batch-box-main { font-size: 16px !important; }

  /* ── Check list ── */
  .check-list { grid-template-columns: 1fr !important; }

  /* ── Method flow + Audience chain (5-card sections) ── */
  .method-flow, .audience-chain {
    flex-direction: column !important;
    align-items: center !important;
  }
  .method-flow > .method-card, .audience-chain > .audience-link {
    width: 100% !important;
    max-width: 340px !important;
    flex: 1 1 auto !important;
    padding: 20px 18px !important;
  }
  .method-flow > .method-card h3,
  .audience-content h4 { font-size: 15px !important; }
  .method-flow > .method-card p,
  .audience-content p { font-size: 13px !important; }

  /* ── FAQ ── */
  .faq-q { padding: 15px 16px !important; font-size: 14px !important; }

  /* ── Course CTA banner ── */
  .course-cta { padding: 32px 22px !important; }
  .course-cta h2 { font-size: 22px !important; }

  /* ── Role pills ── */
  .role-pills { gap: 8px !important; }
  .role-pill { padding: 7px 14px !important; font-size: 12.5px !important; }

  /* ── Side nav hidden already via min-width:1200px rule — no change needed ── */

  /* ── Floating popup / CTA buttons ── */
  .fab-stack { bottom: 74px !important; }
  .btn-floating-cta { bottom: 74px !important; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px !important; }
  .course-hero h1 { font-size: 22px !important; }
  .course-section-head h2 { font-size: 20px !important; }
  .batch-card { grid-template-columns: 1fr !important; }
  .project-grid { grid-template-columns: 1fr !important; }
  .btn { font-size: 13px !important; padding: 10px 18px !important; }
  .footer-logo { font-size: 18px !important; }
}
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  color: #b9c8dd;
}
.breadcrumbs a {
  color: #93c5fd;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.breadcrumbs .crumb-sep {
  color: #5c6a94;
}
.breadcrumbs .crumb-current {
  color: #d7e0f0;
  font-weight: 600;
}