/* ==========================================================================
   Cosmoniq Government Design Layer (gov.css)
   Research basis (color system remapped to official gov-IT portals):
   - NIC nic.gov.in SDO/S3WaaS theme — primary indigo #29136C, secondary
     purple #4729A3, accent #6D4BD2, lavender tint #EEECF9, ink #150202
   - GeM gem.gov.in — action orange #FF5722 / #F3974C on dark chrome
   - GIGW 3.0 (guidelines.india.gov.in) — accessibility, IA, mandatory controls
   - MeitY Digital Brand Identity Manual 2025 — Noto Sans, tricolor elements
   - NIC / ePrastuti Standardised Website Framework, Govt. of Assam
     (assam.gov.in) — utility bar, font-size controls, breadcrumbs,
     What's New strip, At-a-Glance facts, Quick Links, Citizens Corner
   - National Portal of India (india.gov.in) — accessibility tools, stat
     counters, persona-driven navigation
   ========================================================================== */

:root {
  --gov-navy: #29136c;
  --gov-navy-2: #4729a3;
  --gov-navy-deep: #1d0a69;
  --gov-saffron: #ff5722;
  --gov-green: #138808;
  --gov-line: #d9d2f2;
  --gov-mist: #eeecf9;
  --gov-ink: #150202;
  --gov-grey-1: #606060;
  --gov-grey-2: #8e8e8e;
  --gov-scale: 1;
  --font-sans: "Noto Sans", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headline: "Noto Sans", "Plus Jakarta Sans", sans-serif;
}

html { font-size: calc(16px * var(--gov-scale)); }

body { font-family: var(--font-sans); }

.font-sans { font-family: var(--font-sans); }

.font-headline {
  font-family: var(--font-headline);
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* ---- GIGW: keyboard focus visibility (WCAG 2.1 AA) ---- */
:focus-visible {
  outline: 3px solid var(--gov-saffron);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---- DBIM: sticky header gets the tricolor edge ---- */
header.sticky.top-0 {
  box-shadow:
    0 1px 0 #ff9933,
    0 2px 0 #ffffff,
    0 3px 0 #138808,
    0 8px 22px rgba(41, 19, 108, 0.10);
}

/* ---- Skip link (GIGW mandatory) ---- */
.gov-skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 9999;
  background: var(--gov-saffron);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease;
  text-decoration: none;
}
.gov-skip:focus { top: 0; }

/* ---- Tricolor hairline ---- */
#gov-tri {
  height: 4px;
  background: linear-gradient(90deg, #ff9933 0 33.34%, #ffffff 33.34% 66.67%, #138808 66.67% 100%);
}

/* ---- Utility / accessibility bar (assam.gov.in top strip) ---- */
#gov-utility {
  background: var(--gov-navy);
  color: #ddd6f7;
  font-size: 12px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#gov-utility .gov-uwrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}
#gov-utility .gov-id {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
#gov-utility .gov-id-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  flex: none;
  background: linear-gradient(180deg, #ff9933 0 33%, #ffffff 33% 67%, #138808 67% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}
#gov-utility .gov-id-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1.4px solid #1a3a8f;
}
#gov-utility .gov-id b {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  font-size: 11.5px;
  text-transform: uppercase;
}
#gov-utility .gov-id span { color: #c5bbeb; font-size: 11px; }
#gov-utility .gov-badge {
  font-size: 10px;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 7px;
  border-radius: 999px;
  color: #ffd9ad;
  white-space: nowrap;
}
#gov-utility .gov-uctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
#gov-utility .gov-uctrl a,
#gov-utility .gov-uctrl button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ddd6f7;
  font: inherit;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
#gov-utility .gov-uctrl a:hover,
#gov-utility .gov-uctrl button:hover {
  background: rgba(255, 87, 34, 0.22);
  border-color: rgba(255, 87, 34, 0.6);
  color: #fff;
}
#gov-utility .gov-uctrl button.gov-on {
  background: var(--gov-saffron);
  border-color: var(--gov-saffron);
  color: #1a1a1a;
  font-weight: 700;
}
#gov-utility .gov-fs button {
  min-width: 30px;
  justify-content: center;
  font-weight: 700;
  padding: 4px 7px;
}
#gov-utility .gov-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 3px;
}
#gov-utility .gov-vbar {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #b4a8e0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#gov-utility .gov-vbar b { color: #7fe3a1; font-weight: 700; }

