:root {
  --bg: #091120;
  --bg-soft: #0f1a31;
  --bg-panel: #111b31;
  --bg-light: #f5f8ff;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #dce6ff;
  --muted: #9fb0d9;
  --heading: #ffffff;
  --primary: #6f5dff;
  --secondary: #14d7c8;
  --accent: #ffbf47;
  --accent-dark: #ff9f1c;
  --danger: #ff7b72;
  --success: #3dd68c;
  --border: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 28px 70px rgba(3, 8, 20, 0.42);
  --shadow-md: 0 16px 40px rgba(4, 12, 28, 0.3);
  --shadow-sm: 0 10px 24px rgba(4, 12, 28, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 93, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 215, 200, 0.12), transparent 22%),
    linear-gradient(180deg, #0a1020 0%, #091120 45%, #0d1730 100%);
  color: var(--text);
  line-height: 1.75;
}

body.light-page {
  background: linear-gradient(180deg, #f7f9fe 0%, #eef3ff 100%);
  color: #23314d;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: #63f4e7;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section.compact {
  padding: 64px 0;
}

.section.surface-light {
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(239, 244, 255, 0.96));
  color: #23314d;
}

.section.surface-panel::before,
.cta-band::before,
.footer-top::before,
.banner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 90%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 215, 200, 0.14);
  border: 1px solid rgba(20, 215, 200, 0.18);
  color: #bffaf2;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow.light {
  background: rgba(111, 93, 255, 0.1);
  border-color: rgba(111, 93, 255, 0.14);
  color: #5548cc;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 18px;
}

body.light-page h1,
body.light-page h2,
body.light-page h3,
body.light-page h4,
.surface-light h2,
.surface-light h3,
.surface-light h4 {
  color: #14223f;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 2.1vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
}

p,
li,
td,
th,
label,
.meta-note {
  font-size: 1rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

body.light-page .lead,
.surface-light .lead,
.surface-light p,
.surface-light li,
.surface-light td,
.surface-light th,
.surface-light .meta-note {
  color: #42577f;
}

ul.feature-bullets,
ul.check-list,
ul.simple-list {
  padding-left: 20px;
  margin: 0;
}

ul.feature-bullets li,
ul.check-list li,
ul.simple-list li {
  margin-bottom: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 14, 29, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: clip;
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(8, 16, 32, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-shell {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: min(220px, 100%);
  max-width: 220px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.brand-logo svg,
.brand-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 52px;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f1f5ff;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 10px 4px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.header-actions .btn {
  padding-inline: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-register {
  color: #162032;
  background: linear-gradient(135deg, #ffd56a, var(--accent));
  box-shadow: 0 14px 30px rgba(255, 191, 71, 0.24);
}

.btn-primary:hover,
.btn-register:hover {
  color: #162032;
  background: linear-gradient(135deg, #ffe38f, #ffc048);
}

.btn-secondary,
.btn-login {
  color: #f2f6ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover,
.btn-login:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-text {
  color: #ffffff;
  padding: 0;
  font-weight: 800;
}

.btn-text:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  place-items: center;
}

.banner-frame {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.banner-frame img {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
}

.hero-grid,
.split-grid,
.two-col,
.support-grid,
.cta-grid,
.stats-grid,
.category-grid,
.card-grid,
.info-grid,
.policy-grid,
.page-links,
.metrics-grid,
.contact-grid,
.highlight-grid,
.steps-grid,
.table-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}

.split-grid,
.support-grid,
.cta-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid,
.category-grid,
.highlight-grid,
.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three,
.info-grid.three,
.page-links.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four,
.info-grid.four,
.metrics-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-links.two,
.card-grid.two,
.info-grid.two,
.policy-grid,
.table-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-panel,
.card,
.stat-card,
.faq-item,
.contact-card,
.policy-card,
.table-card,
.cta-panel,
.video-card,
.highlight-card,
.timeline-item,
.intro-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 27, 49, 0.95), rgba(10, 18, 36, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  overflow: hidden;
}

.surface-light .card,
.surface-light .stat-card,
.surface-light .policy-card,
.surface-light .table-card,
.surface-light .contact-card,
.surface-light .faq-item,
body.light-page .policy-card,
body.light-page .card,
body.light-page .table-card,
body.light-page .contact-card,
body.light-page .faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,255,0.98));
  border-color: rgba(40, 76, 160, 0.1);
  box-shadow: 0 18px 42px rgba(43, 72, 118, 0.12);
}

.card::before,
.stat-card::before,
.cta-panel::before,
.intro-panel::before,
.policy-card::before,
.table-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(111, 93, 255, 0.18), rgba(20, 215, 200, 0.16));
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.08);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  color: #fff;
}

.surface-light .stat-number,
body.light-page .stat-number {
  color: #1a2a51;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.quick-link {
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  color: #eff4ff;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.quick-link strong {
  color: #fff;
  display: block;
}

.quick-link span {
  color: #9eb1d5;
  font-size: 0.92rem;
}

.quick-link:hover {
  border-color: rgba(255, 191, 71, 0.32);
  transform: translateY(-4px);
}

