/* ==========================================================
   History page – ISA Gujarat COLS / CPR Programme 2023
   ========================================================== */
:root {
  --hx-navy: #2e3093;
  --hx-navy-deep: #12134a;
  --hx-red: #e63946;
  --hx-orange: #f7941d;
  --hx-gold: #f5b82e;
  --hx-ink: #172b3b;
  --hx-muted: #5b6475;
  --hx-soft: #f4f5fc;
}

.hx-section { padding: 100px 0; }
.hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hx-red);
  margin-bottom: 12px;
}
.hx-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.hx-h2 {
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hx-ink);
  margin-bottom: 20px;
}
.hx-section p, .hx-record p, .hx-cert p { color: var(--hx-muted); font-size: 16.5px; line-height: 1.75; }
.hx-section p b, .hx-record p b { color: var(--hx-ink); }
.hx-title { text-align: center; max-width: 760px; margin: 0 auto 55px; }
.hx-title .hx-kicker { justify-content: center; }
.hx-source {
  font-size: 13px !important;
  font-style: italic;
  color: #8a91a1 !important;
  margin-top: -6px;
}

/* ---------- Hero ---------- */
.hx-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 170px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(18,19,74,.97) 0%, rgba(30,32,110,.9) 45%, rgba(46,48,147,.55) 100%),
    var(--hero-img) center 20% / cover no-repeat,
    var(--hx-navy-deep);
}
.hx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 85% 30%, rgba(230,57,70,.28), transparent 70%);
  pointer-events: none;
}
.hx-hero .container { position: relative; z-index: 1; }
.hx-hero-inner { max-width: 760px; }
.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 26px;
}
.hx-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hx-red);
  box-shadow: 0 0 0 0 rgba(230,57,70,.7);
  animation: hx-beat 1.6s infinite;
}
.hx-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
}
.hx-hero h1 span {
  background: linear-gradient(90deg, var(--hx-gold), var(--hx-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hx-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  margin-bottom: 34px;
}
.hx-tagline span { position: relative; }
.hx-tagline span + span::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hx-gold);
}
.hx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s ease;
}
.hx-btn i { font-size: 20px; }
.hx-btn-light { background: #fff; color: var(--hx-navy); }
.hx-btn-light:hover { background: var(--hx-gold); color: var(--hx-navy-deep); transform: translateY(-2px); }
.hx-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.hx-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ECG line */
.hx-ecg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  width: 100%;
  height: 90px;
  pointer-events: none;
}
.hx-ecg path {
  fill: none;
  stroke: rgba(255,255,255,.35);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: hx-trace 4.5s linear infinite;
}

/* ---------- Stats ---------- */
.hx-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -80px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(18,19,74,.15);
  overflow: hidden;
}
.hx-stat {
  padding: 34px 26px;
  text-align: center;
  border-right: 1px solid #eceef7;
}
.hx-stat:last-child { border-right: 0; }
.hx-stat i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  color: var(--hx-red);
  background: rgba(230,57,70,.08);
  margin-bottom: 14px;
}
.hx-stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--hx-navy);
}
.hx-stat p { margin: 6px 0 0; font-size: 15px; color: var(--hx-muted); }

/* ---------- Intro ---------- */
.hx-leader {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--hx-soft);
  border-left: 4px solid var(--hx-navy);
}
.hx-leader-icon {
  flex: 0 0 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-navy), #5153c9);
}
.hx-leader small { display: block; color: var(--hx-muted); font-size: 14px; }
.hx-leader h4 { font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 700; color: var(--hx-navy); margin: 4px 0 2px; }
.hx-leader span { font-size: 15px; color: var(--hx-ink); font-weight: 500; }

.hx-photo {
  position: relative;
  margin: 0;
  padding: 0 0 22px 22px;
}
.hx-photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 75%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--hx-red), var(--hx-orange));
  opacity: .9;
}
.hx-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(18,19,74,.2);
}
.hx-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hx-ink);
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.hx-photo figcaption i { color: var(--hx-red); font-size: 18px; }

