/* ============================================================
   DAOJAMTARA — District Agriculture Office Jamtara
   Complete Government Website Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?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');

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

:root {
  /* Colours */
  --govt-green:      #1a6b2e;
  --govt-green-dk:   #145424;
  --govt-green-lt:   #e8f5eb;
  --govt-orange:     #e67e22;
  --govt-orange-lt:  #fef3e8;
  --govt-blue:       #1a5276;
  --govt-blue-lt:    #eaf0f8;
  --govt-red:        #c0392b;
  --white:           #ffffff;
  --off-white:       #f4f6f4;
  --light-gray:      #e8ebe8;
  --mid-gray:        #9eab9e;
  --dark-gray:       #3d4f3d;
  --text-dark:       #1a2e1a;
  --text-body:       #2d3e2d;
  --text-muted:      #5c7060;
  --border:          #cdd8cd;
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:       0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg:       0 4px 16px rgba(0,0,0,0.14);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  /* Typography */
  --font-body: 'Noto Sans', 'Noto Sans Devanagari', Arial, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Noto Sans', Arial, sans-serif;
  --text-xs: 11px; --text-sm: 12px; --text-base: 14px;
  --text-md: 16px; --text-lg: 18px; --text-xl: 20px;
  --text-2xl: 24px; --text-3xl: 28px;

  --max-w: 1280px;
  --nav-h: 42px;
  --header-h: 90px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-body); background: var(--off-white); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--govt-green); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- UTILITY ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-green { color: var(--govt-green); }
.text-orange { color: var(--govt-orange); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.font-hindi { font-family: var(--font-hindi); }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: var(--sp-2); } .gap-2 { gap: var(--sp-4); }

/* ============================================================
   1. TOP UTILITY BAR
   ============================================================ */
