/* ==========================================================================
   Imperial Gases (Pvt) Ltd — main.css
   Design system: Imperial Navy / Deep Steel / Off-white / Slate / Flame
   Signature element: the blue-flame rule (navy → cyan → white-hot)
   ========================================================================== */

:root {
  /* Palette */
  --navy: #0A1F33;
  --navy-2: #0E2740;
  --steel: #16324A;
  --steel-2: #1E415E;
  --offwhite: #F7F8F9;
  --white: #FFFFFF;
  --slate: #3D4A57;
  --slate-2: #5C6B7A;
  --line: #E3E7EB;
  --line-dark: rgba(255, 255, 255, 0.12);
  --flame: #F1592A;
  --flame-dark: #D64A1E;

  /* Blue-flame gradient — the signature */
  --blueflame: linear-gradient(90deg, #0A1F33 0%, #1E6FA8 38%, #4FC3F7 72%, #EAF9FF 100%);

  /* Type: Poppins across the site; Plex Mono kept only for counter digits */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: "IBM Plex Mono", "Consolas", "Courier New", monospace;

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6.5rem;

  --radius: 6px;
  --container: 1180px;
  --header-h: 66px;

  --shadow-1: 0 1px 3px rgba(10, 31, 51, 0.08), 0 4px 16px rgba(10, 31, 51, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 31, 51, 0.10), 0 12px 32px rgba(10, 31, 51, 0.12);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--s2);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 var(--s2); text-align: justify; hyphens: auto; }
p:last-child { margin-bottom: 0; }

/* Body lists share the justified setting */
.section li { text-align: justify; hyphens: auto; }

/* Justification exceptions: labels, centered blocks and UI text stay ragged */
.eyebrow, .breadcrumb, .ph-caption,
.form p, .form-mini p,
.footer-bottom, .toast,
.info-list li, .leader-list li {
  text-align: left;
  hyphens: manual;
}
.hero-sub, .section-head--center p { text-align: center; hyphens: manual; }

a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flame); }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--s2); }
li { margin-bottom: 0.4rem; }

strong { color: var(--navy); }

:focus-visible {
  outline: 3px solid #1E6FA8;
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.section--navy { background: var(--navy); color: #C4CFDA; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--white { background: var(--white); }

.grid-2 { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.grid-2 h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.grid-3 { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; }

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Eyebrow — small engineered label above headings */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A8896;
  margin-bottom: 0.7rem;
}
.section--navy .eyebrow { color: #7FA8C9; }

/* The signature: blue-flame rule */
.flame-rule {
  display: block;
  width: 76px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  margin: 0.9rem 0 1.4rem;
  background: var(--blueflame);
}
.flame-rule--center { margin-left: auto; margin-right: auto; }
.flame-rule--wide { width: 100%; opacity: 0.5; margin: 0; }

/* Headings run full width so they hold one line; body copy stays measured. */
.section-head { margin-bottom: var(--s4); }
.section-head h2 { text-wrap: balance; }
.section-head p:not(.eyebrow) { max-width: 640px; }
.section-head--center { text-align: center; }
.section-head--center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.14rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--flame {
  background: var(--flame);
  color: #fff;
}
.btn--flame:hover {
  background: var(--flame-dark);
  color: #fff;
  box-shadow: 0 6px 26px rgba(241, 89, 42, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--steel);
  padding: 0.95rem 0.5rem;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--ghost:hover { color: var(--flame); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Text arrow-link */
.arrow-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--steel);
  white-space: nowrap;
}
.arrow-link::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.18s ease;
}
.arrow-link:hover { color: var(--flame); }
.arrow-link:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(10, 31, 51, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand svg { height: 37px; width: auto; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--steel);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--flame);
}
.main-nav .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}
.main-nav .btn[aria-current="page"] { border-bottom: 0; }