@media (max-width: 767px) {
  #gov-utility .gov-hide-sm { display: none !important; }
  #gov-utility .gov-uwrap { justify-content: center; text-align: center; }
  #gov-utility .gov-id { justify-content: center; }
}

/* ---- Breadcrumbs (GIGW/DBIM information architecture) ---- */
#gov-breadcrumbs {
  background: var(--gov-mist);
  border-bottom: 1px solid var(--gov-line);
}
#gov-breadcrumbs .gov-bwrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 9px 16px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--gov-grey-1);
}
#gov-breadcrumbs .gov-home-ico {
  width: 14px;
  height: 14px;
  color: var(--gov-navy-2);
  flex: none;
}
#gov-breadcrumbs a {
  color: var(--gov-navy-2);
  font-weight: 600;
  text-decoration: none;
}
#gov-breadcrumbs a:hover { color: #e65100; text-decoration: underline; }
#gov-breadcrumbs .gov-sep { color: var(--gov-grey-2); }
#gov-breadcrumbs .gov-cur {
  color: var(--gov-ink);
  font-weight: 700;
}
#gov-breadcrumbs .gov-sec {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gov-navy);
  background: #eeecf9;
  border: 1px solid var(--gov-line);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
}

/* ---- What's New ticker (assam.gov.in Latest Updates) ---- */
.gov-ticker {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--gov-line);
  background: #fffdf7;
  overflow: hidden;
}
.gov-ticker-label {
  flex: none;
  background: var(--gov-saffron);
  color: #231402;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}
.gov-ticker-label::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e33e2b;
  animation: govPulse 1.6s ease-in-out infinite;
}
@keyframes govPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.gov-ticker-view { flex: 1; min-width: 0; overflow: hidden; position: relative; }
.gov-ticker-move {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: govMarquee 46s linear infinite;
}
.gov-ticker:hover .gov-ticker-move { animation-play-state: paused; }
@keyframes govMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gov-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #3c3c3c;
  padding: 9px 0;
  margin-right: 46px;
  text-decoration: none;
}
.gov-ticker-item:hover { color: var(--gov-navy); }
.gov-ticker-item .gov-new {
  background: #e33e2b;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
}
.gov-ticker-item time {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--gov-grey-2);
}

/* ---- Section heading tricolor marker (DBIM identity element) ---- */
main h2 {
  position: relative;
}
main h2::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 0.95em;
  margin-right: 0.55em;
  vertical-align: -0.12em;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff9933 0 33%, #ffffff 33% 66%, #138808 66% 100%);
  box-shadow: 0 0 0 1px rgba(41, 19, 108, 0.22);
}

/* ---- Statutory footer band (DBIM generic footer + Assam SWF) ---- */
#gov-fband {
  background: var(--gov-navy-deep);
  color: #d6cef5;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #ff9933 0 33%, #ffffff 33% 66%, #138808 66% 100%) 1;
  font-size: 12px;
  margin-top: 8px;
}
#gov-fband .gov-fwrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 26px 16px 20px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px 34px;
}
#gov-fband h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#gov-fband h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.7), transparent);
}
#gov-fband a { color: #ffd9ad; text-decoration: none; }
#gov-fband a:hover { color: #fff; text-decoration: underline; }
#gov-fband ul { list-style: none; display: grid; gap: 7px; }
#gov-fband .gov-owner { display: flex; gap: 14px; align-items: flex-start; }
#gov-fband .gov-owner img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  flex: none;
}
#gov-fband .gov-owner p { line-height: 1.65; }
#gov-fband .gov-owner b { color: #fff; }
#gov-fband .gov-credit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 5px;
  font-size: 11.5px;
  color: #b0a3de;
}
#gov-fband .gov-credit span b { color: #ece7fb; font-weight: 600; }
#gov-fband .gov-fstats {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 11px;
  color: #b4a8e0;
}
#gov-fband .gov-fstats b { color: #7fe3a1; }
@media (max-width: 767px) {
  #gov-fband .gov-fwrap { grid-template-columns: 1fr; }
}

