/* JobSource India — shared styles
   System: deep navy + sky blue (logo) + white
   Type: Manrope (display) / IBM Plex Sans (body)
*/

:root {
  --navy-900: #0a1a3a;
  --navy-800: #12244a;
  --navy-700: #1c3260;
  --navy-600: #2a447a;
  --blue-500: #4aa8e0;   /* logo sky blue */
  --blue-400: #7ac0ea;
  --blue-100: #e6f3fb;
  --blue-50:  #f3f9fd;
  --ink-900:  #0e1524;
  --ink-700:  #2b3445;
  --ink-500:  #5a6478;
  --ink-300:  #9aa3b5;
  --ink-200:  #c7cdd9;
  --ink-100:  #e6e9ef;
  --ink-50:   #f5f6f9;
  --white:    #ffffff;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(14, 21, 36, 0.04), 0 1px 3px rgba(14, 21, 36, 0.06);
  --shadow:    0 4px 12px rgba(14, 21, 36, 0.06), 0 2px 4px rgba(14, 21, 36, 0.04);
  --shadow-lg: 0 18px 40px rgba(14, 21, 36, 0.10), 0 4px 8px rgba(14, 21, 36, 0.04);

  --maxw: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p  { margin: 0 0 1em; color: var(--ink-700); }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--blue-500); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--tint  { background: var(--ink-50); }
.section--navy  { background: var(--navy-900); color: var(--white); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy p  { color: rgba(255,255,255,0.78); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--ink-200);
}
.btn--ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--on-navy {
  background: var(--white);
  color: var(--navy-900);
}
.btn--on-navy:hover {
  background: var(--blue-100);
  color: var(--navy-900);
}
.btn svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ink-100);
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 38px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-700);
}
.nav a:hover { background: var(--ink-50); color: var(--navy-900); }
.nav a.active { color: var(--navy-900); background: var(--blue-50); }

.header-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 900px) {
  .nav { display: none; }
}

/* ——— Footer: minimal, subtle ——— */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.70);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .foot-top__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.foot-mark__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(74,168,224,0.18);
}
.foot-mark__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: white;
}
.foot-mark__word em {
  font-style: normal;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-left: 2px;
}
.foot-top__brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
  max-width: 36ch;
}
.site-footer h4 {
  color: white;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li {
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.60);
}
.foot-col a {
  color: rgba(255,255,255,0.70);
  transition: color 0.15s;
}
.foot-col a:hover { color: white; }
.site-footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
}
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.foot-legal a:hover { color: white; }


/* Utility */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-700);
  line-height: 1.6;
  max-width: 62ch;
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; stroke-width: 1.6; }

/* Photo container (was .stock) — renders a real image via inline background-image */
.stock {
  position: relative;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: rgba(255,255,255,0.92);
}
.stock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,58,0) 55%, rgba(10,26,58,0.55) 100%);
  pointer-events: none;
}
.stock__label { display: none; }
.stock--square { aspect-ratio: 1; }
.stock--wide { aspect-ratio: 16 / 9; }
.stock--tall { aspect-ratio: 3 / 4; }

/* Page hero shared */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--ink-100);
}
.page-hero h1 { max-width: 20ch; }
.page-hero p  { max-width: 60ch; font-size: 1.1rem; }

/* Fade-in on scroll (CSS only via view-timeline w/ graceful fallback) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Generic table */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-100);
}
.table th {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 600;
  background: var(--ink-50);
}

/* Small helpers */
.muted { color: var(--ink-500); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
