/* ===== UIDAI CLONE — SHARED STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #003087;
  --blue2:  #00205c;
  --orange: #e8540a;
  --orange2:#f47820;
  --gold:   #c8a400;
  --light:  #f4f6fb;
  --border: #dde2ed;
  --text:   #1a1a2e;
  --muted:  #5a6480;
  --white:  #ffffff;
  --green:  #1a7a3a;
  --red:    #c0392b;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; font-size: 14px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── GOV TOPBAR ── */
.gov-topbar {
  background: var(--blue2);
  color: #fff;
  font-size: 11px;
  padding: 4px 0;
}
.gov-topbar .inner {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.gov-topbar a { color: #cde; font-size: 11px; }
.gov-topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 16px; }

/* ── SKIP NAV ── */
.skip-nav { position: absolute; top: -40px; left: 0; background: var(--orange); color: #fff; padding: 8px 16px; z-index: 999; }
.skip-nav:focus { top: 0; }

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--orange);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: flex; align-items: center; gap: 16px;
}
.logo-block { display: flex; align-items: center; gap: 14px; flex: 1; }
.logo-emblem { width: 60px; height: 60px; }
.logo-text h1 { font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.logo-text p  { font-size: 11px; color: var(--muted); }
.header-actions { display: flex; gap: 10px; }
.btn { display: inline-block; padding: 8px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: .2s; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange2); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ── NAV ── */
.main-nav { background: var(--blue); }
.main-nav .inner { max-width: 1200px; margin: auto; display: flex; }
.main-nav a {
  display: block; padding: 12px 18px; color: #d8e4ff; font-size: 13px; font-weight: 600;
  transition: .2s; position: relative;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--orange); color: #fff; text-decoration: none;
}
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 220px; box-shadow: 0 4px 16px rgba(0,0,0,.15); z-index: 800;
  border-top: 3px solid var(--orange);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { color: var(--text); font-weight: 400; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.dropdown-menu a:hover { background: var(--light); color: var(--orange); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue2) 0%, var(--blue) 60%, #1565c0 100%);
  color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero::after {
  content: ''; position: absolute; right: 80px; bottom: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(232,84,10,.08);
}
.hero .inner { max-width: 1200px; margin: auto; padding: 0 16px; display: flex; gap: 48px; align-items: center; }
.hero-text { flex: 1; }
.hero-badge { display: inline-block; background: var(--orange); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }
.hero-text h2 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-text h2 span { color: var(--orange2); }
.hero-text p { font-size: 15px; color: #b8c8ef; line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 16px;
  padding: 28px; width: 320px; flex-shrink: 0;
}
.hero-card h3 { font-size: 15px; color: var(--orange2); font-weight: 700; margin-bottom: 12px; }
.hero-card-stat { display: flex; gap: 12px; margin-bottom: 10px; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.stat-label { font-size: 11px; color: #8aabdf; align-self: flex-end; margin-bottom: 4px; }

/* ── SERVICE CARDS ── */
.section { padding: 48px 0; }
.section-alt { background: var(--light); }
.container { max-width: 1200px; margin: auto; padding: 0 16px; }
.section-title { font-size: 24px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.section-title span { color: var(--orange); }
.section-sub { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.underline-bar { width: 48px; height: 4px; background: var(--orange); border-radius: 2px; margin: 8px 0 24px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: .25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--blue);
  transition: background .25s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,48,135,.15); transform: translateY(-3px); border-color: var(--blue); }
.service-card:hover::before { background: var(--orange); }
.card-icon { width: 48px; height: 48px; background: var(--light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 24px; }
.card-icon.orange { background: #fff3eb; }
.card-icon.green  { background: #e8f5e9; }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.card-links a { display: block; color: var(--blue); font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.card-links a:last-child { border: none; }
.card-links a::before { content: '→ '; font-weight: 700; }
.card-links a:hover { color: var(--orange); }

/* ── QUICK ACTIONS ── */
.quick-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 16px; text-align: center; transition: .2s; cursor: pointer;
}
.quick-card:hover { background: var(--blue); border-color: var(--blue); }
.quick-card:hover * { color: #fff !important; }
.quick-card:hover .q-icon { background: rgba(255,255,255,.15); }
.q-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; font-weight: 800; color: var(--blue); font-family: 'Segoe UI', Arial, sans-serif; transition: .2s; }
.quick-card h4 { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.quick-card p  { font-size: 11px; color: var(--muted); }

/* ── STATS BAR ── */
.stats-bar { background: var(--blue2); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border: none; }
.stat-item .num { font-size: 32px; font-weight: 800; color: #fff; }
.stat-item .lbl { font-size: 12px; color: #8aabdf; margin-top: 4px; }
.stat-item .unit { font-size: 16px; color: var(--orange2); font-weight: 700; }

/* ── NOTICE BOARD ── */
.notice-board { background: #fff3eb; border: 1px solid #f4c891; border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.notice-board h4 { color: var(--orange); font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.notice-board ul li { padding: 6px 0; border-bottom: 1px dotted #f4c891; font-size: 13px; color: var(--text); }
.notice-board ul li:last-child { border: none; }
.notice-board ul li::before { content: '🔔 '; }
.new-badge { background: var(--red); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 3px; font-weight: 700; margin-left: 6px; vertical-align: middle; }

/* ── INFO TABLE ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table th { background: var(--blue); color: #fff; padding: 10px 14px; text-align: left; }
.info-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.info-table tr:nth-child(even) td { background: var(--light); }
.info-table a { font-weight: 600; }

/* ── PROCESS STEPS ── */
.steps { display: flex; gap: 0; counter-reset: step; }
.step { flex: 1; padding: 24px 20px; text-align: center; position: relative; }
.step::after {
  content: '→'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--border); z-index: 1;
}
.step:last-child::after { display: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  counter-increment: step;
}
.step h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.step p  { font-size: 12px; color: var(--muted); }

/* ── ACCORDION ── */
.accordion { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border: none; }
.acc-q {
  width: 100%; text-align: left; padding: 14px 20px;
  background: #fff; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--blue);
  display: flex; justify-content: space-between; align-items: center;
}
.acc-q:hover { background: var(--light); }
.acc-q::after { content: '+'; font-size: 20px; color: var(--orange); }
.acc-q.open { background: var(--blue); color: #fff; }
.acc-q.open::after { content: '−'; color: #fff; }
.acc-a { display: none; padding: 14px 20px; background: var(--light); font-size: 13px; color: var(--muted); line-height: 1.7; }
.acc-a.show { display: block; }

/* ── CONTACT CARDS ── */
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; text-align: center; }
.contact-card .icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.contact-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.contact-card .big { font-size: 24px; font-weight: 800; color: var(--orange); }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--light); padding: 10px 0; border-bottom: 1px solid var(--border); }
.breadcrumb .inner { max-width: 1200px; margin: auto; padding: 0 16px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--blue2), var(--blue)); padding: 40px 0; color: #fff; }
.page-hero h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.page-hero p  { color: #8aabdf; font-size: 14px; }

/* ── ALERT BOX ── */
.alert { padding: 14px 18px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; }
.alert-info    { background: #e3f0ff; border-left: 4px solid var(--blue); color: #003087; }
.alert-warning { background: #fff3e0; border-left: 4px solid var(--orange); color: #7a3500; }
.alert-success { background: #e8f5e9; border-left: 4px solid var(--green); color: #1a5c2a; }

/* ── FORM ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; outline: none; transition: .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,48,135,.08);
}
.form-group small { font-size: 11px; color: var(--muted); margin-top: 4px; display: block; }

/* ── TAG / PILL ── */
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.pill-blue   { background: #dce8ff; color: var(--blue); }
.pill-orange { background: #fde8d8; color: var(--orange); }
.pill-green  { background: #d4edda; color: var(--green); }
.pill-red    { background: #fde8e8; color: var(--red); }

/* ── FOOTER ── */
.site-footer { background: var(--blue2); color: #8aabdf; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo h3 { font-size: 18px; color: #fff; margin: 12px 0 8px; }
.footer-logo p  { font-size: 12px; color: #6680a8; line-height: 1.6; }
.footer-col h4  { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: #8aabdf; font-size: 12px; }
.footer-col ul li a:hover { color: var(--orange2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.footer-bottom a { color: #6680a8; }
.footer-bottom a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #8aabdf; transition: .2s; }
.social-links a:hover { background: var(--orange); color: #fff; text-decoration: none; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.fw-700 { font-weight: 700; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .inner { flex-direction: column; }
  .hero-card { width: 100%; }
  .steps { flex-direction: column; }
  .step::after { display: none; }
}
@media (max-width: 600px) {
  .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-wrap: wrap; }
  .main-nav .inner { flex-wrap: wrap; overflow-x: auto; }
  .main-nav a { padding: 10px 12px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h2 { font-size: 26px; }
}