/* ---- Quick Access band + persona navigation (DBIM persona strategy) ---- */
.gov-quick {
  background: linear-gradient(180deg, #ffffff, var(--gov-mist));
  border-top: 1px solid var(--gov-line);
}
.gov-quick .gov-qwrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 30px 16px 34px;
}
.gov-quick .gov-qhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.gov-quick .gov-qtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--gov-navy);
}
.gov-quick .gov-qtitle .gov-qico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gov-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd9ad;
  flex: none;
}
.gov-quick .gov-qtitle small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gov-grey-2);
}
#gov-persona {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--gov-line);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(41, 19, 108, 0.06);
}
#gov-persona .gov-plabel {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gov-grey-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
}
#gov-persona button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gov-navy);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}
#gov-persona button:hover { background: #f0ecff; }
#gov-persona button.gov-on {
  background: var(--gov-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(41, 19, 108, 0.3);
}
.gov-qlinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.gov-qlinks a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gov-line);
  border-radius: 13px;
  padding: 14px 15px;
  text-decoration: none;
  color: var(--gov-ink);
  transition: all 0.16s ease;
  box-shadow: 0 2px 6px rgba(41, 19, 108, 0.05);
}
.gov-qlinks a:hover {
  border-color: var(--gov-saffron);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(41, 19, 108, 0.14);
}
.gov-qlinks .gov-qi {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0ecff;
  color: var(--gov-navy-2);
  transition: all 0.16s ease;
}
.gov-qlinks a:hover .gov-qi { background: var(--gov-navy); color: #ffd9ad; }
.gov-qlinks b { display: block; font-size: 13.5px; color: var(--gov-navy); }
.gov-qlinks span { display: block; font-size: 11.5px; color: var(--gov-grey-1); margin-top: 2px; }
@media (max-width: 1023px) { .gov-qlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gov-qlinks { grid-template-columns: 1fr; } }

/* ---- Index: What's New placement + At a Glance / stats ---- */
.gov-glance {
  background: #fff;
  border-bottom: 1px solid var(--gov-line);
}
.gov-glance .gov-gwrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 34px 16px 36px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
}
.gov-glance h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gov-navy);
  margin-bottom: 4px;
}
.gov-glance .gov-gsub {
  font-size: 12.5px;
  color: var(--gov-grey-1);
  margin-bottom: 16px;
}
.gov-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.gov-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--gov-mist);
  border: 1px solid var(--gov-line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
}
.gov-facts li i {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gov-grey-2);
  flex: none;
  width: 88px;
}
.gov-facts li b {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gov-navy);
  word-break: normal;
  overflow-wrap: anywhere;
}
.gov-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.gov-stat {
  border: 1px solid var(--gov-line);
  border-radius: 14px;
  padding: 18px 16px;
  background: linear-gradient(165deg, #ffffff, var(--gov-mist));
  position: relative;
  overflow: hidden;
  text-align: left;
  appearance: none;
  font: inherit;
}
.gov-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gov-saffron), var(--gov-green));
}
.gov-stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--gov-navy);
  font-family: ui-monospace, "JetBrains Mono", monospace;
  line-height: 1.1;
}
.gov-stat span {
  display: block;
  font-size: 11.5px;
  color: var(--gov-grey-1);
  margin-top: 6px;
  font-weight: 600;
}
.gov-stat em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--gov-grey-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .gov-glance .gov-gwrap { grid-template-columns: 1fr; }
  .gov-facts { grid-template-columns: 1fr; }
}