.breadcrumbs {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: inherit;
}

.breadcrumbs span {
  margin: 0 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.surface-light th,
.surface-light td,
body.light-page th,
body.light-page td {
  border-color: rgba(30, 52, 89, 0.12);
}

th {
  color: #fff;
  font-weight: 800;
}

.surface-light th,
body.light-page th {
  color: #112144;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding-left: 82px;
}

.timeline-step {
  position: absolute;
  left: 26px;
  top: 26px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: inherit;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.faq-question span:last-child {
  font-size: 1.4rem;
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 26px;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 24px;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.video-wrap {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
  font: inherit;
}

.surface-light .form-field input,
.surface-light .form-field textarea,
.surface-light .form-field select,
body.light-page .form-field input,
body.light-page .form-field textarea,
body.light-page .form-field select {
  background: #fff;
  color: #213252;
  border-color: rgba(35, 54, 87, 0.14);
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-message {
  margin-top: 16px;
  font-weight: 700;
}

.note-box,
.warning-box,
.success-box {
  padding: 18px 20px;
  border-radius: 18px;
  margin: 20px 0;
}

.note-box {
  background: rgba(20, 215, 200, 0.08);
  border: 1px solid rgba(20, 215, 200, 0.16);
}

.warning-box {
  background: rgba(255, 191, 71, 0.08);
  border: 1px solid rgba(255, 191, 71, 0.16);
}

.success-box {
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.16);
}

.cta-band {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(111, 93, 255, 0.28), rgba(20, 215, 200, 0.22));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg);
}

.footer-top {
  position: relative;
  padding: 70px 0 30px;
  background: linear-gradient(180deg, rgba(9, 17, 32, 0.98), rgba(5, 10, 20, 1));
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-contact p {
  margin: 0 0 10px;
}

.footer-bottom {
  padding: 18px 0 34px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8fa1cb;
  font-size: .95rem;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a2134;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-hero {
  padding-top: 56px;
}

.hero-art {
  min-height: 100%;
  border-radius: var(--radius-xl);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 0.9rem;
}

.panel-stack {
  display: grid;
  gap: 20px;
}

.muted-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 18px;
}

.policy-nav {
  position: sticky;
  top: 104px;
}

.policy-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-nav li + li {
  margin-top: 10px;
}

.policy-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #ecf2ff;
}

body.light-page .policy-nav a {
  color: #23314d;
  background: rgba(255,255,255,.8);
  border-color: rgba(36, 58, 96, 0.1);
}

.error-shell {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
}

.error-panel {
  width: min(760px, 100%);
  text-align: center;
}

.error-code {
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1320px) {
  .header-shell {
    grid-template-columns: minmax(150px, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: 12px 16px;
    padding: 14px 0;
  }

  .brand-logo {
    grid-area: logo;
  }

  .site-nav {
    grid-area: nav;
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    grid-area: actions;
  }
}

@media (max-width: 1199px) {
  .header-shell {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-nav {
    gap: 8px 12px;
  }

  .nav-link {
    font-size: 0.94rem;
    padding-inline: 2px;
  }

  .header-actions .btn {
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid,
  .category-grid,
  .highlight-grid,
  .steps-grid,
  .card-grid.four,
  .info-grid.four,
  .metrics-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .header-shell {
    grid-template-columns: minmax(150px, 1fr) auto auto;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 84px 16px auto;
    background: rgba(8, 16, 32, 0.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 1001;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
  }

  .hero-grid,
  .split-grid,
  .two-col,
  .support-grid,
  .cta-grid,
  .contact-grid,
  .footer-grid,
  .card-grid.three,
  .info-grid.three,
  .page-links.three,
  .page-links.two,
  .card-grid.two,
  .info-grid.two,
  .policy-grid,
  .table-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 56px 0;
  }

  .header-shell {
    min-height: 74px;
    gap: 10px;
  }

  .brand-logo {
    max-width: 165px;
  }

  .brand-logo svg,
  .brand-logo img {
    max-height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    padding: 11px 14px;
    font-size: 0.87rem;
  }

  .quick-links,
  .stats-grid,
  .category-grid,
  .highlight-grid,
  .steps-grid,
  .card-grid.four,
  .info-grid.four,
  .metrics-grid.four {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 26px;
    padding-top: 78px;
  }

  .timeline-step {
    left: 26px;
    top: 24px;
  }
}

@media (max-width: 575px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo actions"
      "toggle toggle";
    padding: 12px 0;
  }

  .brand-logo {
    grid-area: logo;
  }

  .header-actions {
    grid-area: actions;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-toggle {
    grid-area: toggle;
    width: 100%;
    height: 44px;
  }

  .site-nav {
    inset: 118px 12px auto;
  }

  .glass-panel,
  .card,
  .stat-card,
  .faq-item,
  .contact-card,
  .policy-card,
  .table-card,
  .cta-panel,
  .video-card,
  .highlight-card,
  .timeline-item,
  .intro-panel,
  .cta-band {
    padding: 22px;
  }
}