/* Header language switch (top right) */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang-switch button {
  background: none;
  border: 0;
  color: var(--slate-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  line-height: 1.4;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-switch button:hover { color: var(--navy); }
.lang-switch button[aria-pressed="true"]:hover { color: #fff; }

/* Urdu mode: Nastaliq type, RTL-friendly rhythm */
html[lang="ur"] body,
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4,
html[lang="ur"] .btn, html[lang="ur"] .brand-name, html[lang="ur"] .eyebrow {
  font-family: "Noto Nastaliq Urdu", "Poppins", serif;
  letter-spacing: 0;
}
html[lang="ur"] body { line-height: 2; }
html[lang="ur"] h1, html[lang="ur"] h2 { line-height: 1.9; text-wrap: initial; }
html[lang="ur"] p, html[lang="ur"] .section li { text-align: right; hyphens: manual; }
html[lang="ur"] .hero-sub, html[lang="ur"] .section-head--center p { text-align: center; }
html[lang="ur"] .eyebrow { letter-spacing: 0; font-size: 0.9rem; }
html[lang="ur"] .page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--flame); }
  .main-nav .btn {
    margin-top: 1rem;
    text-align: center;
    padding: 0.95rem 1rem;
    border-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--s5);
  padding-bottom: var(--s5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero h1 {
  color: #fff;
  max-width: none;
  margin-bottom: var(--s2);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
}
.hero .hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9FB8CC;
  margin-bottom: var(--s4);
}
.hero .btn-row { justify-content: center; }

.hero-flameline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blueflame);
  background-size: 200% 100%;
  z-index: 3;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-flameline { animation: flameshift 9s ease-in-out infinite alternate; }
}
@keyframes flameshift {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}

/* Scroll progress line, sits on the very top edge */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  transform-origin: 0 0;
  transform: scaleX(0);
  background: var(--blueflame);
  z-index: 300;
  pointer-events: none;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: #C4CFDA;
  padding: clamp(3rem, 7vw, 4.6rem) 0 clamp(2.6rem, 6vw, 4rem);
  position: relative;
}
.page-hero h1 {
  color: #fff;
  max-width: none;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  text-wrap: balance;
}
.page-hero .lead { max-width: 62ch; color: #B9C8D6; }
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--blueflame);
}

/* Page hero with a photograph on the left, fading into the navy band on the right.
   The image uses object-fit: cover, so it is CROPPED to fill, never stretched. */
.page-hero--photo {
  overflow: hidden;
  background: var(--navy);
  padding-top: clamp(3.6rem, 8vw, 5.6rem);
  padding-bottom: clamp(3.2rem, 7vw, 5rem);
}
.page-hero--photo .page-hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-hero--photo .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  filter: saturate(0.92) contrast(1.04) brightness(0.96);
}
.page-hero--photo .page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* mobile: photo full width, light enough over the tower, darker where the text sits */
  background: linear-gradient(180deg,
    rgba(10, 31, 51, 0.42) 0%,
    rgba(10, 31, 51, 0.66) 38%,
    rgba(10, 31, 51, 0.88) 72%,
    rgba(7, 22, 36, 0.95) 100%);
}
/* small safety net for text sitting directly over the photo on narrow screens */
.page-hero--photo .page-hero-text { text-shadow: 0 1px 12px rgba(7, 22, 36, 0.55); }
@media (min-width: 900px) {
  .page-hero--photo .page-hero-text { text-shadow: none; }
}
.page-hero--photo > .container { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.page-hero-text { width: 100%; }

@media (min-width: 900px) {
  .page-hero--photo .page-hero-bg { width: 60%; }
  .page-hero--photo .page-hero-bg::after {
    /* desktop: barely tinted over the tower, then fades into solid navy on the right */
    background: linear-gradient(90deg,
      rgba(10, 31, 51, 0.30) 0%,
      rgba(10, 31, 51, 0.18) 42%,
      rgba(10, 31, 51, 0.55) 68%,
      rgba(10, 31, 51, 0.90) 86%,
      #0A1F33 100%);
  }
  .page-hero-text { width: 44%; }
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7FA8C9;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #7FA8C9; text-decoration: none; }
.breadcrumb a:hover { color: #9FDCFF; }

/* --------------------------------------------------------------------------
   Photo placeholders — navy duotone blocks (pre-shoot)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(79, 195, 247, 0.16) 0%, transparent 55%),
    radial-gradient(110% 100% at 10% 95%, rgba(30, 111, 168, 0.28) 0%, transparent 60%),
    linear-gradient(160deg, var(--steel-2) 0%, var(--navy) 62%, #071624 100%);
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 260px;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 9px
  );
}
.ph--hero {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 0;
  z-index: 1;
}
/* Drifting light orbs behind the hero content */
.ph--hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 30% at 22% 30%, rgba(46, 155, 214, 0.22) 0%, transparent 70%),
    radial-gradient(30% 26% at 78% 62%, rgba(92, 214, 160, 0.12) 0%, transparent 70%);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .ph--hero::after { animation: orbdrift 16s ease-in-out infinite alternate; }
}
@keyframes orbdrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.07); }
}
.ph--tall { min-height: 420px; }
.ph--short { min-height: 200px; }