/* ---- Index: Quick Links card grid (assam.gov.in Quick Links) ---- */
.gov-qlgrid-sec {
  background: var(--gov-mist);
  border-top: 1px solid var(--gov-line);
  border-bottom: 1px solid var(--gov-line);
}
.gov-band {
  max-width: 80rem;
  margin: 0 auto;
  padding: 38px 16px 42px;
}
.gov-bandhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.gov-bandhead h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gov-navy);
}
.gov-bandhead p {
  font-size: 12.5px;
  color: var(--gov-grey-1);
  margin-top: 4px;
}
.gov-bandhead .gov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e65100;
  margin-bottom: 7px;
}
.gov-bandhead .gov-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff9933, #138808);
}
.gov-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.gov-card {
  background: #fff;
  border: 1px solid var(--gov-line);
  border-radius: 15px;
  padding: 20px 19px 17px;
  position: relative;
  text-decoration: none;
  color: var(--gov-ink);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: all 0.17s ease;
  box-shadow: 0 3px 10px rgba(41, 19, 108, 0.06);
  overflow: hidden;
}
.gov-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gov-navy-2), var(--gov-saffron));
  opacity: 0;
  transition: opacity 0.17s ease;
}
.gov-card:hover {
  transform: translateY(-4px);
  border-color: #c9bff0;
  box-shadow: 0 16px 34px rgba(41, 19, 108, 0.16);
}
.gov-card:hover::before { opacity: 1; }
.gov-card .gov-ctag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eeecf9;
  color: var(--gov-navy-2);
  border: 1px solid var(--gov-line);
}
.gov-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--gov-navy);
}
.gov-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--gov-grey-1);
  flex: 1;
}
.gov-card .gov-more {
  font-size: 12px;
  font-weight: 800;
  color: #e65100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.gov-card .gov-more svg { transition: transform 0.17s ease; }
.gov-card:hover .gov-more svg { transform: translateX(4px); }
@media (max-width: 1023px) { .gov-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gov-cards { grid-template-columns: 1fr; } }

/* ---- Index: Citizens Corner -> Client Corner ---- */
.gov-corner {
  background: #fff;
}
.gov-corner .gov-cgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.gov-ccard {
  border-radius: 16px;
  padding: 22px 19px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 168px;
  position: relative;
  overflow: hidden;
  transition: all 0.17s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.gov-ccard:nth-child(1) { background: linear-gradient(155deg, #29136c, #6d4bd2); }
.gov-ccard:nth-child(2) { background: linear-gradient(155deg, #11372a, #1f7a4d); }
.gov-ccard:nth-child(3) { background: linear-gradient(155deg, #7a2e00, #e65100); }
.gov-ccard:nth-child(4) { background: linear-gradient(155deg, #3b1478, #6d4bd2); }
.gov-ccard::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.gov-ccard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(41, 19, 108, 0.28); }
.gov-ccard .gov-cci {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.gov-ccard h3 { font-size: 15.5px; font-weight: 800; }
.gov-ccard p { font-size: 12px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); flex: 1; }
.gov-ccard .gov-cl {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd9ad;
}
@media (max-width: 1023px) { .gov-corner .gov-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gov-corner .gov-cgrid { grid-template-columns: 1fr; } }

/* ---- Index: Important Links (assam.gov.in) + alignment chips ---- */
.gov-ilinks-sec {
  background: var(--gov-mist);
  border-top: 1px solid var(--gov-line);
}
.gov-ilinks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.gov-ilinks a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--gov-line);
  border-left: 4px solid var(--gov-navy-2);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gov-navy);
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(41, 19, 108, 0.05);
}
.gov-ilinks a:hover {
  border-left-color: var(--gov-saffron);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(41, 19, 108, 0.12);
}
.gov-ilinks a small {
  display: block;
  font-size: 10.5px;
  color: var(--gov-grey-2);
  font-weight: 600;
}
.gov-ilinks .gov-ext { margin-left: auto; color: var(--gov-grey-2); flex: none; }
@media (max-width: 1023px) { .gov-ilinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gov-ilinks { grid-template-columns: 1fr; } }

.gov-align-sec {
  background: #fff;
  border-top: 1px solid var(--gov-line);
}
.gov-align {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.gov-align .gov-alabel {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gov-grey-1);
  margin-right: 6px;
}
.gov-align span.gov-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gov-navy);
  background: var(--gov-mist);
  border: 1px solid var(--gov-line);
  padding: 6px 13px;
  border-radius: 999px;
}
.gov-align span.gov-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gov-saffron), var(--gov-green));
}

/* ---- Forms polish (GIGW usable forms) ---- */
main input[type="text"],
main input[type="email"],
main input[type="tel"],
main input[type="url"],
main input[type="search"],
main input[type="password"],
main textarea,
main select {
  font-family: var(--font-sans);
}
main input:focus-visible,
main textarea:focus-visible,
main select:focus-visible {
  outline: none;
  border-color: var(--gov-navy-2);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.35);
}

/* ---- Tables (staff / tenders / sitemap future-proofing) ---- */
main table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  border: 1px solid var(--gov-line);
}
main thead th {
  background: var(--gov-navy);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 9px 12px;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
main tbody td {
  border-top: 1px solid var(--gov-line);
  padding: 9px 12px;
}
main tbody tr:nth-child(even) { background: var(--gov-mist); }
main tbody tr:hover { background: #f0ecff; }

/* ---- Multilingual (DBIM Noto Sans for all scripts) ---- */
body.gov-lang-hi,
body.gov-lang-hi .gov-ticker-label,
body.gov-lang-hi #gov-persona,
body.gov-lang-hi #gov-fband {
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
}
body.gov-lang-as,
body.gov-lang-as .gov-ticker-label,
body.gov-lang-as #gov-persona,
body.gov-lang-as #gov-fband {
  font-family: "Noto Sans Bengali", "Noto Sans", sans-serif;
}

