/* ============================================================
   Government Scheme Assistant India — style.css
   Design: Clean, Trustworthy, Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --navy:       #0D47A1;
  --navy-dark:  #0a3880;
  --navy-light: #1565C0;
  --saffron:    #E65100;
  --saffron-lt: #FF6F00;
  --green:      #1B5E20;
  --green-lt:   #2E7D32;
  --red:        #B71C1C;
  --purple:     #4A148C;
  --teal:       #006064;
  --bg:         #F5F7FA;
  --bg-card:    #FFFFFF;
  --text:       #1A1A2E;
  --text-muted: #5C6370;
  --border:     #E0E4EC;
  --shadow-sm:  0 2px 8px rgba(13,71,161,.08);
  --shadow-md:  0 4px 20px rgba(13,71,161,.12);
  --shadow-lg:  0 8px 40px rgba(13,71,161,.16);
  --radius:     10px;
  --radius-lg:  16px;
  --font-head:  'Baloo 2', sans-serif;
  --font-body:  'Noto Sans', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
  --nav-h:      64px;
  --transition: .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 7px; }
p { margin-bottom: 14px; color: #2c3050; }

/* ── Typography Scale ── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); color: var(--navy); margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #DDEAFB; }
h3 { font-size: 1.08rem; color: var(--navy-light); margin: 22px 0 8px; }

.hindi-text { font-family: var(--font-hindi); }
body.lang-hi * { font-family: var(--font-hindi); }

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--saffron);
  color: #fff;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 16px;
  letter-spacing: .3px;
}
.announce-bar a { color: #fff; text-decoration: underline; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--saffron);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.nav-logo-text { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.nav-logo-text span { display: block; font-size: .7rem; font-weight: 400; opacity: .8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px 0;
  z-index: 200;
}
.dropdown a {
  color: var(--text) !important;
  font-size: .85rem;
  padding: 9px 18px;
  border-radius: 0;
  background: none !important;
}
.dropdown a:hover { background: #f0f5ff !important; color: var(--navy) !important; }
.dropdown-cat {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 18px 4px;
  display: block;
}

/* Search bar */
.nav-search {
  position: relative;
  flex-shrink: 0;
}
.nav-search input {
  width: 200px;
  padding: 7px 12px 7px 34px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .83rem;
  outline: none;
  transition: all .25s;
  font-family: var(--font-body);
}
.nav-search input::placeholder { color: rgba(255,255,255,.6); }
.nav-search input:focus { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); width: 240px; }
.nav-search .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  pointer-events: none;
}

