/*
Theme Name: Rozgar Darpan Premium
Theme URI: https://example.com/rozgar-darpan-premium
Author: Premium Theme Studio
Description: Premium WordPress theme for VB-G RAM G / NREGA information portal. Google Ads optimized, fully responsive, professional design.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rozgar-darpan-premium
*/

:root {
  --primary: #1a5c3f;
  --primary-dark: #0d3a25;
  --accent: #e67e22;
  --light-bg: #f5f7fa;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --border: #ecf0f1;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* ===== TOPBAR ===== */
.topbar { background: var(--primary); color: var(--white); padding: 10px 0; font-size: 14px; border-bottom: 3px solid var(--accent); }
.topbar-inner { display: flex; align-items: center; justify-content: center; text-align: center; }
.topbar strong { color: var(--accent); }

/* ===== HEADER ===== */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; transition: all 0.3s ease; }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: bold; }
.logo-text strong { color: var(--accent); }

.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 30px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 14px; transition: color 0.2s; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta { background: var(--accent); color: var(--white); padding: 8px 16px; border-radius: 5px; }
.main-nav .nav-cta:hover { background: var(--primary); }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: 5px; min-width: 220px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.main-nav .has-dropdown:hover .dropdown { display: block; }
.main-nav .dropdown li { margin: 0; }
.main-nav .dropdown a { display: block; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.main-nav .dropdown a:hover { background: var(--light-bg); }

.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ===== UPDATE BANNER ===== */
.update-banner { background: #fff3cd; border-bottom: 2px solid #ffc107; padding: 12px 0; }
.update-inner { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.update-inner span:first-child { font-size: 20px; }
.update-inner strong { color: var(--primary-dark); }
.update-inner a { color: var(--primary); text-decoration: none; font-weight: bold; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #2d7a52 100%); color: var(--white); padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); padding: 6px 12px; border-radius: 20px; font-size: 12px; margin-bottom: 16px; }
.hero-badge-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 6px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; line-height: 1.2; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 18px; margin: 0 0 24px; opacity: 0.95; }
.hero-btns { display: flex; gap: 12px; margin: 24px 0; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer; }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-ghost { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: bold; }
.hero-stat .lbl { font-size: 12px; opacity: 0.8; margin-top: 4px; }

.hero-card { background: rgba(255,255,255,0.95); color: var(--text); padding: 28px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.hero-card h3 { margin: 0 0 20px; font-size: 20px; }
.hc-step { display: flex; gap: 16px; margin: 16px 0; }
.hc-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--accent); color: var(--white); border-radius: 50%; font-weight: bold; flex-shrink: 0; }
.hc-txt { }
.hc-official { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }

/* ===== AD SLOT ===== */
.ad-slot { margin: 20px 0; min-height: 100px; }

/* ===== SECTIONS ===== */
.sec { padding: 60px 0; }
.sec-alt { background: var(--light-bg); }
.sec-head { margin-bottom: 40px; }
.eyebrow { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; }
.sec h2 { margin: 0; font-size: 36px; color: var(--text); }
.sec h2 em { color: var(--accent); font-style: normal; }
.sec-lede { color: var(--text-light); margin: 12px 0 0; }

/* ===== SERVICE GRID ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.svc-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 24px; transition: all 0.3s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--accent); }
.svc-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 32px; border-radius: 8px; margin-bottom: 16px; }
.svc-card h3 { margin: 0 0 12px; font-size: 18px; }
.svc-card p { margin: 0 0 16px; color: var(--text-light); }
.svc-cta { display: inline-block; color: var(--accent); text-decoration: none; font-weight: 600; }
.svc-cta:hover { text-decoration: underline; }

/* ===== CONTENT GRID ===== */
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.content-prose { }
.content-prose p { margin: 0 0 16px; }
.data-tbl { width: 100%; border-collapse: collapse; margin: 20px 0; }
.data-tbl thead { background: var(--primary); color: var(--white); }
.data-tbl th { padding: 12px; text-align: left; font-weight: 600; }
.data-tbl td { padding: 12px; border-bottom: 1px solid var(--border); }
.data-tbl tr:hover { background: var(--light-bg); }

/* ===== STATE CARDS ===== */
.pop-states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.pop-state { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px; text-align: center; transition: all 0.2s; }
.pop-state:hover { border-color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ps-emoji { font-size: 36px; margin-bottom: 10px; }
.pop-state h3 { margin: 0 0 8px; font-size: 16px; }
.ps-meta { display: flex; justify-content: center; gap: 12px; font-size: 12px; color: var(--text-light); margin: 8px 0; }
.ps-link { display: inline-block; margin-top: 12px; color: var(--accent); text-decoration: none; font-weight: 600; }

/* ===== STATES TABLE ===== */
.all-states-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.all-states-table thead { background: var(--primary); color: var(--white); }
.all-states-table th { padding: 12px; text-align: left; }
.all-states-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.all-states-table tr:hover { background: var(--light-bg); }
.tbl-btn { background: var(--accent); color: var(--white); padding: 6px 12px; border-radius: 4px; text-decoration: none; font-size: 12px; }

/* ===== VB-G SECTION ===== */
.vbg-sec { background: linear-gradient(135deg, #1a3a6f 0%, #2d5fa3 100%); color: var(--white); padding: 50px; border-radius: 10px; margin: 40px 0; }
.vbg-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 20px; font-size: 12px; margin-bottom: 16px; }
.vbg-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.vbg-inner h2 { margin: 0 0 16px; font-size: 28px; }
.vbg-inner p { margin: 0 0 12px; opacity: 0.9; }
.vbg-link { display: inline-block; margin-top: 16px; color: var(--accent); text-decoration: none; font-weight: 600; }
.vbg-compare table { width: 100%; border-collapse: collapse; }
.vbg-compare th, .vbg-compare td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.2); }

/* ===== STATS RIBBON ===== */
.stats-ribbon { background: var(--light-bg); padding: 30px 0; }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sr-item { text-align: center; }
.sr-item .val { font-size: 28px; font-weight: bold; color: var(--primary); }
.sr-item .desc { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ===== BLOG GRID ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); transition: all 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.blog-bar { height: 4px; }
.blog-body { padding: 20px; }
.blog-tag { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.blog-card h3 { margin: 0 0 10px; font-size: 16px; }
.blog-card p { margin: 0 0 12px; color: var(--text-light); font-size: 14px; }
.blog-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }
.blog-read { color: var(--accent); font-weight: 600; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; }
.faq-item { margin: 12px 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px; background: var(--light-bg); border: none; cursor: pointer; font-weight: 600; text-align: left; }
.faq-q:hover { background: #e8eef5; }
.faq-chevron { transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a { display: none; padding: 20px; background: var(--white); }
.faq-item.open .faq-a { display: block; }

/* ===== TRUST SECTION ===== */
.trust-sec { background: var(--light-bg); padding: 40px; border-radius: 8px; margin: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-col h3 { margin: 0 0 12px; font-size: 16px; }
.trust-col p { margin: 0 0 12px; color: var(--text-light); font-size: 14px; }
.trust-badge { display: inline-block; background: #d4edda; color: #155724; padding: 6px 12px; border-radius: 4px; font-size: 12px; margin-top: 12px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary); color: var(--white); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { margin: 0 0 16px; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-brand { font-size: 20px; font-weight: bold; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== NOTE BOX ===== */
.note-box { background: #e8f5e9; border-left: 4px solid #4caf50; padding: 16px; border-radius: 4px; font-size: 14px; }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .pop-states { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); max-height: calc(100vh - 70px); overflow-y: auto; }
  .mobile-nav.open { display: block; }
  .mobile-nav ul { flex-direction: column; gap: 0; }
  .mobile-nav li { border-bottom: 1px solid var(--border); }
  .mobile-nav a { display: block; padding: 12px 16px; }
  .mob-sub { display: none; }
  .mob-sub.open { display: block; }
  .main-nav .dropdown { display: none !important; }
  .sec { padding: 40px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .pop-states { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .sec h2 { font-size: 24px; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
