/* ============================================================
   Shramik Sathi — Landing page theme
   Palette: warm cream surfaces + space-gray ink. Light, calm, professional.
   (Scoped to index.html; manual-compliance.html keeps styles.css.)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --cream:      #faf6ee;   /* page background */
  --cream-2:    #f5eddf;   /* alternating band */
  --cream-3:    #efe6d4;   /* deeper band */
  --paper:      #fffdf9;   /* cards */
  --ink:        #2b2d31;   /* headings (space gray, near-black) */
  --graphite:   #383b41;   /* dark surfaces */
  --graphite-d: #26282c;   /* darkest surface / footer */
  --gray:       #585c64;   /* body text */
  --muted:      #8c8f97;   /* secondary text */
  --line:       #e8ddc9;   /* warm hairline borders */
  --accent:     #b0884e;   /* muted bronze — used sparingly */
  --accent-d:   #936f3c;
  --radius:     14px;
  --shadow:     0 1px 2px rgba(43,45,49,.04), 0 12px 28px -12px rgba(43,45,49,.12);
  --shadow-sm:  0 1px 2px rgba(43,45,49,.05);
}

body { font-family: 'Inter', 'Noto Sans Devanagari', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
::selection { background: rgba(176,136,78,.22); }

/* ---------- Shared section primitives ---------- */
.section-title { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250,246,238,.82); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); padding: 0 2rem; }
.nav-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 50px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray); font-weight: 500; font-size: .95rem; letter-spacing: .01em; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--cream); padding: .62rem 1.4rem; border-radius: 9px; font-weight: 600; text-decoration: none; font-size: .92rem; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--graphite-d); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 560px at 72% -12%, rgba(176,136,78,.12), transparent 60%),
    radial-gradient(820px 520px at -5% 112%, rgba(56,59,65,.07), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-bg::after { /* faint grid for depth */
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .35;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 38%, #000, transparent 72%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 760px; min-width: 0; padding: 2rem; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); margin-bottom: 1.3rem; }
.hero h1 span { color: var(--accent); }
.hero h2 { font-size: clamp(1rem, .9rem + .5vw, 1.2rem); font-weight: 400; color: var(--gray); line-height: 1.6; max-width: 540px; margin: 0 auto 2.4rem; }
.hero-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn-solid, .btn-outline { padding: .85rem 1.9rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, color .2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-solid { background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--graphite-d); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(43,45,49,.28); }
.btn-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

/* ---------- TRUST BAND ---------- */
.trust-band { background: var(--cream-2); padding: 3.25rem 2rem; border-block: 1px solid var(--line); }
.trust-inner { max-width: 1180px; margin: 0 auto; }
.metrics { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4.5rem); flex-wrap: wrap; margin-bottom: 2.5rem; }
.metric { text-align: center; }
.metric .num { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.metric .label { font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: .35rem; }
.logos-title { text-align: center; font-size: .76rem; color: var(--muted); margin-bottom: 1.4rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; }
.logo-row { display: flex; justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; }
.logo-row span { font-size: 1.15rem; font-weight: 800; color: var(--graphite); letter-spacing: .04em; opacity: .55; transition: opacity .2s; }
.logo-row span:hover { opacity: .9; }

/* ---------- HERO: job-portal elements ---------- */
.hero-kicker { font-size: clamp(.82rem, .74rem + .4vw, .98rem); font-weight: 700; color: var(--accent-d); letter-spacing: .04em; margin-bottom: 1rem; }
.hero-search {
  display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 560px; margin: 0 auto 1.1rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: .85rem 1rem .85rem 1.2rem; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hero-search:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 4px 8px rgba(43,45,49,.06), 0 18px 36px -14px rgba(43,45,49,.18); }
.hero-search svg { color: var(--muted); flex-shrink: 0; }
.hs-placeholder { flex: 1; min-width: 0; text-align: left; color: var(--muted); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-btn { background: var(--ink); color: var(--cream); font-weight: 700; font-size: .92rem; padding: .55rem 1.25rem; border-radius: 9px; flex-shrink: 0; }
.hero-chips { display: flex; gap: .55rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-chips a {
  font-size: .84rem; font-weight: 600; color: var(--gray); text-decoration: none;
  background: rgba(255,253,249,.7); border: 1px solid var(--line); border-radius: 999px;
  padding: .38rem 1rem; transition: all .2s;
}
.hero-chips a:hover { color: var(--cream); background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }

/* ---------- WHY DIFFERENT ---------- */
.diff { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; background: var(--cream); }
.diff .section-title { text-align: center; margin-bottom: 2.6rem; line-height: 1.25; }
.diff-us { color: var(--accent-d); }
.diff-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 1.3rem; align-items: stretch; }
.diff-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.9rem; }
.diff-card h3 { font-size: 1.15rem; font-weight: 700; margin: .35rem 0 .6rem; }
.diff-card p { font-size: .93rem; color: var(--gray); line-height: 1.65; }
.diff-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .8rem; }
.diff-card-us { background: var(--graphite); border-color: var(--graphite-d); box-shadow: var(--shadow); }
.diff-card-us h3 { color: var(--cream); }
.diff-card-us p { color: #c9c4ba; }
.diff-card-us p strong { color: var(--cream); }
.diff-card-us .diff-tag { color: var(--accent); background: rgba(176,136,78,.16); border-color: rgba(176,136,78,.35); }

/* ---------- THREE AUDIENCES ---------- */
.audiences { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; background: var(--cream-2); border-block: 1px solid var(--line); }
.audiences .section-title, .audiences .section-sub { text-align: center; }
.audiences .section-title { margin-bottom: .7rem; }
.audiences .section-sub { margin-bottom: 3rem; }
.aud-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.aud-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2.1rem; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud-card .icon { width: 54px; height: 54px; border-radius: 13px; background: #ece3d2; color: var(--accent-d); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.aud-card h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 1rem; }
.aud-en { font-weight: 600; color: var(--muted); font-size: .95rem; }
.aud-card ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.4rem; }
.aud-card li { position: relative; padding-left: 1.35rem; font-size: .92rem; color: var(--gray); line-height: 1.55; }
.aud-card li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-d); font-weight: 800; }
.aud-cta { margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; transition: color .2s; }
.aud-cta:hover { color: var(--accent-d); }

