/* =====================================================================
   Dail Bharat - FAQ page stylesheet
   Hero, category tabs, accordion FAQ, sidebar, CTA, footer.
   ===================================================================== */

:root {
  --saffron: #FF9933;
  --saffron-deep: #E67A00;
  --gold: #F5B83D;
  --navy: #0B1F45;
  --navy-deep: #071530;
  --green: #138808;
  --green-deep: #0C5C05;
  --ink: #1B1B1B;
  --slate: #5B6475;
  --line: #E6E2DA;
  --soft: #F6F4EF;
  --paper: #FBFAF7;
  --head: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 16px 40px -22px rgba(11,31,69,.45);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: .1px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
section[id] { scroll-margin-top: 84px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--body); padding: 14px 24px; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fff; box-shadow: 0 12px 24px -12px rgba(230,122,0,.7); }
.btn-primary:hover { box-shadow: 0 16px 28px -12px rgba(230,122,0,.85); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 12px; }

/* ---------- announcement bar ---------- */
.topbar { background: var(--navy-deep); color: #EFE3C6; font-size: 14px; }
.topbar .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.topbar b { color: var(--gold); }
.topbar a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tricolor { height: 4px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 27px; color: var(--navy); letter-spacing: .2px; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, var(--saffron), var(--saffron-deep)); display: grid; place-items: center; color: #fff; font-size: 22px; box-shadow: 0 8px 16px -8px rgba(230,122,0,.8); transform: rotate(-6deg); }
.logo em { font-style: normal; color: var(--saffron-deep); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: #fff; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-panel { display: flex; align-items: center; gap: 30px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); transition: background .15s, color .15s; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--soft); color: var(--navy); }
.main-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--saffron); }
.actions { display: flex; gap: 10px; align-items: center; }

/* ================= FAQ HERO ================= */
.faq-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(255,153,51,.16), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(19,136,8,.08), transparent 62%),
    linear-gradient(180deg, #FFF7E9 0%, #FDF2E0 60%, #FBFAF7 100%);
  padding: 44px 0 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,31,69,.04) 1px, transparent 1.2px);
  background-size: 26px 26px;
  pointer-events: none;
}
.faq-hero-content { position: relative; max-width: 820px; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; font-weight: 600; color: var(--slate);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--slate); transition: color .15s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .current { color: var(--saffron-deep); font-weight: 700; }

.faq-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 16px 7px 12px; border-radius: 99px;
  box-shadow: 0 6px 16px -12px rgba(11,31,69,.3);
  margin-bottom: 16px;
}
.faq-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255,153,51,.2);
}

.faq-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.faq-hero h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--saffron-deep);
}
.faq-hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  opacity: .28;
  border-radius: 4px;
  z-index: -1;
}
.faq-lead {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 24px;
}
.faq-lead a {
  color: var(--saffron-deep);
  font-weight: 700;
  border-bottom: 2px solid rgba(230,122,0,.3);
  padding-bottom: 1px;
}
.faq-lead a:hover { color: var(--navy); border-color: var(--navy); }

/* Search box */
.faq-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 28px;
}
.faq-search input {
  width: 100%;
  font: 500 15.5px/1.4 var(--body);
  padding: 15px 20px 15px 48px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -18px rgba(11,31,69,.35);
  transition: border-color .15s, box-shadow .15s;
}
.faq-search input::placeholder { color: #9AA0AF; }
.faq-search input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,153,51,.15);
}
.faq-search .search-ic {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--slate);
  pointer-events: none;
}

.faq-hero-stats {
  display: inline-flex;
  gap: 40px;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px -20px rgba(11,31,69,.3);
}
.faq-hero-stats > div { text-align: center; }
.faq-hero-stats b {
  display: block;
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.faq-hero-stats span {
  display: block;
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* ================= CATEGORY TABS ================= */
.faq-tabs {
  position: sticky;
  top: 62px;
  z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px -16px rgba(11,31,69,.3);
}
.tabs-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.ftab {
  position: relative;
  background: none;
  border: 0;
  padding: 16px 18px;
  font: 700 14.5px var(--body);
  color: var(--slate);
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s;
}
.ftab:hover { color: var(--navy); }
.ftab.active { color: var(--navy); }
.ftab.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-deep));
}

/* ================= FAQ CONTENT ================= */
.faq-section { padding: 40px 0 64px; background: var(--paper); }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.faq-main { min-width: 0; }

/* Group */
.faq-group { margin-bottom: 40px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.g-ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--bg, #FFF1DE);
  flex: none;
  box-shadow: 0 8px 18px -14px rgba(11,31,69,.35);
}
.faq-group-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  margin-bottom: 2px;
}
.faq-group-head p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

/* FAQ list */
.faq-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px -22px rgba(11,31,69,.3);
}

/* FAQ item */
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item[open] { background: #FFFCF6; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  user-select: none;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--soft); }
.faq-item summary::-webkit-details-marker { display: none; }

.q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  flex: none;
}
.q-text { flex: 1; }
.q-toggle {
  font: 600 24px/1 var(--body);
  color: var(--saffron-deep);
  transition: transform .2s;
  flex: none;
}
.faq-item[open] .q-toggle { transform: rotate(45deg); }

