/* =========================================================
   SHARED MODERN SERVICE PAGES STYLESHEET
   Clean light editorial hero (1-screen fit), interactive widgets,
   numbered ledgers, and zero icon clutter.
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero (Clean Light Editorial, 1-Screen Fit) ---------- */
.sv-hero {
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, #EEF2FF 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, #E9F8FA 0%, transparent 70%),
    #fff;
  color: var(--ink);
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
}
.sv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.sv-hero-copy > * {
  animation: heroUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.sv-hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.sv-hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
.sv-hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.sv-hero-copy > *:nth-child(4) { animation-delay: 0.22s; }
.sv-hero-copy > *:nth-child(5) { animation-delay: 0.28s; }

.sv-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.sv-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.sv-lede {
  margin: 0 0 22px;
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 48ch;
}
.sv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--slate);
}
.sv-meta span b {
  color: var(--ink);
  font-weight: 800;
  margin-right: 4px;
}

/* ---------- Interactive Hero Deck Card ---------- */
.deck-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 64px -26px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  animation: heroUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.deck-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.deck-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate);
}
.deck-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.deck-tabs::-webkit-scrollbar { display: none; }
.d-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.d-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.d-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.deck-body {
  padding: 20px 22px;
}
.deck-body.swap {
  animation: panelFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panelFade {
  from { opacity: 0.35; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.db-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.db-head h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ink);
}
.db-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(47, 91, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.db-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate);
}
.db-points {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.db-points li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.db-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Editorial Quote Band ---------- */
.sv-quote-band {
  padding: clamp(52px, 6vw, 84px) 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.sv-quote {
  max-width: 58rem;
  margin: 0 auto;
  border-left: 3px solid var(--brand);
  padding-left: clamp(20px, 3vw, 36px);
}
.sv-quote blockquote {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.sv-quote cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Story + Numbered Ledger ---------- */
.sv-section {
  padding: clamp(64px, 8vw, 108px) 0;
  border-bottom: 1px solid var(--line);
}
.sv-section.alt {
  background: var(--soft);
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.sticky-col {
  position: sticky;
  top: 96px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}
.sec-h2 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
.sec-p {
  margin: 0 0 16px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
}
.sec-p strong {
  color: var(--ink);
}

/* Clean Numbered Ledger */
.ledger {
  border-top: 1px solid var(--ink);
}
.ledger-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ledger-item:hover {
  background: var(--soft);
  padding-left: 16px;
}
.sv-section.alt .ledger-item:hover {
  background: #fff;
}
.ledger-idx {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand);
  padding-top: 2px;
}
.ledger-item h3 {
  margin: 0 0 5px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
}
.ledger-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- Card Grids (Editorial, Zero Icons) ---------- */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}
.ed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 30px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}
.ed-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.16);
}
.ed-idx {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.ed-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.ed-card p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
}
.ed-list {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.ed-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.ed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* Highlight Callout Banner */
.callout-banner {
  background: var(--night);
  color: var(--night-ink);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
.callout-banner h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
}
.callout-banner p {
  margin: 0;
  color: var(--night-slate);
  font-size: 0.98rem;
  line-height: 1.6;
}
.callout-stat {
  border-left: 1px solid var(--night-line);
  padding-left: 24px;
}
.callout-stat strong {
  display: block;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--signal);
  line-height: 1.05;
  margin-bottom: 4px;
}
.callout-stat span {
  font-size: 0.9rem;
  color: var(--night-slate);
}

