:root {
  --bg: #d9d9dd;
  --panel: #0b0f16;
  --panel2: #0a0d14;
  --panel3: #0c1019;
  --text: #e9eef7;
  --heading-text: #3a3a3c;
  --muted: rgba(233, 238, 247, 0.75);
  --muted2: rgba(233, 238, 247, 0.55);
  --gold: #f2c14f;
  --gold2: #d9a83b;
  --cardbk: linear-gradient(
    to bottom right,
    #4b5670 0%,
    #3f4a60 50%,
    #3c455c 100%
  );
  --cardbk2:
    radial-gradient(
      500px 260px at 20% 10%,
      rgba(60, 61, 161, 0.25),
      transparent 60%
    ),
    linear-gradient(180deg, #20375d, #213669);
  --radius: 18px;
  --radius2: 14px;

  --shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke2: rgba(255, 255, 255, 0.12);

  --fontHead:
    "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fontBody:
    "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* =========================
     FLUID TYPE SCALE (CLAMP)
     ========================= */
  --fs-hero: clamp(68px, 11.6vw, 120px); /* hero title */
  --fs-h1: clamp(40px, 5.2vw, 72px); /* big section titles */
  --fs-h2: clamp(34px, 4.4vw, 70px); /* band heads / intro titles */
  --fs-h3: clamp(24px, 2.6vw, 40px); /* panel headings */
  --fs-h4: clamp(18px, 1.6vw, 24px); /* feature headings */

  --fs-body-lg: clamp(15px, 1.2vw, 18px);
  --fs-body: clamp(14px, 1.05vw, 16px);
  --fs-small: clamp(12px, 0.95vw, 14px);

  --fs-nav: clamp(13px, 1vw, 15px);
  --fs-btn: clamp(12px, 0.95vw, 13px);

  --lh-tight: 0.95;
  --lh-head: 1.05;
  --lh-body: 1.75;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--fontBody);
  background: var(--bg);
  color: var(--text);
}

/* FULL WIDTH LAYOUT */
.page-shell {
  width: 100%;
  padding: 0;
}
.page {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--panel);
  box-shadow: none;
}

.spacer {
  height: 50px;
}

/* =========================
   HEADER
   ========================= */
.site-header {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
}
.nav-phone {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.nav-phone:hover {
  color: var(--gold);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  padding-left: 5%;
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  line-height: 1;
}
.brand-name {
  font-family: var(--fontHead);
  letter-spacing: 0.06em;
  font-weight: 800;
}
.brand-sub {
  opacity: 0.75;
  margin-top: 2px;
}

/* center nav */
.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  padding: 10px 0;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link.is-active {
  color: #fff;
}

/* right area */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-phone {
  font-weight: 700;
  opacity: 0.85;
  white-space: nowrap;
}
.nav-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  cursor: pointer;
  font-weight: 400;
  display: grid;
  place-items: center;
  opacity: 0.9;
}
.icon-btn:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--gold);
  color: #1b1b1b;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.nav-cta:hover {
  filter: brightness(0.98);
}

/* mobile toggle */
/* =========================
   PREMIUM MOBILE TOGGLE
   (same .nav-toggle markup)
   ========================= */
.nav-toggle {
  display: none; /* still controlled by your media query */
  width: 46px;
  height: 46px;
  border-radius: 14px;

  background:
    radial-gradient(
      140px 80px at 20% 20%,
      rgba(242, 193, 79, 0.16),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.25));

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  cursor: pointer;
  position: relative;
  isolation: isolate;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 193, 79, 0.35);
}

.nav-toggle:active {
  transform: translateY(0px) scale(0.98);
}

/* the 3 lines */
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;

  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.22s ease,
    top 0.22s ease,
    opacity 0.18s ease,
    width 0.22s ease;
}

/* positions */
.nav-toggle span:nth-child(1) {
  top: 16px;
}
.nav-toggle span:nth-child(2) {
  top: 22px;
  width: 14px;
  opacity: 0.9;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}

/* Optional: make it animate into an "X" when menu is open
   You already toggle .site-header.is-open — so this plugs right in */
.site-header.is-open .nav-toggle span:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  width: 18px;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
  width: 18px;
}

/* mobile panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 999;

  background: linear-gradient(135deg, #0c0c0c, #1b1c1c);

  display: flex; /* KEEP FLEX */
  flex-direction: column;
  justify-content: center;
  align-items: left;
  padding-left: 5%;

  transform: translateY(-110%); /* hidden state */
  transition: transform 0.45s ease;
}

.site-header.is-open .mobile-panel {
  transform: translateY(0);
}
.m-link {
  font-family: var(--fontHead);
  font-size: 60px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  text-align: left;
  color: #fff;
  text-decoration: none;

  transition: 0.3s ease;
}

.m-link:hover {
  color: var(--gold);
  transform: scale(1.05);
}