/* ---------- World Record ---------- */
.hx-record {
  padding: 100px 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(245,184,46,.18), transparent 60%),
    linear-gradient(180deg, #fffaf0, #fff);
}
.hx-record-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a5a00;
  background: linear-gradient(90deg, #ffe7a8, #ffd36b);
  margin-bottom: 16px;
}
.hx-record-badge i { font-size: 18px; }
.hx-lead { font-size: 19px !important; color: var(--hx-ink) !important; }
.hx-record-photo {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: visible;
  cursor: zoom-in;
}
.hx-record-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 45% center;
  border-radius: 22px;
  border: 8px solid #fff;
  box-shadow: 0 25px 60px rgba(138,90,0,.2);
  transition: transform .6s ease;
}
.hx-record-photo:hover img { transform: scale(1.015); }
.hx-record-stamp {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-gold), #e08a00);
  border: 5px solid #fff;
  box-shadow: 0 15px 35px rgba(224,138,0,.4);
  transform: rotate(-8deg);
}
.hx-record-stamp strong { font-family: "Poppins", sans-serif; font-size: 28px; font-weight: 800; line-height: 1; }
.hx-record-stamp small { font-size: 12px; line-height: 1.3; margin-top: 6px; font-weight: 600; }
.hx-proud {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f3e2b5;
  box-shadow: 0 12px 30px rgba(138,90,0,.08);
}
.hx-proud h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--hx-ink);
  margin-bottom: 8px;
}
.hx-proud h4 i { color: var(--hx-gold); font-size: 22px; }
.hx-proud p { margin: 0; font-size: 15.5px; }

/* ---------- Timeline ---------- */
.hx-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.hx-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--hx-red), var(--hx-navy) 60%, rgba(46,48,147,.15));
}
.hx-phase {
  position: relative;
  width: 50%;
  padding-right: 55px;
  margin-bottom: 40px;
}
.hx-phase:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 55px;
}
.hx-phase:last-child { margin-bottom: 0; }
.hx-phase-dot {
  position: absolute;
  top: 26px;
  right: -28px;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-red), #c81d4b);
  border: 5px solid #fff;
  box-shadow: 0 8px 20px rgba(230,57,70,.35);
}
.hx-phase:nth-child(even) .hx-phase-dot { right: auto; left: -28px; background: linear-gradient(135deg, var(--hx-navy), #5153c9); box-shadow: 0 8px 20px rgba(46,48,147,.35); }
.hx-phase-card {
  position: relative;
  padding: 30px 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eceef7;
  box-shadow: 0 15px 40px rgba(18,19,74,.07);
  transition: transform .4s ease, box-shadow .4s ease;
}
.hx-phase-card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px rgba(18,19,74,.12); }
.hx-phase-card::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -9px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-top: 1px solid #eceef7;
  border-right: 1px solid #eceef7;
  transform: rotate(45deg);
}
.hx-phase:nth-child(even) .hx-phase-card::after { right: auto; left: -9px; transform: rotate(-135deg); }
.hx-phase-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.hx-phase-no {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--hx-navy);
}
.hx-phase-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hx-red);
}
.hx-phase-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hx-ink);
  margin-bottom: 14px;
}
.hx-phase-card p { font-size: 15.5px; line-height: 1.7; }
.hx-phase-card h5 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hx-navy);
  margin: 20px 0 12px;
}
.hx-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hx-ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--hx-ink);
}
.hx-ticks li::before {
  content: "\ea41";
  font-family: "boxicons";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  background: #22a06b;
}
.hx-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 10px;
}
.hx-mini-stats div {
  min-width: 0;
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  background: var(--hx-soft);
}
.hx-mini-stats strong { display: block; font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 700; color: var(--hx-navy); }
.hx-mini-stats span { font-size: 13px; color: var(--hx-muted); line-height: 1.3; display: block; }
.hx-objective {
  margin: 16px 0 0;
  padding: 18px 22px;
  border-radius: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-navy), #4446b8);
}
.hx-objective small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hx-gold);
  margin-bottom: 6px;
}
.hx-phase-photo { margin: 18px 0 0; }
.hx-phase-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.hx-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--hx-ink);
  background: #fff7e6;
  border: 1px dashed #f0c46a;
}
.hx-note i { font-size: 22px; color: #e08a00; flex: 0 0 auto; }

/* ---------- Certification ---------- */
.hx-cert {
  padding: 100px 0;
  background: var(--hx-soft);
}
.hx-cert-card {
  height: 100%;
  padding: 38px 26px;
  border-radius: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e8f5;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.hx-cert-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 25px 50px rgba(18,19,74,.12); }
.hx-cert-icon {
  display: inline-flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-size: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--hx-navy), #5153c9);
  box-shadow: 0 12px 25px rgba(46,48,147,.3);
  margin-bottom: 20px;
  transform: rotate(-6deg);
  transition: transform .4s ease;
}
.hx-cert-card:hover .hx-cert-icon { transform: rotate(0) scale(1.05); }
.col-md-4:nth-child(3) .hx-cert-icon { background: linear-gradient(135deg, var(--hx-red), #c81d4b); box-shadow: 0 12px 25px rgba(230,57,70,.3); }
.hx-cert-card h4 { font-family: "Poppins", sans-serif; font-size: 21px; font-weight: 700; color: var(--hx-ink); margin: 0; }
.hx-cert-foot { text-align: center; max-width: 720px; margin: 45px auto 0; font-size: 17px !important; }
.hx-cert-foot b { color: var(--hx-navy); }

/* ---------- Reach flow ---------- */
.hx-flow {
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  counter-reset: flow;
}
.hx-flow li {
  position: relative;
  padding: 28px 14px 24px;
  border-radius: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #eceef7;
  box-shadow: 0 12px 30px rgba(18,19,74,.06);
  counter-increment: flow;
}
.hx-flow li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #b5b9cc;
}
.hx-flow li + li::after {
  content: "\ebe6";
  font-family: "boxicons";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: var(--hx-red);
}
.hx-flow li i {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  color: var(--hx-navy);
  background: var(--hx-soft);
  margin-bottom: 12px;
}
.hx-flow li:last-child { background: linear-gradient(135deg, var(--hx-navy), #4446b8); border-color: transparent; }
.hx-flow li:last-child i { background: rgba(255,255,255,.15); color: #fff; }
.hx-flow li:last-child span, .hx-flow li:last-child::before { color: #fff; }
.hx-flow li span { display: block; font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 600; color: var(--hx-ink); }

.hx-partners {
  padding: 40px;
  border-radius: 24px;
  background: var(--hx-soft);
}
.hx-partners h4 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hx-ink);
  margin-bottom: 26px;
}
.hx-partners ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hx-partners li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hx-ink);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hx-partners li:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(18,19,74,.08); }
.hx-partners li i {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--hx-red);
  background: rgba(230,57,70,.08);
}

