/* =========================================================
   Barsana Vrindavan Awas Yojna — Sarkari Portal Theme
   Bootstrap 5.3.8
   ========================================================= */

:root {
  --saffron: #ff9933;
  --saffron-dk: #e06a0e;
  --india-green: #138808;
  --green: #0d5c2e;
  --green-dk: #08421f;
  --navy: #0b2e59;
  --navy-2: #13407a;
  --chakra: #000080;
  --ink: #1d2733;
  --muted: #56606d;
  --line: #d6dce4;
  --bg-alt: #f3f6f9;
  --paper: #ffffff;
  --notice: #fff7e8;
  --red: #c62828;

  --font-body: "Poppins", system-ui, sans-serif;
  --font-head: "Baloo 2", "Poppins", system-ui, sans-serif;
  --font-hi: "Baloo 2", "Poppins", sans-serif;

  --radius: 6px;
  --shadow: 0 2px 10px rgba(11, 46, 89, .08);
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.6;
}
a { color: var(--navy-2); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, .panel-head, .main-nav .nav-link, .brand-en, .glance b, .pay-steps b,
.btn, .gov-table thead th, .cat-head, .tagline, .hw-shield, .hw-sub, .status-badge,
.gov-table td, .quick-facts strong, .notice-list li, .ticker-track span, .instr-list li {
  font-family: var(--font-head);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 8px 14px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Tricolour ---------- */
.tricolor { display: flex; height: 5px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--saffron); }
.tricolor span:nth-child(2) { background: #fff; }
.tricolor span:nth-child(3) { background: var(--india-green); }

/* ---------- Utility bar ---------- */
.util-bar {
  background: var(--navy);
  color: #dbe6f5;
  font-size: 12.5px;
  padding: 5px 0;
}
.util-bar a { color: #fff; text-decoration: none; }
.util-bar a:hover { text-decoration: underline; }
.util-bar .bi { color: var(--saffron); }
.util-sep { opacity: .45; }
.font-ctrl { display: inline-flex; gap: 2px; }
.font-ctrl button, .contrast-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 12px; font-weight: 700;
  min-width: 26px; height: 24px; padding: 0 5px; border-radius: 3px; line-height: 1;
}
.font-ctrl button:hover, .contrast-btn:hover { background: var(--saffron); border-color: var(--saffron); }
.contrast-btn .bi { color: #fff; }
.util-help { font-weight: 700; }

/* ---------- Brand header ---------- */
.brand-header {
  background:
    linear-gradient(90deg, rgba(255,153,51,.07), transparent 30%, transparent 70%, rgba(19,136,8,.07)),
    #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.brand-logo {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--saffron);
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-hi {
  font-family: var(--font-hi);
  font-weight: 800; font-size: 30px; color: var(--green);
}
.brand-en {
  font-weight: 800; font-size: 16px; letter-spacing: 1.5px; color: var(--saffron-dk);
  margin-top: 2px;
}
.brand-tag {
  font-family: var(--font-head);
  font-size: 13px; color: var(--muted); margin-top: 3px;
}
.brand-tag b { color: var(--saffron-dk); }
.initiative-logos { height: 48px; width: auto; }
.helpline-card {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-left: 4px solid var(--saffron);
  padding: 6px 14px; border-radius: var(--radius); background: #fff;
}
.helpline-card > .bi { font-size: 28px; color: var(--green); }
.helpline-card small { display: block; font-size: 11.5px; color: var(--muted); }
.helpline-card a { font-weight: 800; font-size: 18px; color: var(--navy); text-decoration: none; }

/* ---------- Main nav ---------- */
.main-nav {
  background: var(--green);
  border-bottom: 3px solid var(--saffron);
  padding: 0;
}
.main-nav .navbar-brand { color: #fff; font-weight: 700; font-size: 16px; padding: 10px 0; }
.main-nav .navbar-toggler { color: #fff; border-color: rgba(255,255,255,.4); font-size: 24px; padding: 2px 10px; }
.main-nav .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--saffron); }
.main-nav .nav-link {
  color: #fff !important;
  font-weight: 600; font-size: 14.5px;
  padding: 10px 14px !important;
  line-height: 1.25;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.main-nav .nav-link small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { background: var(--green-dk); box-shadow: inset 0 -3px 0 var(--saffron); }
/* ----- Registration Online — red/green blink ----- */
.btn-blink {
  color: #fff !important; border: 0;
  font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  animation: regBlink 1.2s infinite;
  text-decoration: none; white-space: nowrap;
}
.btn-blink span { font-weight: 500; opacity: .95; }
.btn-blink:hover { animation-play-state: paused; background: var(--navy) !important; color: #fff; }
.btn-blink.w-100 { white-space: normal; text-align: center; line-height: 1.3; }
.btn-blink-sm { font-size: 11px; padding: 4px 10px; border-radius: 14px; }
.btn-blink-lg { font-size: 15px; padding: 12px 22px; }
@keyframes regBlink {
  0%, 49%   { background: #d62828; box-shadow: 0 0 0 3px rgba(214,40,40,.25); }
  50%, 100% { background: #1e8e3e; box-shadow: 0 0 0 3px rgba(30,142,62,.25); }
}
@media (max-width: 991.98px) {
  .main-nav .nav-link { text-align: left; border-right: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav .nav-link small { display: inline; margin-left: 6px; }
  .main-nav .btn-blink { width: 100%; margin: 10px 0 12px; }
}

/* ---------- News ticker ---------- */
.ticker {
  display: flex; align-items: stretch;
  background: var(--notice);
  border-bottom: 1px solid #f1dcb4;
  font-size: 13.5px;
  overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto;
  background: var(--red); color: #fff; font-weight: 700;
  padding: 7px 16px; display: flex; align-items: center; gap: 6px;
  position: relative;
}
.ticker-label::after {
  content: ""; position: absolute; right: -12px; top: 0; bottom: 0;
  border-left: 12px solid var(--red); border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.ticker-track-wrap { flex: 1; overflow: hidden; display: flex; align-items: center; padding-left: 18px; }
.ticker-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: tick 45s linear infinite;
  padding-right: 48px;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { color: var(--ink); font-weight: 500; }
.ticker-track .bi { color: var(--saffron-dk); font-size: 9px; vertical-align: middle; margin-right: 4px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .ticker-label span { display: none; } }

.badge-new {
  display: inline-block; font-style: normal;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 1px 6px; border-radius: 3px; margin-right: 6px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* ---------- Panels (portal boxes) ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.panel-head {
  background: var(--navy);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 9px 14px;
  border-bottom: 3px solid var(--saffron);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.panel-head small { font-weight: 500; opacity: .75; font-size: 12px; }
.panel-head-saffron { background: var(--saffron-dk); border-bottom-color: var(--green); }
.panel-body { padding: 14px; flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: 14px 0 16px; background: var(--bg-alt); }
.date-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.date-row small { display: block; color: var(--muted); font-size: 12px; }
.date-row strong { font-size: 13.5px; color: var(--ink); }
.date-cal {
  flex: 0 0 52px; text-align: center; border: 1px solid var(--saffron-dk);
  border-radius: 4px; overflow: hidden; background: #fff;
}
.date-cal span { display: block; background: var(--saffron-dk); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.date-cal b { display: block; font-size: 22px; color: var(--navy); line-height: 1.3; }
.date-cal-green { border-color: var(--green); }
.date-cal-green span { background: var(--green); }
.quick-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
}
.quick-facts div {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px;
  padding: 7px 8px; text-align: center;
}
.quick-facts small { display: block; font-size: 11px; color: var(--muted); }
.quick-facts strong { font-size: 13.5px; color: var(--green); white-space: nowrap; }
.quick-facts .bi { display: none; }
.loan-box { margin-top: 12px; }
.loan-box small { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 12.5px; }
.bank-pill {
  font-size: 12px; font-weight: 600; background: #eef4fb; color: var(--navy);
  border: 1px solid #cfdcee; border-radius: 20px; padding: 3px 10px;
}

.hero-carousel {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.hero-carousel .carousel-item img { aspect-ratio: 2 / 1; object-fit: cover; }

.quick-services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px;
}
.quick-services a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--green);
  border-radius: var(--radius); padding: 10px 6px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.quick-services a:nth-child(even) { border-bottom-color: var(--saffron-dk); }
.quick-services a:hover { transform: translateY(-2px); border-color: var(--saffron); }
.quick-services .bi {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 17px;
}
.quick-services span { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.quick-services small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
@media (max-width: 767.98px) { .quick-services { grid-template-columns: 1fr 1fr; } }
.hero-carousel .carousel-caption {
  bottom: 30px; left: 10%; right: 10%;
}
.hero-carousel .carousel-caption span {
  background: rgba(13, 92, 46, .9); padding: 6px 16px; border-radius: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  border-left: 4px solid var(--saffron);
}
.carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,46,89,.75); display: grid; place-items: center; font-size: 18px;
}
.hero-carousel .carousel-indicators [data-bs-target] { background-color: var(--saffron); width: 22px; }

.notice-scroll { height: 188px; overflow: hidden; position: relative; }
.notice-list {
  list-style: none; margin: 0; padding: 0;
  animation: noticeUp 18s linear infinite;
}
.notice-scroll:hover .notice-list { animation-play-state: paused; }
@keyframes noticeUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice-list li {
  padding: 9px 14px 9px 28px; font-size: 13px; border-bottom: 1px dotted var(--line);
  position: relative;
}
.notice-list li::before {
  content: "\F285"; font-family: "bootstrap-icons"; position: absolute; left: 10px; top: 10px;
  color: var(--saffron-dk); font-size: 11px;
}
.download-list { list-style: none; margin: 0; padding: 0; }
.download-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600;
}
.download-list li:last-child { border-bottom: 0; }
.download-list .bi { color: var(--green); margin-right: 4px; }
.download-list small { color: var(--muted); font-weight: 400; }
.download-list a {
  font-size: 12px; font-weight: 700; text-decoration: none;
  background: var(--green); color: #fff; padding: 3px 12px; border-radius: 3px;
}
.download-list a:hover { background: var(--saffron-dk); }

/* ---------- Registration status notice ---------- */
.status-notice { padding: 14px 0; background: #fff; }
.status-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff5f5;
  border: 1px solid #f3c3c3; border-left: 6px solid var(--red);
  border-radius: var(--radius); padding: 18px 22px;
}
.status-icon { font-size: 42px; color: var(--red); line-height: 1; }
.status-text { flex: 1; min-width: 240px; }
.status-badge {
  display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; padding: 2px 10px; border-radius: 3px; margin-bottom: 6px;
}
.status-text h2 {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; color: var(--ink); margin: 0 0 4px;
}
.status-text h2 u { color: var(--red); text-underline-offset: 4px; }
.status-text p { margin: 0; color: var(--muted); }
.status-open .status-card { background: #f1faf3; border-color: #bfe0c7; border-left-color: var(--india-green); }
.status-open .status-icon { color: var(--india-green); }
.status-open .status-badge { background: var(--india-green); }
.status-open .status-text h2 u { color: var(--india-green); }

/* ---------- Buttons ---------- */
.btn-gov, .btn-gov-saffron, .btn-gov-outline {
  font-weight: 700; font-size: 14px; border-radius: 4px; padding: 10px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-gov { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-gov:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-gov-saffron { background: var(--saffron-dk); color: #fff; border: 1px solid var(--saffron-dk); }
.btn-gov-saffron:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-gov-outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn-gov-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 34px 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 22px; }
.sec-head .sec-hi {
  display: block; font-family: var(--font-head);
  color: var(--saffron-dk); font-weight: 700; font-size: 15px; margin-bottom: 2px;
}
.sec-head h2 {
  font-weight: 800; color: var(--navy); font-size: clamp(22px, 3vw, 30px);
  text-transform: uppercase; letter-spacing: .5px; margin: 0;
  display: inline-block; position: relative; padding-bottom: 12px;
}
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 90px; height: 4px;
  background: linear-gradient(90deg, var(--saffron) 33%, #fff 33% 66%, var(--india-green) 66%);
  border: 1px solid #e5e5e5;
}
.sec-head.text-start h2::after { left: 0; transform: none; }
.sec-head p { color: var(--muted); margin: 12px auto 0; max-width: 640px; }

/* ---------- Glance ---------- */
.glance {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green);
  border-radius: var(--radius); padding: 18px 10px; text-align: center; height: 100%;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.glance:hover { transform: translateY(-3px); }
.glance-row .col-6:nth-child(even) .glance { border-top-color: var(--saffron-dk); }
.glance .bi { font-size: 28px; color: var(--saffron-dk); }
.glance b { display: block; font-size: 22px; color: var(--navy); margin: 4px 0 2px; }
.glance span { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.35; display: block; }
.glance small { color: var(--muted); font-weight: 400; }

/* ---------- About ---------- */
.about-fig { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.about-fig figcaption { font-size: 12px; color: var(--muted); padding: 6px 10px; background: var(--bg-alt); text-align: center; }
.lead-text { font-size: 15px; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding: 5px 0 5px 28px; font-weight: 600; font-size: 14px; }
.tick-list li::before {
  content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 4px;
  color: var(--india-green); font-size: 17px;
}
.delivered-list { list-style: none; padding: 0; margin: 0; }
.delivered-list li {
  display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px; font-weight: 500;
}
.delivered-list li:last-child { border-bottom: 0; }
.delivered-list .bi { color: var(--india-green); margin-top: 3px; }

/* ---------- Payment plan ---------- */
.pay-steps {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  counter-reset: step;
}
.pay-steps li {
  position: relative; text-align: center; padding: 0 6px;
}
.pay-steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; margin: 0 auto 8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; position: relative; z-index: 1;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--saffron);
}
.pay-steps li::after {
  content: ""; position: absolute; top: 18px; left: 50%; width: 100%; height: 3px;
  background: var(--saffron);
}
.pay-steps li:last-child::after { display: none; }
.pay-steps b { display: block; font-size: 20px; color: var(--green); }
.pay-steps span { font-size: 13px; font-weight: 600; line-height: 1.3; display: block; }
.pay-steps small { color: var(--muted); font-weight: 400; }
@media (max-width: 575.98px) {
  .pay-steps { grid-template-columns: 1fr; gap: 10px; }
  .pay-steps li { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
  .pay-steps li::before { margin: 0; flex: 0 0 36px; }
  .pay-steps li::after { display: none; }
  .pay-steps b { min-width: 78px; }
}

.table-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.cat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--navy); color: #fff; padding: 12px 16px;
  border-bottom: 4px solid var(--saffron);
}
.cat-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cat-title .bi { color: var(--saffron); }
.cat-title span { font-weight: 500; font-size: 14px; opacity: .85; }
.cat-rate {
  background: #fff; color: var(--navy); font-weight: 800; font-size: 17px;
  padding: 4px 14px; border-radius: 4px; border-left: 4px solid var(--saffron);
}
.cat-rate small { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 4px; }
.cat-head-reserved { background: var(--green); border-bottom-color: var(--saffron); }
.cat-head-reserved .cat-rate { color: var(--green); }
.cat-head-reserved + .reserved-note + .table-responsive .gov-table thead th { background: #146b3a; border-color: #2a8352; }

.gov-table { font-size: 13.5px; text-align: center; vertical-align: middle; }
.gov-table thead th {
  background: var(--navy-2); color: #fff; font-weight: 700; font-size: 12.5px;
  border: 1px solid #2c5690; white-space: nowrap; padding: 9px 8px;
}
.gov-table thead th small { font-weight: 500; opacity: .8; font-size: 11px; }
.gov-table td { border: 1px solid #e3e8ee; padding: 9px 8px; white-space: nowrap; font-size: 15px; font-weight: 500; }
.gov-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.gov-table tbody tr:hover td { background: #fff4e6; }
.gov-table .td-size { font-weight: 800; color: var(--navy); }
.gov-table .td-total { font-weight: 800; color: var(--green); }
.st-closed {
  display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
  background: #6c757d; padding: 3px 10px; border-radius: 3px;
}
.reserved-note {
  margin: 0; padding: 10px 14px; background: var(--notice); font-size: 13px; font-weight: 500;
  border-bottom: 1px solid #f1dcb4;
}
.reserved-note .bi { color: var(--saffron-dk); }
.table-note { margin: 0; padding: 8px 14px; font-size: 12.5px; color: var(--muted); background: var(--bg-alt); border-top: 1px solid var(--line); }

/* ---------- Spiritual strip ---------- */
.spiritual {
  background: linear-gradient(90deg, var(--saffron-dk), #f08a2b 50%, var(--saffron-dk));
  padding: 12px 0; color: #fff;
}
.spiritual .container { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.spiritual p { margin: 0; font-family: var(--font-hi); font-weight: 700; font-size: clamp(16px, 2.2vw, 22px); }
.spiritual .bi { font-size: 24px; opacity: .9; }

/* ---------- Amenities ---------- */
.amenity {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.amenity:hover { border-color: var(--saffron); box-shadow: var(--shadow); }
.amenity .bi {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff1e3; color: var(--saffron-dk); font-size: 24px; margin-bottom: 10px;
  border: 2px solid #ffd9b3;
}
.amenity-green .bi { background: #e7f4ea; color: var(--green); border-color: #bfe0c7; }
.amenity h3 { font-size: 14.5px; font-weight: 800; color: var(--navy); text-transform: uppercase; margin-bottom: 6px; }
.amenity p { font-size: 13px; color: var(--muted); margin: 0; }

.tagline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 22px 0 0; font-weight: 800; letter-spacing: 2px; color: var(--green);
  text-transform: uppercase; font-size: 14px; text-align: center;
}
.tagline span { flex: 0 1 120px; height: 2px; background: var(--saffron); }

/* ---------- Site layout ---------- */
.layout-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow);
}
.layout-img-btn {
  display: block; position: relative; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in;
}
.layout-img-btn img { width: 100%; border: 1px solid var(--line); }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(11,46,89,.88); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 4px;
}
.layout-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.layout-modal-head { background: var(--navy); color: #fff; border-bottom: 3px solid var(--saffron); }
.zoom-ctrl { display: flex; gap: 6px; }
.zoom-ctrl button {
  width: 36px; height: 36px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1); color: #fff; font-size: 16px;
}
.zoom-ctrl button:hover { background: var(--saffron-dk); }
.layout-modal-body { background: #1b1f24; overflow: auto; display: flex; align-items: flex-start; justify-content: center; }
.layout-modal-body img { max-width: 100%; transform-origin: top center; transition: transform .2s ease; }

/* ---------- Benefits ---------- */
.benefit {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 16px;
}
.benefit > .bi { font-size: 26px; color: var(--saffron-dk); line-height: 1; margin-top: 2px; }
.benefit h3 { font-size: 15px; font-weight: 800; color: var(--navy); text-transform: uppercase; margin: 0 0 4px; }
.benefit p { margin: 0; font-size: 13.5px; color: var(--muted); }
.adv-list { list-style: none; padding: 0; margin: 0; }
.adv-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.adv-list li:last-child { border-bottom: 0; }
.adv-ico {
  flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 18px;
}
.adv-rera { background: var(--green); font-size: 10.5px; font-weight: 800; letter-spacing: .5px; }
.adv-list h4 { font-size: 14.5px; font-weight: 800; margin: 0; color: var(--ink); }
.adv-list p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Location ---------- */
.highway-card {
  height: 100%; background: var(--green); color: #fff; text-align: center;
  border-radius: var(--radius); padding: 30px 20px; border-bottom: 5px solid var(--saffron);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px);
}
.hw-shield {
  display: inline-block; background: #fff; color: var(--green); font-weight: 900; font-size: 38px;
  padding: 6px 24px; border-radius: 10px 10px 40px 40px; border: 4px solid var(--saffron);
  letter-spacing: 1px;
}
.hw-sub { margin-top: 12px; font-weight: 800; letter-spacing: 3px; font-size: 14px; }
.hw-road { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 240px; margin: 16px 0; }
.hw-road span { flex: 1; height: 0; border-top: 3px dashed rgba(255,255,255,.7); }
.hw-road .bi { font-size: 22px; color: var(--saffron); }
.highway-card p { margin: 0 0 6px; font-weight: 600; }
.highway-card small { opacity: .85; }
.dist-table td .bi { color: var(--saffron-dk); margin-right: 6px; }
.dist-table td b { color: var(--green); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-list li > span {
  flex: 0 0 40px; height: 40px; border-radius: 4px; display: grid; place-items: center;
  background: #fff1e3; color: var(--saffron-dk); font-size: 17px;
}
.contact-list h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .5px; }
.contact-list p { margin: 0; font-weight: 600; font-size: 14.5px; word-break: break-word; }
.contact-list a { text-decoration: none; color: var(--navy); }
.gov-form .form-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.gov-form .req { color: var(--red); }
.gov-form .form-control, .gov-form .form-select {
  border-radius: 4px; border-color: #c4ccd6; font-size: 14px; padding: 9px 12px;
}
.gov-form .form-control:focus, .gov-form .form-select:focus {
  border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(19,64,122,.15);
}

/* ---------- Footer ---------- */
.gov-footer { background: #0a2344; color: #c9d5e6; font-size: 14px; }
.footer-top { padding: 44px 0 30px; border-top: 4px solid var(--saffron); }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--saffron); object-fit: cover; }
.f-brand-hi { display: block; font-family: var(--font-hi); font-size: 19px; color: #fff; }
.f-brand-en { display: block; font-size: 12px; letter-spacing: 1px; color: var(--saffron); font-weight: 700; text-transform: uppercase; }
.gov-footer h4 {
  color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,153,51,.6); display: inline-block;
}
.gov-footer h4 small { font-weight: 500; opacity: .7; font-size: 12px; margin-left: 4px; }
.gov-footer ul { list-style: none; padding: 0; margin: 0; }
.gov-footer ul li { padding: 4px 0; }
.gov-footer a { color: #c9d5e6; text-decoration: none; }
.gov-footer a:hover { color: var(--saffron); }
.gov-footer ul:not(.f-contact) li a::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: 10px; margin-right: 6px; color: var(--saffron); }
.f-contact li { display: flex; gap: 8px; word-break: break-word; }
.f-contact .bi { color: var(--saffron); margin-top: 3px; }
.footer-bottom { background: #071a33; padding: 18px 0; text-align: center; font-size: 12.5px; }
.footer-bottom p { margin: 0 0 8px; }
.f-owner strong { color: #fff; }
.f-disclaimer { max-width: 980px; margin-left: auto !important; margin-right: auto !important; color: #9fb0c7; font-size: 10.5px; }
.f-copy { margin-bottom: 0 !important; color: #fff; }

/* ---------- Floating ---------- */
.float-call, .to-top {
  position: fixed; right: 18px; z-index: 1030; border: 0;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.float-call { bottom: 80px; background: var(--green); animation: ring 2s infinite; }
.float-call:hover { color: #fff; background: var(--saffron-dk); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(13,92,46,.55); } 70% { box-shadow: 0 0 0 14px rgba(13,92,46,0); } 100% { box-shadow: 0 0 0 0 rgba(13,92,46,0); } }
.to-top { bottom: 20px; background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 767.98px) {
  .float-call, .to-top { width: 38px; height: 38px; font-size: 15px; right: 12px; }
  .float-call { bottom: 58px; }
  .to-top { bottom: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  body { font-size: 14.5px; }
  .brand-logo { width: 62px; height: 62px; }
  .brand-hi { font-size: 21px; }
  .brand-en { font-size: 12px; letter-spacing: .5px; }
  .brand-tag { font-size: 11.5px; }
  .section { padding: 26px 0; }
  .status-card { padding: 16px; }
  .status-card .btn-blink { width: 100%; white-space: normal; }
  .glance { padding: 14px 8px; }
  .glance .bi { font-size: 22px; }
  .glance b { font-size: 17px; }
  .glance span { font-size: 12px; }
}
@media (max-width: 399.98px) {
  .brand-hi { font-size: 18px; }
  .brand-logo { width: 54px; height: 54px; }
}

/* ---------- Homepage — compact mobile ---------- */
@media (max-width: 767.98px) {
  .section { padding: 22px 0; }
  .sec-head { margin-bottom: 16px; }
  .sec-head .sec-hi { font-size: 13px; }
  .sec-head h2 { font-size: 20px; padding-bottom: 9px; }
  .sec-head h2::after { width: 70px; height: 3px; }
  .sec-head p { font-size: 13px; margin-top: 8px; }
  .brand-header { padding: 8px 0; }
  .util-bar { padding: 3px 0; }
  .main-nav .navbar-brand { padding: 7px 0; font-size: 15px; }
  .ticker { font-size: 12.5px; }
  .ticker-label { padding: 5px 12px; }

  .hero { padding: 10px 0 12px; }
  .hero .row { --bs-gutter-y: .6rem; }
  .quick-services { gap: 8px; margin-top: 8px; }
  .quick-services a { padding: 8px 4px; gap: 4px; }
  .quick-services .bi { width: 32px; height: 32px; font-size: 14px; }
  .quick-services span { font-size: 12.5px; }
  .quick-services small { font-size: 10.5px; }
  .panel-head { padding: 7px 12px; font-size: 14px; }
  .panel-body { padding: 10px 12px; }
  .date-row { padding: 6px 0; gap: 10px; }
  .date-cal { flex-basis: 46px; }
  .date-cal b { font-size: 19px; }
  .quick-facts { margin-top: 8px; gap: 8px; }
  .quick-facts div {
    padding: 8px 6px; border-radius: 6px; border: 0; color: #fff;
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
  }
  .quick-facts .qf-price { background: linear-gradient(135deg, var(--saffron-dk), #f59a3c); }
  .quick-facts .qf-size { background: linear-gradient(135deg, var(--green), #1c8a4a); }
  .quick-facts .bi {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.22); font-size: 13px; margin-bottom: 1px;
  }
  .quick-facts small { color: rgba(255,255,255,.92); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
  .quick-facts strong { color: #fff; font-size: 16px; line-height: 1.2; }
  .loan-box { margin-top: 8px; }
  .notice-scroll { height: 150px; }
  .notice-list li { padding: 7px 12px 7px 26px; font-size: 12.5px; }
  .download-list li { padding: 7px 12px; font-size: 13px; }

  .status-notice { padding: 10px 0; }
  .status-card { padding: 12px; gap: 10px; }
  .status-icon { font-size: 30px; }
  .status-text h2 { font-size: 18px; }
  .status-text p { font-size: 12.5px; }

  .glance-row { --bs-gutter-x: .6rem; --bs-gutter-y: .6rem; }

  .lead-text { font-size: 14px; margin-bottom: 10px; }
  .tick-list li { font-size: 13px; padding: 3px 0 3px 26px; }
  .about-fig figcaption { font-size: 11px; padding: 4px 8px; }
  .delivered-list li { padding: 7px 0; font-size: 13px; }

  .pay-steps { gap: 6px; margin-bottom: 14px; }
  .pay-steps li { padding: 6px 10px; }
  .pay-steps li::before { width: 30px; height: 30px; flex-basis: 30px; font-size: 13px; }
  .pay-steps b { font-size: 17px; }
  .pay-steps span { font-size: 12px; }
  .cat-head { padding: 9px 12px; }
  .cat-title { font-size: 15px; }
  .cat-title span { font-size: 12px; }
  .cat-rate { font-size: 14px; padding: 3px 10px; }
  .gov-table thead th { padding: 7px 6px; font-size: 11.5px; }
  .gov-table td { padding: 7px 6px; font-size: 13px; }
  .reserved-note, .table-note { font-size: 12px; padding: 7px 12px; }

  .spiritual { padding: 9px 0; }
  .spiritual .container { gap: 8px; }
  .spiritual .bi { font-size: 18px; }

  #benefits .row { --bs-gutter-x: .6rem; --bs-gutter-y: .6rem; }
  .amenity { padding: 12px 8px; }
  .amenity .bi { width: 44px; height: 44px; font-size: 19px; margin-bottom: 6px; }
  .amenity h3 { font-size: 12.5px; margin-bottom: 4px; }
  .amenity p { font-size: 11.5px; line-height: 1.45; }
  .tagline { margin-top: 16px; font-size: 12px; letter-spacing: 1px; gap: 8px; }

  .layout-card { padding: 8px; }
  .zoom-hint { font-size: 11px; padding: 4px 8px; right: 8px; bottom: 8px; }
  .layout-actions { margin-top: 8px; gap: 8px; }
  .layout-actions .btn { padding: 7px 12px; font-size: 13px; }

  .benefit { padding: 11px 12px; gap: 10px; }
  .benefit > .bi { font-size: 21px; }
  .benefit h3 { font-size: 13.5px; }
  .benefit p { font-size: 12.5px; }
  .adv-list li { padding: 7px 0; gap: 10px; }
  .adv-ico { flex-basis: 38px; height: 38px; font-size: 16px; }
  .adv-list h4 { font-size: 13.5px; }
  .adv-list p { font-size: 12px; }

  .highway-card { padding: 18px 14px; }
  .hw-shield { font-size: 28px; padding: 4px 18px; }
  .hw-sub { margin-top: 8px; font-size: 12px; }
  .hw-road { margin: 10px 0; }
  .highway-card p { font-size: 13px; }

  .contact-list li { padding: 7px 0; gap: 10px; }
  .contact-list li > span { flex-basis: 34px; height: 34px; font-size: 15px; }
  .contact-list h3 { font-size: 11.5px; }
  .contact-list p { font-size: 13.5px; }
  .gov-form .form-label { font-size: 12px; margin-bottom: 2px; }
  .gov-form .form-control, .gov-form .form-select { padding: 7px 10px; font-size: 13.5px; }
  #contact .gov-form .row { --bs-gutter-y: .6rem; }

  .footer-top { padding: 26px 0 16px; font-size: 13px; }
  .footer-top .row { --bs-gutter-y: 1.1rem; }
  .gov-footer h4 { font-size: 14px; margin-bottom: 8px; }
  .gov-footer ul li { padding: 2px 0; }
  .footer-bottom { padding: 12px 0; font-size: 11.5px; }
  .f-disclaimer { font-size: 9px; line-height: 1.45; margin-bottom: 6px !important; }
  .f-owner, .f-copy { font-size: 11px; }
}

/* ---------- High contrast mode ---------- */
body.high-contrast { background: #000; color: #fff; }
body.high-contrast .brand-header, body.high-contrast .panel, body.high-contrast .glance,
body.high-contrast .amenity, body.high-contrast .benefit, body.high-contrast .table-card,
body.high-contrast .layout-card, body.high-contrast .status-notice, body.high-contrast .status-card,
body.high-contrast .section-alt, body.high-contrast .hero, body.high-contrast .ticker,
body.high-contrast .about-fig figcaption, body.high-contrast .quick-facts div {
  background: #000 !important; color: #fff !important; border-color: #fff !important;
}
body.high-contrast .gov-table td { background: #000 !important; color: #fff; border-color: #666; }
body.high-contrast .sec-head h2, body.high-contrast .brand-hi, body.high-contrast .glance b,
body.high-contrast .amenity h3, body.high-contrast .benefit h3, body.high-contrast .td-size,
body.high-contrast .date-row strong, body.high-contrast .status-text h2, body.high-contrast .adv-list h4,
body.high-contrast .contact-list a, body.high-contrast .helpline-card a, body.high-contrast .ticker-track span { color: #ffeb3b !important; }
body.high-contrast p, body.high-contrast small, body.high-contrast .muted { color: #fff !important; }
body.high-contrast .form-control, body.high-contrast .form-select { background: #000; color: #fff; border-color: #fff; }
body.high-contrast .gov-form .form-label { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .notice-list, .badge-new, .float-call, .btn-blink { animation: none !important; }
  .btn-blink { background: #1e8e3e; }
}

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */
.page-title {
  background:
    linear-gradient(90deg, rgba(11,46,89,.96), rgba(13,92,46,.92)),
    url("../images/plot.jpg") center / cover;
  color: #fff; padding: 22px 0 24px; border-bottom: 4px solid var(--saffron);
}
.page-title .breadcrumb { margin-bottom: 6px; font-size: 13px; }
.page-title .breadcrumb a { color: #ffd9b3; text-decoration: none; }
.page-title .breadcrumb-item.active { color: #fff; }
.page-title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-title h1 { font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); margin: 0; }
.page-title h1 span { font-weight: 600; font-size: .6em; opacity: .85; }
.page-title p { margin: 4px 0 0; opacity: .9; font-size: 14px; }

.reg-section { background: var(--bg-alt); }
.app-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.app-form-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; background: var(--navy); color: #fff; border-bottom: 4px solid var(--saffron);
}
.app-form-hi { font-family: var(--font-head); color: #ffd9b3; font-weight: 700; font-size: 14px; }
.app-form-head h2 { font-size: 20px; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: .5px; }
.app-form-fee {
  background: #fff; color: var(--navy); border-left: 4px solid var(--saffron);
  padding: 5px 14px; border-radius: 4px; font-size: 13px; font-weight: 600;
}
.app-form-fee b { font-family: var(--font-head); color: var(--green); font-size: 17px; }
.app-form-note {
  margin: 0; padding: 9px 18px; background: var(--notice); border-bottom: 1px solid #f1dcb4; font-size: 13px;
}
.app-form-note .bi { color: var(--saffron-dk); }
.app-form .gov-form { padding: 22px 18px 18px; }

.form-block {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 16px 16px; margin-bottom: 24px; position: relative;
}
.form-block legend {
  position: absolute; top: -14px; left: 12px; width: auto; float: none;
  background: #fff; padding: 0 8px; margin: 0;
  font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.form-block legend span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--saffron-dk); color: #fff; font-size: 13px;
}
.form-block legend small { font-weight: 600; color: var(--muted); font-size: 12px; }
.ref-prefix { background: var(--navy); color: #fff; font-weight: 700; border-color: var(--navy); }
.gov-form .form-control.is-invalid, .gov-form .form-select.is-invalid { border-color: var(--red); }

.price-preview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: #f1faf3; border: 1px dashed #9fd0ab; border-radius: var(--radius); padding: 10px;
}
.price-preview[hidden] { display: none; }
.price-preview div { text-align: center; }
.price-preview small { display: block; font-size: 11.5px; color: var(--muted); }
.price-preview b { font-family: var(--font-head); font-size: 18px; color: var(--green); }

.declaration {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff8ec; border: 1px solid #f1dcb4; border-left: 4px solid var(--saffron-dk);
  border-radius: var(--radius); padding: 12px 14px; font-size: 13.5px;
}
.declaration .form-check-input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.declaration.is-invalid { border-color: var(--red); background: #fff5f5; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 575.98px) { .form-actions .btn { width: 100%; white-space: normal; } }

.offer-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 16px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--india-green);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
}
.offer-note > .bi { font-size: 28px; color: var(--saffron-dk); line-height: 1; }
.offer-note p { margin: 0 0 4px; font-size: 14px; }
.offer-note p:last-child { margin: 0; color: var(--muted); }

.reg-sidebar { position: sticky; top: 80px; }
.instr-list { padding-left: 18px; margin: 0; font-size: 13.5px; }
.instr-list li { padding: 4px 0; }
.instr-list li::marker { color: var(--saffron-dk); font-weight: 700; }
.mini-table td { padding: 8px 14px; font-size: 13.5px; border-color: #e3e8ee; vertical-align: middle; }
.mini-table td small { display: block; color: var(--muted); font-size: 11.5px; }
.mini-table td:last-child { text-align: right; font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: 16px; }
.mini-link { display: block; text-align: center; padding: 9px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; border-top: 1px solid var(--line); background: var(--bg-alt); }
.mini-link:hover { color: var(--saffron-dk); }
.help-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--green); color: #fff; border-radius: var(--radius); padding: 14px 16px;
  border-bottom: 4px solid var(--saffron);
}
.help-box > .bi { font-size: 32px; color: var(--saffron); }
.help-box small { display: block; opacity: .85; font-size: 12px; }
.help-box a { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 22px; text-decoration: none; }
@media (max-width: 991.98px) { .reg-sidebar { position: static; } }
@media (max-width: 575.98px) {
  /* Registration form — compact mobile */
  .page-title { padding: 14px 0 16px; }
  .page-title h1 { font-size: 22px; }
  .page-title p { font-size: 12.5px; }
  .reg-section { padding: 16px 0 24px; }
  .app-form-head { padding: 10px 12px; gap: 8px; }
  .app-form-head h2 { font-size: 16px; }
  .app-form-hi { font-size: 12.5px; }
  .app-form-fee { padding: 3px 10px; font-size: 12px; }
  .app-form-fee b { font-size: 15px; }
  .app-form-note { padding: 7px 12px; font-size: 12px; }
  .app-form .gov-form { padding: 18px 10px 12px; }
  .form-block { padding: 22px 10px 10px; margin-bottom: 18px; }
  .form-block legend { font-size: 14px; top: -12px; left: 8px; gap: 6px; }
  .form-block legend span { width: 22px; height: 22px; font-size: 12px; }
  .form-block legend small { font-size: 11px; }
  .form-block .row { --bs-gutter-y: .6rem; --bs-gutter-x: .6rem; }
  .gov-form .form-label { font-size: 12px; margin-bottom: 2px; }
  .gov-form .form-control, .gov-form .form-select { padding: 7px 10px; font-size: 13.5px; }
  .gov-form .form-select { padding-right: 2rem; }
  .gov-form textarea.form-control { min-height: 64px; }
  .ref-prefix { padding: 7px 10px; font-size: 13px; }
  .price-preview { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px 6px; }
  .price-preview small { font-size: 10px; }
  .price-preview b { font-size: 14px; }
  .declaration { padding: 8px 10px; font-size: 11px; line-height: 1.45; gap: 8px; color: var(--muted); }
  .declaration .form-check-input { width: 15px; height: 15px; margin-top: 1px; }
  .form-actions { margin-top: 12px; gap: 8px; }
  .form-actions .btn { padding: 9px 12px; font-size: 13.5px; }
  .offer-note { padding: 10px 12px; gap: 10px; margin-top: 12px; }
  .offer-note p { font-size: 12.5px; }
  .offer-note > .bi { font-size: 22px; }
}

/* ----- Pincode auto-fill ----- */
.pin-wrap { position: relative; }
.pin-spin { position: absolute; right: 10px; top: 50%; margin-top: -.5rem; color: var(--navy-2); }
.pin-msg { font-size: 12px; font-weight: 600; margin-top: 4px; min-height: 16px; color: var(--muted); }
.pin-msg.ok { color: var(--india-green); }
.pin-msg.err { color: var(--red); }
.gov-form .form-control.autofilled { background: #f1faf3; border-color: #9fd0ab; }

/* =========================================================
   POLICY PAGES (Terms / Refund / Privacy)
   ========================================================= */
.policy-section { background: var(--bg-alt); }
.policy-side { position: sticky; top: 80px; }
.policy-toc { list-style: none; margin: 0; padding: 6px 0; max-height: 360px; overflow-y: auto; }
.policy-toc a {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-left: 3px solid transparent;
}
.policy-toc a:hover { background: #fff4e6; border-left-color: var(--saffron); color: var(--navy); }
.policy-toc a span {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--navy);
}
.policy-links { list-style: none; margin: 0; padding: 0; }
.policy-links a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
}
.policy-links li:last-child a { border-bottom: 0; }
.policy-links a > .bi:first-child { color: var(--saffron-dk); font-size: 17px; }
.policy-links a small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.policy-links a:hover { background: #fff4e6; }
.policy-links a.active { background: var(--navy); color: #fff; }
.policy-links a.active small { color: #d5e2f3; }
.policy-links a.active .bi { color: var(--saffron); }

.policy-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--saffron);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px;
}
.policy-block { padding: 18px 0; border-bottom: 1px dashed var(--line); scroll-margin-top: 80px; }
.policy-block:last-child { border-bottom: 0; }
.policy-block h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 8px;
}
.policy-block h2 span {
  flex: none; width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 14px; border-bottom: 3px solid var(--saffron);
}
.policy-block p { margin: 0 0 8px; font-size: 14.5px; color: #33404d; line-height: 1.7; }
.policy-block p:last-child { margin-bottom: 0; }
.policy-block a { color: var(--navy-2); font-weight: 600; }
.policy-list { list-style: none; padding: 0; margin: 6px 0 0; }
.policy-list li { position: relative; padding: 5px 0 5px 26px; font-size: 14px; color: #33404d; }
.policy-list li::before {
  content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 5px;
  color: var(--india-green); font-size: 15px;
}
.policy-list-no li::before { content: "\F623"; color: var(--red); }
.policy-contact { list-style: none; padding: 12px 14px; margin: 8px 0 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.policy-contact li { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; font-weight: 600; word-break: break-word; }
.policy-contact .bi { color: var(--saffron-dk); margin-top: 3px; }
.policy-contact a { color: var(--navy); text-decoration: none; }

@media (max-width: 991.98px) { .policy-side { position: static; } }
@media (max-width: 575.98px) {
  .policy-card { padding: 4px 14px; }
  .policy-block { padding: 14px 0; }
  .policy-block h2 { font-size: 15.5px; gap: 8px; }
  .policy-block h2 span { width: 26px; height: 26px; font-size: 12.5px; }
  .policy-block p, .policy-list li, .policy-contact li { font-size: 13px; }
  .policy-list li { padding-left: 22px; }
}

/* ----- Mobile: Registration button in fixed menu bar ----- */
.main-nav .nav-reg-mobile { width: auto; font-size: 12px; padding: 6px 10px; gap: 5px; margin: 0 8px; flex: 0 1 auto; }
@media (max-width: 359.98px) { .main-nav .nav-reg-mobile { font-size: 11px; padding: 5px 7px; margin: 0 4px; } .main-nav .navbar-brand { font-size: 13px; } }

/* =========================================================
   MESSAGE / THANK-YOU / PAY PAGES
   ========================================================= */
.msg-section { background: var(--bg-alt); }
.msg-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--saffron);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; text-align: center;
}
.msg-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 14px; font-size: 36px;
}
.msg-icon-ok { background: #e7f4ea; color: var(--india-green); }
.msg-icon-err { background: #fdeaea; color: var(--red); }
.msg-icon-info { background: #eef4fb; color: var(--navy-2); }
.msg-card h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 2px; }
.msg-card .msg-en { font-weight: 600; color: var(--saffron-dk); margin-bottom: 10px; }
.msg-card p { color: var(--muted); font-size: 14.5px; }
.msg-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pay-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--navy); color: #fff; padding: 14px 18px; border-bottom: 4px solid var(--saffron);
}
.pay-card-head small { display: block; font-size: 12px; opacity: .8; }
.pay-card-head b { font-family: var(--font-head); font-size: 24px; letter-spacing: .5px; }
.pay-status { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.pay-status.pending { background: #fff3cd; color: #8a6100; }
.pay-status.paid { background: #d1f0da; color: #146c2e; }
.pay-summary th { width: 45%; font-weight: 700; font-size: 13.5px; color: var(--ink); padding: 10px 18px; background: var(--bg-alt); }
.pay-summary th small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.pay-summary td { font-size: 14.5px; padding: 10px 18px; vertical-align: middle; word-break: break-word; }
.pay-summary .pay-amount th, .pay-summary .pay-amount td { background: #f1faf3; }
.pay-summary .pay-amount td { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--green); }
.pay-card-foot { padding: 16px 18px 18px; }
.pay-note { font-size: 13px; background: var(--notice); border: 1px solid #f1dcb4; border-radius: 4px; padding: 8px 12px; }
.pay-note .bi { color: var(--saffron-dk); }
.pay-secure { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 575.98px) {
  .msg-card { padding: 22px 14px; }
  .msg-card h2 { font-size: 18px; }
  .msg-actions .btn { width: 100%; }
  .pay-card-head b { font-size: 20px; }
  .pay-summary th, .pay-summary td { padding: 8px 12px; }
  .pay-summary th { font-size: 12.5px; }
  .pay-summary td { font-size: 13.5px; }
}

.pay-err { font-size: 13px; color: var(--red); background: #fff5f5; border: 1px solid #f3c3c3; border-radius: 4px; padding: 8px 12px; margin: 10px 0 0; }

/* =========================================================
   MY REGISTRATION
   ========================================================= */
.util-myreg { font-weight: 700; }
.myreg-login { padding: 20px 18px; }
.myreg-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.myreg-alert > .bi { font-size: 20px; line-height: 1.2; }
.myreg-alert small { color: var(--muted); }
.myreg-alert-warn { background: #fff8e6; border: 1px solid #f1dcb4; border-left: 5px solid var(--saffron-dk); }
.myreg-alert-warn > .bi { color: var(--saffron-dk); }
.myreg-alert-ok { background: #f1faf3; border: 1px solid #bfe0c7; border-left: 5px solid var(--india-green); }
.myreg-alert-ok > .bi { color: var(--india-green); }
.myreg-side {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron-dk);
  border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); font-weight: 700; font-size: 14px;
}
.myreg-side > .bi:first-child { font-size: 24px; color: var(--saffron-dk); }
.myreg-side small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.myreg-side:hover { border-color: var(--saffron); color: var(--navy); }
#phoneMsg a { font-weight: 700; }

@media print {
  .tricolor, .util-bar, .brand-header .brand-right, .main-nav, .ticker, .page-title, .gov-footer,
  .float-call, .to-top, .pay-card-foot { display: none !important; }
  .msg-section { background: #fff !important; padding: 0 !important; }
  .pay-card { box-shadow: none !important; }
}

/* Channel partner */
.pin-input { letter-spacing: 8px; font-weight: 700; font-size: 18px; }

/* Registration closed button */
.btn-reg-closed { background: #6c757d; color: #fff !important; border: 0; font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: default; white-space: nowrap; }
.btn-reg-closed:hover { background: #6c757d; color: #fff; }
.btn-reg-closed span { font-weight: 500; opacity: .9; }
.btn-reg-closed.w-100 { white-space: normal; line-height: 1.3; }
.main-nav .nav-reg-mobile.btn-reg-closed { width: auto; font-size: 12px; padding: 6px 10px; margin: 0 8px; }