/* keep overlay below the panel */
.mobile-overlay {
  z-index: 998;
}
.mobile-panel {
  z-index: 999;
}

/* IMPORTANT: avoid any hidden-by-display rules */
.mobile-panel {
  display: flex;
} /* you already have this, keep it */
.m-cta {
  background: rgba(242, 193, 79, 0.18);
  border: 1px solid rgba(242, 193, 79, 0.2);
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
}

/* JS toggles this class */

.site-header.is-open .mobile-overlay {
  display: block;
}

/* =========================
   HERO (HOME)
   ========================= */
.hero {
  position: relative;
  min-height: 93vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 700px at 70% 30%,
      rgba(90, 140, 255, 0.25),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    );
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.12) 70%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 44px 42px 36px;
  align-items: end;
}

.hero-title {
  margin: 0 0 14px;
  font-family: var(--fontHead);
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero-title .accent {
  color: var(--gold);
}
.hero-sub {
  margin: 0 0 22px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* HERO MEDIA ROTATOR */
.hero-media {
  position: absolute;
  right: -30%;
  bottom: 0%;
  width: 80%;
  z-index: 2;
  pointer-events: none;
}

/* stack all images exactly on top of each other */
.hero-media .hero-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 45px 70px rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-media .hero-img.active {
  opacity: 0.95;
}

/* =========================
   HERO (PAGES - TRAINING)
   ========================= */
.hero-pages {
  position: relative;
  display: flex;
  align-items: center;
}
.hero-inner-pages {
  position: relative;
  z-index: 3;
  padding: 44px 10% 36px; /* match .band-inner */
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-white {
  background: #4a5057;
  color: #c4c2c2;
  border-color: rgba(82, 82, 81, 0.938);
}
.btn-gold {
  background: var(--gold);
  color: #111;
  border-color: rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.921);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-wide {
  width: 220px;
}
.btn-small {
  width: 180px;
}

/* =========================
   BANDS
   ========================= */
.band {
  position: relative;
  padding: 30px 0;
}
.band-inner {
  padding: 0 10%;
}
.band-dark {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.1));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.band-bottom {
  padding-bottom: 40px;
}

/* band heading (general) */
.band-head {
  width: 90%;
  margin: 0 auto 26px;
  padding: 0 0 8px;
}

/* TRAINING heading alignment */
#training .band-head {
  width: 90%;
  margin: 0 auto 0px;
  padding: 0;
  text-align: left;
}
.band-head h2 {
  margin: 0;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  padding-top: 5%;
}
.band-head p {
  margin: 6px 0 18px;
  color: var(--text);
}

/* =========================
   TRAINING SECTION
   ========================= */

.training-wrap {
  width: 90%;
  margin: 0 auto;
}

.training-head {
  margin-bottom: 22px;
}

.training-title {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: #0b0f16;
  text-transform: uppercase;
}
.training-title span {
  color: #1b2028;
}

.training-sub {
  margin: 0;
  max-width: 980px;
  color: rgba(11, 15, 22, 0.72);
  line-height: 1.75;
}
#training {
  --personW: clamp(280px, 28vw, 520px);
  --reserveRight: clamp(140px, 22vw, 360px);
  --peek: clamp(40px, 6vh, 110px);

  position: relative;
  overflow: visible;
}

/* background image */
.band.band-dark#training::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: url("images/training-bkgroound.webp") center/cover no-repeat;
  transform: scale(1.12);
  z-index: 0;
}

/* dark overlay */
.band.band-dark#training::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 500px at 20% 40%,
      rgba(242, 193, 79, 0.12),
      transparent 60%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.35) 100%
    );
  z-index: 1;
}

/* content layer */
.band.band-dark#training .band-inner {
  position: relative;
  z-index: 3;
}

.training-grid {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding-right: var(--reserveRight);
  z-index: 4;
  padding-bottom: 2em;
}

.cards {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.t-card {
  display: flex;
  align-items: center;
  background-color: #182233;
  padding: 20px;
  border-radius: 6px;
  gap: 2em;
  justify-content: center;
  position: relative;
  z-index: 6;
}

.t-text {
  display: flex;
  flex-direction: column;
  width: 150px;
}

.t-ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.t-ic img {
  width: 60px;
  object-fit: contain;
}

.t-title {
  margin: 0 0 3px;
  font-weight: 300;
}
.t-sub {
  margin: 0;
  color: var(--muted2);
}

/* CTA centered under 3 columns */
#training .cards .btn-wide {
  grid-column: 1 / span 3;
  justify-self: center;
  margin-top: 10px;
  font-weight: 400;
}

/* person overlay */
#training .training-person {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: calc(100% + var(--peek));
  width: var(--personW);
  pointer-events: none;
  z-index: 4;
}
#training .training-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
}

/* =========================
   WHITE SECTIONS (INTRO / CLIENTS / COURSES)
   ========================= */
.band-white,
.band-white-two,
.band-white-three {
  background: #ffffff;
  color: #0b0f16;
  display: flex;
  align-items: center;
  z-index: 1;
}

