:root {
  --ink: #10253b;
  --ink-2: #0b1c2d;
  --muted: #657381;
  --teal: #2f746e;
  --teal-2: #6fb8ad;
  --mint: #dff5ef;
  --aqua: #f1faf8;
  --gold: #d0ad7a;
  --gold-2: #e4c894;
  --cream: #fbfaf5;
  --white: #ffffff;
  --line: rgba(16, 37, 59, .12);
  --shadow: 0 24px 80px rgba(16, 37, 59, .14);
  --soft-shadow: 0 16px 38px rgba(16, 37, 59, .08);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(111, 184, 173, .18), transparent 30%),
    linear-gradient(180deg, var(--cream), #ffffff 420px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
}

.topbar .wrap,
.nav .wrap,
.section,
.footer .wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 245, .84);
  border-bottom: 1px solid rgba(8, 31, 27, .08);
  backdrop-filter: blur(18px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 54px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(16, 37, 59, .08);
  box-shadow: 0 12px 28px rgba(16, 37, 59, .12);
}

.brand-mark img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-links a:hover {
  background: rgba(0, 108, 98, .08);
  color: var(--teal);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.language-switch a {
  min-width: 40px;
  padding: 7px 9px;
  text-align: center;
}

.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(16, 37, 59, .18);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.button::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  transition: transform .22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 37, 59, .24);
}

.button:hover::after {
  transform: translateX(3px);
}

.button.secondary {
  background: var(--white);
  color: var(--teal);
  border-color: rgba(0, 108, 98, .2);
  box-shadow: 0 12px 28px rgba(8, 31, 27, .08);
}

.button.ghost {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}

.llc-home {
  background:
    linear-gradient(180deg, #f7f8f4 0%, #ffffff 520px);
}

.llc-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.llc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .98) 0%, rgba(247, 248, 244, .94) 58%, rgba(208, 173, 122, .16) 100%);
}

.llc-hero .section {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .78fr);
  gap: 54px;
  align-items: center;
}

.llc-hero h1 {
  max-width: 780px;
}

.llc-hero .lead {
  max-width: 720px;
  color: #475663;
}

.llc-visual-panel {
  position: relative;
  min-height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 37, 59, .1);
}

.llc-visual-panel > img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.llc-identity-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 6px 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.llc-identity-card img {
  width: 54px;
  grid-row: span 2;
}

.llc-identity-card strong {
  font-size: 22px;
  line-height: 1;
}

.llc-identity-card span {
  color: var(--muted);
  font-weight: 900;
}

.business-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.business-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--soft-shadow);
}

.business-card h3 {
  margin: 0;
}

.business-card p {
  margin: 0;
  color: var(--muted);
}

.business-card a:not(.button) {
  font-weight: 900;
  color: var(--teal);
  text-decoration: none;
}

.training-business {
  grid-row: span 2;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(8, 31, 27, .94), rgba(47, 116, 110, .9)),
    url("maharvi-hero-classroom.png") center / cover no-repeat;
}

.training-business p {
  color: rgba(255, 255, 255, .78);
}

.training-business .pill {
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  border-color: rgba(255, 255, 255, .24);
}

.contact-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.contact-strip a:not(.button) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--aqua);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-link::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: url("whatsapp-logo.svg") center / contain no-repeat;
}

.compact-contact {
  margin: 18px 0;
}

.footer .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gateway-section {
  padding-top: 36px;
}

.centered-header {
  text-align: center;
  margin-inline: auto;
}

.centered-header .eyebrow {
  justify-content: center;
}

.gateway-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.gateway-tab {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.gateway-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gateway-tab h2 {
  margin: 0;
}

.gateway-tab strong {
  color: var(--muted);
}

.training-tab {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 31, 27, .9), rgba(47, 116, 110, .82)),
    url("maharvi-hero-classroom.png") center / cover no-repeat;
}

.business-tab {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 37, 59, .84), rgba(208, 173, 122, .5)),
    url("maharvi-llc-facility.webp") center / cover no-repeat;
}

.training-tab strong {
  color: rgba(255, 255, 255, .82);
}

.training-tab .pill {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .24);
  color: var(--white);
}

.primary-gateway {
  min-height: 340px;
  padding: 40px;
}