/* ---------- Vision ---------- */
.hx-vision {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px;
  color: #fff;
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(230,57,70,.3), transparent 60%),
    radial-gradient(600px 400px at 100% 0%, rgba(245,184,46,.15), transparent 60%),
    linear-gradient(135deg, var(--hx-navy-deep), var(--hx-navy));
}
.hx-ecg-top { top: 20px; bottom: auto; opacity: .7; }
.hx-vision-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.hx-vision .hx-kicker { color: var(--hx-gold); justify-content: center; }
.hx-vision blockquote {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 10px 0 50px;
}
.hx-vision blockquote span {
  background: linear-gradient(90deg, var(--hx-gold), var(--hx-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hx-vision-points {
  display: grid;
  grid-template-columns: 1fr .7fr 1.3fr;
  gap: 18px;
  text-align: left;
}
.hx-vision-points div {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}
.hx-vision-points i { font-size: 28px; color: var(--hx-gold); margin-bottom: 10px; display: block; }
.hx-vision-points p { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.88); }

/* ---------- Reveal & animations ---------- */
.hx-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.hx-reveal.is-in { opacity: 1; transform: none; }
@keyframes hx-trace {
  0% { stroke-dashoffset: 1600; }
  60%, 100% { stroke-dashoffset: 0; }
}
@keyframes hx-beat {
  0% { box-shadow: 0 0 0 0 rgba(230,57,70,.7); }
  70% { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hx-hero h1 { font-size: 44px; }
  .hx-partners ul { grid-template-columns: repeat(2, 1fr); }
  .hx-flow { gap: 30px; }
  .hx-flow li span { font-size: 14.5px; }
}
@media (max-width: 991px) {
  .hx-section, .hx-record, .hx-cert { padding: 70px 0; }
  .hx-h2 { font-size: 30px; }
  .hx-stats { grid-template-columns: repeat(2, 1fr); }
  .hx-stat:nth-child(2) { border-right: 0; }
  .hx-stat:nth-child(-n+2) { border-bottom: 1px solid #eceef7; }
  .hx-record-stamp { right: 10px; }

  .hx-timeline::before { left: 28px; }
  .hx-phase, .hx-phase:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 0 76px; }
  .hx-phase-dot, .hx-phase:nth-child(even) .hx-phase-dot { left: 0; right: auto; top: 22px; }
  .hx-phase-card::after, .hx-phase:nth-child(even) .hx-phase-card::after { left: -9px; right: auto; transform: rotate(-135deg); top: 40px; }

  .hx-flow { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hx-flow li { display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px 18px 14px 50px; }
  .hx-flow li::before { top: 50%; transform: translateY(-50%); }
  .hx-flow li i { margin: 0; width: 48px; height: 48px; font-size: 24px; flex: 0 0 auto; }
  .hx-flow li + li::after { content: "\eab7"; left: 50%; top: -13px; margin: -7px 0 0 -13px; width: 22px; height: 22px; font-size: 16px; }

  .hx-vision blockquote { font-size: 36px; }
  .hx-vision-points { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hx-hero { padding: 80px 0 140px; }
  .hx-hero h1 { font-size: 32px; }
  .hx-eyebrow { font-size: 11px; letter-spacing: 1px; padding: 7px 14px; }
  .hx-tagline { font-size: 16px; flex-direction: column; gap: 2px; }
  .hx-tagline span + span::before { display: none; }
  .hx-cert-card { display: flex; align-items: center; gap: 18px; text-align: left; padding: 20px; }
  .hx-cert-icon { flex: 0 0 56px; width: 56px; height: 56px; font-size: 26px; border-radius: 16px; margin: 0; }
  .hx-cert-card h4 { font-size: 18px; }
  .hx-cert .row { --bs-gutter-y: 14px; }
  .hx-btn { padding: 12px 22px; font-size: 14px; }
  .hx-ecg { bottom: 60px; height: 60px; }
  .hx-stats { margin-top: -60px; border-radius: 16px; }
  .hx-stat { padding: 22px 12px; }
  .hx-stat i { width: 42px; height: 42px; font-size: 22px; margin-bottom: 8px; }
  .hx-stat strong { font-size: 26px; }
  .hx-stat p { font-size: 13px; }
  .hx-h2 { font-size: 26px; }
  .hx-section p, .hx-record p, .hx-cert p { font-size: 15.5px; }
  .hx-title { margin-bottom: 36px; }
  .hx-leader { padding: 18px; gap: 14px; }
  .hx-leader-icon { flex-basis: 48px; height: 48px; font-size: 22px; }
  .hx-leader h4 { font-size: 19px; }
  .hx-photo { padding: 0 0 14px 14px; }
  .hx-photo figcaption { position: static; margin-top: 12px; max-width: 100%; box-shadow: none; background: var(--hx-soft); }
  .hx-record-stamp { width: 105px; height: 105px; bottom: -16px; right: 6px; }
  .hx-record-stamp strong { font-size: 21px; }
  .hx-record-stamp small { font-size: 10px; }
  .hx-timeline::before { left: 20px; }
  .hx-phase, .hx-phase:nth-child(even) { padding-left: 54px; margin-bottom: 26px; }
  .hx-phase-dot, .hx-phase:nth-child(even) .hx-phase-dot { width: 42px; height: 42px; font-size: 18px; border-width: 4px; }
  .hx-phase-card { padding: 22px 20px; border-radius: 16px; }
  .hx-phase-card::after { display: none; }
  .hx-phase-card h3 { font-size: 19px; }
  .hx-mini-stats { gap: 6px; }
  .hx-mini-stats div { min-width: 0; padding: 12px 4px; }
  .hx-mini-stats strong { font-size: 16px; }
  .hx-mini-stats span { font-size: 11.5px; }
  .hx-objective { font-size: 15.5px; }
  .hx-partners { padding: 24px 16px; border-radius: 18px; }
  .hx-partners h4 { font-size: 17px; }
  .hx-partners ul { grid-template-columns: 1fr; gap: 10px; }
  .hx-vision { padding: 90px 0 70px; }
  .hx-vision blockquote { font-size: 28px; margin-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-reveal { opacity: 1; transform: none; transition: none; }
  .hx-ecg path { animation: none; stroke-dashoffset: 0; }
  .hx-eyebrow::before { animation: none; }
}

/* Timeline side labels (desktop) */
.hx-phase-side {
  position: absolute;
  top: 14px;
  left: calc(100% + 60px);
  width: calc(100% - 60px);
  font-family: "Poppins", sans-serif;
}
.hx-phase:nth-child(even) .hx-phase-side { left: auto; right: calc(100% + 60px); text-align: right; }
.hx-phase-side strong {
  display: block;
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(46,48,147,.18);
}
.hx-phase-side span { display: block; margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--hx-ink); }
.hx-phase-side em { display: block; font-style: normal; font-size: 15px; font-weight: 500; color: var(--hx-red); margin-top: 2px; }
@media (max-width: 991px) {
  .hx-phase-side { display: none; }
}