.band-white {
  height: 80vh;
}
.band-white-two,
.band-white-three {
  height: auto;
  padding: 5em 0;
}

.band-white .band-inner,
.band-white-two .band-inner,
.band-white-three .band-inner {
  width: 100%;
}

/* INTRO */
.intro-wrap {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.intro-left {
  width: 90%;
  margin: 0 auto;
}

.intro-title {
  margin: 0 0 14px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--heading-text);
}
.intro-body {
  margin: 0;
  line-height: 1.85;
  color: rgba(11, 15, 22, 0.78);
  max-width: 900px;
}

.intro-right {
  display: grid;
  gap: 14px;
  padding: 5px;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .intro-right {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
  }
}

.intro-card {
  position: relative;
  background: var(--cardbk2);

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (max-width: 900px) {
  .intro-card {
    border-radius: 0;
  }
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.intro-card h3 {
  margin: 0 0 8px;
  font-family: var(--fontHead);
  letter-spacing: 0.02em;
  color: var(--text);
}
.intro-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

/* CLIENTS / WHY CHOOSE */
#clients {
  --c-bg: #ffffff;
  --c-ink: #0b0f16;
  --c-gold: var(--gold);
  --c-blue: #102547;
  --c-goldGlow: 0.2;
  --c-blueGlow: 0.12;
}

.band-white-two {
  background: var(--c-bg);
  color: var(--c-ink);
  position: relative;
  overflow: hidden;
}

.band-white-two::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(
      700px 420px at 15% 15%,
      rgba(242, 193, 79, var(--c-goldGlow)),
      transparent 60%
    ),
    radial-gradient(
      820px 540px at 90% 30%,
      rgba(16, 37, 71, var(--c-blueGlow)),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 50% 90%,
      rgba(242, 193, 79, calc(var(--c-goldGlow) * 0.55)),
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

#clients .clients-wrap {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 46px;
  position: relative;
  z-index: 1;
}

#clients .clients-title {
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--heading-text);
}

@media (max-width: 900px) {
  #clients .clients-title {
    width: 90%;
    margin: 0 auto;
  }
}

/* top split */
#clients .clients-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: stretch;
}

/* left list */
#clients .clients-left {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 0px;
}

#clients .feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#clients .feature h4 {
  margin: 0 0 6px;
  font-weight: 500;
  color: #0b0f16;
  letter-spacing: 0.01em;
}
#clients .feature p {
  margin: 0;
  line-height: 1.7;
  color: rgba(11, 15, 22, 0.72);
}

/* right premium panel */
#clients .clients-right {
  position: relative;
  border-radius: 22px;
  padding: 38px;
  color: #fff;

  background: var(--cardbk2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

#clients .clients-right::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 10px
  );
  opacity: 0.22;
  pointer-events: none;
}

#clients .clients-right h3 {
  margin: 0 0 14px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

#clients .clients-right p {
  margin: 0 0 14px;
  line-height: 1.75;
  opacity: 0.93;
  position: relative;
  z-index: 1;
}

#clients .clients-right .highlight {
  color: var(--gold);
  font-weight: 400;
}
/* PROOF CARDS */
/* PROOF CARDS — centered */
#clients .clients-proof {
  display: flex; /* simpler than grid */
  justify-content: space-evenly;
  align-items: center;
  gap: 0px;
  padding: 0rem 0;
}

/* each card */
#clients .proof-card {
  width: clamp(130px, 14vw, 150px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* image */
#clients .proof-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* MOBILE: keep in one row */
/* @media (max-width: 480px) {
  #clients .clients-proof {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    grid-template-columns: unset;
    overflow-x: auto;
    gap: 12px;
    padding: 1.5rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #clients .proof-card {
    scroll-snap-align: center;
  }
} */

/* =========================
   CERTIFIED BAND
   ========================= */
.band-certified {
  padding-top: 26px;
}
.certified-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.cert-left h2 {
  margin: 0 0 14px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
}

.ticks {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
}
.ticks li {
  display: flex;
  gap: 10px;
  line-height: 1.35;
}
.ticks li span {
  color: var(--gold);
  font-weight: 900;
}

/* one clean logo-row (deduped) */
.logo-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  padding-bottom: 1em;
}
.logo-row img {
  width: clamp(70px, 12.1vw, 115px);
  /* max-width: 140px; */
  object-fit: contain;
  filter: brightness(0.95);
  opacity: 0.9;
  transition: 0.25s ease;
}
.logo-row img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.bullets {
  margin: 12px 0 8px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}
.note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================
   COURSES (TRAINING PAGE - WHITE)
   ========================= */
.courses-clean {
  background: #ffffff;
  color: #0b0f16;
}

.courses-wrap {
  width: 90%;
  margin: 0 auto;
}