.business-tab strong,
.business-tab .pill {
  color: var(--white);
}

.business-tab .pill {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .24);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 27, .94) 0%, rgba(8, 31, 27, .82) 42%, rgba(8, 31, 27, .18) 100%),
    url("maharvi-hero-classroom.png") center right / cover no-repeat;
  transform: scale(1.025);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.training-hero::before {
  background:
    linear-gradient(90deg, rgba(16, 37, 59, .95) 0%, rgba(16, 37, 59, .84) 39%, rgba(16, 37, 59, .22) 100%),
    url("maharvi-hero-classroom.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--cream));
}

.hero .section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 44px;
  align-items: center;
  padding: 92px 0 118px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(46px, 6.4vw, 82px);
  margin: 14px 0 18px;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin: 0 0 16px;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 700px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .88);
  font-weight: 800;
  font-size: 13px;
}

.course-finder {
  align-self: center;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow);
}

.course-finder h3 {
  margin-top: 12px;
}

.finder-field {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
}

.finder-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.finder-options a,
.course-card a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 900;
}

.finder-options a {
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(111, 184, 173, .12);
}

.hero-training-carousel {
  align-self: center;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.training-carousel-track {
  display: flex;
  width: max-content;
  height: 430px;
  animation: trainingSlide 24s linear infinite;
}

.hero-training-carousel:hover .training-carousel-track {
  animation-play-state: paused;
}

.training-carousel-track figure {
  position: relative;
  width: min(420px, 74vw);
  height: 430px;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
}

.training-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-carousel-track figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(8, 31, 27, .78);
  color: var(--white);
  font-weight: 900;
}

.course-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.course-card a {
  margin-top: auto;
}

.premium-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 184, 173, .18), transparent 34%),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, .76);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pathway-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  transition: transform .24s ease, background .24s ease;
}

.pathway-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .12);
}

.pathway-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
}

.pathway-card h3 {
  margin-top: 28px;
}

.pathway-card p {
  color: rgba(255, 255, 255, .76);
}

.pathway-card a {
  margin-top: auto;
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 900;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  gap: 14px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 18px;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-dashboard .glass-card strong {
  display: block;
  color: var(--gold-2);
  font-size: 28px;
  line-height: 1;
}

.platform-visual {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.visual-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.visual-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold-2);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}

.visual-grid div {
  min-height: 92px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
}

.visual-grid strong,
.visual-grid small {
  display: block;
}

.visual-grid strong {
  color: var(--white);
}

.visual-grid small {
  color: rgba(255, 255, 255, .68);
  margin-top: 4px;
}

.stats,
.metrics-strip {
  display: grid;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.metrics-section {
  width: min(1180px, calc(100% - 32px));
  margin: -68px auto 0;
  position: relative;
  z-index: 2;
}

.metrics-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 37, 59, .98), rgba(47, 116, 110, .94));
  color: var(--white);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 118px;
  display: grid;
  align-content: center;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.metric strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  color: var(--gold-2);
}

.metric span:last-child {
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.vision-section {
  padding-top: 18px;
}

.vision-card {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 37, 59, .98), rgba(47, 116, 110, .94));
  color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.vision-card p {
  color: rgba(255, 255, 255, .82);
}

.vision-card img {
  width: min(100%, 240px);
  justify-self: end;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .24));
}

.approval-section {
  padding-bottom: 36px;
}

.approval-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.approval-logo-card {
  min-height: 180px;
  min-width: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(16, 37, 59, .1);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--soft-shadow);
}

.approval-logo-card img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.inquiry-panel-section {
  padding-top: 36px;
  padding-bottom: 42px;
}

.training-inquiry-panel {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 245, 239, .9), rgba(255, 255, 255, .95));
  border: 1px solid rgba(16, 37, 59, .1);
  box-shadow: var(--shadow);
}

.training-inquiry-panel > div:first-child {
  padding: 8px 0;
}

.training-inquiry-panel p {
  color: var(--muted);
}

.inquiry-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.approval-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.approval-mini img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(16, 37, 59, .08);
}

.stat {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 34px;
  color: var(--teal);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header p,
.muted {
  color: var(--muted);
}

.band {
  background:
    linear-gradient(135deg, rgba(0, 108, 98, .08), transparent 38%),
    var(--aqua);
}

.grid-3,
.grid-2,
.course-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity .24s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 108, 98, .22);
  box-shadow: var(--soft-shadow);
}

