/* ── FAQ PAGE SPECIFIC STYLES ──
   ThinkOnline.IN · faq.css
   Extracted from reference faq.html (lines 102–188).
   Base variables, body, header, footer are in styles.css.
   Font: Inter (loaded by header.php)
*/

/* ── FAQ Hero ── */
.faq-hero {
  background: linear-gradient(135deg, #020c4a, #061288, #0a1ea0);
  padding: 60px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
}
.fh-inner {
  position: relative;
  z-index: 1;
}



.faq-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.faq-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* Search box */
.srch-wrap {
  display: flex;
  justify-content: center;
}
.srch-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  width: 100%;
  max-width: 480px;
}
.srch-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: #fff;
  min-width: 0;
}
.srch-box input::placeholder { color: rgba(255,255,255,.45); }
.srch-box button {
  background: linear-gradient(135deg, var(--cyan), #0077a8);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: .87rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap; overflow-x: auto;
  flex-shrink: 0;
  transition: .2s;
}
.srch-box button:hover { transform: translateY(-1px); }

/* ── Stats Strip ── */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.stat-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  color: var(--muted);
}
.stat-pill strong {
  color: var(--blue);
  font-weight: 700;
}
.ssep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}

/* ── STICKY SUBNAV ── */
.subnav {
  position: sticky;
  top: var(--hdr);
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 4px 20px rgba(6,18,136,.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  white-space: nowrap;
}
.subnav-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: .22s;
  flex-shrink: 0;
}
.subnav-row a:hover {
  color: var(--blue);
  background: rgba(6,18,136,.03);
}
.subnav-row a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: rgba(6,18,136,.04);
}

/* ── FAQ Layout Grid ── */
.faq-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar ── */
.faq-sidebar {
  position: sticky;
  top: calc(var(--hdr) + 54px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fsb-head {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  padding: 16px 20px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.fsb-links { padding: 8px 0; }
.fsb-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 3px solid transparent;
  transition: .2s;
}
.fsb-links a:hover {
  color: var(--blue);
  background: rgba(6,18,136,.04);
  border-left-color: rgba(6,18,136,.3);
}
.fsb-links a.active {
  color: var(--blue);
  font-weight: 700;
  background: rgba(6,18,136,.06);
  border-left-color: var(--blue);
}
.fsb-div {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.fsb-help {
  background: var(--page-bg);
  margin: 10px 12px 14px;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border);
}
.fsb-help p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.65;
}
.fsb-help a {
  color: var(--blue);
  font-weight: 600;
}

/* ── FAQ Section ── */
.fqs {
  margin-bottom: 36px;
  scroll-margin-top: 128px;
}
.fqs:last-child { margin-bottom: 0; }
.fqs-head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r) var(--r) 0 0;
  padding: 18px 22px;
  border-bottom: 2px solid var(--blue);
}
.fqs-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(6,18,136,.08), rgba(0,150,199,.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.fqs-head h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.fqs-head p {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}
.fqs-count {
  margin-left: auto;
  background: rgba(6,18,136,.07);
  color: var(--blue);
  border: 1px solid rgba(6,18,136,.16);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.fqs-list {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  background: #fff;
  overflow: hidden;
}

/* ── FAQ Item ── */
.fqi { border-bottom: 1px solid var(--border); }
.fqi:last-child { border-bottom: none; }
.fqq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  cursor: pointer;
  gap: 14px;
  transition: background .2s;
  user-select: none;
}
.fqq:hover { background: var(--page-bg); }
.fqq span {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.fqt {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(6,18,136,.07);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--blue);
  transition: all .25s;
  font-weight: 700;
}
.fqi.open .fqt {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.fqi.open .fqq { background: rgba(6,18,136,.03); }
.fqa {
  display: none;
  padding: 0 22px 18px;
  font-size: .88rem;
  color: #3a4a70;
  line-height: 1.85;
  border-top: 1px solid var(--border);
}
.fqi.open .fqa { display: block; }
.fqa p { margin-bottom: 10px; }
.fqa p:last-child { margin-bottom: 0; }
.fqa ul,
.fqa ol { margin: 8px 0 12px 20px; }
.fqa li { margin-bottom: 6px; }
.fqa ul li::marker { color: var(--blue); }
.fqa ol li::marker { color: var(--blue); font-weight: 700; }
.fqa a { color: var(--blue); text-decoration: underline; }
.fqa strong { color: var(--text); }
.fqa code {
  background: rgba(6,18,136,.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85rem;
  font-family: monospace;
}

/* ── Noteboxes ── */
.nb2 {
  border-radius: 8px;
  padding: 11px 14px;
  margin: 10px 0;
  font-size: .84rem;
}
.nb2-blue {
  background: rgba(6,18,136,.04);
  border-left: 4px solid var(--blue);
  color: var(--text);
}
.nb2-green {
  background: rgba(21,128,61,.05);
  border-left: 4px solid #16a34a;
  color: #134e28;
}
.nb2-amber {
  background: rgba(245,158,11,.06);
  border-left: 4px solid #f59e0b;
  color: #7c4e00;
}

/* ── Tags ── */
.tag {
  display: inline-block;
  background: rgba(6,18,136,.07);
  color: var(--blue);
  border: 1px solid rgba(6,18,136,.15);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: .74rem;
  font-weight: 700;
  margin: 2px 3px 2px 0;
}

/* ── No Results ── */
.no-results {
  display: none;
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}
.no-results .nri {
  font-size: 3rem;
  margin-bottom: 12px;
}
.no-results h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* ── Help CTA ── */
.help-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}
.help-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.help-cta h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.help-cta p {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hc-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hcw {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 700;
  background: #fff;
  color: var(--blue);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: .2s;
  text-decoration: none;
}
.hcw:hover {
  background: var(--page-bg);
  transform: translateY(-1px);
}
.hco {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 700;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: .2s;
  text-decoration: none;
}
.hco:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 200px 1fr; gap: 22px; }
}
@media (max-width: 768px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}
@media (max-width: 480px) {
  .subnav-row a { padding: 0 10px; font-size: .75rem; }
}

/* Hide all FAQ categories by default except the first one for SPA-style tab layout */
.fqs {
  display: none;
}
.fqs:first-of-type {
  display: block;
}