/* single definition (deduped) */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* course card */
.course-card {
  position: relative;
  background:
    radial-gradient(
      500px 280px at 10% 0%,
      rgba(242, 193, 79, 0.12),
      transparent 70%
    ),
    #151c28;
  color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.14);
  border-color: rgba(242, 193, 79, 0.5);
}
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-body h3 {
  margin: 0 0 10px;
  font-weight: 300;
}
.course-body p {
  line-height: 1.6;
  color: rgba(214, 215, 217, 0.65);
  margin-bottom: 18px;
  flex-grow: 1;
}
.course-body .btn {
  margin-top: auto;
  font-weight: 400;
}

/* =========================
   FEATURED COURSE SECTION
   ========================= */
#featured-course .band-inner {
  width: 100%;
}
.fc-head {
  width: 90%;
  margin: 0 auto 18px;
}

.band-title {
  font-family: var(--fontHead);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 0.92;
  text-transform: uppercase;
  color: #ffffff;
}
.band-back {
  margin-top: 14px;
  width: fit-content;
  opacity: 0.9;
}
.band-back:hover {
  opacity: 1;
}

/* helper cards used in fc-bottom */
.w-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
  background:
    radial-gradient(
      800px 420px at 20% 10%,
      rgba(242, 193, 79, 0.14),
      transparent 60%
    ),
    rgba(0, 0, 0, 0.16);
}
.w-title {
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  margin: 0 0 10px;
  color: #fff;
}

/* main grid */
.fc-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.fc-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.fc-card--details {
  padding: 26px;
  background:
    radial-gradient(
      800px 420px at 20% 10%,
      rgba(242, 193, 79, 0.18),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );
}

.fc-title {
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  margin: 0;
}
.fc-sub {
  opacity: 0.75;
  font-weight: 600;
  margin: 6px 0 0;
}
.fc-desc {
  margin: 14px 0 0;
  line-height: 1.75;
  opacity: 0.9;
}