.card:hover::before,
.card.highlight::before {
  opacity: 1;
}

.card.highlight {
  box-shadow: var(--shadow);
}

.card ul,
.check-list {
  padding-left: 18px;
  margin: 14px 0 0;
}

.card li,
.check-list li {
  margin: 8px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.feature-board,
.course-preview {
  display: grid;
  gap: 14px;
}

.feature-board {
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.board-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 108, 98, .08), rgba(201, 150, 50, .08));
}

.board-row span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 950;
}

.board-row small {
  color: var(--muted);
}

.course-preview {
  grid-template-columns: 1fr 1fr;
}

.course-preview article {
  min-height: 280px;
  padding: 26px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(223, 245, 239, .8)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.process {
  counter-reset: step;
}

.process .card {
  padding-left: 70px;
}

.process .card::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  color: var(--white);
  font-weight: 950;
}

.form {
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 108, 98, .1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8ea;
  color: #5b4316;
  border-radius: 8px;
}

.footer {
  background: #ffffff;
  color: #6b7a8c;
  padding: 76px 0 34px;
  border-top: 1px solid rgba(16, 37, 59, .12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.5fr) minmax(180px, .7fr) minmax(180px, .7fr);
  gap: 70px;
  align-items: start;
}

.footer-brand {
  max-width: 720px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 760px;
  color: #6b7a8c;
  font-size: 19px;
  line-height: 1.65;
}

.footer-contact {
  margin-top: 26px;
  font-weight: 800;
}

.footer h3 {
  color: var(--ink);
  font-size: 24px;
  margin-bottom: 22px;
}

.footer a {
  display: block;
  color: #6b7a8c;
  text-decoration: none;
  margin: 14px 0;
  font-size: 19px;
  transition: color .2s ease, transform .2s ease;
}

.footer a:hover {
  color: var(--teal);
  transform: translateX(2px);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 37, 59, .08);
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: .94em;
}

.fineprint {
  border-top: 1px solid rgba(16, 37, 59, .12);
  margin-top: 56px;
  padding-top: 20px;
  font-size: 14px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 108, 98, .92), rgba(8, 31, 27, .96)),
    var(--ink);
  color: var(--white);
}

.page-hero.safety-hero {
  background:
    linear-gradient(90deg, rgba(8, 31, 27, .92) 0%, rgba(8, 31, 27, .76) 48%, rgba(8, 31, 27, .38) 100%),
    url("maharvi-hero-classroom.png") center right / cover no-repeat;
}

.portal-shell {
  padding-top: 34px;
  padding-bottom: 38px;
}

.portal-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.search-box {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: var(--ink);
}

.search-box span {
  font-size: 13px;
  color: var(--muted);
}

.search-box input,
.verification-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 40px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .76);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.filter-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.course-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-catalogue {
  display: grid;
  gap: 18px;
}

.course-group {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--soft-shadow);
}

.course-group[hidden] {
  display: none;
}

.course-group-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.course-count {
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--aqua);
  color: var(--teal);
  font-weight: 950;
  white-space: nowrap;
}

.course-items {
  columns: 2;
  column-gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-items li {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 37, 59, .09);
  font-weight: 850;
}

.course-items li[hidden] {
  display: none;
}

.course-duration {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.portal-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--soft-shadow);
}

.portal-card[hidden] {
  display: none;
}

.portal-card h3,
.registry-preview h3 {
  margin: 0;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
}

.portal-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.portal-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card dd {
  margin: 0;
  font-weight: 900;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.verification-portal {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
}

.verification-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 26px;
  align-items: start;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.verification-form {
  padding: 0;
}

.verification-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.verification-steps span {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--aqua);
  border: 1px solid rgba(0, 108, 98, .14);
  font-weight: 900;
  font-size: 13px;
}

.registry-preview {
  position: relative;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--ink), #14382f);
  color: var(--white);
  box-shadow: var(--shadow);
}

.registry-preview p,
.registry-preview li {
  color: rgba(255, 255, 255, .78);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 8px rgba(110, 231, 183, .14);
}

