@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #f26522;
  --orange-dark: #d45a1a;
  --blue: #1a3c6e;
  --blue-light: #2457a4;
  --green: #2e7d32;
  --green-light: #43a047;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #ddd;
  --bg: #f5f5f5;
  --white: #fff;
}

body {
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--orange); }

/* ── TOP BAR ── */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  padding: 5px 0;
  text-align: center;
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.site-logo {
  width: 60px; height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.site-title h1 { font-size: 22px; color: var(--blue); line-height: 1.2; }
.site-title p  { font-size: 13px; color: var(--text-muted); }

/* ── NAV ── */
nav {
  background: var(--blue);
  position: sticky; top: 0; z-index: 100;
}
nav ul { list-style: none; display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
nav ul li a {
  display: block; padding: 12px 18px; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  transition: background .2s;
}
nav ul li a:hover,
nav ul li a.active { background: var(--orange); text-decoration: none; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page-wrap { display: flex; gap: 20px; padding: 20px 16px; max-width: 1200px; margin: 0 auto; }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 280px; flex-shrink: 0; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #2457a4 60%, #1a5276 100%);
  color: #fff; padding: 32px 24px; border-radius: 8px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero h2 { font-size: 22px; margin-bottom: 10px; font-family: 'Noto Serif Devanagari', serif; }
.hero p  { font-size: 14px; line-height: 1.8; opacity: .92; margin-bottom: 14px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn {
  display: inline-block; padding: 9px 18px; border-radius: 5px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.btn-orange { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-orange:hover { background: var(--orange-dark); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--blue); text-decoration: none; }

/* ── QUICK LINKS GRID ── */
.quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.quick-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--orange); border-radius: 6px;
  padding: 14px 12px; text-align: center;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.quick-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); transform: translateY(-2px); }
.quick-card .icon { font-size: 26px; margin-bottom: 6px; }
.quick-card a { font-size: 13px; font-weight: 600; color: var(--blue); display: block; }
.quick-card a:hover { color: var(--orange); text-decoration: none; }

/* ── SECTION CARD ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 20px; overflow: hidden;
}
.card-header {
  background: var(--blue); color: #fff;
  padding: 10px 16px; font-size: 16px; font-weight: 700;
  font-family: 'Noto Serif Devanagari', serif;
}
.card-body { padding: 18px 16px; }

/* ── STEP LIST ── */
.step-list { list-style: none; counter-reset: steps; }
.step-list li {
  counter-increment: steps; padding: 8px 0 8px 38px;
  position: relative; border-bottom: 1px dashed #eee; font-size: 14px;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps); position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── TABLE ── */
.work-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.work-table th {
  background: var(--blue); color: #fff;
  padding: 8px 12px; text-align: left;
}
.work-table td { padding: 7px 12px; border: 1px solid #ddd; }
.work-table tr:nth-child(even) td { background: #f0f4fa; }

/* ── SCHEME LIST ── */
.scheme-list { list-style: none; }
.scheme-list li {
  padding: 7px 0; border-bottom: 1px solid #eee;
  display: flex; align-items: flex-start; gap: 8px; font-size: 14px;
}
.scheme-list li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ── INFO BOXES ── */
.info-box {
  background: #fff8e1; border-left: 4px solid #ffa000;
  padding: 12px 14px; border-radius: 0 6px 6px 0;
  font-size: 14px; margin: 12px 0;
}

/* ── SIDEBAR ── */
.sidebar .card-header { background: var(--green); }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid #eee; }
.sidebar-links li a {
  display: block; padding: 10px 12px; font-size: 13px;
  color: var(--blue); transition: background .15s;
}
.sidebar-links li a:hover { background: #f0f4fa; text-decoration: none; color: var(--orange); }

.doc-list { list-style: none; }
.doc-list li { padding: 7px 0; border-bottom: 1px dashed #eee; font-size: 13px; display: flex; gap: 8px; }
.doc-list li::before { content: '📄'; flex-shrink: 0; }

.helpline-box {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff; padding: 16px; border-radius: 6px; margin-top: 12px;
}
.helpline-box h4 { font-size: 15px; margin-bottom: 8px; }
.helpline-box p  { font-size: 13px; opacity: .9; margin-bottom: 4px; }
.helpline-num { font-size: 22px; font-weight: 700; color: #a5d6a7; }

/* ── ELIGIBILITY BOXES ── */
.elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.elig-item {
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: 6px; padding: 12px; text-align: center; font-size: 14px;
}
.elig-item strong { display: block; font-size: 20px; color: var(--green); }

/* ── STATUS BUTTONS ── */
.status-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.status-btn {
  flex: 1; min-width: 200px; background: var(--blue);
  color: #fff; padding: 12px; border-radius: 6px;
  text-align: center; font-size: 13px; font-weight: 600;
  transition: background .2s; cursor: pointer;
}
.status-btn:hover { background: var(--orange); text-decoration: none; }

/* ── PAGE BANNER (inner pages) ── */
.page-banner {
  background: linear-gradient(135deg, var(--blue), #2457a4);
  color: #fff; padding: 28px 24px; border-radius: 8px; margin-bottom: 20px;
}
.page-banner h2 { font-size: 24px; font-family: 'Noto Serif Devanagari', serif; margin-bottom: 6px; }
.page-banner p  { font-size: 14px; opacity: .85; }

/* ── CONTACT FORM ── */
.contact-form { display: grid; gap: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 5px; font-size: 14px; font-family: inherit;
  transition: border .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue-light); }
.form-group textarea { height: 110px; resize: vertical; }
.btn-submit {
  background: var(--orange); color: #fff; border: none;
  padding: 11px 28px; border-radius: 5px; font-size: 14px;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.btn-submit:hover { background: var(--orange-dark); }

/* ── ABOUT TEAM CARDS ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.team-card {
  background: #f0f4fa; border-radius: 8px; padding: 16px; text-align: center;
  border-top: 3px solid var(--orange);
}
.team-icon { font-size: 32px; margin-bottom: 8px; }
.team-card h4 { font-size: 14px; color: var(--blue); margin-bottom: 4px; }
.team-card p  { font-size: 12px; color: var(--text-muted); }

/* ── PRIVACY SECTIONS ── */
.policy-section { margin-bottom: 22px; }
.policy-section h3 {
  font-size: 16px; color: var(--blue); font-family: 'Noto Serif Devanagari', serif;
  border-left: 4px solid var(--orange); padding-left: 10px; margin-bottom: 10px;
}
.policy-section p, .policy-section li { font-size: 14px; line-height: 1.8; }
.policy-section ul { list-style: disc; padding-left: 22px; }
.policy-section ul li { margin-bottom: 4px; }

/* ── FOOTER ── */
footer {
  background: var(--blue); color: #cdd8ea;
  margin-top: 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  padding: 28px 16px;
}
footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; border-bottom: 2px solid var(--orange); padding-bottom: 6px; }
footer p, footer li { font-size: 13px; line-height: 1.8; }
footer ul { list-style: none; }
footer ul li a { color: #cdd8ea; }
footer ul li a:hover { color: var(--orange); }
.footer-bottom {
  background: #0d1f3c; text-align: center;
  padding: 10px; font-size: 12px; color: #8899aa;
}

@media (max-width: 768px) {
  .page-wrap { flex-direction: column; }
  .sidebar { width: 100%; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .elig-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  header { flex-direction: column; text-align: center; }
}