.fc-facts {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fc-fact {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  padding: 12px;
}
.fc-fact-label {
  opacity: 0.75;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.fc-fact-value {
  margin-top: 4px;
  font-weight: 800;
}

.fc-sections {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.fc-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  padding: 14px;
}
.fc-panel-title {
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.fc-panel-body {
  margin-top: 8px;
  line-height: 1.7;
  opacity: 0.9;
}
.fc-list {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.8;
  opacity: 0.9;
}

.fc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.fc-card--media {
  background: rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
}

.fc-media {
  text-align: center;
  padding: 22px;
  width: 100%;
}
.fc-media-title {
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  margin: 0;
}
.fc-media-text {
  margin: 8px auto 0;
  max-width: 420px;
  opacity: 0.8;
  line-height: 1.7;
}

.fc-video {
  margin-top: 14px;
  width: min(520px, 100%);
  aspect-ratio: 16/9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.fc-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  display: block;
}
.fc-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.fc-bottom {
  width: 90%;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fc-mini {
  padding: 18px;
}
.fc-mini ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   MODAL (BOOK COURSE)
========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;

  /* ✅ allow scrolling if content is taller than screen */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* optional padding so card doesn't touch edges */
  padding: 18px 0;
}
.modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(860px, calc(100% - 32px));
  margin: 64px auto;
  border-radius: 22px;
  padding: 22px;

  background:
    radial-gradient(
      900px 520px at 10% 10%,
      rgba(242, 193, 79, 0.16),
      transparent 55%
    ),
    radial-gradient(
      900px 520px at 90% 35%,
      rgba(90, 140, 255, 0.14),
      transparent 55%
    ),
    linear-gradient(135deg, #0b1630, #102547);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  color: #fff;

  /* ✅ KEY: card can scroll if needed */
  max-height: calc(100vh - 36px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-x {
  position: sticky;
  top: 12px;
  right: 12px; /* ✅ lock to right */

  float: right; /* ✅ forces right alignment inside card */

  width: 42px;
  height: 42px;
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
}
.modal-x:hover {
  opacity: 0.95;
}

.modal-title {
  margin: 0 0 6px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}
.modal-sub {
  margin: 0 0 16px;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 680px;
}

.modal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}
.field span {
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.9;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  outline: none;
  font-family: var(--fontBody);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field input[readonly] {
  opacity: 0.9;
  cursor: default;
}

.field.block {
  margin-top: 14px;
}

.checks {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.35;
  cursor: pointer;
}

.check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

@media (max-width: 760px) {
  .checks {
    grid-template-columns: 1fr;
  }
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.form-foot {
  margin: 12px 0 0;
  opacity: 0.75;
}

.modal-success {
  padding: 20px 0 0;
}
.modal-success h3 {
  margin: 0 0 6px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
}
.modal-success p {
  margin: 0 0 14px;
  opacity: 0.85;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .modal-card {
    margin: 18px auto;
  }
  .modal-form .form-grid {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: 1fr;
  }
}

/* =========================
   RIG INSPECTOR CLEAN SECTION
   ========================= */

.rig-section {
  width: 100%;
  margin: 0 auto 60px;
  color: #0b0f16;
}

/* =========================
   RIG HERO IMAGE
========================= */

.rig-hero-image {
  width: 100%;
  margin-bottom: 40px;

  display: flex;
  justify-content: center;
}

.rig-hero-image img {
  width: 100%;
  max-width: 1200px; /* keeps it elegant, not stretched ugly */
  height: auto;
  display: block;

  border-radius: 14px; /* optional – remove if you want sharp */
}
/* intro */
.rig-intro h2 {
  font-family: var(--fontHead);
  margin: 0 0 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rig-intro p {
  line-height: 1.8;
  margin: 0 0 14px;
  color: rgba(11, 15, 22, 0.75);
}

/* emphasis */
.rig-emphasis {
  font-weight: 600;
}

/* 2 column layout */
.rig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0;
}

.grid-background-1 {
  padding: 32px;
  border-radius: 16px;
  background: #dcdada;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.05);

  color: #3d3d3e;

  /* ⭐ KEY */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.color-inspect li {
  color: #3d3d3e;
}

.grid-background {
  padding: 32px;
  border-radius: 16px;
  background: #202939;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.05);

  color: #f0f1f2;

  /* ⭐ KEY */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rig-grid h3,
.rig-bottom h3 {
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  margin: 0 0 14px;
}

/* lists */
.rig-list,
.rig-checks {
  padding-left: 20px;
  margin: 0 0 16px;
  line-height: 1.8;
  color: rgba(233, 234, 236, 0.75);
}

.rig-checks li {
  margin-bottom: 10px;
}

/* bottom */
.rig-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   RIG BOTTOM 3 COLUMNS
   ========================= */

.rig-bottom {
  margin-top: 50px;
}

/* grid */
.rig-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}

.rig-col {
  background: #202939;

  padding: 32px;
  border-radius: 16px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.05);

  color: #e9eaec;

  /* ⭐ KEY */
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* column spacing */
.rig-col h3 {
  margin-bottom: 14px;
}

/* tighten text for side-by-side layout */
.rig-col p,
.rig-col li {
  line-height: 1.7;
  color: #e9eaec;
}

/* stack buttons nicely */
.rig-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  justify-content: center; /* ⭐ centers horizontally */
  text-align: center;
  padding: 5% 0;
}

/* tablet */
@media (max-width: 1000px) {
  .rig-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* mobile */
@media (max-width: 680px) {
  .rig-bottom-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* responsive */
@media (max-width: 980px) {
  .rig-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =====================================
   CONSULTANCY PAGE (ADD-ON)
   ===================================== */

.consult-wrap {
  width: 90%;
  margin: 0 auto;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
  margin-top: 18px;
  margin: 0%;
}
@media (max-width: 900px) {
  .consult-grid {
    grid-template-columns: 1fr; /* ⭐ stack vertically */
    gap: 20px; /* optional tighter spacing */
  }
}
.consult-head {
  margin-bottom: 22px;
}

.consult-title {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: #0b0f16;
  text-transform: uppercase;
}
.consult-title span {
  color: #1b2028;
}

.consult-sub {
  margin: 0;
  max-width: 980px;
  color: rgba(11, 15, 22, 0.72);
  line-height: 1.75;
}

.consult-cards {
  display: grid;
  gap: 14px;
  margin-top: 0px;
}

.consult-card {
  background: #202939;
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.consult-card h3 {
  margin: 0 0 8px;
  font-weight: 500;
}

.consult-card p {
  margin: 0;
  line-height: 1.7;
  color: rgba(233, 238, 247, 0.78);
}

.consult-panel {
  position: sticky;
  border-radius: 22px;
  padding: 28px;
  color: #333840;
  background-color: var(--gold2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.consult-panel h3 {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  color: #333840;
}

.consult-panel p {
  margin: 0 0 12px;
  line-height: 1.75;
  opacity: 0.93;
}

.consult-note {
  margin-top: 14px;
  line-height: 1.8;
  color: rgba(11, 15, 22, 0.7);
}

/* Inspection grid */
.inspect-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.inspect-card {
  border-radius: 18px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.inspect-card h3 {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
}

.inspect-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.inspect-cta {
  width: 90%;
  margin: 18px auto 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#services .about-head {
  margin-bottom: 22px;
}

/* Responsive */
@media (max-width: 980px) {
  .consult-wrap {
    grid-template-columns: 1fr;
    width: 90%;
    padding: 0 0%;
  }

  .consult-panel {
    position: relative;
    top: 0;
  }

  .inspect-grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 22px;
  }

  .inspect-cta {
    width: 100%;
    padding: 0 22px;
  }
}

/* =====================================
   INSPECTION PAGE (CLEAN 3 COLUMNS)
   ===================================== */

.inspection-wrap {
  width: 90%;
  margin: 0 auto;
}

.inspection-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 26px;
}

.inspection-col {
  padding-right: 8px; /* tiny breathing room */
}

.inspection-h3 {
  margin: 0 0 12px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  color: var(--heading-text);
  text-transform: uppercase;
}

.inspection-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 15, 22, 0.74);
  line-height: 1.85;
}

.inspection-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive */
@media (max-width: 980px) {
  .inspection-wrap {
    width: 100%;
    padding: 0 22px;
  }

  .inspection-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .inspection-actions {
    justify-content: flex-start;
  }
}

/* =====================================
   ABOUT PAGE (ADD-ON)
===================================== */

.about-wrap {
  width: 90%;
  margin: 0 auto;
}

.about-head {
  margin-bottom: 22px;
}

.about-title {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: #0b0f16;
  text-transform: uppercase;
}
.about-title span {
  color: #102547;
}

.about-sub {
  margin: 0;
  max-width: 980px;
  color: rgba(11, 15, 22, 0.72);
  line-height: 1.75;
}

.about-wide-hero {
  width: 100%;
  overflow: hidden;
  border-radius: 14px; /* optional */
}

.about-wide-hero img {
  width: 100%;
  height: clamp(260px, 45vw, 500px);
  object-fit: cover;
  background: #0b0f16; /* fill around image */
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}

.about-block {
  color: #0b0f16;
}

.about-h3 {
  margin: 0 0 12px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  color: #0b0f16;
  text-transform: uppercase;
}

.about-cards {
  display: grid;
  gap: 14px;
  padding: 1em 0;
}

.about-card {
  color: black;
  border-radius: 18px;
}
.about-card h4 {
  margin: 0 0 6px;
  font-weight: 500;
}
.about-card p {
  margin: 0;
  line-height: 1.7;
}

.about-note {
  margin-top: 14px;
  line-height: 1.8;
  color: rgba(11, 15, 22, 0.72);
  max-width: 920px;
}

/* Premium panel (right) */
.about-panel {
  border-radius: 22px;
  padding: 28px;
  background: #202939;
  background-color: var(--gold2);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}
.about-panel h3 {
  margin: 0 0 10px;
  font-family: var(--fontHead);
  letter-spacing: 0.03em;
  color: #333840;
}
.about-panel p {
  margin: 0 0 12px;
  line-height: 1.75;
  opacity: 0.93;
}

/* Sections below */
.about-section {
  margin-top: 34px;
}

.about-sub2 {
  margin: 0 0 14px;
  color: rgba(11, 15, 22, 0.72);
  line-height: 1.75;
  max-width: 980px;
}

/* =========================
   INDUSTRY IMAGE GRID
========================= */

.about-industry-grid {
  width: 100%;
  margin: 50px auto;

  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

/* each image */
.about-industry-grid img {
  width: 100%;
  object-fit: contain;

  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);

  transition: 0.25s ease;
}

/* hover effect */
.about-industry-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .about-industry-grid {
    grid-template-columns: repeat(2, 0.4fr);
    justify-content: center;
  }
}

/* @media (max-width: 560px) {
  .about-industry-grid {
    grid-template-columns: 1fr;
  }
} */

/* Industries pills */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.industry-pill {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--gold);
  border: 1px solid rgba(16, 37, 71, 0.12);
  color: rgba(11, 15, 22, 0.85);
  font-weight: 600;
  text-align: center;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.why-card {
  border-radius: 18px;
  padding: 18px;
  background: var(--cardbk);
  color: #fff;
  border: 1px solid rgba(11, 15, 22, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}
.why-card h4 {
  margin: 0 0 8px;
  font-weight: 500;
  color: #fff;
}
.why-card p {
  margin: 0;
  font-weight: 200;
  line-height: 1.75;
  color: #fff;
}

/* Responsive */
@media (max-width: 980px) {
  .about-wrap {
    width: 100%;
    padding: 0 22px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT SECTION
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 22px;
}

/* FORM */
.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f4f6f9;
  font-family: var(--fontBody);
}

.contact-form textarea {
  resize: vertical;
}

/* INFO CARD (same premium style as panels) */
.contact-info-card {
  border-radius: 22px;
  padding: 26px;
  color: #565555;
  /* background: var(--cardbk2); */
  border: 1px solid rgba(255, 255, 255, 0.14);
  /* box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22); */
}

.contact-info-card h3 {
  font-family: var(--fontHead);
  margin-bottom: 14px;
  color: var(--heading-text);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  line-height: 1.7;
  font-weight: 200;
}

.contact-list a {
  text-decoration: none;
  color: inherit;
  font-weight: 200;
}

.contact-list a:hover {
  color: var(--gold2);
}

.contact-socials {
  margin-top: 26px;
  min-height: 60px; /* space reserved for icons */
}

/* mobile */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ENQUIRY TABS (CONTACT FORM)
========================= */
.enquiry-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.enq-tab {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f4f6f9;
  color: rgba(11, 15, 22, 0.85);
  padding: 10px 14px;
  border-radius: 0px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.enq-tab:hover {
  transform: translateY(-1px);
}

.enq-tab.is-active {
  background: var(--gold);
  border-color: rgba(0, 0, 0, 0.18);
  color: #111;
}

/* Training dropdown */
.field-label {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 15, 22, 0.7);
}

.training-picker {
  display: grid;
  gap: 8px;
}

.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f4f6f9;
  font-family: var(--fontBody);
}

/* hidden state */
.training-picker.is-hidden {
  display: none;
}
/* =========================
   FOOTER
   ========================= */
.site-footer {
  background: #0a0d14;
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 70px;
}
.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--fontHead);
  letter-spacing: 0.04em;
  color: white;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  transition: 0.2s;
}
.footer-col a:hover {
  color: var(--gold2);
}

.footer-brand h3 {
  font-family: var(--fontHead);
  letter-spacing: 0.05em;
  color: rgb(33, 32, 32);
  margin: 0 0 10px;
}

.footer-brand p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
}

.footer-btn {
  margin-top: 14px;
  width: 180px;
}

.footer-bottom {
  width: 90%;
  margin: 50px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* =========================
   TYPOGRAPHY (CLAMPED)
   ========================= */

/* header */
.brand-name {
  font-size: clamp(18px, 1.6vw, 27px);
}
.brand-sub {
  font-size: clamp(10px, 1vw, 13px);
}
.nav-link {
  font-size: var(--fs-nav);
}
.nav-phone {
  font-size: clamp(11px, 0.9vw, 12px);
}
.nav-cta {
  font-size: clamp(11px, 0.9vw, 12px);
}

/* hero */
.hero-title {
  font-size: var(--fs-hero);
}
.hero-sub {
  font-size: var(--fs-);
}

/* buttons */
.btn {
  font-size: var(--fs-btn);
}

/* band headings */
.band-head h2 {
  font-size: var(--fs-h2);
}
.band-head p {
  font-size: clamp(15px, 1.3vw, 20px);
}

/* training */
.training-title {
  font-size: var(--fs-h1);
}
.training-sub {
  font-size: var(--fs-body-lg);
}
.t-title {
  font-size: clamp(14px, 1.1vw, 15px);
}
.t-sub {
  font-size: clamp(11px, 0.95vw, 12px);
}
#training .cards .btn-wide {
  font-size: clamp(13px, 1vw, 16px);
}

/* intro */
.intro-title {
  font-size: var(--fs-h2);
}
.intro-body {
  font-size: var(--fs-body-lg);
}
.intro-card h3 {
  font-size: clamp(26px, 2.2vw, 34px);
}
.intro-card p {
  font-size: var(--fs-body);
}

/* clients */
#clients .clients-title {
  font-size: var(--fs-h1);
  line-height: 0.86;
}
#clients .feature h4 {
  font-size: var(--fs-h4);
}
#clients .feature p {
  font-size: var(--fs-body);
}
#clients .clients-right h3 {
  font-size: var(--fs-h3);
}
#clients .clients-right p {
  font-size: var(--fs-body);
}
#clients .proof-card h3 {
  font-size: clamp(16px, 1.2vw, 18px);
}
#clients .proof-card p {
  font-size: var(--fs-small);
}

