/* ============================================
   VNVJNTDC - Official Portal Stylesheet
   Vasantrao Naik Vimukta Jatis & Nomadic Tribes
   Development Corporation Ltd., Maharashtra
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #003366;
  --primary-dark: #002244;
  --primary-light: #004488;
  --accent: #FF6B00;
  --accent-light: #FF8533;
  --saffron: #FF9933;
  --green-india: #138808;
  --navy: #000080;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --text: #212529;
  --text-light: #495057;
  --border: #DEE2E6;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-md: rgba(0, 0, 0, 0.15);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 140px;
  --nav-height: 48px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Segoe UI', 'Noto Sans Devanagari', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--primary-dark);
  font-weight: 700;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-nav:focus {
  top: 0;
  color: var(--white);
  text-decoration: none;
}

/* --- Top Government Bar --- */
.gov-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 3px solid var(--saffron);
}

.gov-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gov-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gov-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gov-bar a {
  color: var(--light-gray);
  font-size: 12px;
}

.gov-bar a:hover {
  color: var(--white);
  text-decoration: underline;
}

.gov-bar__divider {
  color: var(--medium-gray);
}

.font-size-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.font-size-controls button {
  background: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.font-size-controls button:hover,
.font-size-controls button:focus-visible {
  background: var(--primary-light);
}

.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-switch button {
  background: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--light-gray);
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition);
}

.lang-switch button.active,
.lang-switch button:hover {
  background: var(--saffron);
  color: var(--primary-dark);
  border-color: var(--saffron);
}

/* --- Header --- */
.site-header {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-emblem {
  flex-shrink: 0;
}

.header-emblem img {
  height: 70px;
  width: auto;
}

.header-text {
  flex: 1;
  min-width: 0;
}

.header-text__mr {
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.3;
}

.header-text__en {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

.header-text__sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.header-right {
  flex-shrink: 0;
  text-align: right;
}

.header-right__govt {
  font-size: 11px;
  color: var(--medium-gray);
  margin-bottom: 4px;
}

.header-right img {
  height: 50px;
  width: auto;
}

/* --- Main Navigation --- */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px var(--shadow);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
  text-decoration: none;
  gap: 4px;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.nav-list > li.active > a {
  background: var(--primary-light);
  color: var(--white);
  text-decoration: none;
}

.nav-list > li > a .arrow {
  font-size: 8px;
  transition: transform var(--transition);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: 0 4px 16px var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--transition);
  z-index: 1001;
}

.nav-list > li:hover .nav-dropdown,
.nav-list > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 13px;
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--off-white);
  color: var(--primary);
  padding-left: 22px;
  text-decoration: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- News Ticker --- */
.news-ticker {
  background: #FFF8E1;
  border-bottom: 2px solid var(--saffron);
  overflow: hidden;
  padding: 0;
}

.news-ticker .container {
  display: flex;
  align-items: center;
  gap: 0;
}

.ticker-label {
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-label::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 36px;
}

.ticker-content {
  display: flex;
  align-items: center;
  height: 100%;
  position: absolute;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-content a {
  padding: 0 30px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 500;
}

.ticker-content a:hover {
  color: var(--accent);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Hero / Banner Slider --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: 380px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 40px 0;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-slide .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-content h2 {
  color: var(--saffron);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex-shrink: 0;
  width: 280px;
  text-align: center;
}

.hero-visual img {
  max-height: 260px;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--saffron);
  transform: scale(1.2);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

/* --- Quick Access Cards --- */
.quick-access {
  background: var(--off-white);
  padding: 40px 0;
}

.quick-access__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-md);
  border-color: var(--primary);
  text-decoration: none;
  color: var(--primary);
}

.quick-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  transition: all var(--transition);
}

.quick-card:hover .quick-card__icon {
  background: var(--primary);
  color: var(--white);
}

.quick-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* --- Section Styles --- */
.section {
  padding: 48px 0;
}