/* Real photography inside .ph frames: navy duotone overlay keeps the look cohesive */
.ph--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.82) contrast(1.05);
}
.ph--photo::before {
  z-index: 1;
  background: linear-gradient(165deg, rgba(22, 50, 74, 0.3) 0%, rgba(10, 31, 51, 0.62) 100%);
}
.ph--hero.ph--photo::before {
  background:
    linear-gradient(180deg, rgba(10, 31, 51, 0.45) 0%, rgba(10, 31, 51, 0.25) 45%, rgba(7, 22, 36, 0.7) 100%),
    radial-gradient(85% 75% at 50% 42%, rgba(10, 31, 51, 0.3) 0%, rgba(7, 22, 36, 0.85) 100%);
}
.ph--hero.ph--photo img { filter: saturate(0.55) contrast(1.05) brightness(0.92); }

.ph-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #9FDCFF;
  background: rgba(7, 22, 36, 0.72);
  border: 1px solid rgba(159, 220, 255, 0.28);
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  max-width: calc(100% - 28px);
}
.ph--hero .ph-caption { left: auto; right: 18px; bottom: 18px; }

/* --------------------------------------------------------------------------
   Key figures band
   -------------------------------------------------------------------------- */
.figures {
  background: var(--navy);
  color: #fff;
  padding: clamp(2.6rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line-dark);
}
.figures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4) var(--s3);
}
@media (min-width: 900px) {
  .figures-grid { grid-template-columns: repeat(4, 1fr); }
  .figure + .figure { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: 1.6rem; }
}
.figure { text-align: left; }
.figure-value {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.05;
  display: block;
}
.figure-value .unit {
  font-size: 0.5em;
  color: #9FDCFF;
  font-weight: 500;
  margin-left: 0.15em;
}
.figure-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: #8FA5B8;
}
.figures-note {
  margin-top: var(--s3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #5C7890;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(79, 195, 247, 0.35);
  border-color: rgba(79, 195, 247, 0.35);
}
.card h3 { margin-bottom: 0.1rem; }
.card p { color: var(--slate); font-size: 0.97rem; }
.card .arrow-link { margin-top: auto; padding-top: 0.6rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--steel) 0%, var(--navy) 100%);
  color: #9FDCFF;
  margin-bottom: 0.5rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* Segment card photo strip */
.card-ph { min-height: 150px; margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) 0.9rem; border-radius: var(--radius) var(--radius) 0 0; }

/* --------------------------------------------------------------------------
   Supply chain diagram
   -------------------------------------------------------------------------- */
.chain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  position: relative;
  margin-top: var(--s4);
}
@media (min-width: 860px) {
  .chain { grid-template-columns: repeat(4, 1fr); gap: 1.7rem; }
}

.chain-step {
  position: relative;
  background: linear-gradient(165deg, rgba(120, 180, 230, 0.14) 0%, rgba(120, 180, 230, 0.05) 100%);
  border: 1px solid rgba(79, 195, 247, 0.35);
  border-radius: 10px;
  padding: 1.5rem 1.3rem 1.4rem;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.chain-step:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 211, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(79, 195, 247, 0.16);
}

.chain-dot {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #E8F7FF;
  background: linear-gradient(#173A58, #122C44) padding-box, var(--blueflame) border-box;
  border: 1.5px solid transparent;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.28);
}
.chain-dot svg { width: 26px; height: 26px; stroke-width: 2; }

