:root {
  --navy: #163059;
  --medical-blue: #1479b8;
  --cardio-red: #ef2f32;
  --pakistan-green: #068f46;
  --background: #f6f9fc;
  --text-dark: #172033;
  --text-light: #ffffff;
  --border-color: #d8e2ed;
  --surface: #ffffff;
  --surface-soft: #edf5fa;
  --surface-green: #e9f7ef;
  --muted: #627189;
  --shadow: 0 18px 45px rgba(22, 48, 89, 0.11);
  --shadow-soft: 0 10px 24px rgba(22, 48, 89, 0.08);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
  --section-space: clamp(64px, 8vw, 108px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--medical-blue);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(20, 121, 184, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--navy);
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--compact {
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-header {
  max-width: 760px;
  margin: 0 0 34px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cardio-red);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3.15rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 780px;
  color: #41516a;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.text-small {
  color: var(--muted);
  font-size: 0.95rem;
}

.kicker {
  color: var(--pakistan-green);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: var(--border-color);
  box-shadow: 0 12px 28px rgba(22, 48, 89, 0.08);
}

.header-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: var(--navy);
}

.brand img {
  width: 178px;
  height: auto;
}

.brand-copy {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  position: relative;
  border-radius: var(--radius);
  color: #253248;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 9px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(20, 121, 184, 0.1);
  color: var(--medical-blue);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--text-light);
}

.site-nav a[aria-current="page"]:hover {
  color: var(--text-light);
}

.js-enabled .site-nav a {
  transition-delay: var(--nav-delay, 0ms);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 currentColor;
}

.nav-toggle::after {
  top: 28px;
}

.nav-toggle.is-open::before {
  top: 21px;
  box-shadow: none;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-open::after {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  min-height: min(650px, calc(100vh - 110px));
  padding: clamp(86px, 12vw, 132px) 0 clamp(72px, 9vw, 104px);
  background:
    linear-gradient(105deg, rgba(246, 249, 252, 0.98) 0%, rgba(246, 249, 252, 0.92) 54%, rgba(232, 246, 239, 0.72) 100%),
    var(--background);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 7% -7% 8% 44%;
  background: url("../images/logo-01.png") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 34px solid rgba(239, 47, 50, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 850px;
  z-index: 1;
}

.hero__text {
  max-width: 700px;
  margin-bottom: 28px;
  color: #40526d;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__note {
  margin: 30px 0 12px;
  color: var(--navy);
  font-weight: 800;
}

.page-hero {
  padding: clamp(70px, 9vw, 112px) 0 clamp(56px, 7vw, 82px);
  background:
    linear-gradient(115deg, #ffffff 0%, #f1f7fb 52%, #e9f7ef 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 18% -8% 12% 56%;
  background: url("../images/logo-01.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--medical-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button--primary {
  background: var(--cardio-red);
  color: var(--text-light);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d72629;
  color: var(--text-light);
}

.button--secondary {
  background: var(--navy);
  color: var(--text-light);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: #102443;
  color: var(--text-light);
}

.button--outline {
  border-color: var(--medical-blue);
  background: transparent;
  color: var(--medical-blue);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--medical-blue);
  color: var(--text-light);
}

.button--light {
  background: var(--text-light);
  color: var(--navy);
}

.button--light:hover,
.button--light:focus-visible {
  background: #f0f6fb;
  color: var(--navy);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(84px, 1fr));
  gap: 10px;
  max-width: 560px;
}

.countdown__unit {
  min-height: 92px;
  padding: 14px 10px;
  border: 1px solid rgba(20, 121, 184, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.countdown__unit strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
}

.countdown__unit span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat {
  padding: 28px;
  border-right: 1px solid var(--border-color);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--medical-blue);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.align-start {
  align-items: start;
}

.card {
  min-width: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(22, 48, 89, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 121, 184, 0.34);
  box-shadow: var(--shadow-soft);
}

.card__body {
  padding: 26px;
}

.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--pakistan-green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card__meta.red {
  color: var(--cardio-red);
}

.card__meta.blue {
  color: var(--medical-blue);
}

.card__footer {
  padding: 0 26px 26px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--medical-blue);
  font-weight: 800;
}

.link-arrow:hover {
  color: var(--cardio-red);
}

.accent-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--text-light);
  padding: clamp(28px, 5vw, 48px);
}

.accent-panel::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 320px;
  height: 320px;
  border: 28px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.accent-panel h2,
.accent-panel h3,
.accent-panel p {
  position: relative;
  z-index: 1;
  color: var(--text-light);
}

.accent-panel p {
  opacity: 0.82;
}

.accent-panel .button-row {
  position: relative;
  z-index: 1;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: #40516a;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pakistan-green);
  box-shadow: inset 0 0 0 4px #cdeedd;
  transform: translateY(-50%);
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--medical-blue);
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline time,
.timeline strong {
  color: var(--navy);
  font-weight: 900;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.feature-strip__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(22, 48, 89, 0.9), rgba(20, 121, 184, 0.72)),
    url("../images/logo-01.png") center / 92% auto no-repeat,
    #112647;
}

.feature-strip__media::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.feature-strip__media span {
  position: absolute;
  left: 28px;
  bottom: 24px;
  max-width: 360px;
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 800;
  z-index: 1;
}

.tabs {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tab-button:hover,
.tab-button[aria-selected="true"] {
  border-color: rgba(20, 121, 184, 0.2);
  background: var(--medical-blue);
  color: var(--text-light);
}

.tab-panel {
  padding: 28px;
}

.tab-panel[hidden] {
  display: none;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  padding: 9px 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--medical-blue);
  background: var(--medical-blue);
  color: var(--text-light);
}

.publication-card[hidden] {
  display: none;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: var(--radius);
  background: #e9f2f8;
  color: var(--navy);
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge.green {
  background: var(--surface-green);
  color: var(--pakistan-green);
}

.badge.red {
  background: #fee9ea;
  color: var(--cardio-red);
}

.leader-card {
  height: 100%;
}

.leader-card .avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--medical-blue));
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 900;
}

.leader-card .role {
  color: var(--cardio-red);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-card {
  border-left: 5px solid var(--cardio-red);
}

.quote-card blockquote {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  padding: 18px 20px;
  text-align: left;
  font-weight: 900;
}

.faq-question span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--medical-blue);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item.is-open .faq-question span {
  background: var(--medical-blue);
  color: var(--text-light);
}

.faq-panel {
  padding: 0 20px 18px;
}

.faq-panel[hidden] {
  display: none;
}

.form-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 36px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text-dark);
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--medical-blue);
  box-shadow: 0 0 0 4px rgba(20, 121, 184, 0.12);
  outline: 0;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--cardio-red);
}

.form-message {
  min-height: 20px;
  color: var(--cardio-red);
  font-size: 0.86rem;
}

.form-status {
  margin-top: 18px;
  color: var(--pakistan-green);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.contact-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.news-card time,
.event-card time {
  color: var(--pakistan-green);
  font-weight: 900;
}

.event-card .date-box {
  width: 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--text-light);
  text-align: center;
  font-weight: 900;
  line-height: 1.05;
}

.event-card .date-box span {
  display: block;
  font-size: 1.45rem;
}

.event-card__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.resource-link:hover {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: #101d35;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 54px 0 38px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  display: inline-flex;
  margin: 3px 0;
}

.site-footer a:hover {
  color: var(--text-light);
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: var(--radius);
  background: #ffffff;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 18px 0 24px;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--text-light);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--medical-blue);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