/* Answer */
.faq-answer {
  display: flex;
  gap: 14px;
  padding: 0 22px 22px 22px;
  align-items: flex-start;
}
.a-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #E8F6EC;
  color: var(--green-deep);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  flex: none;
  margin-top: 2px;
}
.a-content { flex: 1; color: var(--slate); font-size: 15.5px; line-height: 1.65; }
.a-content p { margin-bottom: 10px; }
.a-content p:last-child { margin-bottom: 0; }
.a-content ul,
.a-content ol {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
  padding-left: 22px;
}
.a-content ul { list-style: disc; }
.a-content ol { list-style: decimal; }
.a-content li { color: var(--slate); font-size: 15px; line-height: 1.55; }
.a-content strong { color: var(--navy); font-weight: 700; }
.a-content a {
  color: var(--saffron-deep);
  font-weight: 600;
  border-bottom: 1.5px solid rgba(230,122,0,.35);
  padding-bottom: 1px;
}
.a-content a:hover { color: var(--navy); border-color: var(--navy); }

/* No results */
.faq-no-results {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.nr-ic {
  display: block;
  font-size: 40px;
  margin-bottom: 12px;
}
.faq-no-results h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}
.faq-no-results p {
  color: var(--slate);
  font-size: 15px;
}
.faq-no-results a {
  color: var(--saffron-deep);
  font-weight: 700;
  text-decoration: underline;
}

/* ================= SIDEBAR ================= */
.faq-side {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 16px;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px -22px rgba(11,31,69,.3);
}
.side-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.side-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 14px;
}
.side-btn { width: 100%; padding: 12px 18px; font-size: 14.5px; border-radius: 10px; }
.side-btn + .side-btn { margin-top: 8px; }

.side-tip {
  background: linear-gradient(135deg, #FFF9F0, #FFF2E0);
  border-color: #FFE2BF;
}
.side-tip .tip-ic {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}
.side-tip h3 { color: var(--navy); }
.side-tip p { color: var(--slate); margin-bottom: 0; }

.side-links ul {
  display: grid;
  gap: 8px;
}
.side-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  transition: color .15s, padding-left .15s;
}
.side-links li:last-child a { border-bottom: 0; }
.side-links li a::before {
  content: "→";
  color: var(--saffron-deep);
  font-weight: 800;
  transition: transform .15s;
}
.side-links li a:hover {
  color: var(--navy);
  padding-left: 4px;
}

/* ================= CTA ================= */
.faq-cta-section {
  padding: 0 0 56px;
  background: var(--paper);
}
.faq-cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 44px 32px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(600px 300px at 90% 0, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #E67A00, #FF9933 45%, #F5B83D);
}
.faq-cta-band::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,.14);
}
.faq-cta-band h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
  position: relative;
}
.faq-cta-band p {
  max-width: 620px;
  margin: 8px auto 20px;
  font-size: 17px;
  color: #FFF6E8;
  position: relative;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.faq-cta-band .btn-dark { background: var(--navy); color: #fff; }
.faq-cta-band .btn-dark:hover { background: var(--navy-deep); }
.faq-cta-band .btn-light { background: #fff; color: var(--navy); }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy-deep);
  color: #C3CBE4;
  padding: 44px 0 0;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo em { color: var(--gold); }
.f-about p { margin: 10px 0 14px; max-width: 340px; font-size: 15px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 800; font-size: 15px; color: #fff;
  transition: background .15s, transform .15s;
}
.social a:hover { background: var(--saffron); transform: translateY(-3px); }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.site-footer li a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 14px;
}
.f-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.f-bottom a:hover { color: var(--gold); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .nav-panel { gap: 14px; }
  .main-nav a { padding: 10px 10px; }
  .faq-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav-panel {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11,31,69,.5);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 24px 22px;
    display: none;
  }
  .nav-toggle:checked ~ .nav-panel { display: flex; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav { flex-direction: column; }
  .main-nav a { padding: 14px 12px; font-size: 16.5px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }

  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: relative; top: 0; }
  .faq-hero { padding: 36px 0 44px; }
  .faq-tabs { top: 62px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .faq-hero h1 { font-size: 32px; }
  .faq-lead { font-size: 15.5px; margin-bottom: 20px; }
  .faq-hero-stats { gap: 24px; padding: 12px 20px; }
  .faq-hero-stats b { font-size: 18px; }
  .faq-hero-stats span { font-size: 10.5px; }
  .ftab { padding: 14px 14px; font-size: 13.5px; }

  .faq-item summary { padding: 16px 16px; font-size: 15.5px; gap: 10px; }
  .faq-answer { padding: 0 16px 18px 16px; gap: 10px; }
  .q-mark, .a-mark { width: 24px; height: 24px; font-size: 12px; }
  .q-toggle { font-size: 22px; }

  .faq-group-head { gap: 12px; }
  .g-ic { width: 42px; height: 42px; font-size: 20px; }
  .faq-group-head h2 { font-size: 20px; }

  .faq-cta-band { padding: 32px 22px; border-radius: 20px; }
  .faq-cta-band p { font-size: 15.5px; }

  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .faq-hero-stats { flex-direction: row; width: 100%; justify-content: space-around; }
  .faq-hero-stats > div { flex: 1; }
  .faq-search input { font-size: 15px; padding: 13px 18px 13px 42px; }
  .side-card { padding: 18px; }
  .f-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}