:root {
  --brand: #08752f;
  --brand-dark: #005b2c;
  --brand-deep: #005229;
  --brand-light: #eaf6df;
  --orange: #ff6f00;
  --orange-soft: #fff0dc;
  --ink: #151515;
  --muted: #5f6363;
  --line: #e1e6df;
  --surface: #fff;
  --page: #fbfcfa;
  --focus: #ffd34e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-container { max-width: 1410px; padding-inline: 30px; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 4px;
  color: #fff;
  background: #000;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.utility-bar {
  min-height: 28px;
  border-bottom: 1px solid #d9dcdf;
  background: #f5f6f8;
  color: #ffffff;
  font-size: 12px;
  background: linear-gradient(90deg, rgb(0, 102, 45), rgb(8, 127, 49), rgb(3, 104, 40));
}
.utility-government, .utility-tools { display: flex; align-items: center; min-height: 28px; gap: 14px; }
.utility-government span:first-child { font-weight: 600; }
.divider { width: 1px; height: 17px; background: #c5c7c9; }
.utility-tools a:hover { color: var(--brand); text-decoration: underline; }
.utility-tools button {
  padding: 0 3px;
  border: 0;
  color: inherit;
  background: transparent;
}
.contrast-toggle { margin-inline: 5px; font-size: 16px !important; }
.utility-tools .dropdown-toggle::after { margin-left: 5px; }
.google-translate-host {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.goog-te-balloon-frame,
#goog-gt-tt { display: none !important; }
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-header { padding: 13px 0 11px; background: #fff; }
.department-brand, .portal-brand { display: flex; align-items: center; color: var(--brand-dark); }
.department-seal {
  flex: 0 0 auto;
  width: 62px;
  height: 74px;
  margin-right: 13px;
  background-image: url("../assets/homepage-reference.jpeg");
  background-repeat: no-repeat;
  background-size: 1536px 1024px;
  background-position: -42px -32px;
}
.department-brand strong, .department-brand small, .portal-brand strong, .portal-brand small { display: block; }
.department-brand strong { font-size: 16px; line-height: 1.2; }
.department-brand small { color: #222; font-size: 13px; }
.department-brand small:last-child { margin-top: 2px; font-size: 14px; }
.portal-brand { justify-content: center; }
.portal-brand strong { font-size: 22px; line-height: 1.2; }
.portal-brand small { margin-top: 8px; color: #555; font-size: 14px; }
.portal-brand > i { margin-left: 10px; color: #4eac3d; font-size: 44px; transform: rotate(-12deg); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.site-search { position: relative; width: min(214px, 100%); }
.site-search input {
  width: 100%;
  height: 37px;
  padding: 0 42px 0 14px;
  border: 1px solid #d6dade;
  border-radius: 5px;
  outline: none;
}
.site-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,117,47,.12); }
.site-search button { position: absolute; inset: 0 0 0 auto; width: 40px; border: 0; background: transparent; }
.btn { border-radius: 5px; padding: 9px 18px; font-weight: 600; white-space: nowrap; }
.btn i { margin-right: 8px; }
.btn-brand { border-color: var(--brand); color: #fff; background: var(--brand); }
.btn-brand:hover, .btn-brand:focus { border-color: var(--brand-dark); color: #fff; background: var(--brand-dark); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.btn-outline-brand:hover, .btn-outline-brand:focus { color: #fff; background: var(--brand); }
.btn-orange { border-color: var(--orange); color: #fff; background: var(--orange); }
.btn-orange:hover, .btn-orange:focus { border-color: #dc5f00; color: #fff; background: #dc5f00; }

.main-nav { min-height: 39px; padding: 0; background: linear-gradient(90deg, #00662d, #087f31, #036828); }
.main-nav .navbar-nav { justify-content: space-between; }
.main-nav .nav-link {
  display: flex;
  align-items: center;
  min-height: 39px;
  padding: 0 22px !important;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus, .main-nav .nav-link.active { color: #fff; background: rgba(0,0,0,.16); }
.main-nav .dropdown-menu { margin-top: 0; border: 0; border-radius: 0 0 6px 6px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.main-nav .dropdown-item:active { background: var(--brand); }
.navbar-label { color: #fff; font-weight: 700; }
.navbar-toggler { padding: 2px 8px; border-color: rgba(255,255,255,.65); color: #fff; font-size: 25px; }

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 315px;
  overflow: hidden;
  background: #f8fbf2;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 50%, rgba(186,229,109,.24), transparent 32%),
    linear-gradient(105deg, #fff 0%, #fbfff7 82%, rgba(255,255,255,.2) 100%);
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0 -80px 0 auto;
  width: 160px;
  background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-copy-inner {
  position: relative;
  z-index: 1;
  width: 620px;
  padding: 45px 30px 30px;
}
.hero-copy h1 { margin: 0; font-size: 29px; line-height: 1.18; font-weight: 400; }
.hero-copy h1 span { display: block; margin-bottom: 5px; color: var(--brand-dark); font-size: 37px; font-weight: 800; }
.hero-copy p { margin: 17px 0 24px; color: #434343; font-size: 16px; line-height: 1.55; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-collage {
  position: relative;
  min-height: 315px;
  background-image: url("../assets/hero-collage.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.content-wrap { position: relative; z-index: 3; margin-top: -47px; padding-bottom: 20px; }
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 79px;
  overflow: hidden;
  border: 1px solid #e4e8e1;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 18px rgba(12,65,26,.08);
}
.stat { position: relative; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 12px; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 19px; bottom: 19px; width: 1px; background: #d7dcd7; }
.stat-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #369b31; background: #eef8e8; font-size: 26px; }
.stat-icon.assessments { color: var(--orange); background: var(--orange-soft); }
.stat strong { display: block; color: #198334; font-size: 20px; line-height: 1.15; }
.stat:nth-child(3) strong { color: var(--orange); }
.stat small { display: block; margin-top: 7px; white-space: nowrap; font-size: 12px; }

.category-section {
  margin-top: 12px;
  padding: 16px 14px 17px;
  border: 1px solid #edf0ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(0,0,0,.03);
}
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 0 9px; }
.section-heading h2, .how-section > h2 { margin: 0; color: var(--brand-dark); font-size: 18px; font-weight: 800; }
.section-heading a { color: var(--brand); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #e4e7e2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-2px); border-color: #8ac993; box-shadow: 0 5px 12px rgba(7,101,40,.1); }
.category-card strong { margin-top: 4px; font-size: 12px; line-height: 1.08; }
.category-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; font-size: 22px; }
.bg-peach { background: #fff0e8; }
.bg-green { color: #309440; background: #edf7e9; }
.bg-beige { background: #f5eee4; }
.bg-pink { background: #fde9f2; }
.bg-purple { color: #5d3f98; background: #f1eafa; }

.sidebar { padding-top: 0; }
.info-card { overflow: hidden; border: 1px solid #e4e9de; border-radius: 9px; }
.info-card + .info-card { margin-top: 10px; margin-bottom: 20px; }
.announcements { background: linear-gradient(135deg, #f0faea, #f7fbe6); }
.trainings { background: linear-gradient(135deg, #fff9ec, #fff7dc); }
.info-title { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 7px; }
.info-title h2 { margin: 0; color: var(--brand-dark); font-size: 15px; font-weight: 800; }
.info-title h2 i { margin-right: 10px; color: #60a938; }
.trainings .info-title h2 i { color: #e89b00; }
.info-title > a { color: var(--brand); font-size: 11px; }
.marquee-control {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border: 1px solid rgba(8,117,47,.22);
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255,255,255,.72);
}
.marquee-control:hover { background: #fff; }
.marquee-viewport {
  position: relative;
  height: 104px;
  overflow: hidden;
  margin: 0 16px;
  border-top: 1px solid rgba(113,133,94,.13);
  border-bottom: 1px solid rgba(113,133,94,.13);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
}
.marquee-track { animation: marquee-up 16s linear infinite; will-change: transform; }
.trainings .marquee-track { animation-duration: 18s; }
.marquee-viewport:hover .marquee-track,
.marquee-viewport:focus .marquee-track,
.info-card.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { margin: 0; padding: 0; list-style: none; }
.info-card li { border-bottom: 1px solid rgba(113,133,94,.16); }
.announcements li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; min-height: 34px; font-size: 11px; }
.new-badge { padding: 1px 5px; border-radius: 12px; color: #fff; background: var(--orange); font-size: 8px; font-weight: 800; }
.info-card time { white-space: nowrap; color: #4b4b4b; }
.view-all { display: block; padding: 9px 18px 13px; color: var(--brand); text-align: right; font-size: 11px; }
.trainings li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; min-height: 34px; font-size: 11px; }
.trainings li > i { color: #27963b; }
.trainings li > span { white-space: nowrap; color: var(--brand-dark); font-size: 10px; font-weight: 600; }
.trainings li > span i { color: #333; }

@keyframes marquee-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-viewport { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-control { display: none; }
}

.how-section { display: flex; align-items: center; gap: 22px; margin-top: 12px; padding: 5px 0 0; margin-bottom:20px;}
.content-wrap .col-xl-8 > .how-section {
  display: block;
  min-height: 112px;
  margin-top: 0;
  margin-bottom: 12px;
  padding: 13px 16px 14px;
  border: 1px solid #e4e8e1;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 18px rgba(12,65,26,.08);
  overflow: hidden;
}
.content-wrap > .stats-panel { margin-top: 12px; }
.how-section > h2 { flex: 0 0 150px; padding-left: 10px; }
.steps { display: flex; flex: 1; align-items: center; }
.step { position: relative; display: flex; flex: 1; min-width: 0; min-height: 56px; align-items: center; gap: 10px; padding: 5px 9px 5px 30px; border: 1px solid #e2e6e1; border-radius: 7px; background: #fff; }
.step-number { position: absolute; left: -25px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #fff; background: #278d38; font-size: 11px; font-weight: 700; }
.step-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #23933d; background: #eef9e8; font-size: 23px; }
.step strong, .step small { display: block; white-space: nowrap; }
.step strong { font-size: 12px; }
.step small { margin-top: 3px; font-size: 9px; }
.step-arrow { flex: 0 0 36px; text-align: center; font-size: 18px; }

.content-wrap .col-xl-8 > .how-section > h2 {
  margin-bottom: 10px;
  padding-left: 0;
}
.content-wrap .col-xl-8 > .how-section .steps {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.content-wrap .col-xl-8 > .how-section .step-arrow { display: none; }
.content-wrap .col-xl-8 > .how-section .step {
  min-height: 62px;
  gap: 7px;
  padding: 7px 7px 7px 32px;
}
.content-wrap .col-xl-8 > .how-section .step-number {
  top: 8px;
  left: 7px;
  width: 19px;
  height: 19px;
  font-size: 10px;
}
.content-wrap .col-xl-8 > .how-section .step-icon {
  width: 35px;
  height: 35px;
  flex-basis: 35px;
  font-size: 19px;
}
.content-wrap .col-xl-8 > .how-section .step strong,
.content-wrap .col-xl-8 > .how-section .step small {
  white-space: normal;
  line-height: 1.15;
}
.content-wrap .col-xl-8 > .how-section .step strong { font-size: 11px; }
.content-wrap .col-xl-8 > .how-section .step small { font-size: 8px; }

.site-footer { color: #fff; background: linear-gradient(120deg, #00552e, #00683a 70%, #005c2c); }
.footer-main { padding: 16px 12px 14px; }
.site-footer h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.site-footer p, .site-footer li, .site-footer a { font-size: 11px; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact p { display: flex; gap: 10px; margin-bottom: 6px; }
.footer-contact i { flex: 0 0 13px; }
.footer-column { border-left: 1px solid rgba(255,255,255,.15); padding-left: 46px; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li::before { content: "›"; margin-right: 8px; }
.connect-column { border-left: 1px solid rgba(255,255,255,.15); padding-left: 46px; }
.social-links { display: flex; gap: 10px; margin-bottom: 15px; }
.social-links a { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 15px; }
.social-links a:nth-child(1) { background: #3b5998; }
.social-links a:nth-child(2) { background: #1da1f2; }
.social-links a:nth-child(3) { background: #e62117; }
.social-links a:nth-child(4) { background: #d74672; }
.digital-india { display: flex; align-items: center; font-style: italic; }
.di-mark { margin-right: 8px; color: #f57b20; font: italic 700 51px/38px Georgia, serif; transform: rotate(8deg); }
.digital-india strong, .digital-india small { display: block; }
.digital-india strong { font-size: 18px; }
.digital-india small { font-size: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 11px 12px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 9px; }

body.high-contrast {
  --brand: #004d1e;
  --brand-dark: #003b16;
  --page: #fff;
}
body.high-contrast .category-card, body.high-contrast .stats-panel { border-color: #222; }
html.font-small { font-size: 14px; }
html.font-large { font-size: 18px; }

@media (max-width: 1399.98px) {
  .site-container { padding-inline: 20px; }
  .main-nav .nav-link { padding-inline: 15px !important; }
  .header-actions { gap: 8px; }
  .btn { padding-inline: 14px; }
  .hero-copy-inner { padding-left: 45px; }
  .step { padding-left: 22px; }
  .step-icon { flex-basis: 36px; width: 36px; height: 36px; }
}

@media (max-width: 1199.98px) {
  .brand-header { padding-block: 12px; }
  .header-actions { justify-content: center; margin-top: 5px; }
  .main-nav { padding: 5px 0; }
  .main-nav .navbar-nav { padding-top: 6px; }
  .main-nav .nav-link { min-height: 38px; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav .dropdown-menu { border-radius: 4px; }
  .hero-section { grid-template-columns: 48% 52%; }
  .hero-copy-inner { padding-left: 28px; }
  .content-wrap { margin-top: -30px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .info-card + .info-card { margin-top: 0; }
  .how-section { align-items: flex-start; flex-direction: column; }
  .how-section > h2 { flex-basis: auto; }
  .steps { width: 100%; }
}

@media (max-width: 991.98px) {
  .utility-tools > a, .utility-tools > .divider:first-of-type { display: none; }
  .portal-brand { justify-content: flex-start; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-copy { min-height: 330px; }
  .hero-copy-inner { width: 100%; padding: 45px 35px; }
  .hero-copy::after { display: none; }
  .hero-collage { min-height: 280px; background-size: 166% auto; }
  .content-wrap { margin-top: -20px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #e0e4de; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; }
  .content-wrap .col-xl-8 > .how-section .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .step-arrow { display: none; }
  .step-number { left: -13px; }
  .footer-column, .connect-column { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); }
}

@media (max-width: 767.98px) {
  .site-container { padding-inline: 15px; }
  .utility-bar .site-container { justify-content: center !important; }
  .utility-government { display: none; }
  .department-brand, .portal-brand { justify-content: center; }
  .portal-brand { padding-top: 5px; text-align: center; }
  .portal-brand strong { font-size: 19px; }
  .portal-brand small { font-size: 12px; }
  .header-actions { flex-wrap: wrap; }
  .site-search { order: 3; width: 100%; }
  .header-actions .btn { flex: 1; text-align: center; }
  .hero-copy { min-height: auto; }
  .hero-copy-inner { padding: 34px 20px; text-align: center; }
  .hero-copy h1 { font-size: 24px; }
  .hero-copy h1 span { font-size: 32px; }
  .hero-copy p { font-size: 15px; }
  .hero-buttons { justify-content: center; }
  .hero-collage { min-height: 210px; background-size: 100% 100%; }
  .content-wrap { margin-top: 15px; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; padding-left: 28px; }
  .stat:not(:last-child)::after { top: auto; right: 20px; bottom: 0; left: 20px; width: auto; height: 1px; display: block; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 11px; padding-left: 12px; }
  .step { padding-left: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom div { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 479.98px) {
  .utility-tools { gap: 8px; font-size: 11px; }
  .department-seal { transform: scale(.88); margin-right: 2px; }
  .department-brand strong { font-size: 14px; }
  .department-brand small { font-size: 12px; }
  .portal-brand > i { display: none; }
  .portal-brand strong { font-size: 17px; overflow-wrap: anywhere; }
  .hero-copy h1 span { font-size: 28px; }
  .hero-buttons .btn { width: 100%; }
  .hero-collage { min-height: 175px; }
  .content-wrap .col-xl-8 > .how-section .steps { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .section-heading { align-items: flex-start; gap: 8px; }
  .section-heading h2 { font-size: 16px; }
  .announcements li { grid-template-columns: 30px 1fr; padding: 6px 0; }
  .announcements time { grid-column: 2; }
  .trainings li { grid-template-columns: 18px 1fr; padding: 7px 0; }
  .trainings li span { grid-column: 2; }
}
