/* ============================================================
   BHARAT SHRAM SETU — CORE DESIGN SYSTEM
   Derived from the approved Home.css / Home.html.
   Variables below are reconstructed from the literal hex values
   already used throughout Home.css (common.css was not provided).
   Do not introduce new colors, radii, shadows or type scales —
   extend only using what's declared here.
   ============================================================ */

:root {
  /* Colors — derived from Home.css usage */
  --navy-deep: #071a52;   /* hero gradient start / dash bg */
  --navy:      #102b85;   /* hero gradient 62% stop / primary navy */
  --blue:      #304FA2;   /* pillar-1 deck, metrics/case gradients */
  --orange:    #F47C20;   /* pillar-2 deck/icon, faq plus, badges */
  --orange-cta:#ff7a00;   /* hero CTA button (as literally used) */
  --green:     #28A745;   /* pillar-3 (worker) deck/icon */
  --green-check:#22C55E;  /* pillar list checkmarks */
  --white:     #FFFFFF;
  --bg:        #F7F9FC;   /* card/section background */
  --border:    #E7EAF0;   /* card borders */
  --text:      #111827;   /* headings / body dark text */
  --text-soft: #64748B;   /* muted body text */
  --radius:    16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; margin: 0; color: var(--text); }
p { margin: 0; color: var(--text-soft); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--text-soft); font-size: 16.5px; margin-top: 14px; }

.eyebrow { color: #ff8a00; letter-spacing: 3px; font-size: 13px; font-weight: 600; }

/* Buttons — unified from hero's .btn-primary/.btn-secondary and
   the generic .btn/.btn-primary/.btn-ghost pair used in cta-final */
.btn, .btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary { background: var(--orange-cta); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,122,0,0.45); }
.btn-secondary, .btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff;
}
.btn-secondary:hover, .btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
/* Ghost/secondary on light backgrounds (used in nav / light sections) */
.btn-outline-navy { background: transparent; border: 1px solid var(--border); color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(16,43,133,0.04); }