.top-utility-bar {
  background: #1d3a1d;
  color: #cce8cc;
  font-size: var(--text-sm);
  padding: 4px 0;
  border-bottom: 2px solid var(--govt-orange);
}
.top-utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.top-utility-bar .gov-identity { font-weight: 500; color: #e8f5e8; letter-spacing: 0.2px; }
.top-utility-bar .gov-identity span { color: var(--govt-orange); }
.utility-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.utility-links a, .utility-links button {
  color: #cce8cc; font-size: var(--text-sm); background: none; border: none; cursor: pointer;
  padding: 1px 6px; border-radius: 2px; font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}
.utility-links a:hover, .utility-links button:hover { background: rgba(255,255,255,0.12); color: #fff; }
.utility-links .sep { color: #4e7c4e; }
.font-btns { display: flex; gap: 3px; }
.font-btn {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #cce8cc; cursor: pointer; border-radius: 3px; line-height: 1;
  font-family: var(--font-body); padding: 1px 5px; font-size: 10px;
  transition: all 0.2s;
}
.font-btn:hover { background: var(--govt-orange); color: #fff; border-color: var(--govt-orange); }
.lang-toggle {
  display: flex; gap: 4px;
}
.lang-btn {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #cce8cc; cursor: pointer; border-radius: 3px; padding: 2px 8px;
  font-size: var(--text-sm); font-family: var(--font-body); font-weight: 500;
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--govt-orange); color: #fff; border-color: var(--govt-orange); }

/* ============================================================
   2. MAIN HEADER (Branding Row)
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--govt-green);
  padding: 10px 0;
  position: relative; z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

/* Left branding */
.brand-left { display: flex; align-items: center; gap: var(--sp-3); flex: 0 1 auto; min-width: 0; }
.brand-emblem { width: 68px; height: 68px; flex-shrink: 0; }
.brand-emblem svg, .brand-emblem img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-dept-hi { font-family: var(--font-hindi); font-size: 18px; font-weight: 700; color: var(--govt-green-dk); line-height: 1.3; }
.brand-dept-en { font-size: var(--text-sm); font-weight: 500; color: var(--dark-gray); margin-top: 1px; line-height: 1.3; }
.brand-sub { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }

/* Center office plate (now aligned adjacent to Login) */
.brand-center {
  margin-left: auto;
  text-align: right; flex-shrink: 0; padding: 0 var(--sp-4);
  border-left: 1px solid var(--border); border-right: none;
}
.brand-center .office-hi { font-family: var(--font-hindi); font-size: 17px; font-weight: 700; color: var(--govt-green); }
.brand-center .office-en { font-size: var(--text-sm); font-weight: 600; color: var(--govt-blue); margin-top: 2px; }
.brand-center .office-tagline { font-size: var(--text-xs); color: var(--text-muted); margin-top: 4px; font-family: var(--font-hindi); }

/* Right auth */
.brand-right { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.auth-btns { display: flex; gap: var(--sp-2); }
.btn-register {
  display: flex; align-items: center; gap: 5px;
  background: var(--govt-green); color: #fff;
  padding: 7px 14px; border-radius: 4px; font-size: var(--text-sm); font-weight: 600;
  border: 2px solid var(--govt-green); transition: all 0.2s; white-space: nowrap;
}
.btn-register:hover { background: var(--govt-green-dk); border-color: var(--govt-green-dk); color: #fff; }
.btn-login {
  display: flex; align-items: center; gap: 5px;
  background: var(--govt-orange); color: #fff;
  padding: 7px 14px; border-radius: 4px; font-size: var(--text-sm); font-weight: 600;
  border: 2px solid var(--govt-orange); transition: all 0.2s; white-space: nowrap;
}
.btn-login:hover { background: #c0671a; border-color: #c0671a; color: #fff; }
.btn-icon { font-size: 14px; }

/* ============================================================
   3. PRIMARY NAVIGATION
   ============================================================ */
.primary-nav {
  background: var(--govt-green);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Nav inner */
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; }
.nav-links { display: flex; align-items: stretch; flex: 1; }
.nav-links li { position: relative; }
.nav-links a {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 600;
  padding: 0 14px; height: var(--nav-h); white-space: nowrap;
  transition: background 0.2s, color 0.2s; letter-spacing: 0.2px;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links li.active > a { background: rgba(255,255,255,0.14); color: #fff; }
.nav-links li.active > a { border-bottom: 3px solid var(--govt-orange); }
.nav-home-icon { display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.nav-home-icon a { color: #fff; font-size: 16px; }
.nav-home-icon a:hover, .nav-home-icon.active a { background: rgba(255,255,255,0.14); }
.nav-arrow { font-size: 8px; margin-left: 2px; }

/* Dropdown */
.nav-links li:hover .nav-dropdown { display: block; }
.nav-dropdown {
  display: none; position: absolute; top: var(--nav-h); left: 0;
  background: #fff; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--govt-orange); min-width: 200px; z-index: 2000;
  border-radius: 0 0 4px 4px;
}
.nav-dropdown li a {
  color: var(--text-body); font-size: var(--text-sm); padding: 9px 16px;
  height: auto; display: block; text-transform: none; font-weight: 500;
  border-bottom: 1px solid var(--light-gray); letter-spacing: 0;
}
.nav-dropdown li a:hover { background: var(--govt-green-lt); color: var(--govt-green); }

/* Nav Search */
.nav-search { display: flex; align-items: center; padding: 4px 8px; }
.nav-search-form { display: flex; }
.nav-search-input {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 4px 10px; font-size: var(--text-sm); border-radius: 3px 0 0 3px;
  outline: none; width: 150px; font-family: var(--font-body);
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.6); }
.nav-search-input:focus { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
.nav-search-btn {
  background: var(--govt-orange); border: 1px solid var(--govt-orange);
  color: #fff; padding: 4px 10px; cursor: pointer; border-radius: 0 3px 3px 0;
  font-size: 13px; transition: background 0.2s;
}
.nav-search-btn:hover { background: #c0671a; }

/* Mobile menu toggle */
.nav-toggle { display: none; background: rgba(255,255,255,0.12); border: none; color: #fff; padding: 8px 12px; cursor: pointer; font-size: 18px; }

/* ============================================================
   4. HERO SECTION (Carousel + Notifications side panel)
   ============================================================ */
.hero-section { display: grid; grid-template-columns: 1fr 340px; gap: 0; background: #fff; }

/* Carousel */
.carousel-wrap { position: relative; overflow: hidden; background: #000; min-height: 420px; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); height: 100%; }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 420px; object-fit: cover; display: block; }
.carousel-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,40,10,0.82) 0%, rgba(15,40,10,0.3) 60%, transparent 100%);
  padding: 32px 32px 24px;
}
.carousel-text-hi { font-family: var(--font-hindi); font-size: 28px; font-weight: 700; color: #fff; line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.carousel-text-sub { font-size: var(--text-sm); color: rgba(255,255,255,0.88); margin-top: 6px; font-family: var(--font-hindi); }
.carousel-controls { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 12px; pointer-events: none; }
.carousel-btn {
  pointer-events: all; background: rgba(255,255,255,0.22); border: 2px solid rgba(255,255,255,0.5);
  color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: var(--govt-green); border-color: var(--govt-green); }
.carousel-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; border: none; }
.carousel-dot.active { background: var(--govt-orange); }

/* Notification Panel */
.notif-panel { background: #fff; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.notif-panel-header {
  background: var(--govt-green); color: #fff; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.notif-panel-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.notif-bell { font-size: 16px; animation: bell-ring 2s infinite; }
@keyframes bell-ring { 0%,100%{transform:rotate(0)} 10%,30%{transform:rotate(-12deg)} 20%,40%{transform:rotate(12deg)} 50%{transform:rotate(0)} }
.notif-panel-title-en { font-size: var(--text-xs); color: rgba(255,255,255,0.75); font-weight: 400; }
.notif-view-all { font-size: var(--text-xs); color: rgba(255,255,255,0.88); white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.notif-view-all:hover { color: var(--govt-orange); }

.notif-list { flex: 1; overflow-y: auto; }
.notif-item {
  display: flex; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid var(--light-gray); transition: background 0.2s;
  text-decoration: none; color: inherit;
}
.notif-item:hover { background: var(--govt-green-lt); }
.notif-date { flex-shrink: 0; text-align: center; min-width: 44px; }
.notif-date .day { font-size: 18px; font-weight: 700; color: var(--govt-green); line-height: 1; }
.notif-date .month { font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.notif-date .year { font-size: 9px; color: var(--text-muted); }
.notif-body { flex: 1; min-width: 0; }
.notif-title-text { font-size: 12.5px; color: var(--text-body); line-height: 1.45; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-badge { flex-shrink: 0; margin-top: 2px; }
.badge-new {
  background: var(--govt-red); color: #fff; font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px;
  animation: pulse-new 1.5s infinite;
}
@keyframes pulse-new { 0%,100%{opacity:1} 50%{opacity:0.6} }
.notif-view-all-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 14px; font-size: var(--text-sm); font-weight: 600;
  color: var(--govt-green); border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.notif-view-all-link:hover { background: var(--govt-green-lt); }

/* ============================================================
   5. LATEST NOTIFICATION TICKER (below hero)
   ============================================================ */
.ticker-bar {
  background: var(--govt-green-lt); border-top: 2px solid var(--govt-green); border-bottom: 2px solid var(--govt-green);
  padding: 8px 0; overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-label {
  background: var(--govt-green); color: #fff; font-size: var(--text-sm); font-weight: 700;
  padding: 4px 16px; white-space: nowrap; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px;
  border-right: 3px solid var(--govt-orange); margin-right: 12px;
}
.ticker-content { flex: 1; overflow: hidden; position: relative; height: 22px; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 32px; font-size: var(--text-sm); color: var(--text-body); }
.ticker-item .ti-date { color: var(--govt-green); font-weight: 600; font-size: var(--text-xs); }
.ticker-item .ti-sep { color: var(--border); }
.ticker-pause-btn {
  background: var(--govt-green); color: #fff; border: none; padding: 2px 10px;
  font-size: 11px; cursor: pointer; flex-shrink: 0; margin-left: 10px;
  border-radius: 3px; transition: background 0.2s;
}
.ticker-pause-btn:hover { background: var(--govt-green-dk); }

/* ============================================================
   6. DEPT QUICK LINKS (Icon cards row)
   ============================================================ */
.dept-quicklinks { background: #fff; border-bottom: 1px solid var(--border); padding: var(--sp-4) 0; }
.dept-links-grid { display: flex; align-items: stretch; gap: 0; }
.dept-link-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 14px var(--sp-3); text-align: center; text-decoration: none;
  border-right: 1px solid var(--border); transition: background 0.2s;
  cursor: pointer;
}
.dept-link-card:last-child { border-right: none; }
.dept-link-card:hover { background: var(--govt-green-lt); }
.dept-link-icon { width: 44px; height: 44px; object-fit: contain; }
.dept-link-icon-svg { font-size: 36px; }
.dept-link-hi { font-family: var(--font-hindi); font-size: 13px; font-weight: 700; color: var(--govt-green-dk); line-height: 1.3; }
.dept-link-en { font-size: 10px; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   7. MAIN CONTENT GRID
   ============================================================ */
.main-content { padding: var(--sp-5) 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: var(--sp-4); }
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-5 { grid-column: span 5; }

/* Section Boxes */
.section-box { background: #fff; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.section-box-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: var(--govt-green-lt);
  border-bottom: 2px solid var(--govt-green);
}
.section-box-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--govt-green-dk); }
.section-box-title .icon { font-size: 16px; }
.section-box-title-en { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.section-more { font-size: var(--text-xs); font-weight: 600; color: var(--govt-green); display: flex; align-items: center; gap: 3px; }
.section-more:hover { color: var(--govt-orange); }
.section-box-body { padding: 12px 14px; }

/* About Box */
.about-img { width: 100%; height: 120px; object-fit: cover; border-radius: 2px; margin-bottom: 10px; }
.about-text { font-size: 12.5px; color: var(--text-body); line-height: 1.6; }
.btn-more {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--govt-green); color: #fff; padding: 5px 14px;
  border-radius: 3px; font-size: var(--text-sm); font-weight: 600; margin-top: 10px;
  transition: background 0.2s;
}
.btn-more:hover { background: var(--govt-green-dk); color: #fff; }

/* Dept Allied Units */
.dept-unit-list { padding: 0; }
.dept-unit-item { border-bottom: 1px solid var(--light-gray); }
.dept-unit-item:last-child { border-bottom: none; }
.dept-unit-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 12.5px; color: var(--text-body);
  transition: color 0.2s;
}
.dept-unit-link:hover { color: var(--govt-green); }
.dept-unit-left { display: flex; align-items: center; gap: 8px; }
.dept-unit-icon { font-size: 18px; }
.dept-unit-name { font-weight: 600; }
.dept-unit-sub { font-size: 11px; color: var(--text-muted); }
.dept-unit-arrow { color: var(--govt-green); font-size: 11px; }

/* Schemes */
.scheme-list { padding: 0; }
.scheme-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--light-gray); }
.scheme-item:last-child { border-bottom: none; }
.scheme-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--govt-orange); flex-shrink: 0; margin-top: 6px; }
.scheme-link { font-size: 12.5px; color: var(--text-body); line-height: 1.45; font-weight: 500; }
.scheme-link:hover { color: var(--govt-green); }
.btn-all { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; background: var(--govt-green); color: #fff; padding: 6px 14px; border-radius: 3px; font-size: var(--text-sm); font-weight: 600; transition: background 0.2s; }
.btn-all:hover { background: var(--govt-green-dk); color: #fff; }

/* Reports */
.report-list { padding: 0; }
.report-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--light-gray); }
.report-item:last-child { border-bottom: none; }
.report-icon { font-size: 18px; flex-shrink: 0; color: var(--govt-red); }
.report-link { font-size: 12.5px; color: var(--text-body); font-weight: 500; line-height: 1.4; }
.report-link:hover { color: var(--govt-green); }
.report-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Media Gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery-thumb { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4/3; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-thumb:hover img { transform: scale(1.07); }
.gallery-more { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; font-size: var(--text-sm); font-weight: 600; color: var(--govt-green); }
.gallery-more:hover { color: var(--govt-orange); }

/* ============================================================
   8. IMPORTANT LINKS ROW
   ============================================================ */
.imp-links-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--sp-3) 0; }
.imp-links-inner { display: flex; align-items: center; gap: var(--sp-4); }
.imp-links-label { background: var(--govt-green); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; white-space: nowrap; border-radius: 2px; flex-shrink: 0; }
.imp-links-label .label-en { font-size: 10px; font-weight: 400; display: block; color: rgba(255,255,255,0.8); }
.imp-links-scroll { display: flex; gap: var(--sp-4); align-items: center; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; flex: 1; }
.imp-links-scroll::-webkit-scrollbar { display: none; }
.imp-link-item { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; text-align: center; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; }
.imp-link-item:hover { background: var(--govt-green-lt); }
.imp-link-logo { width: 36px; height: 36px; object-fit: contain; }
.imp-link-logo-placeholder { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.imp-link-name { font-size: 10px; color: var(--text-body); font-weight: 600; max-width: 70px; line-height: 1.2; text-align: center; }

/* ============================================================
   9. HELP & CONTACT WIDGET
   ============================================================ */
.help-widget { background: var(--govt-blue); color: #fff; border-radius: 2px; padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; gap: var(--sp-4); }
.help-icon { font-size: 36px; flex-shrink: 0; }
.help-text { flex: 1; }
.help-title { font-size: 15px; font-weight: 700; }
.help-sub { font-size: var(--text-sm); color: rgba(255,255,255,0.82); margin-top: 2px; }
.help-arrow { font-size: 18px; color: rgba(255,255,255,0.6); }

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer { background: #1a2e1a; color: #c8dbc8; padding: var(--sp-5) 0 0; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-5); border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-brand { display: flex; gap: var(--sp-3); }
.footer-emblem { width: 60px; height: 60px; flex-shrink: 0; }
.footer-brand-text .dept-name { font-family: var(--font-hindi); font-size: 15px; font-weight: 700; color: #e8f5e8; line-height: 1.3; }
.footer-brand-text .dept-name-en { font-size: var(--text-sm); color: rgba(255,255,255,0.7); margin-top: 3px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
.footer-contact-icon { flex-shrink: 0; color: var(--govt-orange); font-size: 14px; margin-top: 1px; }

.footer-col-title { font-size: 13px; font-weight: 700; color: #e8f5e8; padding-bottom: 8px; border-bottom: 2px solid var(--govt-orange); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 12.5px; color: rgba(255,255,255,0.72); transition: color 0.2s; display: flex; align-items: center; gap: 5px; }
.footer-links a::before { content: '›'; color: var(--govt-orange); font-weight: 700; }
.footer-links a:hover { color: #fff; }

.social-links { display: flex; gap: 8px; margin-top: 10px; }
.social-btn { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); color: #fff; font-size: 13px; transition: background 0.2s; }
.social-btn:hover { background: var(--govt-orange); color: #fff; }

.footer-bottom { background: #0f1f0f; padding: 10px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); font-size: 11px; color: rgba(255,255,255,0.55); flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: 12px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.9); }
.digital-india-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); padding: 4px 12px; border-radius: 4px; }
.digital-india-icon { font-size: 20px; }
.digital-india-text { font-size: 10px; color: rgba(255,255,255,0.7); line-height: 1.3; font-weight: 600; }

/* ============================================================
   INNER PAGES — Shared
   ============================================================ */
.page-breadcrumb { background: var(--govt-green-lt); border-bottom: 1px solid var(--border); padding: 8px 0; }
.breadcrumb-list { display: flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--text-muted); }
.breadcrumb-list a { color: var(--govt-green); font-weight: 500; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-body); font-weight: 600; }

.page-hero { background: linear-gradient(135deg, var(--govt-green-dk) 0%, var(--govt-green) 100%); color: #fff; padding: var(--sp-5) 0; }
.page-hero h1 { font-family: var(--font-hindi); font-size: 24px; font-weight: 700; }
.page-hero p { font-size: var(--text-sm); color: rgba(255,255,255,0.85); margin-top: 4px; }

.page-body { padding: var(--sp-6) 0; }
.page-grid { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-5); }

/* Sidebar */
.page-sidebar { }
.sidebar-nav { background: #fff; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.sidebar-nav-header { background: var(--govt-green); color: #fff; padding: 10px 14px; font-weight: 700; font-size: 13px; }
.sidebar-nav-links a {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  font-size: var(--text-sm); color: var(--text-body); border-bottom: 1px solid var(--light-gray);
  transition: all 0.2s;
}
.sidebar-nav-links a:hover, .sidebar-nav-links a.active { background: var(--govt-green-lt); color: var(--govt-green); padding-left: 20px; }
.sidebar-nav-links a.active { font-weight: 600; border-left: 3px solid var(--govt-green); }

/* Content area */
.content-card { background: #fff; border: 1px solid var(--border); border-radius: 2px; padding: var(--sp-5); margin-bottom: var(--sp-4); }
.content-card h2 { font-size: var(--text-xl); font-weight: 700; color: var(--govt-green-dk); margin-bottom: var(--sp-3); padding-bottom: 8px; border-bottom: 2px solid var(--govt-green-lt); }
.content-card h3 { font-size: var(--text-lg); font-weight: 600; color: var(--govt-green); margin: var(--sp-4) 0 var(--sp-2); }
.content-card p { font-size: var(--text-sm); line-height: 1.7; color: var(--text-body); margin-bottom: var(--sp-3); }
.content-card ul { margin: var(--sp-2) 0 var(--sp-3) var(--sp-4); }
.content-card ul li { font-size: var(--text-sm); line-height: 1.7; color: var(--text-body); list-style: disc; margin-bottom: 4px; }

/* Tables */
.govt-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.govt-table thead tr { background: var(--govt-green); color: #fff; }
.govt-table th { padding: 10px 12px; text-align: left; font-weight: 600; }
.govt-table td { padding: 9px 12px; border-bottom: 1px solid var(--light-gray); }
.govt-table tbody tr:hover { background: var(--govt-green-lt); }
.govt-table tbody tr:nth-child(even) { background: #f9fbf9; }
.govt-table tbody tr:nth-child(even):hover { background: var(--govt-green-lt); }

/* Scheme Cards */
.scheme-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.scheme-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: var(--sp-4); border-top: 3px solid var(--govt-green); transition: box-shadow 0.2s; }
.scheme-card:hover { box-shadow: var(--shadow-md); }
.scheme-card-icon { font-size: 28px; margin-bottom: 8px; }
.scheme-card-name { font-size: var(--text-md); font-weight: 700; color: var(--govt-green-dk); margin-bottom: 6px; font-family: var(--font-hindi); }
.scheme-card-name-en { font-size: var(--text-sm); font-weight: 600; color: var(--govt-green); margin-bottom: 8px; }
.scheme-card-desc { font-size: 12.5px; color: var(--text-body); line-height: 1.55; margin-bottom: 10px; }
.scheme-card-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.scheme-card-tag { background: var(--govt-green-lt); color: var(--govt-green); padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 600; }

/* Notification Page */
.notif-filter-bar { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.notif-filter-btn {
  padding: 6px 14px; border-radius: 3px; font-size: var(--text-sm); font-weight: 500;
  border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--text-body); transition: all 0.2s;
}
.notif-filter-btn.active, .notif-filter-btn:hover { background: var(--govt-green); color: #fff; border-color: var(--govt-green); }
.notif-page-item { background: #fff; border: 1px solid var(--border); border-radius: 2px; padding: 14px; margin-bottom: 8px; display: flex; gap: var(--sp-3); align-items: flex-start; transition: box-shadow 0.2s; }
.notif-page-item:hover { box-shadow: var(--shadow-sm); }
.notif-page-date-box { background: var(--govt-green); color: #fff; padding: 8px 10px; border-radius: 3px; text-align: center; min-width: 52px; flex-shrink: 0; }
.notif-page-day { font-size: 20px; font-weight: 700; line-height: 1; }
.notif-page-month { font-size: 9px; text-transform: uppercase; font-weight: 600; }
.notif-page-body { flex: 1; }
.notif-page-title { font-size: 14px; font-weight: 600; color: var(--text-body); margin-bottom: 5px; }
.notif-page-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.notif-page-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.notif-page-link { font-size: var(--text-sm); font-weight: 600; color: var(--govt-green); }
.notif-page-link:hover { color: var(--govt-orange); }
.badge-category { background: var(--govt-blue-lt); color: var(--govt-blue); padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 600; }

/* Gallery Page */
.gallery-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.gallery-page-item { border-radius: 3px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: box-shadow 0.2s; }
.gallery-page-item:hover { box-shadow: var(--shadow-md); }
.gallery-page-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-page-item:hover .gallery-page-img { transform: scale(1.05); }
.gallery-page-caption { padding: 8px; font-size: var(--text-xs); color: var(--text-muted); text-align: center; background: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.contact-info-item { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.contact-icon-box { width: 44px; height: 44px; background: var(--govt-green-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--govt-green); font-size: 18px; }
.contact-info-label { font-size: var(--text-sm); font-weight: 600; color: var(--govt-green-dk); margin-bottom: 2px; }
.contact-info-value { font-size: var(--text-sm); color: var(--text-body); }
.map-placeholder { background: var(--govt-green-lt); border: 2px dashed var(--govt-green); height: 260px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-direction: column; gap: 8px; }
.map-placeholder-icon { font-size: 48px; color: var(--govt-green); }
.map-placeholder-text { font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; }

/* Registration & Login Forms */
.form-page { min-height: calc(100vh - 200px); background: var(--off-white); display: flex; align-items: center; justify-content: center; padding: var(--sp-6) var(--sp-4); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow-lg); max-width: 560px; width: 100%; }
.form-card-header { background: var(--govt-green); color: #fff; padding: var(--sp-5); border-radius: 4px 4px 0 0; }
.form-card-header h1 { font-size: var(--text-xl); font-weight: 700; }
.form-card-header p { font-size: var(--text-sm); color: rgba(255,255,255,0.8); margin-top: 4px; }
.form-card-body { padding: var(--sp-5); }
.form-group { margin-bottom: var(--sp-4); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--dark-gray); margin-bottom: 5px; }
.form-label .required { color: var(--govt-red); }
.form-control {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 4px;
  font-size: var(--text-base); font-family: var(--font-body); color: var(--text-body);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-control:focus { border-color: var(--govt-green); box-shadow: 0 0 0 3px rgba(26,107,46,0.12); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c7060' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.btn-submit {
  width: 100%; padding: 10px; background: var(--govt-green); color: #fff;
  border: none; border-radius: 4px; font-size: var(--text-md); font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: background 0.2s; margin-top: var(--sp-2);
}
.btn-submit:hover { background: var(--govt-green-dk); }
.form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--light-gray); }
.form-note a { color: var(--govt-green); font-weight: 600; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: var(--sp-4) 0; color: var(--text-muted); font-size: var(--text-sm); }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-section { grid-template-columns: 1fr 300px; }
  .content-grid { grid-template-columns: repeat(3, 1fr); }
  .col-span-5 { grid-column: span 3; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-section { grid-template-columns: 1fr; }
  .notif-panel { max-height: 260px; flex-direction: row; flex-wrap: wrap; }
  .notif-panel { display: none; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .col-span-2, .col-span-3, .col-span-5 { grid-column: span 2; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .brand-center { display: none; }
  .scheme-cards { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--govt-green-dk); z-index: 3000; box-shadow: var(--shadow-lg); }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links a { height: auto; padding: 12px 16px; }
  .nav-dropdown { display: none !important; }
  .nav-toggle { display: flex; }
  .nav-search { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .col-span-1, .col-span-2, .col-span-3, .col-span-5 { grid-column: span 1; }
  .gallery-page-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .top-utility-bar .gov-identity { font-size: 10px; }
  .brand-dept-hi { font-size: 15px; }
  .auth-btns { flex-direction: column; gap: var(--sp-1); }
  .btn-register, .btn-login { padding: 5px 10px; font-size: 11px; }
  .carousel-slide img { height: 260px; }
  .carousel-overlay { padding: 16px; }
  .carousel-text-hi { font-size: 20px; }
  .dept-links-grid { flex-wrap: wrap; }
  .dept-link-card { min-width: calc(33.33% - 8px); }
  .imp-links-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ACCESSIBILITY & FOCUS
   ============================================================ */
:focus-visible { outline: 3px solid var(--govt-orange); outline-offset: 2px; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--govt-green); color: #fff; padding: 8px 16px; font-weight: 700; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* Print */
@media print {
  .primary-nav, .ticker-bar, .carousel-controls, .dept-quicklinks, .imp-links-section, .site-footer { display: none; }
}
