/* ============================================
   Shared stylesheet for the Social Responsibility
   digital tools & dashboards website
   ============================================ */

:root {
  --deep-blue: #0b3d5c;
  --ocean-blue: #0e6ba8;
  --teal: #1a8a8a;
  --aqua: #4fb3bf;
  --light-aqua: #e6f4f6;
  --sand: #f7f4ee;
  --ink: #1c2b33;
  --slate: #526673;
  --white: #ffffff;
  --warn: #c0522d;
  --warn-bg: #fbe9e2;
  --good: #2f7d4f;
  --good-bg: #e6f2ea;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(11, 61, 92, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 61, 92, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Segoe UI", serif;
  color: var(--deep-blue);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--ocean-blue); }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #e3edf0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--max-width); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--deep-blue); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--slate); font-weight: 600; font-size: 0.95rem; padding: 8px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid #e3edf0; box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .nav-links.open { max-height: 400px; }
  .nav-links li { border-top: 1px solid #f0f5f6; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: block; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--deep-blue); margin: 5px 0; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 55%, var(--teal) 100%); color: var(--white); padding: 64px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero .container { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 0.35em; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.8rem; font-weight: 700; color: var(--light-aqua); margin-bottom: 10px; display: block; }
.hero p { color: #e7f3f6; font-size: 1.05rem; max-width: 55ch; }
.hero-art { justify-self: center; }

.btn { display: inline-block; background: var(--white); color: var(--deep-blue); font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; margin-top: 10px; box-shadow: var(--shadow); }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); color: var(--white); }

/* ---------- Section scaffolding ---------- */
section { padding: 56px 0; }
section.alt { background: var(--light-aqua); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: 1.9rem; }
.section-head .tag { display: inline-block; background: var(--light-aqua); color: var(--teal); font-weight: 700; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--white); border: 1px solid #e6eef0; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card .icon { width: 46px; height: 46px; margin-bottom: 14px; }

/* ---------- Disease profile cards ---------- */
.disease-card { background: var(--white); border-radius: var(--radius); border: 1px solid #e6eef0; box-shadow: var(--shadow); overflow: hidden; }
.disease-card .d-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--light-aqua); }
.disease-card .d-head svg { width: 40px; height: 40px; flex-shrink: 0; }
.disease-card .d-head h3 { margin: 0; font-size: 1.05rem; }
.disease-card .d-head .category { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--teal); font-weight: 700; }
.disease-card .d-body { padding: 18px 20px; }
.disease-card dl { margin: 0; }
.disease-card dt { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--slate); margin-top: 12px; }
.disease-card dt:first-child { margin-top: 0; }
.disease-card dd { margin: 4px 0 0; }

/* ---------- Stat blocks ---------- */
.stat-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { text-align: center; padding: 26px 16px; background: var(--white); border-radius: var(--radius); border: 1px solid #e6eef0; box-shadow: var(--shadow); }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--ocean-blue); display: block; }
.stat .label { color: var(--slate); font-size: 0.92rem; }

/* ---------- Callouts ---------- */
.callout { border-left: 4px solid var(--teal); background: var(--light-aqua); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.callout.warn { border-color: var(--warn); background: var(--warn-bg); }
.callout.good { border-color: var(--good); background: var(--good-bg); }

/* ---------- Bar chart ---------- */
.bar-chart .bar-row { display: grid; grid-template-columns: 190px 1fr 60px; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; }
.bar-track { background: #dcecee; border-radius: 999px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ocean-blue), var(--teal)); }

/* ---------- Two column layout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tab-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.tab-badge.global { background: #e3ecfa; color: #1d4e93; }
.tab-badge.india { background: #fdece0; color: #b45b1c; }

/* ---------- Prevention checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Timeline ---------- */
.timeline { border-left: 3px solid var(--aqua); margin-left: 10px; padding-left: 24px; }
.timeline .t-item { position: relative; margin-bottom: 26px; }
.timeline .t-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 3px solid var(--light-aqua); }
.timeline .t-year { font-weight: 800; color: var(--ocean-blue); font-size: 0.9rem; }

/* ---------- CLEANSE dashboard callout ---------- */
.btn.accent {
  background: #ff8a3d;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 138, 61, 0.35);
}
.btn.accent:hover { background: #f0762a; }

.dashboard-section { padding: 0 0 56px; }
.dashboard-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(120deg, var(--deep-blue), var(--teal));
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-lg);
}
.dashboard-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-icon svg { width: 34px; height: 34px; }
.dashboard-copy h2 { color: var(--white); margin-bottom: 0.3em; }
.dashboard-copy p { color: #e7f3f6; }
.dashboard-copy .tag { background: rgba(255,255,255,0.18); color: var(--white); }
.dashboard-copy .small { color: #bcdbe2; }
@media (max-width: 680px) {
  .dashboard-banner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-blue); color: #cfe3ea; padding: 40px 0 24px; font-size: 0.9rem; }
.site-footer a { color: #bfe3ea; }
.site-footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 24px; }
@media (max-width: 700px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #9fc0cb; font-size: 0.82rem; }

/* ---------- Source list ---------- */
.sources { font-size: 0.85rem; color: var(--slate); }
.sources ol { padding-left: 20px; }
.sources li { margin-bottom: 8px; }

/* ---------- ENRICH: status pill ---------- */
.status-pill { display:inline-flex; align-items:center; gap:8px; background: rgba(255,255,255,0.16); color: var(--white); font-weight:700; font-size:0.82rem; padding:6px 14px; border-radius:999px; margin-bottom:14px; letter-spacing:.3px; }
.status-pill .dot { width:8px; height:8px; border-radius:50%; background:#7CFFB2; box-shadow: 0 0 0 4px rgba(124,255,178,0.28); flex-shrink:0; }
.status-pill.light { background: var(--light-aqua); color: var(--teal); }
.status-pill.light .dot { background: var(--good); box-shadow: 0 0 0 4px rgba(47,125,79,0.18); }

/* ---------- ENRICH: work-package roadmap (reuses .timeline) ---------- */
.wp-tag { display:inline-block; font-size:0.7rem; font-weight:800; letter-spacing:.5px; text-transform:uppercase; padding:3px 10px; border-radius:999px; margin-left:8px; vertical-align:middle; }
.wp-tag.done { background: var(--good-bg); color: var(--good); }
.wp-tag.ongoing { background: #fdf1de; color: #b4791c; }
.wp-tag.upcoming { background: #eef1f3; color: var(--slate); }

/* ---------- ENRICH: person cards ---------- */
.person-card h3 { margin-bottom: 2px; }
.person-card .role { display:block; font-size:0.82rem; color: var(--teal); font-weight:700; margin-bottom:8px; }

/* ---------- ENRICH: partner-org strip ---------- */
.org-strip { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:18px; }
.org-strip span { background: var(--light-aqua); color: var(--deep-blue); font-weight:700; font-size:0.85rem; padding:8px 16px; border-radius:999px; }

/* Utility */
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--slate); }
.mt-0 { margin-top: 0; }
