/* ---------- PREMIUM NIC FRAMEWORK ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex; flex-direction: column; min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0f2a4a; letter-spacing: -0.02em;}
a { text-decoration: none !important; }

:root {
  --maxw: 96%;
  --primary: #1e1b4b;
  --primary-dark: #312e81;
  --primary-light: #4f46e5;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --border: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --shadow-sm: 0 4px 12px -2px rgba(37, 99, 235, 0.08), 0 2px 6px -2px rgba(37, 99, 235, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 24px 45px -5px rgba(37, 99, 235, 0.16);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* TOP BAR */
.nic-top-bar { background-color: #020617; color: #f8fafc; font-size: 11px; padding: 6px 0; letter-spacing: 0.5px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nic-top-container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; }
.nic-top-left a { color: #cbd5e1; text-transform: uppercase; font-weight: 500; text-decoration: none; }
.nic-top-left a:hover { color: #fff; text-decoration: underline; }
.nic-top-left .divider { margin: 0 12px; color: #475569; }
.nic-top-right { display: flex; align-items: center; gap: 16px; }
.text-size button { background: none; border: 1px solid #475569; border-radius: 4px; color: #fff; cursor: pointer; padding: 2px 8px; margin-left: 4px; transition: 0.2s;}
.text-size button:hover { background: #1e293b; border-color: #94a3b8; }
.theme-switch button { background: none; border: none; color: #facc15; font-size: 16px; cursor: pointer; padding: 0 4px; }
.language-switch select { background: #0f172a; color: #f8fafc; border: 1px solid #334155; border-radius: 4px; font-size: 11px; padding: 4px 8px; outline: none; cursor:pointer;}

/* GOOGLE TRANSLATE FIXES */
#google_translate_element select { background: #0f172a; color: #f8fafc; border: 1px solid #334155; border-radius: 4px; font-size: 11px; padding: 4px 8px; outline: none; cursor:pointer;}
.goog-te-gadget { color: transparent !important; font-size: 0 !important; }
.goog-te-gadget .goog-te-combo { margin: 0; }
body { top: 0 !important; } 
.skiptranslate iframe.goog-te-banner-frame { display: none !important; }

/* HEADER */
.nic-header { background: #ffffff; padding: 20px 0; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-md); border-top: none; transition: var(--transition); }
.nic-header-container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; }
.nic-logo-left { display: flex; align-items: center; gap: 20px; }
.nic-logo-left .emblem { height: 75px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05)); }
.nic-titles h1 { font-size: 24px; font-weight: 800; color: var(--primary); margin: 0 0 2px 0; letter-spacing: -0.02em; }
.nic-titles h2 { font-size: 15px; font-weight: 600; color: var(--text-main); margin: 0 0 4px 0; }
.nic-titles p { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.nic-logo-right { display: flex; align-items: center; gap: 20px; }
.nic-logo-right img { height: 50px; object-fit: contain; }

/* NAV */
nav.main-nav { background: var(--primary); border-bottom: 4px solid var(--primary-dark); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; display: flex; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link { color: #f8fafc; font-weight: 600; font-size: 14px; padding: 16px 20px; display: block; cursor: pointer; border-right: 1px solid rgba(255,255,255,0.08); transition: var(--transition); text-transform:uppercase;}
.nav-item:first-child .nav-link { border-left: 1px solid rgba(255,255,255,0.08); }
.nav-item:hover .nav-link { background: var(--primary-light); color: #fff; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 240px; border-radius: 0 0 8px 8px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 100; overflow: hidden; }
.dropdown a { display: block; padding: 12px 16px; color: var(--text-main); font-size: 14px; font-weight: 500; border-bottom: 1px solid #f1f5f9; transition: var(--transition); }
.dropdown a:hover { background: var(--accent-light); color: var(--accent); padding-left: 24px; border-left: 3px solid var(--accent); }
.nav-item:hover .dropdown { display: block; }

/* TICKER */
.ticker-wrap { background: #fff7ed; border-bottom: 1px solid #ffedd5; color: #c2410c; padding: 8px 0; box-shadow: inset 0 -1px 0 #fad5ba; }
.ticker-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; }
.ticker-viewport { position: relative; flex: 1; overflow: hidden; height: 18px; }
.ticker-text { display: inline-block; white-space: nowrap; padding-left: 100%; animation: tickerScroll 30s linear infinite; }
@keyframes tickerScroll { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/* MAIN LAYOUT */
main.page, main.dl-page { max-width: var(--maxw); margin: 32px auto; padding: 0 16px; width: 100%; display: flex; flex-direction: column; gap: 32px; flex: 1; }

/* HERO */
.hero { background: #ffffff; border-radius: var(--radius-lg); border-left: 6px solid var(--accent); padding: 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.hero::before { content:''; position: absolute; top:0; right:0; width:300px; height:100%; background: linear-gradient(90deg, transparent, var(--accent-light)); opacity: 0.5; pointer-events: none;}
.hero-left h2 { font-size: 26px; margin-bottom: 12px; color: var(--primary); font-weight: 800;}
.hero-left p { color: var(--text-muted); font-size: 15px; line-height: 1.7; font-weight: 400;}
.seo-hero { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* SERVICES GRID */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.service-link { display: block; text-decoration: none; color: inherit; border-radius: 6px; }
.service-card {
  background: var(--card-bg); border-radius: 6px; border: 1px solid var(--border);
  padding: 24px 12px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; color: var(--primary); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer;
}
.service-card::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:3px; background:var(--accent); transform:scaleX(0); transform-origin:bottom left; transition:transform 0.3s; }
.service-card:hover::after { transform:scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(15,42,74,0.1); }
.service-card img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(15,42,74,0.06)); transition: transform 0.3s; }
.service-card:hover img { transform: scale(1.1); }
.service-card span { font-weight: 700; font-size: 13px; font-family: 'Montserrat', sans-serif; letter-spacing: -0.01em; line-height:1.2; text-transform: uppercase; }
.service-card .service-sub { display: none !important; }

/* PANELS */
.panel { background: var(--card-bg); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; box-shadow: var(--shadow-sm); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #f1f5f9; }
.section-head h3 { font-size: 20px; color: var(--primary); font-weight: 800; display:flex; align-items:center; gap:10px; margin:0;}
.section-head h3::before { content:''; width:4px; height:20px; background:var(--accent); border-radius:4px; }
.see-all-btn { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; background: #f1f5f9; padding: 8px 16px; border-radius: 999px; transition: var(--transition); border: 1px solid var(--border);}
.see-all-btn:hover { background: var(--primary); color: #fff; border-color:var(--primary); }

/* NOTICES */
.notice-list { display: flex; flex-direction: column; gap: 12px; }
.notice { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius-md); background: #f8fafc; border: 1px solid var(--border); transition: var(--transition); position:relative; overflow:hidden;}
.notice::before { content:''; position:absolute; left:0; top:0; height:100%; width:4px; background:var(--accent); }
.notice:hover { background: #fff; box-shadow: var(--shadow-sm); border-color:#cbd5e1; transform:translateX(4px);}
.notice .title { font-weight: 700; color: var(--primary); font-size: 15px; margin-bottom: 6px; }
.notice .meta { font-size: 12px; color: var(--text-muted); font-weight:500;}
.notice .open-btn { background: #fff; color: var(--primary); padding: 6px 16px; border-radius: var(--radius-md); border: 2px solid var(--primary-light); cursor: pointer; font-weight: 700; font-size: 13px; transition: var(--transition); }
.notice .open-btn:hover { background: var(--primary); color: #fff; border-color:var(--primary);}

/* FORMS GRID */
.forms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.form-item { padding: 16px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: var(--transition); box-shadow: var(--shadow-sm);}
.form-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-2px);}
.form-item .name { font-weight: 700; color: var(--text-main); font-size: 14px; margin-bottom: 4px; }
.form-item .meta { font-size: 12px; color: #94a3b8; font-weight: 500;}
.form-item .btn { background: #f1f5f9; color: var(--primary); padding: 8px 12px; border-radius: 6px; border: none; cursor: pointer; font-weight: 700; font-size: 12px; transition: var(--transition); }
.form-item .btn:hover { background: var(--primary); color: #fff; }

/* QUICK ACTIONS */
.action-grid-8 { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.action-box { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; cursor: pointer; transition: var(--transition); box-shadow: 0 2px 4px rgba(0,0,0,0.02);}
.action-box:hover { border-color: var(--primary-light); background: #ffffff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ab-icon { font-size: 28px; background: var(--accent-light); width: 56px; height: 56px; display:flex; align-items:center; justify-content:center; border-radius: 8px; }
.ab-text { font-size: 13px; font-weight: 600; color: var(--text-main); line-height: 1.4; }

/* NIC TOOLS */
.nic-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.nic-grid-4 a { display: block; text-decoration: none; color: inherit; border-radius: 6px; }
.nic-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: var(--transition);}
.nic-card:hover { border-color: var(--primary-light); transform:translateY(-8px); box-shadow: var(--shadow-lg);}
.nic-card img { width: 56px; height: 56px; object-fit: contain; }
.nic-card span { font-weight: 700; color: var(--primary); font-size: 14px; text-transform: uppercase;}

/* CONTACT SECTION */
#contact h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom: 2px solid #e2e8f0; }
#contact h3::before { content:''; width:6px; height:22px; background:var(--accent); border-radius:4px; }
.contact-wrapper { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 16px; }
.c-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.c-card:hover { transform: translateX(6px); border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.c-icon { width: 50px; height: 50px; background: #f1f5f9; color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px #cbd5e1;}
.c-icon svg { width: 24px; height: 24px; fill: currentColor; }
.c-text h5 { margin: 0 0 4px 0; font-size: 15px; color: var(--primary); font-weight:700;}
.c-text p { margin: 0; font-size: 13px; color: var(--text-muted); font-weight:500;}

/* FAQ SECTION */
.faq-section { padding: 60px 16px; background: #ffffff; border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(0,0,0,0.02);}
.faq-container { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 32px;}
.faq-header { text-align: center; max-width: 600px; margin: 0 auto;}
.faq-header h2 { font-size: 28px; color: var(--primary); margin-bottom: 8px; font-weight:800; letter-spacing: -0.02em;}
.faq-header p { color: var(--text-muted); font-size: 15px; font-weight: 500;}
.faq-grid-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }
.faq-item { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius-md); transition: var(--transition); overflow:hidden;}
.faq-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 20px 24px; font-weight: 700; color: var(--primary); font-size: 15px; cursor: pointer; list-style: none; position: relative; padding-right: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--accent); font-weight: 400; transition: transform 0.3s;}
.faq-item[open] summary { border-bottom: 1px solid #e2e8f0; background: #fff;}
.faq-content { padding: 20px 24px; color: var(--text-main); line-height: 1.6; font-size: 14px; background: #fff;}
.faq-item[open] summary::after { content: '−'; transform:translateY(-50%) rotate(180deg);}

/* NIC FOOTER */
.nic-footer { margin-top: auto; border-top: 5px solid var(--accent); }
.nic-footer-top { background: #111827; padding: 32px 0; color: #94a3b8; }
.nic-footer-container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.nic-footer-top .footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.nic-footer-top .footer-links a { color: #cbd5e1; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; transition: var(--transition);}
.nic-footer-top .footer-links a:hover { color: #fff; transform: translateY(-2px); }
.nic-footer-bottom { background: #030712; padding: 24px 0; color: #6b7280; font-size: 13px; }
.nic-footer-bottom .nic-footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.nic-footer-info p { margin: 0 0 6px 0; line-height: 1.6; font-weight: 400;}
.nic-footer-info strong { color: #f3f4f6; font-weight: 600;}

/* DOWNLOAD CARD STYLES */
.dl-card { max-width: 600px; margin: 40px auto; background: #fff; border: 1px solid var(--border); border-top: 6px solid var(--primary); box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); overflow: hidden; position:relative;}
.dl-card::before { content:''; position:absolute; top:0; right:0; width:150px; height:100px; background: radial-gradient(circle, rgba(15,42,74,0.05) 0%, transparent 70%); pointer-events:none;}
.dl-header-strip { background: linear-gradient(to right, #f8fafc, #ffffff); padding: 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 20px; }
.dl-icon { font-size: 32px; color: var(--primary); background: #f1f5f9; width:64px; height:64px; border-radius:16px; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 0 0 1px #e2e8f0;}
.dl-fileName { font-size: 18px; font-weight: 800; color: var(--primary); font-family:'Montserrat', sans-serif;}
.dl-body { padding: 32px; }
.captcha-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 24px; border-radius: var(--radius-lg); margin-bottom: 24px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);}
.captcha-label { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.captcha-row { display: flex; align-items: center; gap: 12px; margin-top:16px;}
.captcha-q { font-size: 18px; font-weight: 800; letter-spacing: 3px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 6px; user-select: none; font-family:'Montserrat', sans-serif; box-shadow: 0 4px 6px rgba(15,42,74,0.2);}
.captcha-ans { padding: 10px 12px; font-size: 18px; width: 90px; border: 2px solid #cbd5e1; outline: none; border-radius: 6px; font-weight: 700; transition: border-color 0.2s;}
.captcha-ans:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,42,74,0.1);}
.refresh { background: #fff; border: 1px solid #cbd5e1; color: var(--text-main); cursor: pointer; padding: 10px 16px; border-radius: 6px; font-weight: 600; transition: 0.2s; font-size: 13px; box-shadow: 0 2px 4px rgba(0,0,0,0.02);}
.refresh:hover { background: #f1f5f9; border-color: #94a3b8; }
.captcha-feedback { font-size: 13px; font-weight: 700; margin-top: 12px; min-height:18px;}
.captcha-feedback.ok { color: var(--success); }
.captcha-feedback.err { color: #dc2626; }
.dl-btn { display: flex; align-items:center; justify-content:center; gap:8px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 16px; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; width: 100%; border-radius: var(--radius-xl); box-shadow: 0 4px 12px rgba(15,42,74,0.2); transition: var(--transition);}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(15,42,74,0.3); }
.dl-btn.locked { background: #e2e8f0; cursor: not-allowed; color: #94a3b8; pointer-events: none; box-shadow: none; }
.lock-hint { font-size: 12px; color: #64748b; text-align: center; margin-top: 16px; font-weight: 500;}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero-left h2 { font-size: 22px; }
  .nic-logo-left .emblem { height: 60px; }
  .nic-titles h1 { font-size: 20px; }
  .nic-titles h2 { font-size: 14px; }
}
@media(max-width: 768px) {
  :root { --maxw: 100%; }
  .nic-logo-left { flex-direction: column; align-items: flex-start; text-align: left; gap:10px;}
  .nic-logo-left .emblem { height: 50px; }
  .nic-logo-right { display: none; }
  .nic-header-container { padding: 12px 16px; gap: 10px; }
  .nic-titles h1 { font-size: 16px; margin-top:5px; line-height:1.2;}
  
  .nav-inner { flex-wrap: wrap; padding: 8px; gap: 6px; justify-content: center; }
  .nav-item { flex: 1 1 calc(33% - 12px); text-align:center;}
  .nav-link { border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 10px 4px; font-size: 12px; }
  .nav-item:first-child .nav-link { border-left: 1px solid rgba(255,255,255,0.1); }
  .dropdown { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top:4px;}
  .dropdown a { padding: 10px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #e2e8f0; }

  .services { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
  .service-card { padding: 10px 5px; }
  .service-card img { width: 36px; height: 36px; }
  .service-card span { font-size: 11px; }

  main.page, main.dl-page { margin: 16px auto; gap: 16px; padding: 0 12px; }
  .hero { padding: 20px; margin-bottom: 0; }
  .section-head h3 { font-size: 18px; }
  .forms-grid { grid-template-columns: 1fr; }
  .nic-grid-4 { grid-template-columns: repeat(2, 1fr); gap:12px; }
  .action-grid-8 { grid-template-columns: repeat(2, 1fr); gap:12px; }
  
  .faq-grid-wrapper { grid-template-columns: 1fr; }
  .nic-footer-bottom .nic-footer-container { flex-direction: column; text-align: center; }
}

/* DARK THEME */
body.dark-theme { background-color: #020617; background-image: radial-gradient(#1e293b 1.5px, transparent 1.5px); color: #f8fafc; }
body.dark-theme .panel, body.dark-theme .hero, body.dark-theme .service-card, body.dark-theme .nic-header, body.dark-theme .action-box, body.dark-theme .nic-card, body.dark-theme .about-modern, body.dark-theme .c-card, body.dark-theme .faq-section, body.dark-theme .dl-card, body.dark-theme .faq-item summary, body.dark-theme .faq-content { background-color: #0f172a; border-color: #1e293b; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5);}
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6, body.dark-theme .nic-titles h1, body.dark-theme .nic-titles h2, body.dark-theme .section-head h3 { color: #e2e8f0; }
body.dark-theme .service-card span, body.dark-theme .notice .title, body.dark-theme .form-item .name, body.dark-theme .ab-text { color: #cbd5e1; }
body.dark-theme .hero-left p, body.dark-theme .about-content p, body.dark-theme .faq-header p, body.dark-theme .faq-content, body.dark-theme .notice .meta, body.dark-theme .c-text p, body.dark-theme .form-item .meta, body.dark-theme .captcha-label, body.dark-theme .lock-hint { color: #94a3b8; }
body.dark-theme .nic-footer-top { background: #000; }
body.dark-theme .nic-footer-bottom { background: #000; border-top: 1px solid #111;}
body.dark-theme .dl-header-strip { background: #020817; border-bottom: 1px solid #1e293b;}
body.dark-theme .captcha-box { background: #020817; border-color: #1e293b;}
body.dark-theme .dl-fileName { color: #f8fafc;}
body.dark-theme .dropdown { background-color: #0f172a; border-color: #1e293b; }
body.dark-theme .dropdown a { color: #cbd5e1; border-bottom-color: #1e293b; }
body.dark-theme .dropdown a:hover { background-color: #1e293b; color: #fff; border-left-color: var(--accent); }
body.dark-theme .form-item .btn, body.dark-theme .see-all-btn, body.dark-theme .refresh { background-color: #1e293b; color: #cbd5e1; border-color: #334155; }
body.dark-theme .form-item .btn:hover, body.dark-theme .see-all-btn:hover, body.dark-theme .refresh:hover { background-color: #3b82f6; color: #fff; }
body.dark-theme .notice .open-btn { background-color: #0f172a; color: #94a3b8; border-color: #1e293b; }
body.dark-theme .c-icon, body.dark-theme .dl-icon { background-color: #1e293b; box-shadow: inset 0 0 0 1px #334155; color: #93c5fd; }
body.dark-theme .ab-icon { background: #1e293b; color: #cbd5e1; }

/* EXTENDED UI DIRECTORY CARDS */
.scheme-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 24px; margin-bottom: 40px; }
.scheme-link { display: flex; align-items: center; padding: 16px; background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; transition: var(--transition); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); position: relative; overflow: hidden; }
.scheme-link:hover { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 25px -5px rgba(15, 42, 74, 0.3); border-color: var(--primary); }
.s-icon { width: 44px; height: 44px; background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 16px; transition: var(--transition); box-shadow: 0 2px 4px rgba(0,0,0,0.05); flex-shrink: 0; }
.scheme-link:hover .s-icon { background: #ffffff; transform: rotate(-10deg) scale(1.1); box-shadow: 0 10px 15px rgba(0,0,0,0.1); color: var(--primary); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; font-weight: 600; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

body.dark-theme .scheme-link { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-color: #334155; color: #cbd5e1; }
body.dark-theme .scheme-link:hover { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; border-color: var(--primary); }
body.dark-theme .s-icon { background: #1e293b; box-shadow: inset 0 0 0 1px #475569; }
body.dark-theme .scheme-link:hover .s-icon { background: #0f172a; }
body.dark-theme .breadcrumb span { color: #64748b; }

/* PDF HUB STYLES */
.pdf-hub-header { text-align: center; margin-bottom: 32px; padding: 24px 20px; background: #f8fafc; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.pdf-hub-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #334155; font-family: 'Montserrat', sans-serif; letter-spacing: -0.01em; }
.pdf-hub-desc { font-size: 14px; color: #64748b; font-weight: 500; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.pdf-controls { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; background: white; padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.search-bar { display: flex; align-items: center; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: var(--radius-md); padding: 0 16px; transition: var(--transition); }
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); background: white; }
.search-bar svg { width: 22px; height: 22px; fill: #94a3b8; }
.search-bar input { width: 100%; border: none; background: transparent; padding: 16px 12px; font-size: 15px; outline: none; color: var(--text-main); font-family: 'Poppins', sans-serif;}

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #f1f5f9; color: var(--text-muted); font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: var(--transition); }
.chip:hover { background: #e2e8f0; color: var(--primary); }
.chip.active { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(15,42,74,0.2); }

.pdf-grid-50 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pdf-card-pro { background: white; border-radius: var(--radius-md); border: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 16px; transition: var(--transition); box-shadow: 0 2px 4px rgba(0,0,0,0.02); position: relative; overflow: hidden;}
.pdf-card-pro::before { content:''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--accent); opacity: 0; transition: var(--transition); }
.pdf-card-pro:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.pdf-card-pro:hover::before { opacity: 1; }
.pdf-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;}
.pdf-icon-wrap { width: 46px; height: 46px; background: #eff6ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.pdf-icon-wrap svg { width: 24px; height: 24px; fill: currentColor; }
.pdf-badge { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-form { background: #dcfce7; color: #16a34a; }
.badge-go { background: #fee2e2; color: #dc2626; }
.badge-manual { background: #fef9c3; color: #ca8a04; }
.badge-register { background: #f3e8ff; color: #9333ea; }

.pdf-info { flex: 1; }
.pdf-title { font-size: 15px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdf-meta { font-size: 12px; color: var(--text-muted); font-weight: 500; display: flex; gap: 12px; }
.pdf-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-dl-pro { flex: 1; text-align: center; padding: 10px; background: #f1f5f9; border: 1px solid #e2e8f0; color: var(--primary); font-weight: 700; font-size: 13px; border-radius: 8px; transition: var(--transition); cursor: pointer; display:flex; align-items:center; justify-content:center; gap:6px; text-decoration: none;}
.btn-dl-pro:hover { background: var(--primary); color: white; border-color: var(--primary); }
.btn-dl-pro svg { width: 16px; height: 16px; fill: currentColor; }
.btn-view-pro { width: 40px; background: #fff; border: 1px solid #e2e8f0; color: var(--text-muted); border-radius: 8px; display:flex; align-items:center; justify-content:center; cursor: pointer; transition: var(--transition); text-decoration: none;}
.btn-view-pro:hover { background: #f1f5f9; color: var(--primary); border-color: #cbd5e1; }
.btn-view-pro svg { width: 18px; height: 18px; fill: currentColor; }

/* DARK THEME FIXES FOR PDF HUB */
body.dark-theme .pdf-hub-header { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border: 1px solid #334155; }
body.dark-theme .pdf-controls { background: #0f172a; border-color: #1e293b; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5); }
body.dark-theme .search-bar { background: #1e293b; border-color: #334155; }
body.dark-theme .search-bar input { color: #f8fafc; }
body.dark-theme .chip { background: #1e293b; color: #94a3b8; border-color: #334155; }
body.dark-theme .chip:hover { background: #334155; color: #f8fafc; }
body.dark-theme .chip.active { background: var(--accent); color: white; border-color: var(--accent); }
body.dark-theme .pdf-card-pro { background: #0f172a; border-color: #1e293b; }
body.dark-theme .pdf-card-pro:hover { border-color: #334155; }
body.dark-theme .pdf-title { color: #e2e8f0; }
body.dark-theme .pdf-icon-wrap { background: #1e293b; color: #60a5fa; box-shadow: inset 0 0 0 1px #334155; }
body.dark-theme .badge-form { background: rgba(22,163,74,0.2); border: 1px solid rgba(22,163,74,0.3); color: #4ade80;}
body.dark-theme .badge-go { background: rgba(220,38,38,0.2); border: 1px solid rgba(220,38,38,0.3); color: #f87171;}
body.dark-theme .badge-manual { background: rgba(202,138,4,0.2); border: 1px solid rgba(202,138,4,0.3); color: #facc15;}
body.dark-theme .badge-register { background: rgba(147,51,234,0.2); border: 1px solid rgba(147,51,234,0.3); color: #c084fc;}
body.dark-theme .btn-dl-pro { background: #1e293b; border-color: #334155; color: #cbd5e1; }
body.dark-theme .btn-dl-pro:hover { background: var(--accent); color: white; border-color: var(--accent);}
body.dark-theme .btn-view-pro { background: #0f172a; border-color: #334155; color: #94a3b8; }
/* FORM LIST LAYOUT AND BILINGUAL GRID */
.pdf-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.pdf-controls-row .search-bar {
  flex: 1;
  min-width: 250px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0 16px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.pdf-controls-row .search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: white;
}

.pdf-controls-row .search-bar input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 12px;
  font-size: 15px;
  outline: none;
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
}

.pdf-controls-row .search-bar svg {
  width: 22px;
  height: 22px;
  fill: #94a3b8;
}

.filter-dropdown {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-dropdown:focus, .filter-dropdown:hover {
  border-color: var(--accent);
  background: #fff;
}

.form-list-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
  max-width: 100%;
}

.form-list-item {
  display: flex;
  align-items: center;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.form-list-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 42, 74, 0.08);
  border-color: #cbd5e1;
}

.form-list-icon {
  width: 44px;
  height: 44px;
  margin-right: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(229, 57, 53, 0.2));
}

.form-list-title {
  display: flex;
  flex-direction: column;
}

.form-list-title .hi {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
  font-family: 'Hind', 'Poppins', sans-serif;
}

.form-list-title .en {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
}

/* DARK THEME FIXES FOR FORM LIST GRID */
body.dark-theme .pdf-controls-row {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5);
}

body.dark-theme .filter-dropdown {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-theme .filter-dropdown:focus, body.dark-theme .filter-dropdown:hover {
  border-color: var(--accent);
  background: #0f172a;
}

body.dark-theme .form-list-item {
  background: #0f172a;
  border-color: #1e293b;
}

body.dark-theme .form-list-item:hover {
  background: #1e293b;
  border-color: #334155;
}

body.dark-theme .form-list-title .hi {
  color: #e2e8f0;
}

body.dark-theme .form-list-title .en {
  color: #94a3b8;
}

/* Header Dark Theme Fixes */
body.dark-theme .pdf-hub-header {
  background: #0f172a;
  border-color: #1e293b;
}

body.dark-theme .pdf-hub-title {
  color: #e2e8f0;
}

body.dark-theme .pdf-hub-desc {
  color: #94a3b8;
}

/* YOJANA PAGE REDESIGN - MYSCHEME STYLE */
.yojana-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  color: white;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.yojana-hero::before {
  content:''; position:absolute; top:0; left:0; right:0; bottom:0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
  pointer-events: none;
}
.yojana-hero h2 { color: white; font-size: 24px; margin-bottom: 8px; position:relative;}
.yojana-hero p { color: #cbd5e1; font-size: 14px; max-width: 600px; margin: 0 auto 16px; font-weight: 400; position:relative;}

.yojana-search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.yojana-search-box svg {
  width: 24px; height: 24px; fill: #64748b; margin-left: 16px; flex-shrink:0;
}
.yojana-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: var(--text-main);
}

.yojana-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* SIDEBAR FILTERS */
.yojana-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9; }
.filter-header h3 { font-size: 18px; margin: 0; color: var(--primary); font-weight:800; display:flex; align-items:center; gap:8px;}
.filter-header h3::before { content:''; display:block; width:4px; height:18px; background:var(--accent); border-radius:2px;}
#clearFilters { background: none; border: none; color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; transition: var(--transition);}
#clearFilters:hover { color: var(--accent); }

.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 14px; margin-bottom: 16px; color: var(--primary-dark); font-weight: 700; text-transform:uppercase; letter-spacing:0.5px;}
.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  user-select: none;
  transition: var(--transition);
}
.custom-checkbox:hover { color: var(--primary); }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
  height: 20px; width: 20px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  margin-right: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.custom-checkbox:hover input ~ .checkmark { background-color: #e2e8f0; }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--accent); border-color: var(--accent); }
.checkmark:after {
  content: ""; display: none; width: 5px; height: 10px;
  border: solid white; border-width: 0 2px 2px 0;
  transform: rotate(45deg); margin-bottom:2px;
}
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

/* SCHEME GRID & CARDS */
.yojana-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.scheme-card-pro {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}
.scheme-card-pro::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:var(--accent); opacity:0; transition:var(--transition); transform:scaleX(0); transform-origin:left; }
.scheme-card-pro:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.scheme-card-pro:hover::before { opacity:1; transform:scaleX(1); }

.sc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 12px;}
.sc-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow:0 4px 6px rgba(0,0,0,0.05); flex-shrink:0;
}
.sc-badges { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px; text-transform:uppercase; white-space:nowrap; }
.badge-state { background: #dcfce7; color: #16a34a; border:1px solid #bbf7d0;}
.badge-central { background: #fee2e2; color: #dc2626; border:1px solid #fecaca;}
.badge-cat { background: #f1f5f9; color: #475569; border:1px solid #e2e8f0; }

.sc-title { font-size: 18px; color: var(--primary); margin-bottom: 8px; font-weight: 800; font-family:'Montserrat', sans-serif;}
.sc-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; flex: 1; font-weight: 500;}

.sc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; background: #f8fafc; border: 1px solid #e2e8f0;
  color: var(--primary); font-weight: 700; font-size: 14px; border-radius: 8px; text-decoration: none;
  transition: var(--transition); margin-top: auto;
}
.sc-btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.sc-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.sc-btn:hover svg { transform: translateX(4px); }

@media(max-width: 900px) {
  .yojana-layout { grid-template-columns: 1fr; }
  .yojana-sidebar { position: static; margin-bottom: 24px; }
  .filter-group { display: flex; flex-wrap: wrap; gap: 10px; }
  .custom-checkbox { margin-bottom: 0; background: #f8fafc; padding: 6px 12px 6px 6px; border-radius: 6px; border: 1px solid #e2e8f0; }
  .yojana-hero { padding: 16px 12px; }
  .yojana-hero h2 { font-size: 18px; }
}

/* DARK MODE FOR YOJANA */
body.dark-theme .yojana-hero { background: linear-gradient(135deg, #0f172a, #1e293b); box-shadow:0 10px 30px rgba(0,0,0,0.5);}
body.dark-theme .yojana-search-box { background: #1e293b; border:1px solid #334155; }
body.dark-theme .yojana-search-box input { color: #f8fafc; }
body.dark-theme .yojana-sidebar, body.dark-theme .scheme-card-pro { background: #0f172a; border-color: #1e293b; }
body.dark-theme .filter-header { border-bottom-color: #1e293b; }
body.dark-theme .filter-header h3 { color: #e2e8f0; }
body.dark-theme .custom-checkbox { color: #94a3b8; }
body.dark-theme .custom-checkbox:hover { color: #f8fafc; }
body.dark-theme .checkmark { background: #1e293b; border-color: #334155; }
body.dark-theme .custom-checkbox input:checked ~ .checkmark { background: var(--accent); border-color: var(--accent); }
body.dark-theme .sc-title { color: #e2e8f0; }
body.dark-theme .sc-desc { color: #94a3b8; }
body.dark-theme .sc-btn { background: #1e293b; color: #cbd5e1; border-color: #334155; }
body.dark-theme .sc-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }
body.dark-theme .badge-state { background: rgba(22,163,74,0.1); border-color: rgba(22,163,74,0.3); }
body.dark-theme .badge-central { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.3); }
body.dark-theme .badge-cat { background: #1e293b; border-color: #334155; color: #94a3b8; }

/* SCHEME MODAL STYLES */
.scheme-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px);
  z-index: 1000; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease; padding: 16px;
}
.scheme-modal-content {
  background: #ffffff; border-radius: var(--radius-xl); width: 100%; max-width: 550px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative;
  overflow: hidden; display: flex; flex-direction: column;
  max-height: 90vh;
}
.close-modal {
  position: absolute; top: 16px; right: 16px; background: #f1f5f9;
  border: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; font-weight: bold; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 10;
}
.close-modal:hover { background: #fee2e2; color: #dc2626; }

.sm-header {
  padding: 24px; background: #f8fafc; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 16px;
}
.sm-header .sm-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); flex-shrink:0;}
.sm-header h2 { font-size: 20px; color: var(--primary); margin: 0 0 6px 0; font-family:'Montserrat', sans-serif;}

.sm-body { padding: 24px; overflow-y: auto; flex: 1; }
.sm-body h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 10px; font-weight: 700; border-bottom: 2px solid #e2e8f0; display:inline-block; padding-bottom:4px;}
.sm-body p { font-size: 14px; color: var(--text-main); line-height: 1.6; font-weight: 500;}
.sm-docs-list { margin: 0; padding-left: 20px; color: var(--text-main); font-size: 14px; }
.sm-docs-list li { margin-bottom: 8px; font-weight: 500;}

.sm-footer {
  padding: 20px 24px; background: #f8fafc; border-top: 1px solid var(--border);
  text-align: right; display:flex; flex-direction:column; align-items:flex-end;
}
.sm-btn-primary {
  display: inline-flex; align-items: center; background: var(--accent);
  color: #fff; padding: 12px 24px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: var(--transition); box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}
.sm-btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,42,74,0.3); }

/* DARK THEME MODAL */
body.dark-theme .scheme-modal-content { background: #0f172a; border: 1px solid #1e293b; }
body.dark-theme .sm-header, body.dark-theme .sm-footer { background: #020617; border-color: #1e293b; }
body.dark-theme .sm-header h2 { color: #f8fafc; }
body.dark-theme .close-modal { background: #1e293b; color: #94a3b8; }
body.dark-theme .close-modal:hover { background: rgba(220,38,38,0.2); color: #f87171; }
body.dark-theme .sm-body h4 { color: #93c5fd; border-bottom-color: #334155; }
body.dark-theme .sm-body p, body.dark-theme .sm-docs-list { color: #cbd5e1; }

/* GLOBAL DARK MODE ENHANCEMENTS */
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
  color: #f8fafc;
}
body.dark-theme p, body.dark-theme span, body.dark-theme label, body.dark-theme li {
  color: #e2e8f0;
}
body.dark-theme .nic-logo-left p, body.dark-theme .nic-logo-left h2, body.dark-theme .nic-logo-left h1 {
  color: #f8fafc;
}
body.dark-theme a.nav-link { color: #f8fafc; }
body.dark-theme .yojana-page p, body.dark-theme .dl-page p { color: #cbd5e1; }
body.dark-theme .ab-text { color: #f8fafc; }