/* Reveal-on-scroll helper (verbatim from Home.css) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- NAVIGATION (new — pattern-matched to the homepage's
   visual language: white sticky bar, Poppins logo, Inter links,
   orange primary CTA, consistent with .trusted's white+border style) ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.nav-logo .logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono'; font-size: 11px; font-weight: 700; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text-soft); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-outline-navy, .nav-cta .btn-primary { padding: 11px 22px; font-size: 14px; }
.nav-mobile-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* ---------- FOOTER (verbatim structure/values from Home.css) ---------- */
footer { background: #0F1638; color: rgba(255,255,255,0.7); padding: 64px 0 24px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-grid h5 { font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.foot-grid .logo { color: #fff; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reusable card components (verbatim from Home.css) ---------- */

/* problem-card pattern */
.problem-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.problem-card .num { font-family: 'JetBrains Mono'; color: var(--orange); font-weight: 600; font-size: 13px; margin-bottom: 14px; display: block; }
.problem-card h3 { font-size: 18px; margin-bottom: 8px; }
.problem-card p { color: var(--text-soft); font-size: 14.5px; margin: 0; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

/* pillar pattern (ecosystem cards) */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1200px; margin: 60px auto 0; }
.pillar { background: var(--white); border: 1px solid rgba(0,0,0,.06); border-radius: 24px; padding: 36px 28px; position: relative; overflow: hidden; transition: all .35s ease; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.10); }
.pillar .deck { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.pillar.p1 .deck { background: var(--blue); }
.pillar.p2 .deck { background: var(--orange); }
.pillar.p3 .deck { background: var(--green); }
.pillar .icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 22px; }
.pillar.p1 .icon { background: rgba(48,79,162,.10); }
.pillar.p2 .icon { background: rgba(244,124,32,.12); }
.pillar.p3 .icon { background: rgba(40,167,69,.12); }
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #111827; }
.pillar p { font-size: 15px; line-height: 1.7; color: #64748B; margin-bottom: 22px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pillar li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #334155; line-height: 1.6; }
.pillar li::before { content: "✓"; color: var(--green-check); font-weight: 700; flex-shrink: 0; }
@media (max-width: 1024px) { .pillars { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 768px) { .pillars { grid-template-columns: 1fr; gap: 18px; } }

/* mod-card pattern (capability/tab cards) */
.mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mod-card { border: 1px solid var(--border); border-radius: 12px; padding: 22px; background: var(--bg); }
.mod-card h4 { font-size: 15.5px; margin-bottom: 6px; color: var(--navy); }
.mod-card p { font-size: 13.5px; color: var(--text-soft); margin: 0; }
@media (max-width: 900px) { .mod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mod-grid { grid-template-columns: 1fr; } }

/* stats-strip pattern */
.stats-strip { width: 100%; max-width: 1200px; margin: 5px auto 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.stat-item { display: flex; align-items: center; gap: 15px; flex: 1; }
.stat-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(16,43,133,.06); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; transition: .3s; }
.stat-item:hover .stat-icon { border-color: var(--green); box-shadow: 0 0 20px rgba(40,167,69,.15); transform: translateY(-2px); }
.stat-item h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.1; }
.stat-item p { margin-top: 4px; color: var(--text-soft); font-size: 13px; line-height: 1.4; }
.divider { width: 1px; height: 50px; background: var(--border); }
@media (max-width: 768px) { .stats-strip { flex-direction: column; gap: 18px; padding: 20px; } .divider { display: none; } .stat-item { width: 100%; } }

/* step pattern */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 20px 0 0; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 22px; right: -10px; width: calc(100% - 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.step .idx { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono'; font-weight: 600; margin-bottom: 18px; position: relative; z-index: 2; }
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ind-card pattern */
.ind-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.ind-card { border: 1px solid var(--border); border-radius: 12px; padding: 22px 14px; text-align: center; transition: border-color .2s, transform .2s; background: var(--white); }
.ind-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.ind-card .ic { font-size: 26px; margin-bottom: 10px; }
.ind-card span { font-size: 13.5px; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: repeat(2,1fr); } }

/* metrics pattern */
.metrics { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.metric .v { font-family: 'JetBrains Mono'; font-size: 42px; font-weight: 600; }
.metric .l { font-size: 14px; color: rgba(255,255,255,0.72); margin-top: 6px; }
@media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* case-card pattern */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.case-top { height: 110px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; align-items: center; padding: 0 22px; }
.case-top span { font-family: 'JetBrains Mono'; color: #fff; font-size: 13px; }
.case-body { padding: 22px; }
.case-body h4 { font-size: 16px; margin-bottom: 10px; }
.case-stat { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.case-stat div .v { font-family: 'JetBrains Mono'; color: var(--green); font-weight: 600; font-size: 18px; }
.case-stat div .l { font-size: 11.5px; color: var(--text-soft); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* faq pattern (verbatim) */
.faq { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Poppins'; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.faq-q .plus { transition: transform .25s ease; font-size: 20px; color: var(--orange); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-top: 12px; font-size: 14.5px; color: var(--text-soft); margin: 0; }

/* cta-final pattern (verbatim) */
.cta-final { background: var(--navy-deep); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(28px,3.4vw,40px); }
.cta-final p { color: rgba(255,255,255,0.72); max-width: 520px; margin: 14px auto 32px; }
.cta-final .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* dashboard-view pattern (for Book a Demo) */
.dashboard-view { margin-top: 40px; background: #0F1638; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.4); overflow: hidden; }
.dash { background: var(--navy-deep); color: #fff; }
.dash .section-head h2, .dash .section-head p { color: #fff; }
.dash .section-head p { color: rgba(255,255,255,.65); }

/* form fields — new, styled to match card/border/radius language */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--text);
  background: var(--white); outline: none; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #9AA5B8; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