/* certified */
.cert-left h2 {
  font-size: var(--fs-h2);
}
.ticks {
  font-size: clamp(16px, 1.4vw, 20px);
}
.bullets {
  font-size: var(--fs-body-lg);
}
.note {
  font-size: var(--fs-body-lg);
}

/* courses */
.course-body h3 {
  font-size: clamp(18px, 1.6vw, 20px);
}
.course-body p {
  font-size: var(--fs-body);
}

/* featured course */
.band-title {
  font-size: clamp(44px, 6.2vw, 96px);
}
.w-title {
  font-size: clamp(22px, 2vw, 28px);
}
.fc-title {
  font-size: var(--fs-h3);
}
.fc-sub {
  font-size: var(--fs-small);
}
.fc-desc,
.fc-panel-body,
.fc-list,
.fc-media-text {
  font-size: var(--fs-body);
}
.fc-fact-label {
  font-size: var(--fs-small);
}
.fc-media-title {
  font-size: clamp(26px, 2.4vw, 34px);
}

/* modal */
.modal-title {
  font-size: clamp(34px, 3.6vw, 48px);
}
.modal-sub {
  font-size: var(--fs-small);
}
.field span {
  font-size: var(--fs-small);
}
.check {
  font-size: var(--fs-body);
}
.form-foot {
  font-size: var(--fs-small);
}
.modal-success h3 {
  font-size: clamp(26px, 2.4vw, 34px);
}
.modal-success p {
  font-size: var(--fs-body);
}

