/* ==========================================================================
   Skill Abhiyudhya — Vocational Teacher Registration Portal, Uttarakhand
   White page, navy and gold accents, navy footer. Mobile-first.
   ========================================================================== */

:root {
  --navy: #12284a;
  --navy-deep: #0b1b33;
  --gold: #b8862e;
  --gold-soft: #f6efe1;
  --ink: #1c2130;
  --text: #3a4152;
  --muted: #6b7280;
  --line: #e6e8ec;
  --line-strong: #cfd3da;
  --white: #ffffff;

  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 74px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.18; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--navy); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }

/* Type scale */
.h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.label { display: block; font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.label span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.intro { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .h2 + .intro { margin-top: 16px; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 700; }
.small { font-size: 14px; color: var(--muted); line-height: 1.55; }
.small a { color: var(--gold); text-decoration: underline; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #a2751f; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--line-strong); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.text-link { font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color .2s ease, color .2s ease; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; justify-content: center; }
.wordmark__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.wordmark__name span { color: var(--gold); }
.wordmark__tag { font-size: 12px; color: var(--muted); margin-top: 5px; white-space: nowrap; }
@media (max-width: 420px) { .wordmark__tag { font-size: 11px; } }

.nav { display: none; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 400; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.nav a:hover, .nav a.active { border-color: var(--gold); }
.header__cta { display: none; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; }
.burger span { display: block; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--white); padding: 20px var(--gutter) 120px; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--navy); }
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 960px) { .nav { display: flex; } .header__cta { display: inline-flex; } .burger, .mobile-menu { display: none; } }

.fee-strip { background: var(--gold-soft); color: var(--navy); text-align: center; font-size: 14px; font-weight: 400; padding: 9px var(--gutter); border-bottom: 1px solid #ecdfc2; }
.fee-strip svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; color: var(--gold); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.hero .h1 { max-width: 18ch; }
.levels { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.levels .split { align-items: start; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.hero__facts strong { color: var(--ink); font-weight: 700; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: var(--white); background: rgba(11, 27, 51, .65); padding: 4px 9px; border-radius: 6px; }
.mosaic figure:nth-child(2) { margin-top: 28px; }
.mosaic figure:nth-child(3) { margin-top: -28px; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

/* --------------------------------------------------------------------------
   Two-column blocks, tables, lists
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 700; color: var(--navy); background: #f8f9fb; font-size: 14px; }
.table td:last-child, .table th:last-child { text-align: right; }
.table td:first-child { white-space: nowrap; font-weight: 400; color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-note { margin-top: 12px; }

.photo { border-radius: var(--radius); overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.caption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--gold); }

.points { display: grid; gap: 22px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.point h3 { font-size: 1.3rem; margin-bottom: 8px; }
.point p { font-size: 16px; }
.points--row { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.point__n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   Openings
   -------------------------------------------------------------------------- */
.trade-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .trade-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trade-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.trade { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 20px; transition: border-color .2s ease, box-shadow .2s ease; }
.trade:hover { border-color: var(--line-strong); box-shadow: 0 6px 24px rgba(18, 40, 74, .08); }
.trade__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.trade__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--gold-soft); display: grid; place-items: center; }
.trade__icon img { width: 20px; height: 20px; }
.posts { font-size: 14px; font-weight: 700; color: var(--navy); }
.posts b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-right: 4px; }
.trade h3 { font-size: 1.35rem; margin-bottom: 8px; }
.trade p { font-size: 15px; color: var(--text); }
.trade__qual { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trade__qual b { color: var(--ink); font-weight: 700; }
.trade__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trade__stretch::after { content: ""; position: absolute; inset: 0; }
.trade .btn { position: relative; z-index: 2; }
.trade--note { background: var(--gold-soft); border-color: #ecdfc2; justify-content: space-between; }
.trade--note h3 { font-size: 1.4rem; }
@media (min-width: 1000px) { .trade--note { grid-column: span 2; } }

.notice { border-left: 3px solid var(--navy); padding: 4px 0 4px 18px; margin-top: 36px; max-width: 80ch; }
.notice b { display: block; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.notice p { font-size: 15px; }

/* --------------------------------------------------------------------------
   Numbers & districts
   -------------------------------------------------------------------------- */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 56px); }
.numbers div { padding: 24px 8px; border-right: 1px solid var(--line); }
.numbers div:nth-child(2n) { border-right: 0; }
.numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.numbers b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; color: var(--navy); line-height: 1; }
.numbers span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (min-width: 720px) {
  .numbers { grid-template-columns: repeat(4, 1fr); }
  .numbers div { padding: 30px 16px; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .numbers div:last-child { border-right: 0 !important; }
}

.districts { display: grid; gap: 10px; }
@media (min-width: 860px) { .districts { grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; } }
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: transparent; border: 0; text-align: left; color: var(--navy); }
.acc__btn:hover { background: #f8f9fb; }
.acc__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.acc__right { display: flex; align-items: center; gap: 14px; }
.acc__count { font-weight: 700; color: var(--ink); font-size: 14px; }
.acc__chev { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .25s ease; }
.acc__chev svg { width: 13px; height: 13px; }
.acc.is-open .acc__chev { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__list { padding: 4px 18px 16px; border-top: 1px solid var(--line); }
.acc__list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.acc__list li:last-child { border-bottom: 0; }
.acc__list li b { color: var(--navy); font-weight: 700; }
.acc__list li a:hover { color: var(--gold); }

.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px 1fr 36px; align-items: center; gap: 12px; font-size: 15px; }
.bar__name { font-weight: 400; color: var(--ink); }
.bar__track { display: block; height: 8px; background: #eef0f3; border-radius: 4px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--gold); border-radius: 4px; width: 0; transition: width .8s ease; }
.bar__val { text-align: right; font-weight: 700; color: var(--navy); }
@media (max-width: 480px) { .bar { grid-template-columns: 110px 1fr 30px; font-size: 14px; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; font-size: 16px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; color: var(--ink); }
.contact dd a:hover { color: var(--gold); }
.contact dd small { display: block; color: var(--muted); font-size: 14px; }
.operator { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px; }
.operator h3 { font-size: 1.35rem; margin-bottom: 12px; }
.operator p { font-size: 15px; }
.operator p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Footer (navy)
   -------------------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 52px 0 110px; font-size: 15px; margin-top: var(--section); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } .footer { padding-bottom: 48px; } }
.footer .wordmark__name { color: var(--white); }
.footer .wordmark__tag { color: rgba(255, 255, 255, .6); }
.footer__col h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer__col li { margin-bottom: 9px; }
.footer__col a:hover { color: var(--white); }
.footer__operator { margin-top: 18px; max-width: 46ch; line-height: 1.6; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer__credit a { color: var(--white); font-weight: 700; }
.footer__credit a:hover { color: #d9b36a; }
@media (min-width: 860px) { .footer__bottom { grid-template-columns: 1fr auto auto; gap: 28px; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* --------------------------------------------------------------------------
   Sector pages
   -------------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--navy); }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }
.sector-hero { padding-block: clamp(36px, 6vw, 72px) 0; }
.sector-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .sector-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.sector-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 16ch; }
.sector-hero .intro { margin-top: 16px; }
.sector-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.sector-hero__meta strong { color: var(--ink); font-weight: 700; }
.sector-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.sector-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .sector-layout { grid-template-columns: 1fr 320px; gap: 64px; align-items: start; } }
.sector-main > section + section { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.sector-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.roles { display: grid; gap: 16px; }
@media (min-width: 720px) { .roles { grid-template-columns: 1fr 1fr; } }
.roles__group { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.roles__group h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.roles__group li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.roles__group li:last-child { border-bottom: 0; }
.qual { display: grid; gap: 12px; }
.qual__item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.qual__or { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.qual__item p { font-size: 15.5px; color: var(--ink); }
.qual__extra { margin-top: 12px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink); }
.pathways { display: grid; gap: 14px; }
@media (min-width: 640px) { .pathways { grid-template-columns: repeat(3, 1fr); } }
.pathway { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pathway b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.pathway p { font-size: 14.5px; color: var(--text); }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside__card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.aside__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.aside__row:last-of-type { border-bottom: 0; }
.aside__row span { color: var(--muted); }
.aside__row b { color: var(--navy); text-align: right; font-weight: 700; }
.aside__card .btn { margin-top: 16px; }
.aside__card small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.aside__card--soft { background: var(--gold-soft); border-color: #ecdfc2; }
.aside__card--soft p { font-size: 14.5px; }
.other-trades { display: flex; flex-wrap: wrap; gap: 8px; }
.other-trades a { padding: 7px 12px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 400; color: var(--navy); }
.other-trades a:hover { border-color: var(--navy); }

/* Privacy page */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar__fill, .acc__panel, .acc__chev { transition: none; } }