.section--alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 26px;
  margin-bottom: 4px;
}

.section-header .sub-mr {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 14px;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--saffron);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Scheme Cards --- */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.scheme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.scheme-card:hover {
  box-shadow: 0 8px 24px var(--shadow-md);
  transform: translateY(-2px);
}

.scheme-card__badge {
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheme-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scheme-card__title {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.scheme-card__title-mr {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.scheme-card__desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.scheme-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.scheme-card__meta-item {
  font-size: 12px;
  color: var(--text-light);
}

.scheme-card__meta-item strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
}

.scheme-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Scheme filter tabs */
.scheme-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- About / Welcome Section --- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.welcome-text h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.welcome-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.welcome-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.stat-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  border-left: 4px solid var(--primary);
}

.stat-box__number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.stat-box__label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Notice Board --- */
.notice-board {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.notice-board__header {
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-board__body {
  max-height: 340px;
  overflow-y: auto;
}

.notice-item {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition);
  text-decoration: none;
  color: var(--text);
}

.notice-item:hover {
  background: var(--off-white);
  text-decoration: none;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item__date {
  font-size: 11px;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.notice-item__tag {
  display: inline-block;
  background: #E3F2FD;
  color: var(--primary);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  margin-left: 6px;
}

.notice-item__tag--new {
  background: #FCE4EC;
  color: #C62828;
}

.notice-item__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* --- Home Two-Column Layout --- */
.home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition);
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question[aria-expanded="true"] {
  background: var(--primary);
  color: var(--white);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
  background: rgba(255,255,255,0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer__inner {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

/* --- Office Directory --- */
.office-search {
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}

.office-search input {
  width: 100%;
  padding: 12px 20px 12px 44px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  transition: border-color var(--transition);
  background: var(--white);
}

.office-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.office-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--medium-gray);
  font-size: 16px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.office-card:hover {
  box-shadow: 0 4px 12px var(--shadow);
}

.office-card__region {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.office-card__name {
  font-size: 16px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.office-card__detail {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.office-card__detail-icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  color: var(--primary);
}

/* --- Contact & Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group label .required {
  color: #C62828;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-control.error {
  border-color: #C62828;
}

.form-error {
  font-size: 12px;
  color: #C62828;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* --- Downloads Table --- */
.downloads-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.downloads-table thead {
  background: var(--primary);
  color: var(--white);
}

.downloads-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.downloads-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--text-light);
}

.downloads-table tbody tr:hover {
  background: var(--off-white);
}

.downloads-table .dl-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
}

.downloads-table .dl-link:hover {
  color: var(--accent);
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--off-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb__list li::after {
  content: '›';
  margin-left: 8px;
  color: var(--medium-gray);
}

.breadcrumb__list li:last-child::after {
  display: none;
}

.breadcrumb__list a {
  color: var(--primary);
}

.breadcrumb__list li:last-child {
  color: var(--text-light);
}

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 36px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 4px;
}

.page-header .sub-mr {
  color: var(--saffron);
  font-size: 18px;
  font-weight: 600;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-top: 8px;
}

/* --- Content Area --- */
.content-area {
  padding: 36px 0;
}

.content-area h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
}

.content-area h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.content-area p {
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.content-area ul, .content-area ol {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.content-area ol {
  list-style: decimal;
}

.content-area li {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Info Box --- */
.info-box {
  background: #E8F5E9;
  border-left: 4px solid var(--green-india);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.info-box--warning {
  background: #FFF3E0;
  border-left-color: var(--accent);
}

.info-box--blue {
  background: #E3F2FD;
  border-left-color: var(--primary);
}

.info-box p {
  margin: 0;
  font-size: 14px;
}

.info-box strong {
  color: var(--text);
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0;
}

.process-step {
  text-align: center;
  padding: 20px 16px;
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 36px;
  font-size: 20px;
  color: var(--medium-gray);
}

.process-step:last-child::after {
  display: none;
}

.process-step__num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 10px;
}

.process-step__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.process-step__desc {
  font-size: 11px;
  color: var(--medium-gray);
  margin-top: 4px;
}

/* --- Document List --- */
.doc-list {
  margin: 16px 0;
  list-style: none !important;
}

.doc-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dashed var(--light-gray);
}

.doc-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: var(--green-india);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col h4 {
  color: var(--saffron);
  font-size: 15px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  display: block;
  padding: 4px 0;
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--saffron);
  padding-left: 6px;
  text-decoration: none;
}

.footer-address {
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--saffron);
}

.footer-bottom__links {
  display: flex;
  gap: 16px;
}

/* --- Tricolor Strip --- */
.tricolor {
  height: 4px;
  background: linear-gradient(to right, #FF9933 33%, #FFFFFF 33%, #FFFFFF 66%, #138808 66%);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* --- Eligibility Table --- */
.eligibility-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.eligibility-table th,
.eligibility-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}

.eligibility-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.eligibility-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.eligibility-table tbody tr:hover {
  background: #E3F2FD;
}

/* --- Application Tracking --- */
.track-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid var(--border);
}

.track-form h3 {
  text-align: center;
  margin-bottom: 20px;
}

.track-result {
  margin-top: 24px;
  display: none;
}

.track-result.visible {
  display: block;
}

.status-timeline {
  padding: 0 0 0 24px;
  border-left: 3px solid var(--primary);
  margin: 20px 0;
}

.status-step {
  position: relative;
  padding: 0 0 24px 20px;
}

.status-step::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--light-gray);
  border-radius: 50%;
  border: 3px solid var(--primary);
}

.status-step.completed::before {
  background: var(--green-india);
  border-color: var(--green-india);
}

.status-step.current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

.status-step__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.status-step__date {
  font-size: 12px;
  color: var(--medium-gray);
}

/* --- Grievance --- */
.grievance-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.grievance-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.grievance-card h4 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 16px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .welcome-grid,
  .contact-grid,
  .grievance-info {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-two-col {
    grid-template-columns: 1fr;
  }

  .hero-slide .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    width: 180px;
    order: -1;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .gov-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .header-right {
    display: none;
  }

  .header-text__en {
    font-size: 15px;
  }

  .header-text__mr {
    font-size: 13px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    box-shadow: 0 8px 16px var(--shadow-md);
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--primary-dark);
    display: none;
  }

  .nav-dropdown.open {
    display: block;
  }

  .nav-dropdown a {
    color: rgba(255,255,255,0.8);
    border-bottom-color: rgba(255,255,255,0.1);
    padding-left: 36px;
  }

  .nav-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--saffron);
    padding-left: 42px;
  }

  .hero-slides {
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .quick-access__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .scheme-grid {
    grid-template-columns: 1fr;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 32px 0;
  }

  .page-header {
    padding: 24px 0;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    max-width: 100%;
  }

  .downloads-table {
    display: block;
    overflow-x: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quick-access__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content p {
    font-size: 13px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* --- Print Styles --- */
@media print {
  .main-nav, .news-ticker, .back-to-top, .gov-bar,
  .hero, .quick-access, .nav-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* --- SVG Icon System --- */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--sm {
  width: 14px;
  height: 14px;
}

.icon--md {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 22px;
  height: 22px;
}

.icon--xl {
  width: 28px;
  height: 28px;
}

.quick-card__icon .icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.ticker-label .icon {
  width: 14px;
  height: 14px;
}

.ticker-label .icon--dot {
  fill: currentColor;
  stroke: none;
  animation: blink 1s infinite;
}

.notice-board__header .icon {
  width: 18px;
  height: 18px;
}

.notice-item__date .icon {
  width: 13px;
  height: 13px;
}

.office-card__detail-icon .icon {
  width: 14px;
  height: 14px;
}

.dl-link .icon {
  width: 14px;
  height: 14px;
}

.back-to-top .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}