.status-dot-warning {
  background: var(--gold-2);
  box-shadow: 0 0 0 8px rgba(228, 200, 148, .18);
}

.issuer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 24px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.issuer-output {
  display: grid;
  gap: 18px;
}

.issuer-output[hidden] {
  display: none;
}

.issuer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.certificate-print,
.training-card-print {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.certificate-print {
  min-height: 640px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(111, 184, 173, .12), transparent 38%),
    var(--white);
}

.certificate-head,
.cert-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.certificate-head img {
  width: 76px;
}

.certificate-head span,
.cert-awarded {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.certificate-print h3 {
  font-size: 42px;
  margin: 18px 0 8px;
  color: var(--teal);
}

.cert-details,
.training-card-print dl,
.verification-result-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.cert-details div,
.training-card-print dl div,
.verification-result-list div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(16, 37, 59, .05);
}

.cert-details dt,
.training-card-print dt,
.verification-result-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cert-details dd,
.training-card-print dd,
.verification-result-list dd {
  margin: 0;
  font-weight: 900;
}

.cert-footer {
  margin-top: 34px;
}

.cert-footer span {
  display: block;
  color: var(--muted);
}

.cert-footer img,
.training-card-print > img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.training-card-print {
  max-width: 420px;
  padding: 24px;
  background:
    linear-gradient(135deg, var(--ink), #123f36);
  color: var(--white);
}

.training-card-print > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.training-card-print img {
  width: 54px;
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
}

.training-card-print p,
.training-card-print dt {
  color: rgba(255, 255, 255, .72);
}

.training-card-print dl div {
  background: rgba(255, 255, 255, .1);
}

.training-card-print > img {
  margin-top: 12px;
  width: 118px;
  height: 118px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -5% -38px;
  height: 86px;
  background: var(--cream);
  transform: rotate(-2deg);
}

.page-hero .section {
  position: relative;
  z-index: 1;
  padding: 82px 0 96px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}

.rtl {
  direction: rtl;
  text-align: right;
}

.rtl .eyebrow::before {
  order: 2;
}

.rtl .card ul,
.rtl .check-list {
  padding-right: 18px;
  padding-left: 0;
}

.rtl .button::after {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease, transform .58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.025) translateX(0);
  }

  to {
    transform: scale(1.065) translateX(12px);
  }
}

@keyframes trainingSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}

@media (max-width: 980px) {
  .nav .wrap {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero .section,
  .llc-hero .section,
  .gateway-tabs,
  .approval-grid,
  .grid-3,
  .grid-2,
  .business-grid,
  .course-grid,
  .pathway-grid,
  .split,
  .vision-card,
  .metrics-strip,
  .training-inquiry-panel,
  .footer-grid,
  .stats,
  .portal-toolbar,
  .course-list,
  .verification-portal,
  .verification-panel,
  .issuer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .training-business {
    grid-row: auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 31, 27, .94) 0%, rgba(8, 31, 27, .82) 58%, rgba(8, 31, 27, .5) 100%),
      url("maharvi-hero-classroom.png") center / cover no-repeat;
  }

  .stats {
    margin-top: 0;
  }

  .metrics-section {
    margin-top: 0;
  }

  .vision-card img {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .topbar .wrap,
  .nav .wrap {
    width: min(100% - 24px, 1180px);
  }

  .nav .wrap {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links .button {
    width: 100%;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .hero .section {
    padding: 60px 0 82px;
  }

  h1 {
    font-size: 42px;
  }

  .mini-dashboard,
  .visual-grid,
  .course-preview {
    grid-template-columns: 1fr;
  }

  .course-group-header {
    grid-template-columns: 1fr;
  }

  .course-items {
    columns: 1;
  }

  .course-items li {
    display: grid;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .topbar,
  .nav,
  .page-hero,
  .issuer-form,
  .issuer-actions,
  .footer {
    display: none !important;
  }

  .section,
  .issuer-grid {
    width: 100%;
    padding: 0;
    display: block;
  }

  .issuer-output {
    display: block;
  }

  .certificate-print,
  .training-card-print {
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #d7dde2;
  }

  .certificate-print {
    min-height: auto;
    margin-bottom: 18mm;
  }

  .training-card-print {
    color: #ffffff;
  }
}