/* ---- India.gov.in-style high contrast mode ---- */
body.gov-contrast #root,
body.gov-contrast #gov-breadcrumbs,
body.gov-contrast .gov-ticker {
  filter: invert(1) hue-rotate(180deg);
}
body.gov-contrast :focus-visible {
  outline-color: #ffd400;
}

/* ---- Gov font-scale helper ---- */
html { scroll-behavior: smooth; }

/* ==========================================================================
   PROFESSIONAL DESIGN SYSTEM — flattens template gradients into solid
   gov-IT styling (NIC indigo / GeM orange) across all 14 pages
   ========================================================================== */

/* ---- Selection & scrollbar ---- */
::selection { background: #29136c; color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eeecf9; }
::-webkit-scrollbar-thumb { background: #9b79ff; border-radius: 6px; border: 2px solid #eeecf9; }
::-webkit-scrollbar-thumb:hover { background: #6d4bd2; }

/* ---- Text color remaps (navy utilities -> indigo) ---- */
[class*="text-blue-950"] { color: #251266 !important; }
[class*="text-blue-900"] { color: #29136c !important; }
[class*="text-blue-800"] { color: #35219a !important; }

/* ---- Soft tint gradients -> clean white ---- */
[class*="from-orange-50"],
[class*="from-orange-100"],
[class*="to-emerald-50"],
[class*="to-amber-300"],
[class*="via-slate-50"],
[class*="to-orange-50"],
[class*="from-blue-50"],
[class*="from-slate-50"] {
  background: #fff !important;
  background-image: none !important;
}

/* ---- Solid CTA gradients -> GeM orange ---- */
[class*="from-orange-500"],
[class*="from-orange-600"],
[class*="from-orange-400"],
[class*="from-amber-500"] {
  background-color: #ff5722 !important;
  background-image: none !important;
}
[class*="hover:from-orange-600"]:hover,
[class*="hover:from-orange-500"]:hover,
[class*="hover:to-amber-"]:hover {
  background-color: #e64a19 !important;
  background-image: none !important;
}

/* ---- Dark chrome gradients -> solid indigo ---- */
[class*="from-blue-950"],
[class*="from-blue-900"],
[class*="from-slate-950"],
[class*="from-slate-900"] {
  background-color: #1d0a69 !important;
  background-image: none !important;
}
[class*="via-slate-900"],
[class*="via-slate-950"],
[class*="to-blue-950"],
[class*="to-blue-900"],
[class*="to-slate-900"],
[class*="to-slate-950"] {
  background-image: none !important;
}

/* ---- Green / teal / cyan infra buttons -> solid ---- */
[class*="from-emerald-600"],
[class*="from-emerald-700"],
[class*="from-emerald-900"] {
  background-color: #0f7a4d !important;
  background-image: none !important;
}
[class*="from-teal-600"],
[class*="from-teal-700"],
[class*="from-teal-800"] {
  background-color: #0f766e !important;
  background-image: none !important;
}
[class*="from-cyan-500"] {
  background-color: #0891b2 !important;
  background-image: none !important;
}
[class*="from-purple-600"] {
  background-color: #6d4bd2 !important;
  background-image: none !important;
}
[class*="hover:from-emerald"]:hover,
[class*="hover:to-emerald"]:hover {
  background-color: #0b5f3b !important;
}
[class*="hover:from-teal"]:hover {
  background-color: #0b5f5a !important;
}

/* ---- Hero / page-head bands -> pure white ---- */
main [class*="from-orange-50/"],
main [class*="to-emerald-50/"] {
  background: #fff !important;
  background-image: none !important;
}
main [class*="border-orange-200"] { border-color: #d9d2f2 !important; }

/* ---- Hero title: two-tone wordmark (indigo + GeM orange) ---- */
main h1 { color: #1d0a69 !important; }
main h1 .bg-clip-text,
h1 .bg-clip-text {
  background: none !important;
  color: #ff5722 !important;
  -webkit-text-fill-color: #ff5722 !important;
}

/* ---- Header: solid white bar, structured ---- */
header > div[class*="bg-white"] {
  background: #fff !important;
  background-color: #fff !important;
  border-bottom-color: #ddd6f5 !important;
  box-shadow: 0 1px 0 #ddd6f5, 0 8px 24px rgba(41, 19, 108, 0.06) !important;
}
/* logo tile: white + indigo border */
header a div[class*="from-orange-50"] {
  background: #fff !important;
  background-image: none !important;
  border-color: #d9d2f2 !important;
  box-shadow: 0 2px 8px rgba(41, 19, 108, 0.1) !important;
}
header span.font-headline { color: #29136c !important; }

/* nav pill: lavender field */
header nav[class*="bg-slate-100"],
header [class*="bg-slate-100/90"] nav {
  background: #f4f1fd !important;
  border-color: #ddd6f5 !important;
  box-shadow: none !important;
}
/* nav link default */
header nav a,
header nav button {
  color: #2a1b6e !important;
}
header nav a:hover,
header nav button:hover {
  color: #ff5722 !important;
}
/* active item: solid indigo */
header nav a[class*="bg-white"],
header nav button[class*="bg-white"] {
  background: #29136c !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(41, 19, 108, 0.25) !important;
}
header nav a[class*="bg-white"]:hover,
header nav button[class*="bg-white"]:hover {
  background: #4729a3 !important;
  color: #fff !important;
}
/* orange header button -> GeM orange (already covered by from-orange rules) */

/* ---- Footer: deep indigo band + tricolor hairline ---- */
footer[class*="bg-slate-100"],
footer {
  background: #1d0a69 !important;
  background-color: #1d0a69 !important;
  color: #b4a8e0 !important;
  border-top: 4px solid transparent !important;
  border-image: linear-gradient(90deg, #ff9933 0 33%, #ffffff 33% 66%, #138808 66%) 1 !important;
}
footer [class*="text-slate-6"],
footer [class*="text-slate-5"] {
  color: #b4a8e0 !important;
}
footer [class*="text-slate-7"],
footer [class*="text-slate-8"],
footer [class*="text-slate-9"],
footer h3, footer h4, footer strong, footer b {
  color: #ffffff !important;
}
footer [class*="border-slate"] {
  border-color: #3b2a8a !important;
}
footer a {
  color: #ffd9ae !important;
}
footer a:hover {
  color: #ffffff !important;
}
footer button { color: #cfc4f5 !important; }
footer [class*="bg-slate-2"],
footer [class*="bg-white"] {
  background: #29136c !important;
  background-image: none !important;
}
footer [class*="text-slate-3"],
footer [class*="text-slate-4"] {
  color: #9d8fd4 !important;
}

/* ---- Buttons: consistent solid look, crisp corners ---- */
main button.rounded-xl,
main a.rounded-xl,
main button.rounded-lg,
main a.rounded-lg {
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* white/outline secondary buttons */
main a[class*="bg-white"][class*="border"],
main button[class*="bg-white"][class*="border"] {
  border-color: #d9d2f2 !important;
  color: #29136c !important;
}
main a[class*="bg-white"][class*="border"]:hover,
main button[class*="bg-white"][class*="border"]:hover {
  border-color: #29136c !important;
  background: #f4f1fd !important;
}

/* ---- Cards: uniform border + soft lift ---- */
main section div[class*="rounded-2xl"][class*="border"]:not([class*="border-none"]):not([class*="gov-"]) {
  border-color: #e6e0f5 !important;
}

/* ---- Tables: lavender zebra ---- */
main tbody tr:nth-child(even) { background: #f7f5fd; }
main tbody tr:hover { background: #eeecf9; }

/* ---- Form controls ---- */
main input[type="text"],
main input[type="email"],
main input[type="tel"],
main input[type="search"],
main input[type="url"],
main textarea,
main select {
  border-color: #d9d2f2 !important;
}
main input:focus,
main textarea:focus,
main select:focus {
  border-color: #29136c !important;
  box-shadow: 0 0 0 3px rgba(107, 75, 210, 0.25) !important;
}

/* ---- Focus rings: GeM orange, visible ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ff5722 !important;
  outline-offset: 2px !important;
}

/* ---- Badge/pill consistency ---- */
main [class*="bg-amber-100"],
main [class*="bg-orange-100"] {
  background: #ffefe6 !important;
  color: #c33c00 !important;
}
main [class*="bg-emerald-100"],
main [class*="bg-green-100"] {
  background: #e5f5ec !important;
  color: #0b5f3b !important;
}
