/* GLOBAL */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Baloo 2', system-ui, sans-serif; background: #FFFFFF; color: #1A1A1A; font-size: 16px; line-height: 1.7; }
a { color: #E8590C; text-decoration: none; }
a:hover { color: #BF4A0A; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn-primary { background: #E8590C; color: #fff; padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: #BF4A0A; color: #fff; }
.btn-green { background: #1a7a2e; color: #fff; padding: 8px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; border: none; cursor: pointer; display: inline-block; transition: background 0.2s; }
.btn-green:hover { background: #155c24; color: #fff; }
.section-title { font-size: 20px; font-weight: 800; color: #1A1A1A; margin-bottom: 20px; padding-left: 14px; border-left: 4px solid #E8590C; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-kisan { background: #e8f5e9; color: #1a7a2e; }
.badge-mahila { background: #fce4ec; color: #c2185b; }
.badge-yuva { background: #e3f2fd; color: #1565c0; }
.badge-awas { background: #fff3e0; color: #e65100; }
.badge-bpl { background: #fce4ec; color: #880e4f; }
.badge-pension { background: #f3e5f5; color: #6a1b9a; }
.badge-scholarship { background: #e8eaf6; color: #283593; }
.badge-health { background: #e0f2f1; color: #00695c; }
.badge-default { background: #FFF8F4; color: #E8590C; }

/* HEADER */
.site-header { background: #fff; border-bottom: 2px solid #E8590C; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 8px rgba(232,89,12,0.08); transition: all 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 12px rgba(232,89,12,0.15); }
.header-top { background: linear-gradient(90deg, #E8590C 0%, #d44f0a 50%, #1a7a2e 100%); padding: 6px 0; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; }
.header-top p { color: #fff; font-size: 12px; font-weight: 600; }
.header-top a { color: #fff; font-size: 12px; }
.header-main { padding: 12px 0; }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #E8590C, #1a7a2e); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; flex-shrink: 0; }
.logo-text .site-name { font-size: 20px; font-weight: 800; color: #1A1A1A; line-height: 1.1; }
.logo-text .site-tagline { font-size: 11px; color: #888; font-weight: 400; }
.main-nav ul { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.main-nav ul li a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #333; transition: all 0.2s; display: block; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a { background: #FFF8F4; color: #E8590C; }
.header-wa-btn { background: #25D366; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: background 0.2s; text-decoration: none; }
.header-wa-btn:hover { background: #1ebe5d; color: #fff; }
.news-ticker { background: #FFF8F4; border-bottom: 1px solid #F0E8E0; padding: 7px 0; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 14px; }
.ticker-label { background: #E8590C; color: #fff; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ticker-track { overflow: hidden; flex: 1; position: relative; }
.ticker-content { display: inline-block; white-space: nowrap; animation: ticker-scroll 40s linear infinite; font-size: 13px; color: #444; font-weight: 600; }
.ticker-content:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* HAMBURGER MOBILE MENU */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #1A1A1A; border-radius: 2px; transition: all 0.3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu { display: none; background: #fff; border-top: 1px solid #F0E8E0; padding: 12px 16px; position: absolute; width: 100%; left: 0; box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul li a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; color: #333; border-bottom: 1px solid #F0E8E0; }
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu.open { display: block; }

/* HERO SECTION */
.hero-section { background: linear-gradient(135deg, #FFF8F4 0%, #fff5ee 50%, #f0faf0 100%); padding: 40px 0 36px; border-bottom: 1px solid #F0E8E0; }
.hero-section h1 { font-size: 28px; font-weight: 800; color: #1A1A1A; margin-bottom: 8px; line-height: 1.3; }
.hero-section p { font-size: 15px; color: #555; margin-bottom: 24px; }
.search-box { display: flex; gap: 0; max-width: 560px; border: 2px solid #E8590C; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 16px rgba(232,89,12,0.12); }
.search-box input { flex: 1; padding: 14px 18px; border: none; outline: none; font-size: 15px; font-family: 'Baloo 2', sans-serif; color: #1A1A1A; }
.search-box button { background: #E8590C; color: #fff; border: none; padding: 14px 22px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Baloo 2', sans-serif; transition: background 0.2s; }
.search-box button:hover { background: #BF4A0A; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-pill { background: #fff; border: 1.5px solid #E0D8D0; color: #444; padding: 7px 16px; border-radius: 25px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.cat-pill:hover, .cat-pill.active { background: #E8590C; border-color: #E8590C; color: #fff; }

/* ELIGIBILITY BOX */
.eligibility-section { padding: 28px 0; }
.eligibility-box { background: #FFF8F4; border: 2px solid #E8590C; border-radius: 16px; padding: 24px; }
.eligibility-box h2 { font-size: 18px; font-weight: 800; color: #E8590C; margin-bottom: 16px; }
.elig-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.elig-form select, .elig-form input { padding: 11px 14px; border: 1.5px solid #E0D8D0; border-radius: 8px; font-size: 14px; font-family: 'Baloo 2', sans-serif; background: #fff; color: #333; outline: none; width: 100%; }
.elig-form select:focus, .elig-form input:focus { border-color: #E8590C; }

/* SCHEME CARDS */
.schemes-section { padding: 32px 0; }
.schemes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scheme-card { background: #fff; border: 1px solid #F0E8E0; border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.scheme-card:hover { box-shadow: 0 8px 24px rgba(232,89,12,0.12); transform: translateY(-2px); }
.scheme-card-top { height: 5px; background: #E8590C; }
.scheme-card-top.kisan { background: #1a7a2e; }
.scheme-card-top.mahila { background: #c2185b; }
.scheme-card-top.yuva { background: #1565c0; }
.scheme-card-top.awas { background: #e65100; }
.scheme-card-top.bpl { background: #880e4f; }
.scheme-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.scheme-card-body h3 { font-size: 15px; font-weight: 700; color: #1A1A1A; margin: 8px 0 6px; line-height: 1.4; }
.scheme-card-body p { font-size: 13px; color: #666; flex: 1; line-height: 1.6; margin-bottom: 12px; }
.scheme-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid #F0E8E0; background: #FAFAFA; }
.last-date { font-size: 12px; color: #E8590C; font-weight: 700; }
.scheme-card .wa-share { color: #25D366; font-size: 18px; text-decoration: none; display: flex; align-items: center; }

/* STATES GRID */
.states-section { padding: 28px 0; background: #FFF8F4; }
.states-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.state-card { background: #fff; border: 1px solid #F0E8E0; border-radius: 10px; padding: 12px 8px; text-align: center; cursor: pointer; transition: all 0.2s; text-decoration: none; display: block; }
.state-card:hover { border-color: #E8590C; background: #FFF8F4; }
.state-emoji { font-size: 20px; margin-bottom: 4px; }
.state-name { font-size: 12px; font-weight: 700; color: #333; display: block; }

/* SINGLE YOJANA PAGE */
.yojana-single { padding: 32px 0; }
.yojana-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.yojana-content { background: #fff; border: 1px solid #F0E8E0; border-radius: 16px; padding: 28px; }
.yojana-title { font-size: 26px; font-weight: 800; color: #1A1A1A; margin-bottom: 8px; }
.yojana-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #F0E8E0; }
.yojana-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; }
.yojana-meta-item strong { color: #1A1A1A; }
.info-box { background: #FFF8F4; border-left: 4px solid #E8590C; border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; }
.info-box h4 { font-size: 14px; font-weight: 800; color: #E8590C; margin-bottom: 8px; }
.info-box ul, .info-box ol { padding-left: 18px; margin-top: 10px; margin-bottom: 10px; }
.info-box ul li, .info-box ol li { font-size: 14px; color: #444; margin-bottom: 4px; line-height: 1.6; }
.entry-content h2 { font-size: 20px; margin-top: 24px; margin-bottom: 12px; color: #1A1A1A; }
.entry-content h3 { font-size: 18px; margin-top: 20px; margin-bottom: 10px; color: #1A1A1A; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; padding-left: 20px; }

/* SIDEBAR */
.yojana-sidebar-card { background: #fff; border: 1px solid #F0E8E0; border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.yojana-sidebar-card h3 { font-size: 15px; font-weight: 800; color: #1A1A1A; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #F0E8E0; }
.apply-btn-big { display: block; text-align: center; background: #1a7a2e; color: #fff; padding: 14px; border-radius: 10px; font-size: 16px; font-weight: 800; margin-bottom: 10px; text-decoration: none; transition: background 0.2s; }
.apply-btn-big:hover { background: #155c24; color: #fff; }
.wa-alert-btn { display: block; text-align: center; background: #25D366; color: #fff; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.wa-alert-btn:hover { background: #1ebe5d; color: #fff; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid #F0E8E0; }
.detail-table tr:last-child { border-bottom: none; }
.detail-table td { padding: 10px 0; font-size: 13px; }
.detail-table td:first-child { color: #888; width: 45%; }
.detail-table td:last-child { font-weight: 600; color: #1A1A1A; }

/* ARCHIVE PAGE */
.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 28px 0; align-items: start; }
.filter-sidebar { background: #fff; border: 1px solid #F0E8E0; border-radius: 14px; padding: 20px; position: sticky; top: 80px; }
.filter-sidebar h3 { font-size: 15px; font-weight: 800; color: #1A1A1A; margin-bottom: 14px; }
.filter-group { margin-bottom: 18px; }
.filter-group h4 { font-size: 13px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: #E8590C; width: 16px; height: 16px; cursor: pointer; }
.filter-option label { font-size: 14px; color: #333; cursor: pointer; user-select: none; }
.pagination { display: flex; gap: 10px; justify-content: center; }
.page-numbers { display: inline-block; padding: 8px 14px; background: #fff; border: 1px solid #F0E8E0; border-radius: 8px; color: #333; font-weight: 600; transition: all 0.2s; }
.page-numbers.current, .page-numbers:hover { background: #E8590C; color: #fff; border-color: #E8590C; }

/* FOOTER */
.site-footer { background: #1A1A1A; color: #ccc; padding: 40px 0 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand .footer-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #999; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #999; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #E8590C; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; text-decoration: none; transition: transform 0.2s; }
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a.wa { background: #25D366; }
.footer-social a.yt { background: #FF0000; }
.footer-social a.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-bottom { border-top: 1px solid #333; padding: 16px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: #666; }
.footer-disclaimer { font-size: 11px; color: #555; margin-top: 4px; }

/* FLOATING ELEMENTS */
.float-wa { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 9999; text-decoration: none; animation: pulse-wa 2s infinite; }
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7); } }
.scroll-top { position: fixed; bottom: 82px; right: 20px; background: #E8590C; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s; border: none; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* MOBILE RESPONSIVE (max-width: 768px) */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .header-wa-btn { display: none; }
  .logo-text .site-tagline { display: none; }
  .hero-section h1 { font-size: 20px; }
  .hero-section { padding: 24px 0 20px; }
  .search-box input { font-size: 14px; padding: 12px 14px; }
  .elig-form { grid-template-columns: 1fr; }
  .schemes-grid { grid-template-columns: 1fr; gap: 14px; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .yojana-layout { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section-title { font-size: 17px; }
  .filter-sidebar { position: static; margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .category-pills { gap: 6px; }
  .cat-pill { font-size: 12px; padding: 6px 12px; }
  .yojana-content { padding: 20px 16px; }
}