/* rig */
.rig-intro h2 {
  font-size: var(--fs-h1);
}
.rig-intro p {
  font-size: var(--fs-body-lg);
}
.rig-emphasis {
  font-size: var(--fs-body-lg);
}
.rig-grid h3,
.rig-bottom h3 {
  font-size: clamp(22px, 2vw, 30px);
}
.rig-list,
.rig-checks {
  font-size: var(--fs-body);
}
.rig-col p,
.rig-col li {
  font-size: var(--fs-body);
}

/* consult/about/inspection */
.consult-title {
  font-size: var(--fs-h1);
}
.consult-sub {
  font-size: var(--fs-body-lg);
}
.consult-panel h3 {
  font-size: var(--fs-h3);
}
.consult-panel p {
  font-size: var(--fs-body);
}
.consult-card h3 {
  font-size: clamp(16px, 1.3vw, 18px);
}
.consult-card p {
  font-size: var(--fs-body);
}

.inspect-card h3 {
  font-size: clamp(22px, 2vw, 30px);
}
.inspect-list {
  font-size: var(--fs-small);
}

.inspection-h3 {
  font-size: var(--fs-h3);
}
.inspection-list {
  font-size: var(--fs-body-lg);
}

.about-title {
  font-size: var(--fs-h1);
}
.about-sub {
  font-size: var(--fs-body-lg);
}
.about-h3 {
  font-size: var(--fs-h3);
}
.about-panel h3 {
  font-size: var(--fs-h3);
}
.about-panel p {
  font-size: var(--fs-body);
}
.about-card h4 {
  font-size: clamp(16px, 1.3vw, 25px);
}
.about-card p {
  font-size: var(--fs-body);
}
.about-note,
.about-sub2 {
  font-size: var(--fs-body);
}
.industry-pill {
  font-size: var(--fs-small);
}
.why-card h4 {
  font-size: clamp(16px, 1.3vw, 18px);
}
.why-card p {
  font-size: var(--fs-body);
}