/* ---------- WORKER STEPS ---------- */
.steps-band { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; background: var(--cream); }
.steps-band .section-title { text-align: center; margin-bottom: 2.8rem; }
.steps-en { display: block; font-size: .55em; font-weight: 600; color: var(--muted); margin-top: .45rem; letter-spacing: 0; }
.steps-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.4rem; }
.step { text-align: center; padding: 1.6rem 1.2rem; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--gray); line-height: 1.6; max-width: 270px; margin: 0 auto; }

/* ---------- COMPLIANCE (dark space-gray band) ---------- */
.compliance { background: var(--graphite); padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.compliance .section-title, .compliance .section-sub { text-align: center; }
.compliance .section-title { color: var(--cream); margin-bottom: .7rem; }
.compliance .section-sub { color: #c9c4ba; margin-bottom: 3rem; }
.comp-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.comp-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 1.9rem; transition: background .3s, transform .3s; }
.comp-card:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.comp-card .icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(176,136,78,.18); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.comp-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--cream); margin-bottom: .5rem; }
.comp-card p { font-size: .9rem; color: #b7b2a8; line-height: 1.65; }

/* ---------- ABOUT ---------- */
.about { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; background: var(--cream); }
.about-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.about-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.about-text p { color: var(--gray); line-height: 1.8; font-size: 1rem; margin-bottom: 1rem; }
.about-text .highlight { color: var(--accent-d); font-weight: 600; }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; background: var(--cream-2); border-top: 1px solid var(--line); }
.contact .section-title, .contact .section-sub { text-align: center; }
.contact .section-title { margin-bottom: .7rem; }
.contact .section-sub { margin-bottom: 3rem; }
.contact-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; }
.contact-info h3, .contact-form h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-item .ci-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--cream-3); color: var(--accent-d); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); }
.contact-item .ci-label { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-item .ci-value { font-size: .96rem; color: var(--ink); font-weight: 500; margin-top: 2px; word-break: break-word; }
.contact-form { background: var(--paper); padding: 2rem; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.form-group input, .form-group select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; font-family: inherit; color: var(--ink); background: var(--cream); transition: border-color .2s, box-shadow .2s; outline: none; }
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,136,78,.15); background: var(--paper); }
.form-submit { width: 100%; padding: .9rem; background: var(--ink); color: var(--cream); border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; font-family: inherit; }
.form-submit:hover { background: var(--graphite-d); transform: translateY(-1px); }
.form-submit:disabled { opacity: .7; cursor: default; transform: none; }

/* ---------- FOOTER ---------- */
.footer { background: var(--graphite-d); padding: 2.5rem 2rem; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { color: #b7b2a8; text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer p { color: #80837f; font-size: .8rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav { padding: 0 1.5rem; }
  .comp-grid, .about-inner, .contact-grid, .diff-grid, .aud-grid, .steps-grid { max-width: 100%; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff-card-us { grid-column: 1 / -1; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .aud-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 1.75rem 2rem; gap: 1.25rem; transform: translateY(-130%); transition: transform .3s ease; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(43,45,49,.12); z-index: 99; }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 78vh; }
  .comp-grid, .about-inner, .contact-grid, .diff-grid, .aud-grid, .steps-grid { grid-template-columns: 1fr; }
  .diff-card-us, .aud-card:last-child { grid-column: auto; }
  .about-inner { gap: 2rem; }
  .about-img { order: 2; }
  .steps-grid { gap: .6rem; }
}

@media (max-width: 640px) {
  .nav { padding: 0 1.1rem; }
  .nav-inner { height: 62px; }
  .nav-logo-img { height: 40px; }
  .nav-links { top: 62px; }
  .hero { min-height: 72vh; }
  .hero-content { padding: 1.5rem 1.25rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-solid, .btn-outline { width: 100%; }
  .trust-band { padding: 2.5rem 1.25rem; }
  .metrics { gap: 1.25rem 2rem; }
  .metric { min-width: 40%; }
  .compliance, .about, .contact, .diff, .audiences, .steps-band { padding-inline: 1.25rem; }
  .comp-card { padding: 1.5rem; }
  .diff-card, .aud-card { padding: 1.6rem 1.4rem; }
  .hero-search { padding: .7rem .7rem .7rem 1rem; }
  .hs-btn { padding: .5rem .95rem; }
  .hero-chips a { font-size: .8rem; padding: .34rem .85rem; }
  .contact-form { padding: 1.5rem; }
  .footer-links { gap: 1rem 1.5rem; }
}

@media (max-width: 380px) {
  .hero h2 { font-size: .92rem; }
  .metric { min-width: 44%; }
}

/* iOS safe areas */
@supports (padding: env(safe-area-inset-top)) {
  .nav { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
  .footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }
}

/* Touch targets */
@media (pointer: coarse) {
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .hero-chips a { min-height: 38px; display: inline-flex; align-items: center; }
  .hero-search { min-height: 56px; }
  .aud-cta { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-solid, .btn-outline, .nav-cta { min-height: 48px; }
  .form-group input, .form-group select { min-height: 48px; }
  .form-submit { min-height: 50px; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