.chain-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #6FD3FF;
  display: block;
  margin-bottom: 0.35rem;
}
.chain-step h3 { font-size: 1.12rem; color: #fff; margin-bottom: 0.4rem; }
.chain-step p { font-size: 0.93rem; color: #C6D6E3; margin: 0; }

/* Flow chevrons between steps: down on mobile, right on desktop */
.chain-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.95rem;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid #6FD3FF;
  border-bottom: 2.5px solid #6FD3FF;
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 860px) {
  .chain-step:not(:last-child)::after {
    left: auto;
    right: -1.2rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   Safety strip
   -------------------------------------------------------------------------- */
.proofs { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin-top: var(--s4); }
@media (min-width: 760px) { .proofs { grid-template-columns: repeat(3, 1fr); } }

.proof {
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #1E6FA8, #4FC3F7) 1;
  padding-left: 1.1rem;
}
.proof h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.proof p { font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   Map
   -------------------------------------------------------------------------- */
.map-wrap { position: relative; }
.map-svg { width: 100%; height: auto; }

.map-land {
  fill: #10293F;
  stroke: #2E86C1;
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.map-city { fill: #7FA8C9; }
.map-city--minor { opacity: 0.4; }
.map-city-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  fill: #8FA5B8;
}
.map-hq { fill: var(--flame); }
.map-hq-ring {
  fill: none;
  stroke: var(--flame);
  stroke-width: 1.5;
  opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  .map-hq-ring { animation: hqpulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
}
@keyframes hqpulse {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.map-hq-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; fill: #FFB399; }

/* --------------------------------------------------------------------------
   Logo / proof row
   -------------------------------------------------------------------------- */
.proof-band { display: grid; gap: var(--s3); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .proof-band { grid-template-columns: 1fr 2.2fr; } }

.licence-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid #1E6FA8;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  color: var(--navy);
  box-shadow: var(--shadow-1);
}
.proof-band > div:last-child { display: flex; align-items: center; }
.proof-band > div:last-child p { margin: 0; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
th, td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--offwhite);
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
td { color: var(--slate); }
td:first-child { font-family: var(--font-mono); font-weight: 600; color: var(--navy); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Timeline (About)
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: var(--s4); padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, #0A1F33, #1E6FA8 45%, #4FC3F7);
}
.tl-item { position: relative; padding-bottom: var(--s4); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 3px solid #1E6FA8;
}
.tl-item.tl-item--now::before { border-color: var(--flame); }
.tl-year {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #1E6FA8;
  display: block;
  margin-bottom: 0.2rem;
}
.tl-item--now .tl-year { color: var(--flame); }
.tl-item h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.tl-item p { font-size: 0.97rem; max-width: 56ch; }

/* Leadership list (About page, navy section) */
.leader-list { list-style: none; padding: 0; margin: 0; }
.leader-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.leader-list li:last-child { border-bottom: 0; }
.leader-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}
.leader-list span { font-size: 0.88rem; color: #8FA5B8; }

/* --------------------------------------------------------------------------
   Value blocks / steps
   -------------------------------------------------------------------------- */
.value-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child { border-bottom: 0; }
.value-term {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  min-width: 8.5rem;
}
.value-def { margin: 0; }

.steps { counter-reset: step; display: grid; gap: var(--s3); margin-top: var(--s3); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; position: relative; padding-top: 0.4rem; }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--flame);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.93rem; margin: 0; }
.step::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.section--navy .step::after { background: rgba(255, 255, 255, 0.16); }
.section--navy .step h3 { color: #fff; }
.section--navy .step p { color: #A7B8C7; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field--full { grid-column: 1 / -1; }
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}
.form-field .hint { font-size: 0.8rem; color: var(--slate-2); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #10181F;
  background: #FFFFFF;
  border: 1.5px solid #C9D2DA;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #93A0AC; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1E6FA8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 111, 168, 0.15);
}
textarea { min-height: 130px; resize: vertical; }
.form-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.form-note { font-size: 0.83rem; color: var(--slate-2); margin-top: 0.9rem; }
.form-success {
  display: none;
  background: #EAF7EF;
  border: 1px solid #BFE3CC;
  color: #1F5C35;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}
.form-success.is-visible { display: block; }

/* --------------------------------------------------------------------------
   Contact / info blocks
   -------------------------------------------------------------------------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
}
.info-card h3 { margin-bottom: 0.6rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  font-size: 0.97rem;
}
.info-list svg { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: #1E6FA8; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #1FAF5F;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.wa-btn:hover { background: #178F4D; color: #fff; }
.wa-btn svg { width: 20px; height: 20px; }

.map-embed {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
}

/* Safety tip cards */
.tip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid #1E6FA8;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-1);
}
.tip-card h3 { margin-bottom: 0.7rem; font-size: 1.08rem; }
.tip-card ul { margin: 0; }
.tip-card li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.tip-card li:last-child { margin-bottom: 0; }

/* Emergency banner */
.emergency {
  background: #FDF1EC;
  border: 1px solid #F5C9B8;
  border-left: 4px solid var(--flame);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.emergency svg { width: 26px; height: 26px; flex: none; color: var(--flame-dark); margin-top: 0.15rem; }
.emergency h3 { color: var(--flame-dark); font-size: 1.02rem; margin-bottom: 0.3rem; }
.emergency p { margin: 0; font-size: 0.96rem; }
.emergency a { color: var(--flame-dark); text-decoration: none; font-weight: 600; }

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(140deg, var(--steel) 0%, var(--navy) 70%);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem);
  color: #C4CFDA;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--blueflame);
}
.cta-banner h2 { color: #fff; max-width: none; }
.cta-banner p { max-width: 62ch; }

/* --------------------------------------------------------------------------
   Contact panel (homepage closing section)
   -------------------------------------------------------------------------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--steel) 0%, var(--navy) 70%);
  border-radius: 12px;
  padding: clamp(1.8rem, 4.5vw, 3rem);
  color: #C4CFDA;
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-panel { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--blueflame);
}
.contact-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 155, 214, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.contact-panel h2 { color: #fff; }
.contact-panel .eyebrow { color: #7FA8C9; }
.contact-panel > div { position: relative; z-index: 1; }
.contact-panel .info-list li { color: #C4CFDA; }
.contact-panel .info-list svg { color: #4FC3F7; }
.contact-panel .info-list a { color: #E6F2FA; }

.form-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-2);
}
.form-mini .form-field { margin-bottom: 1rem; }
.form-mini label { color: var(--navy); }
.form-mini textarea { min-height: 96px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #071624;
  color: #8FA5B8;
  font-size: 0.92rem;
  padding: var(--s5) 0 var(--s3);
  border-top: 3px solid;
  border-image: var(--blueflame) 1;
}
.footer-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
  margin-bottom: var(--s4);
}
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #B9C8D6; text-decoration: none; }
.site-footer a:hover { color: #9FDCFF; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #7FA8C9; }
.footer-brand p { margin-top: 0.9rem; max-width: 34ch; font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--s3);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-licence { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: none;
  border: 0;
  color: #8FA5B8;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: rgba(159, 220, 255, 0.14); color: #fff; }
.lang-toggle button:hover { color: #fff; }

.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.footer-social a:hover { border-color: #4FC3F7; }
.footer-social svg { width: 16px; height: 16px; }

/* Toast (used by Urdu toggle placeholder) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  background: var(--navy);
  color: #fff;
  border: 1px solid #2E86C1;
  border-radius: var(--radius);
  padding: 0.8rem 1.3rem;
  font-size: 0.92rem;
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 300;
  max-width: min(92vw, 420px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Staggered entrance for siblings in grids */
.js .reveal:nth-child(2).is-visible { transition-delay: 0.08s; }
.js .reveal:nth-child(3).is-visible { transition-delay: 0.16s; }
.js .reveal:nth-child(4).is-visible { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-flameline { animation: none; }
  .map-hq-ring { animation: none; opacity: 0; }
  .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Misc utilities
   -------------------------------------------------------------------------- */
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.muted { color: var(--slate-2); }
.small { font-size: 0.88rem; }
.tag-todo {
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: #A8541F;
  background: #FBEDE4;
  border-radius: 3px;
  padding: 0.05em 0.35em;
  white-space: normal;
}