/* contact */
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-size: var(--fs-small);
}
.contact-info-card h3 {
  font-size: var(--fs-h2);
}
.contact-list,
.contact-list a {
  font-size: var(--fs-body-lg);
}
.enq-tab {
  font-size: clamp(12px, 1vw, 13px);
}
.field-label {
  font-size: var(--fs-small);
}

/* footer */
.footer-col h4 {
  font-size: clamp(16px, 1.2vw, 18px);
}
.footer-col a,
.footer-brand p,
.footer-contact li {
  font-size: var(--fs-small);
}
.footer-brand h3 {
  font-size: clamp(22px, 2vw, 32px);
}
.footer-bottom {
  font-size: clamp(11px, 0.9vw, 12px);
}

/* =========================
   RESPONSIVE (LAYOUT ONLY)
   ========================= */
@media (max-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .band-inner {
    padding: 0 0px;
  }

  /* header */
  .nav-wrap {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 14px;
  }
  .nav,
  .nav-right {
    display: none;
  }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  /* hero */
  .hero {
    min-height: 86vh;
    padding-bottom: 120px; /* reserve space for hero image */
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 26px 18px 18px;
    align-items: start;
  }
  .hero-inner-pages {
    padding: 26px 18px 18px;
  }

  /* hero media behaves like background */
  .hero-media {
    right: -8%;
    bottom: 0;
    width: 125%;
    opacity: 0.5;
  }
  .hero-media .hero-img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  }

  /* training */
  .training-grid {
    padding-right: 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #training .cards .btn-wide {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  #training .training-person {
    display: none;
  }

  /* clients */
  #clients .clients-wrap {
    gap: 26px;
  }
  #clients .clients-top {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  #clients .clients-left {
    padding: 0;
    justify-content: flex-start;
  }
  #clients .feature {
    flex: unset;
    padding-left: 0;
  }
  #clients .clients-right {
    padding: 20px;
    border-radius: 0px;
  }

  #clients .proof-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  /* certified */
  .certified-grid {
    padding-left: 5%;
    grid-template-columns: 1fr;
  }
  .logo-row {
    padding: 2rem 0;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .logo-row img {
    max-width: 160px;
    height: auto;
    display: block;
  }

  /* featured course */
  .fc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100vw;
    border-radius: 0%;
    margin-left: calc(50% - 50vw);
    padding: 0 0px; /* optional inner breathing space */
  }
  .fc-bottom {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 0px; /* optional */
    border-radius: 0;

    grid-template-columns: 1fr; /* ⭐ stack as rows */
    gap: 18px;
  }
  .fc-facts {
    grid-template-columns: 1fr;
  }

  /* white sections */
  .band-white,
  .band-white-two,
  .band-white-three {
    height: auto;
    padding: 64px 0;
  }

  /* intro */
  .intro-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .band-inner {
    padding: 0 0px;
  }

  .hero {
    min-height: 84vh;
    padding-bottom: 140px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-media {
    right: -15%;
    width: 150%;
    opacity: 0.42;
  }

  .btn {
    height: 40px;
    padding: 0 14px;
  }
  .btn-wide {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand p {
    max-width: none;
  }
}