/* ---------- WhatsApp Inquiry Form ---------- */
.sv-contact {
  padding: clamp(64px, 8vw, 108px) 0;
  background: #fff;
}
.sv-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--soft);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.sv-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sv-form .field.full {
  grid-column: 1 / -1;
}
.sv-form label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.sv-form input,
.sv-form select,
.sv-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.96rem;
}
.sv-form input:focus,
.sv-form select:focus,
.sv-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.sv-form-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .sv-hero {
    min-height: auto;
    padding: 36px 0 48px;
  }
  .sv-hero-grid,
  .split-grid,
  .callout-banner {
    grid-template-columns: 1fr;
  }
  .sticky-col {
    position: static;
  }
  .callout-stat {
    border-left: 0;
    border-top: 1px solid var(--night-line);
    padding-left: 0;
    padding-top: 18px;
  }
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .card-grid-2,
  .card-grid-3,
  .sv-form {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAGE-SPECIFIC HERO VISUALS (4 Distinct Animations)
   ========================================================= */

/* 1. IT-education: Animated School Lab Code & Output Console */
.lab-window {
  background: var(--night);
  color: var(--night-ink);
  border-radius: 18px;
  border: 1px solid var(--night-line);
  box-shadow: 0 28px 64px -22px rgba(6, 12, 34, 0.45);
  overflow: hidden;
  animation: heroUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.lab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--night-line);
}
.lab-dots { display: flex; gap: 6px; }
.lab-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.lab-dots i:first-child { background: #ef4444; }
.lab-dots i:nth-child(2) { background: #f59e0b; }
.lab-dots i:nth-child(3) { background: #10b981; }
.lab-modes { display: flex; gap: 6px; }
.lab-mode {
  appearance: none;
  border: 1px solid var(--night-line);
  background: transparent;
  color: var(--night-slate);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lab-mode.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.lab-code {
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  min-height: 156px;
}
.code-line {
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateX(-6px);
  animation: codeIn 0.35s ease forwards;
}
.code-line .ln { color: rgba(151, 163, 200, 0.45); user-select: none; width: 16px; }
.code-line .kw { color: #7dd3fc; }
.code-line .str { color: #86efac; }
.code-line .cm { color: #94a3b8; font-style: italic; }
@keyframes codeIn { to { opacity: 1; transform: none; } }
.lab-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(15, 184, 207, 0.08);
  border-top: 1px solid var(--night-line);
  font-size: 0.8rem;
}
.lab-out { color: var(--signal); font-weight: 700; }
.lab-board-tag { color: var(--night-slate); font-weight: 600; }

/* 2. Skill-development: Animated Skill-to-Placement Pipeline */
.pipe-stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 28px 64px -26px rgba(15, 23, 42, 0.2);
  animation: heroUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.pipe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}
.pipe-track {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 26px;
}
.pipe-track::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.pipe-beam {
  position: absolute;
  left: 9px;
  top: 12px;
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--brand), var(--signal));
  animation: pipeTravel 3.6s ease-in-out infinite;
}
@keyframes pipeTravel {
  0% { top: 12px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 44px); opacity: 0; }
}
.pipe-node {
  position: relative;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.pipe-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.pipe-node.active {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 10px 24px -14px rgba(47, 91, 255, 0.35);
  transform: translateX(4px);
}
.pipe-node.active::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.18);
}
.pipe-node strong { display: block; font-size: 0.9rem; color: var(--ink); }
.pipe-node span { display: block; font-size: 0.78rem; color: var(--slate); margin-top: 2px; }

/* 3. IT-talent: Interactive Udaan Live Quiz Stage */
.quiz-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 64px -26px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  animation: heroUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--night);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.quiz-pill {
  background: rgba(15, 184, 207, 0.2);
  color: var(--signal);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
}
.quiz-body { padding: 18px 20px; }
.quiz-q { margin: 0 0 14px; font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-opt {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.q-opt:hover { border-color: var(--brand); background: #fff; }
.q-opt.correct { background: var(--wa-tint); border-color: var(--wa); color: var(--wa); }
.q-opt.wrong { background: #fef2f2; border-color: #ef4444; color: #b91c1c; }
.quiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--slate);
}
.quiz-next {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

/* 4. Play-school: Floating Tactile Activity Canvas */
.play-canvas {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.play-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1.5px dashed var(--wire);
  animation: slowSpin 38s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
.play-center {
  position: relative;
  z-index: 2;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 22px 46px -12px rgba(47, 91, 255, 0.45);
}
.play-center strong { font-size: 1.15rem; font-weight: 800; line-height: 1.15; }
.play-center span { font-size: 0.72rem; opacity: 0.85; margin-top: 4px; }
.play-bubble {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 16px 32px -14px rgba(15, 23, 42, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  animation: floatBob 4.5s ease-in-out infinite;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.play-bubble:hover { border-color: var(--brand); transform: scale(1.06); }
.play-bubble small { display: block; font-size: 0.68rem; color: var(--brand); font-weight: 700; }
.pb-1 { top: 24px; left: 28px; animation-delay: 0s; }
.pb-2 { top: 34px; right: 20px; animation-delay: 0.9s; }
.pb-3 { bottom: 38px; left: 16px; animation-delay: 1.8s; }
.pb-4 { bottom: 26px; right: 24px; animation-delay: 2.7s; }
.pb-5 { top: 50%; left: -4px; transform: translateY(-50%); animation-delay: 1.2s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 720px) {
  .quiz-opts { grid-template-columns: 1fr; }
  .play-canvas { height: 300px; }
  .pb-5 { display: none; }
}