/* Search results dropdown */
.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 300;
  max-height: 360px;
  overflow-y: auto;
}
.search-results.open { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result-item:hover { background: #f0f5ff; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item .result-icon { font-size: 1.2rem; flex-shrink: 0; }
.search-result-item .result-text strong { display: block; font-size: .88rem; color: var(--navy); }
.search-result-item .result-text span { font-size: .78rem; color: var(--text-muted); }
.search-no-results { padding: 16px; text-align: center; color: var(--text-muted); font-size: .88rem; }

/* Lang toggle */
.lang-toggle {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  font-family: var(--font-body);
}
.lang-toggle:hover { background: rgba(255,255,255,.25); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  border: none;
  background: transparent;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-wrap { max-width: 960px; margin: 0 auto; padding: 40px 20px 60px; }
.page-wrap-wide { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #0D47A1 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 20px 50px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero h1 { color: #fff; font-size: clamp(1.7rem, 5vw, 2.8rem); margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: #FFD54F; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 580px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Disclaimer ribbon inside hero ── */
.hero-disclaimer {
  background: rgba(255,111,0,.15);
  border: 1px solid rgba(255,111,0,.4);
  border-radius: 8px;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  padding: 10px 16px;
  max-width: 620px;
  margin: 28px auto 0;
}
.hero-disclaimer strong { color: #FFD54F; }

/* ── Scheme category stat pills ── */
.stat-strip {
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 20px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; color: #FFD54F; font-size: 1.5rem; font-family: var(--font-head); font-weight: 800; }
.stat-item span { color: rgba(255,255,255,.75); font-size: .78rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: #bf360c; box-shadow: 0 4px 16px rgba(230,81,0,.35); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f0f5ff; }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-official {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition);
  text-decoration: none !important;
}
.btn-official:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 22px; }

/* Scheme cards for homepage */
.scheme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 24px 0; }
.scheme-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none !important;
  color: var(--text);
}
.scheme-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.scheme-card-top {
  height: 7px;
  background: var(--navy);
}
.scheme-card-top.agri   { background: linear-gradient(90deg, #1B5E20, #43A047); }
.scheme-card-top.health { background: linear-gradient(90deg, #B71C1C, #E53935); }
.scheme-card-top.house  { background: linear-gradient(90deg, #BF360C, #F4511E); }
.scheme-card-top.edu    { background: linear-gradient(90deg, #E65100, #FB8C00); }
.scheme-card-top.women  { background: linear-gradient(90deg, #880E4F, #D81B60); }
.scheme-card-top.biz    { background: linear-gradient(90deg, #4A148C, #7B1FA2); }
.scheme-card-top.ins    { background: linear-gradient(90deg, #0277BD, #0288D1); }
.scheme-card-top.emp    { background: linear-gradient(90deg, #37474F, #607D8B); }

.scheme-card-body { padding: 18px 20px 14px; flex: 1; }
.scheme-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.scheme-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 7px; }
.scheme-card-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.scheme-card-footer {
  padding: 12px 20px;
  background: #f8faff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scheme-card-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #E3F2FD;
  color: var(--navy);
}
.scheme-card-arrow { color: var(--navy); font-size: 1rem; }

/* Category filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   PAGE HEADER BANNERS
   ============================================================ */
.page-banner {
  padding: 44px 20px 36px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), #FFD54F, var(--saffron));
}
.page-banner .breadcrumb { font-size: .8rem; opacity: .75; margin-bottom: 10px; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.8); }
.page-banner .breadcrumb span { margin: 0 6px; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto; font-size: .98rem; }

/* Scheme banner variants */
.page-banner.agri   { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.page-banner.health { background: linear-gradient(135deg, #B71C1C, #C62828); }
.page-banner.house  { background: linear-gradient(135deg, #BF360C, #D84315); }
.page-banner.edu    { background: linear-gradient(135deg, #E65100, #EF6C00); }
.page-banner.women  { background: linear-gradient(135deg, #880E4F, #AD1457); }
.page-banner.biz    { background: linear-gradient(135deg, #4A148C, #6A1B9A); }
.page-banner.ins    { background: linear-gradient(135deg, #0277BD, #0288D1); }
.page-banner.emp    { background: linear-gradient(135deg, #37474F, #455A64); }

/* ============================================================
   CONTENT ELEMENTS
   ============================================================ */
.info-box {
  border-radius: 8px;
  padding: 16px 20px;
  margin: 18px 0;
  border-left: 4px solid;
}
.info-box.green  { background: #E8F5E9; border-color: var(--green-lt); }
.info-box.blue   { background: #E3F2FD; border-color: var(--navy); }
.info-box.orange { background: #FFF3E0; border-color: var(--saffron-lt); }
.info-box.red    { background: #FCE4EC; border-color: #C62828; }
.info-box strong { display: block; margin-bottom: 5px; }

.disclaimer-box {
  background: #FFF8E1;
  border: 2px solid #F9A825;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
}
.disclaimer-box h3 { color: #E65100; margin-top: 0; }

.step-list { list-style: none; padding: 0; margin: 16px 0; }
.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content strong { color: var(--navy); font-size: .95rem; display: block; margin-bottom: 3px; }
.step-content p { margin: 0; font-size: .91rem; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; overflow: hidden; border-radius: 8px; }
.data-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-head);
}
.data-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) td { background: #F5F8FF; }
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* FAQ */
.faq-list { margin: 16px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy);
  font-size: .93rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #F8FAFF;
}
.faq-q:hover { background: #EEF4FF; }
.faq-q::after { content: '＋'; font-size: 1.1rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { content: '－'; }
.faq-a {
  padding: 0 18px;
  font-size: .91rem;
  color: #2c3050;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding: 12px 18px 14px; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 2px;
}
.badge-blue   { background: #E3F2FD; color: var(--navy); }
.badge-green  { background: #E8F5E9; color: var(--green); }
.badge-orange { background: #FFF3E0; color: var(--saffron); }
.badge-red    { background: #FCE4EC; color: var(--red); }
.badge-purple { background: #F3E5F5; color: var(--purple); }
.badge-grey   { background: #ECEFF1; color: #455A64; }

/* ============================================================
   FEATURE / INFO SECTIONS
   ============================================================ */
.section-title { text-align: center; margin-bottom: 8px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.section-sub   { text-align: center; color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; font-size: .95rem; }
.section { padding: 48px 20px; }
.section-alt { background: #fff; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h4 { font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* Two-column layout for scheme detail */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar-box h4 { font-family: var(--font-head); color: var(--navy); font-size: .95rem; margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.sidebar-box ul { font-size: .88rem; }

/* Quick facts table in sidebar */
.quick-facts { width: 100%; font-size: .88rem; }
.quick-facts tr { border-bottom: 1px solid var(--border); }
.quick-facts tr:last-child { border-bottom: none; }
.quick-facts td { padding: 8px 6px; vertical-align: top; }
.quick-facts td:first-child { color: var(--text-muted); font-weight: 600; width: 45%; white-space: nowrap; }

/* ============================================================
   SEARCH PAGE (Full)
   ============================================================ */
.search-hero { background: var(--navy); padding: 40px 20px; text-align: center; }
.search-hero h1 { color: #fff; margin-bottom: 20px; }
.search-bar-large {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.search-bar-large input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}
.search-bar-large .s-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ============================================================
   ELIGIBILITY TOOL
   ============================================================ */
.elig-tool {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto 32px;
}
.elig-tool-header { background: var(--navy); color: #fff; padding: 20px 28px; }
.elig-tool-header h3 { color: #fff; margin: 0; }
.elig-tool-body { padding: 28px; }
.elig-question { margin-bottom: 22px; }
.elig-question label { font-weight: 600; display: block; margin-bottom: 8px; font-size: .93rem; }
.elig-question select, .elig-question input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
  background: #fff;
}
.elig-question select:focus, .elig-question input:focus { border-color: var(--navy); }
.elig-result { background: #E8F5E9; border-radius: 8px; padding: 16px 20px; margin-top: 16px; display: none; }
.elig-result.show { display: block; }
.elig-result h4 { color: var(--green); margin-bottom: 10px; }
.elig-scheme-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #A5D6A7;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .82rem;
  margin: 3px;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.elig-scheme-chip:hover { background: var(--green); color: #fff; text-decoration: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-form-wrap, .contact-info-wrap {}
.contact-field { margin-bottom: 18px; }
.contact-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--text); }
.contact-field input, .contact-field textarea, .contact-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
  background: #fff;
  color: var(--text);
}
.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus { border-color: var(--navy); }
.contact-field textarea { min-height: 120px; resize: vertical; }
.helpline-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; font-size: .9rem; }
.helpline-item:last-child { border-bottom: none; }
.helpline-icon { font-size: 1.4rem; flex-shrink: 0; }
.helpline-item strong { display: block; font-size: .88rem; color: var(--navy); }
.helpline-item span { color: var(--text-muted); font-size: .82rem; }

/* ============================================================
   SCHEME LIST PAGE
   ============================================================ */
.scheme-list-row {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px 22px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
  color: var(--text);
  transition: box-shadow .2s, border-color .2s;
}
.scheme-list-row:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.scheme-list-icon { font-size: 2rem; flex-shrink: 0; }
.scheme-list-body { flex: 1; min-width: 0; }
.scheme-list-title { font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.scheme-list-desc { font-size: .85rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scheme-list-row .arrow { color: var(--navy); font-size: 1.2rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: #EEF4FF;
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb-bar a { color: var(--navy); }
.breadcrumb-bar span { margin: 0 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0A1931;
  color: rgba(255,255,255,.75);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; margin: 12px 0 16px; }
.footer-brand .brand-name { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.footer h4 { color: rgba(255,255,255,.9); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: rgba(255,255,255,.6); font-size: .87rem; transition: color var(--transition); }
.footer ul li a:hover { color: #fff; text-decoration: none; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: .8rem;
  text-align: center;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
}
.footer-disclaimer a { color: rgba(255,255,255,.6); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.not-govt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,81,0,.2);
  border: 1px solid rgba(230,81,0,.4);
  border-radius: 20px;
  padding: 4px 14px;
  color: #FFAB40;
  font-size: .75rem;
  font-weight: 700;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  border: none;
  z-index: 500;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--saffron); }

/* ============================================================
   SCHEMA / HIDDEN SEO ELEMENTS
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-search, .lang-toggle { display: none; }
  .nav-toggle { display: flex; }
  .navbar { height: 56px; }
  :root { --nav-h: 56px; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px 20px 24px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.mobile-open .has-dropdown .dropdown {
    display: block;
    position: static;
    background: rgba(255,255,255,.08);
    box-shadow: none;
    border-radius: 8px;
    margin-top: 4px;
    border: none;
  }
  .nav-links.mobile-open .dropdown a { color: rgba(255,255,255,.8) !important; }
  .nav-links.mobile-open .dropdown a:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }
  .nav-links.mobile-open .dropdown-cat { color: rgba(255,255,255,.5); }
  .nav-links.mobile-open .lang-toggle-mobile {
    display: block;
    margin-top: 10px;
  }

  .hero { padding: 44px 16px 36px; }
  .stat-strip { gap: 20px; }
  .scheme-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-wrap, .page-wrap-wide { padding: 24px 16px 44px; }
  .filter-tabs { gap: 6px; }
  .search-results { width: 100%; right: auto; left: -100px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .footer, .back-top, .hero-disclaimer { display: none; }
  body { font-size: 12pt; }
}
