/* ============================================================
   PROJEX — Project Excellence Advisory & Management
   Brand Stylesheet — Production Quality
   Colors : Primary #142A4F | Accent #2389CA | Light #B0D2ED | White #FFFFFF
  Fonts  : Gotham (headings) | Dm Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ─────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --primary: #142A4F;
  --primary-light: #1e3d6e;
  --primary-dark: #0d1f3c;
  --accent: #2389CA;
  --accent-hover: #1a75b0;
  --accent-light: #B0D2ED;
  --grey: #969696;
  --grey-light: #f4f6f9;
  --grey-mid: #e8edf3;
  --grey-dark: #c5cdd8;
  --black: #000000;
  --white: #FFFFFF;

  /* Text */
  --text-dark: #1a1a2e;
  --text-body: #3d4a5c;
  --text-muted: #6b7897;

  /* Gradients */
  --gradient: linear-gradient(135deg, #142A4F 0%, #2389CA 100%);
  --gradient-rev: linear-gradient(135deg, #2389CA 0%, #142A4F 100%);
  --gradient-hero: linear-gradient(160deg, #0d1f3c 0%, #142A4F 45%, #1a5a96 100%);
  --gradient-cta: linear-gradient(135deg, #142A4F 0%, #1a5a96 60%, #2389CA 100%);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(20, 42, 79, .08);
  --shadow-sm: 0 2px 8px rgba(20, 42, 79, .10);
  --shadow-md: 0 6px 24px rgba(20, 42, 79, .14);
  --shadow-lg: 0 16px 48px rgba(20, 42, 79, .18);
  --shadow-xl: 0 24px 64px rgba(20, 42, 79, .22);

  /* Radii */
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: all .5s cubic-bezier(.4, 0, .2, 1);

  /* Typography */
  --font-h: 'Gotham', 'Dm Sans', sans-serif;
  --font-b: 'Dm Sans', 'Gotham', sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
  max-width: 640px;
  line-height: 1.75;
}

/* Prevent any element from causing horizontal scroll (mobile-safe) */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.divider-accent {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 16px 0 24px;
}

.divider-accent.center {
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */

/* Primary gradient button */
.btn-pb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(35, 137, 202, .35);
}

.btn-pb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35, 137, 202, .48);
  color: var(--white);
}

/* White outline button (for dark backgrounds) */
.btn-ob {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ob:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  transform: translateY(-2px);
}

/* Dark outline button (for light backgrounds) */
.btn-od {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-od:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────
   NAVBAR  — fixed height, scales all monitors
───────────────────────────────────────────────────────────── */
:root {
  --nav-h: 72px;
}

#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(14, 26, 48, .0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, .0);
  transition: background .4s ease, backdrop-filter .4s ease,
    border-color .4s ease, box-shadow .4s ease;
}

#mainNav.scrolled {
  background: rgba(14, 26, 48, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .25);
}

/* Always solid on mobile */
@media (max-width: 991px) {

  #mainNav,
  #mainNav.scrolled {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(20, 42, 79, .1);
  }
}

/* Inner wrapper — 3-column: logo | links | cta */
.nav-inner {
  width: 100%;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.nav-brand {
  flex-shrink: 0;
  line-height: 1;
  display: flex;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: none;
  transition: height .3s ease, filter .3s ease;
}

#mainNav.scrolled .nav-logo {
  height: 36px;
  filter: none;
}

/* Collapse area takes remaining space */
#navbarNav {
  flex: 1;
  display: flex !important;
  align-items: center;
}

/* Nav links */
.nav-link-custom {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
  border-radius: 1px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--white) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* CTA button */
.nav-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta-btn:hover {
  background: #1a75b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(35, 137, 202, .45);
}

.nav-cta-btn::after {
  display: none !important;
}

/* Dropdown */
.nav-dropdown {
  border: none !important;
  border-radius: 14px !important;
  padding: 8px !important;
  background: var(--white) !important;
  min-width: 250px;
  box-shadow: 0 16px 48px rgba(20, 42, 79, .18) !important;
  margin-top: 8px !important;
}

.nav-dd-item {
  font-family: var(--font-b);
  font-size: .86rem;
  color: var(--text-body) !important;
  border-radius: var(--radius) !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
}

.nav-dd-item i {
  color: var(--accent);
  font-size: .9rem;
}

.nav-dd-item:hover,
.nav-dd-item:focus {
  background: var(--grey-light) !important;
  color: var(--primary) !important;
}

.nav-dd-header {
  font-family: var(--font-h) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--primary) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, .9);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── MOBILE (≤991px) ── */
@media (max-width: 991px) {
  :root {
    --nav-h: 64px;
  }

  .nav-hamburger span {
    background: rgba(20, 42, 79, .9);
  }

  .nav-hamburger {
    display: flex;
  }

  #navbarNav {
    display: none !important;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 26, 48, .98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  }

  #navbarNav.show {
    display: flex !important;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .nav-link-custom {
    padding: 13px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    border-radius: 0;
    font-size: .8rem;
  }

  .nav-link-custom::after {
    display: none;
  }

  .nav-cta-btn {
    display: flex !important;
    justify-content: center;
    margin-top: 16px;
    padding: 13px 20px;
  }

  .nav-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, .05) !important;
    border-radius: var(--radius) !important;
    margin: 4px 0 !important;
    padding: 4px !important;
  }

  .nav-dd-item {
    color: rgba(255, 255, 255, .8) !important;
  }

  .nav-dd-item:hover {
    background: rgba(255, 255, 255, .08) !important;
    color: var(--white) !important;
  }

  .nav-dd-header {
    color: var(--accent-light) !important;
  }

  .dropdown-divider {
    border-color: rgba(255, 255, 255, .1) !important;
  }
}

/* ── SMALL LAPTOPS (992–1199px) ── */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-link-custom {
    font-size: .68rem;
    padding: 6px 10px !important;
    letter-spacing: .08em;
  }

  .nav-cta-btn {
    font-size: .68rem;
    padding: 8px 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  background-image: var(--gradient-hero), url('../images/hero-bg.webp');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.hero-rotator {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(3px);
  transition: opacity 1.45s ease, transform 10s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.02);
}

.hero-slide-counter {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .95rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(10, 22, 40, .28);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-h);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-slide-current,
.hero-slide-total {
  min-width: 1.6em;
  text-align: center;
}

.hero-slide-divider {
  color: rgba(255, 255, 255, .45);
}

.hero-slider-btn {
  position: absolute;
  top: auto;
  bottom: clamp(5.25rem, 8vh, 6.25rem);
  transform: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(10, 22, 40, .34);
  color: rgba(255, 255, 255, .88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.hero-slider-btn:hover {
  background: rgba(10, 22, 40, .5);
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
}

.hero-slider-btn:active {
  transform: scale(.96);
}

.hero-slider-btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-slider-prev {
  left: auto;
  right: calc(clamp(1rem, 2.5vw, 2rem) + 58px);
}

.hero-slider-next {
  right: clamp(1rem, 2.5vw, 2rem);
}

@media (min-width: 992px) {
  .hero-slide-counter {
    left: 50%;
    right: auto;
    bottom: clamp(1.35rem, 3vh, 2rem);
    transform: translateX(-50%);
  }

  .hero-slider-btn {
    bottom: clamp(1.25rem, 3vh, 1.9rem);
  }

  .hero-slider-prev {
    left: calc(50% - 126px);
    right: auto;
  }

  .hero-slider-next {
    left: calc(50% + 78px);
    right: auto;
  }
}

/* Dark overlay for bg image blend */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, .9);
  z-index: 1;
}

/* Dot pattern overlay */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .55;
  z-index: 1;
  background-image: radial-gradient(rgba(35, 137, 202, .12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Animated glow orbs */
.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(35, 137, 202, .18) 0%, transparent 68%);
  top: -220px;
  right: -80px;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(176, 210, 237, .1) 0%, transparent 68%);
  bottom: -140px;
  left: 8%;
  border-radius: 50%;
  animation: float 7s ease-in-out infinite reverse;
  z-index: 1;
  pointer-events: none;
}

/* Watermark text */
.hero-watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-h);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, .025);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 1;
  letter-spacing: .05em;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

/* Keyframes */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-32px) scale(1.06);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .55;
    transform: scale(1.35);
  }
}

@keyframes sLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Hero container */
.hero-container {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Hero inner grid */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 2vw, 2.5rem);
  align-items: center;
  min-height: 100vh;
  padding: clamp(90px, 10vh, 120px) 0 clamp(56px, 6vh, 80px);
  width: 100%;
  box-sizing: border-box;
}

/* Hero left column */
.hero-left {
  max-width: min(880px, 100%);
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Hero content elements */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.9rem, 3.2vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: clamp(16px, 2vh, 28px);
  letter-spacing: -.02em;
  text-align: left;
}

.hero-title-animated {
  min-height: 1.2em;
}

.hero-title-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .95s ease, transform .95s ease;
}

.hero-title-text.is-typing {
  border-right: 2px solid rgba(255, 255, 255, .75);
  padding-right: 3px;
  animation: heroCaretBlink .85s steps(1, end) infinite;
}

.hero-title-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle-animated {
  min-height: 3.5em;
}

.hero-subtitle-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .95s ease .05s, transform .95s ease .05s;
}

.hero-subtitle-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle-text.is-rising {
  animation: heroSubtitleRise .7s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vh, 32px);
}

.hero-cta-row a {
  text-decoration: none;
}

@keyframes heroCaretBlink {

  0%,
  49% {
    border-right-color: rgba(255, 255, 255, .78);
  }

  50%,
  100% {
    border-right-color: transparent;
  }
}

@keyframes heroSubtitleRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title .accent-text {
  background: linear-gradient(135deg, #2389CA, #B0D2ED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  max-width: 54ch;
  margin-bottom: clamp(24px, 3vh, 40px);
  text-align: left;
}

/* ────────────────────────────────────────────
   HOME HERO: centered layout
   (Targets only the home slider so inner pages keep their left-aligned hero)
─────────────────────────────────────────── */
.hero-slider .hero-inner {
  justify-items: center;
}

.hero-slider .hero-left {
  max-width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-slider .hero-left .hero-headline,
.hero-slider .hero-left .hero-paragraph {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
}

.hero-slider .hero-left .hero-cta-row {
  justify-content: center;
}

/* Readability boost over photo backgrounds */
.hero-slider .hero-headline,
.hero-slider .hero-paragraph,
.hero-slider .hero-eyebrow {
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .5);
}

/* ────────────────────────────────────────────
   HERO EYEBROW — rotating slide label
   Style: line accent on each side + small uppercase text
─────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(20px, 3vh, 32px);
  font-size: clamp(.86rem, 1vw, 1rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-light, #B0D2ED);
  font-weight: 600;
  min-height: 1.4em;
}

.hero-eyebrow .hero-title-text {
  color: var(--accent-light, #B0D2ED);
  font-weight: 600;
  letter-spacing: .26em;
}

/* ────────────────────────────────────────────
   HERO HEADLINE — fixed brand tagline (big H1)
   "Delivering Project Excellence through <em>Expertise & Execution.</em>"
─────────────────────────────────────────── */
.hero-headline {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--accent-light);
  max-width: none;
  white-space: nowrap;
  margin: 0 0 clamp(22px, 3vh, 32px);
}

.hero-headline-accent {
  display: block;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: -.005em;
  margin-top: .12em;
  white-space: nowrap;
}


/* ────────────────────────────────────────────
   HERO PARAGRAPH — smaller fixed brand statement
─────────────────────────────────────────── */
.hero-paragraph {
  font-size: clamp(1.18rem, 1.4vw, 1.42rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--white, #fff);
  max-width: 70ch;
  margin: 0 0 clamp(24px, 3vh, 36px);
}

/* ────────────────────────────────────────────
   HERO STATIC — dark grid background with radial brand-blue glow
   (Selector uses both .hero-section AND .hero-static so specificity
    beats the .hero-section rules in modern.css that force cover/center.)
─────────────────────────────────────────── */
.hero-section.hero-static {
  min-height: 100vh;
  background-color: #020617 !important;
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vh, 180px) 0 clamp(60px, 8vh, 100px);
  position: relative;
  overflow: hidden;
}

/* Disable the dark overlay used by hero-slider variant */
.hero-section.hero-static::before {
  display: none !important;
}

/* Embedded architectural grid overlay */
.hero-section.hero-static::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  animation: gridMove 15s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0px 0px, 0px 0px;
  }

  100% {
    background-position: 30px 30px, 30px 30px;
  }
}

/* Background image layer with blur */
.hero-static-bg {
  display: block;
  position: absolute;
  inset: -15px;
  /* Slight overlap to hide blurred edges */
  z-index: 0;
  background-image:
    /* 1. Center radial brand-blue glow (top layer) */
    radial-gradient(circle at 50% 50%, rgba(35, 137, 202, 0.25) 0%, transparent 70%),
    /* 2. Dark tint over image so text stays readable */
    linear-gradient(rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.62)),
    /* 3. Hero photo (bottom layer) */
    url('../images/hero-bg.jpg') !important;
  background-size: 100% 100%, 100% 100%, cover !important;
  background-position: center, center, center !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  filter: blur(1.5px);
}

.hero-static-inner {
  position: relative;
  z-index: 2;
}

.hero-static-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.hero-static-content {
  max-width: 940px;
  text-align: left;
}

/* Staggered fade-up animation (mirrors framer-motion itemVariants) */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-static-content .hero-paragraph {
  opacity: 0;
  animation: heroFadeUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-static-content .hero-headline {
  opacity: 0;
  animation: heroFadeUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-static-content .hero-cta-row {
  opacity: 0;
  animation: heroFadeUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

/* ────────────────────────────────────────────
   HERO CARDS COLUMN — expanding cards (horizontal row)
   One card is "active" (5fr) and the others are narrow strips (1fr).
   JS sets data-active on the <ul> to drive grid-template-columns.
─────────────────────────────────────────── */
.hero-cards-column {
  position: relative;
  height: clamp(440px, 64vh, 600px);
  overflow: visible;
}

.hero-expanding-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 6px;
  height: 100%;
  transition: grid-template-columns .55s cubic-bezier(.4, 0, .2, 1);
}

.hero-expanding-cards[data-active="0"] {
  grid-template-columns: 4.5fr 1.4fr 1.4fr;
}

.hero-expanding-cards[data-active="1"] {
  grid-template-columns: 1.4fr 4.5fr 1.4fr;
}

.hero-expanding-cards[data-active="2"] {
  grid-template-columns: 1.4fr 1.4fr 4.5fr;
}

.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.18);
  min-width: 0;
  min-height: 0;
  background: var(--primary-dark);
  outline: none;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}

.exp-card.is-active {
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 60px -12px rgba(35,137,202,.45);
  z-index: 10;
}

.exp-card:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-light);
}

.exp-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: grayscale(80%) brightness(0.5);
  transition: transform .5s ease, filter .5s ease;
}

.exp-card.is-active img {
  transform: scale(1);
  filter: grayscale(0) blur(0.5px) brightness(0.95);
}

.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
      rgba(13, 31, 60, .92) 0%,
      rgba(13, 31, 60, .45) 50%,
      rgba(13, 31, 60, .18) 100%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.exp-card.is-active .exp-card-overlay {
  opacity: 0;
}

/* Side title — visible only on inactive (compressed) cards.
   Vertical text reading top-to-bottom via writing-mode. */
.exp-card-side {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: .15em;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  opacity: 1;
  transition: opacity .25s ease;
  pointer-events: none;
}

.exp-card.is-active .exp-card-side {
  opacity: 0;
}

/* Expanded content — visible only on active card */
.exp-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .12s, transform .35s ease .12s;
  pointer-events: none;
}

.exp-card.is-active .exp-card-content {
  opacity: 1;
  transform: translateY(0);
}

.exp-card-num {
  display: block;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 6px;
}

.exp-card-title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin: 0 0 8px;
}

.exp-card-desc {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
  max-width: 100%;
}

/* Mobile: hide the in-hero cards column (cards appear in a separate
   section below the hero instead). */
@media (max-width: 991px) {
  .hero-static-grid {
    grid-template-columns: 1fr;
  }

  .hero-static .hero-cards-column {
    display: none;
  }
}

/* Standalone services-cards-section: only visible on mobile/tablet
   (desktop uses the in-hero expanding cards). */
@media (min-width: 992px) {
  .services-cards-section {
    display: none;
  }
}

/* Mobile/tablet — standalone expanding-cards section below the hero.
   Cards stack vertically: active expands top-to-bottom; inactive
   cards become short horizontal strips with horizontal titles. */
@media (max-width: 991px) {
  .services-cards-section {
    background: var(--primary-dark, #0d1f3c);
    padding: clamp(28px, 5vw, 48px) clamp(20px, 6vw, 36px);
  }
  .services-cards-section .hero-cards-column {
    height: clamp(420px, 64vh, 560px);
    max-width: 560px;
    margin: 0 auto;
  }

  /* Switch grid from columns to rows so cards stack vertically */
  .services-cards-section .hero-expanding-cards {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    transition: grid-template-rows .55s cubic-bezier(.4, 0, .2, 1);
  }
  .services-cards-section .hero-expanding-cards[data-active="0"] {
    grid-template-rows: 5fr 1fr 1fr;
    grid-template-columns: 1fr;
  }
  .services-cards-section .hero-expanding-cards[data-active="1"] {
    grid-template-rows: 1fr 5fr 1fr;
    grid-template-columns: 1fr;
  }
  .services-cards-section .hero-expanding-cards[data-active="2"] {
    grid-template-rows: 1fr 1fr 5fr;
    grid-template-columns: 1fr;
  }

  /* Side title (shown on inactive cards) renders horizontally now */
  .services-cards-section .exp-card-side {
    writing-mode: horizontal-tb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  /* Stronger overlay gradient on mobile (covers more of the card top-down) */
  .services-cards-section .exp-card-overlay {
    background: linear-gradient(0deg,
      rgba(8, 18, 38, .98) 0%,
      rgba(8, 18, 38, .96) 50%,
      rgba(8, 18, 38, .6) 80%,
      rgba(8, 18, 38, .2) 100%);
  }

  /* Solid dark backdrop directly on the content area so text is always
     readable regardless of what's in the photo behind. */
  .services-cards-section .exp-card-content {
    background: linear-gradient(0deg,
      rgba(8, 18, 38, .96) 0%,
      rgba(8, 18, 38, .9) 70%,
      rgba(8, 18, 38, 0) 100%);
    padding-top: 64px;
  }

  /* Strong text shadow for extra contrast */
  .services-cards-section .exp-card-title,
  .services-cards-section .exp-card-desc {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .8), 0 1px 3px rgba(0, 0, 0, .6);
  }
}

.hero-static .hero-headline {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 22ch;
  text-shadow: none;
}

.hero-static .hero-paragraph {
  text-align: justify;
  margin-left: 0;
  margin-right: 0;
  max-width: 64ch;
  text-shadow: none;
}

.hero-static .hero-cta-row {
  justify-content: flex-start;
}

@media (max-width: 991px) {
  .hero-section.hero-static {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(72px, 10vh, 96px) 0 clamp(40px, 6vh, 64px);
    align-items: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-static-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-static .hero-paragraph,
  .hero-static .hero-headline {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-static-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-static .hero-headline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-static .hero-paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.34rem, 4.4vw, 1.62rem);
  }

  .hero-static .hero-headline {
    white-space: normal;
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-static .hero-cta-row {
    justify-content: center;
  }
}

/* ────────────────────────────────────────────
   SERVICE CARDS SECTION — mobile/tablet only (hidden on desktop)
   Horizontal swipe carousel: each card is a slide; users swipe to
   reveal the next service. Scroll-snap centers each card.
─────────────────────────────────────────── */
.services-cards-section {
  background: var(--primary-dark, #0d1f3c);
  padding: clamp(40px, 7vw, 72px) clamp(20px, 6vw, 36px);
}

.services-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 8px clamp(20px, 6vw, 40px) 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-cards-grid::-webkit-scrollbar {
  display: none;
}

/* Important: override any inherited .service-card rules from modern.css */
.services-cards-section .service-card {
  position: relative;
  display: block;
  flex: 0 0 85%;
  max-width: 340px;
  min-width: 270px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  overflow: hidden;
  text-decoration: none;
  color: var(--white) !important;
  background: var(--primary-dark, #0d1f3c) !important;
  isolation: isolate;
  padding: 0 !important;
  /* Removes the inherited thick dark border/padding */
  /* border: 1px solid rgba(255, 255, 255, 0.12) !important; */
  border-radius: var(--radius-lg, 16px);
  transition: transform .4s ease;
}

.services-cards-section .service-card:hover,
.services-cards-section .service-card:focus-visible {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45),
    0 0 60px -15px rgba(35, 137, 202, .6);
}

.service-card-photo {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.service-card:hover .service-card-photo,
.service-card:focus-visible .service-card-photo {
  transform: scale(1.06);
}

/* Overlay to match desktop cards */
.services-cards-section .service-card-overlay {
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 31, 60, .92) 0%, rgba(13, 31, 60, .45) 50%, rgba(13, 31, 60, .18) 100%);
  z-index: 1;
}

/* Content area text wrapper */
.services-cards-section .service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column;
  background: transparent !important;
}

.service-card-num {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.service-card-title {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white) !important;
  margin: 0 0 8px;
  letter-spacing: -.015em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .5);
}

.service-card-desc {
  font-size: .86rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .92) !important;
  margin: 0 0 18px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* Frosted "Explore Now" pill — full-width footer of the card */
.service-card-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(35, 137, 202, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(35, 137, 202, .35);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-h);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--white);
  transition: background .3s ease, border-color .3s ease;
}

.service-card:hover .service-card-explore,
.service-card:focus-visible .service-card-explore {
  background: rgba(35, 137, 202, .4);
  border-color: rgba(35, 137, 202, .55);
}

.service-card-explore i {
  font-size: .9rem;
  transition: transform .3s ease;
}

.service-card:hover .service-card-explore i,
.service-card:focus-visible .service-card-explore i {
  transform: translateX(4px);
}

/* Tablet — show ~2 cards at once */
@media (min-width: 576px) and (max-width: 991px) {
  .services-cards-section .service-card {
    flex: 0 0 calc(50% - 24px);
    max-width: 380px;
  }
}

@media (max-width: 991px) {
  .hero-eyebrow {
    font-size: .7rem;
    padding: 6px 14px 6px 12px;
  }

  .hero-statement {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tagline {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tagline-line {
    flex: 0 1 36px;
  }

  .hero-slide-caption .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .hero-tagline-line {
    display: none;
  }

  .hero-tagline {
    gap: 0;
  }
}

.hero-pillars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vh, 44px);
  justify-content: flex-start;
}

.hero-pillar {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(35, 137, 202, .15);
  border: 1px solid rgba(35, 137, 202, .35);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Stat cards */
.stat-card {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 1.8vh, 24px) clamp(16px, 1.8vw, 28px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(176, 210, 237, .3);
  transform: translateX(6px);
}

/* Accent variant */
.stat-card-accent {
  border-color: rgba(176, 210, 237, .25) !important;
  background: rgba(35, 137, 202, .12) !important;
}

.stat-card-accent:hover {
  background: rgba(35, 137, 202, .18) !important;
}

.stat-num {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-plus {
  font-size: .55em;
  vertical-align: super;
  margin-left: 2px;
}

.stat-lbl {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
  line-height: 1.4;
}

.stat-sub {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px;
  font-style: italic;
}

/* Hero stat accent modifier (new) */
.hero-stat-accent {
  border-color: rgba(35, 137, 202, .45) !important;
  background: rgba(35, 137, 202, .15) !important;
  box-shadow: 0 4px 20px rgba(35, 137, 202, .12) !important;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  letter-spacing: .12em;
  font-family: var(--font-h);
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
  animation: sLine 2.2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Gradient overlay on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card>* {
  position: relative;
  z-index: 1;
}

/* Service card number badge (new) */
.service-card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-h);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--grey-mid);
  z-index: 1;
  transition: color .35s ease;
}

.service-card:hover .service-card-number {
  color: rgba(255, 255, 255, .2);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--grey-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(255, 255, 255, .2);
}

.service-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  transition: color .35s ease;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  transition: color .35s ease;
}

.service-link {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: var(--white);
}

.service-card:hover .service-link {
  color: rgba(255, 255, 255, .9);
}

.service-card:hover .service-icon-wrap i,
.service-card:hover .service-icon-wrap svg {
  color: var(--white) !important;
  filter: brightness(2);
}

/* ─────────────────────────────────────────────────────────────
   STRENGTH / WHY CHOOSE US CARDS
───────────────────────────────────────────────────────────── */
.strength-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Top border animation */
.strength-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.strength-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.strength-card:hover::before {
  transform: scaleX(1);
}

.strength-icon {
  width: 56px;
  height: 56px;
  background: var(--grey-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
  color: var(--accent);
}

/* On hover: gradient bg, icon stays visible as white */
.strength-card:hover .strength-icon {
  background: var(--gradient);
}

.strength-card:hover .strength-icon i,
.strength-card:hover .strength-icon svg {
  color: var(--white) !important;
  filter: brightness(10);
}

.strength-title {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.strength-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.strength-card-featured {
  padding: 0;
  border: none;
  background: transparent;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.strength-card-featured::before {
  display: none;
}

.strength-card-media {
  position: absolute;
  inset: 0;
}

.strength-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .75s ease;
}

.strength-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, .18) 0%, rgba(10, 22, 40, .55) 48%, rgba(10, 22, 40, .88) 100%);
}

.strength-card-featured-body {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.strength-card-featured .strength-icon {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  color: var(--white);
}

.strength-card-featured .strength-title {
  color: var(--white);
  font-size: 1.06rem;
  margin-bottom: 10px;
}

.strength-card-featured .strength-text {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  line-height: 1.8;
}

.strength-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-h);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}

.strength-link i {
  transition: transform .3s ease;
}

.strength-link:hover i {
  transform: translateX(4px);
}

.strength-card-featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.strength-card-featured:hover .strength-card-media img {
  transform: scale(1.12);
}

.strength-card-featured:hover .strength-text {
  color: rgba(255, 255, 255, .94);
}

/* ─────────────────────────────────────────────────────────────
   VALUE CARDS (About / Principles)
───────────────────────────────────────────────────────────── */
.value-card {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}

.value-label {
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.value-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────────────────────────── */
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-mid);
  align-items: flex-start;
  transition: var(--transition);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step:hover {
  padding-left: 8px;
}

.step-num {
  min-width: 52px;
  height: 52px;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(35, 137, 202, .3);
}

.step-title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.step-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 42, 79, .02);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(35, 137, 202, .2);
}

.process-card-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: inherit;
  cursor: pointer;
}

.process-card-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: .92rem;
  font-weight: 800;
  background: rgba(35, 137, 202, .05);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.process-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-card-hint {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-h);
  font-weight: 700;
}

.process-card-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, color .3s ease;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.process-card-body {
  padding: 0 22px 22px 112px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: .95rem;
}

.process-card .collapse,
.process-card .collapsing {
  border-top: 1px solid var(--grey-mid);
}

.process-card .collapsing {
  transition-duration: .32s;
}

.process-card-trigger[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(35, 137, 202, .04), rgba(35, 137, 202, .01));
}

.process-card-trigger[aria-expanded="true"] .process-card-number {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.03);
}

.process-card-trigger[aria-expanded="true"] .process-card-toggle {
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
  transform: rotate(90deg);
}

.sectors-faq-row {
  align-items: flex-start;
}

.faq-accordion .process-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 48, 34, .08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.faq-accordion .process-card-trigger {
  padding: 18px 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.faq-accordion .process-card-body {
  padding: 0 22px 20px 22px;
  border-left: 2px solid #3b82f6;
  background: transparent;
  margin-left: 22px;
  color: #55606c;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-accordion .process-card-hint {
  display: none;
}

.faq-accordion .process-card-head {
  gap: 0;
}

.faq-accordion .step-title {
  font-size: 1rem;
  line-height: 1.5;
  color: #223349;
  font-weight: 700;
}

.faq-contact-section .process-card-trigger {
  padding: 18px 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.faq-contact-section .process-card-body {
  padding: 0 22px 20px 22px;
  border-left: 2px solid #3b82f6;
  margin-left: 22px;
  color: #55606c;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-contact-section .process-card-hint {
  display: none;
}

.faq-contact-section .step-title {
  font-size: 1rem;
  line-height: 1.5;
  color: #223349;
  font-weight: 700;
}

.faq-home {
  max-width: 100%;
  margin: 0 auto;
}

.faq-home .process-card-trigger {
  padding: 20px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.faq-home .process-card-body {
  padding: 0 24px 22px 24px;
  border-left: 2px solid #3b82f6;
  margin-left: 24px;
  color: #55606c;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-home .process-card-number,
.faq-home .process-card-hint {
  display: none;
}

.faq-accordion .process-card-toggle i,
.faq-home .process-card-toggle i,
.faq-contact-section .process-card-toggle i {
  display: none;
}

.faq-accordion .process-card-toggle::before,
.faq-home .process-card-toggle::before,
.faq-contact-section .process-card-toggle::before {
  content: '+';
}

.faq-home .process-card-toggle {
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
}

.faq-contact-section .process-card-toggle {
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
}

.faq-home .process-card-toggle::before,
.faq-contact-section .process-card-toggle::before {
  content: '+';
}

.faq-home .process-card-trigger[aria-expanded="true"] .process-card-toggle {
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
  transform: none;
}

.faq-contact-section .process-card-trigger[aria-expanded="true"] .process-card-toggle {
  background: rgba(59, 130, 246, .14);
  color: #2f6fd6;
  transform: none;
}

.faq-home .process-card-trigger[aria-expanded="true"] .process-card-toggle::before,
.faq-contact-section .process-card-trigger[aria-expanded="true"] .process-card-toggle::before {
  content: '−';
}

.faq-home .process-card-head {
  gap: 0;
}

@media (max-width: 767px) {
  .faq-home .process-card-trigger {
    padding: 18px 18px;
  }

  .faq-home .process-card-body {
    padding: 0 18px 18px 18px;
    margin-left: 18px;
  }
}

.process-card-trigger[aria-expanded="true"] .process-card-hint {
  color: var(--text-muted);
}

.process-card-trigger:hover .process-card-toggle {
  transform: scale(1.05);
}

.process-card-trigger[aria-expanded="true"]:hover .process-card-toggle {
  transform: rotate(90deg) scale(1.05);
}

.process-card-trigger:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(35, 137, 202, .22);
}

/* ─────────────────────────────────────────────────────────────
   PROJECT CARDS
───────────────────────────────────────────────────────────── */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  height: 100%;
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.project-img {
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.06);
}

.project-ph {
  font-size: clamp(2.6rem, 7vw, 4rem);
  opacity: .25;
  color: var(--white);
}

.project-body {
  padding: 28px;
}

.project-badge {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(35, 137, 202, .1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.status-ongoing {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(35, 137, 202, .12);
  color: var(--accent);
  margin-left: 8px;
}

.status-completed {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(40, 167, 69, .12);
  color: #28a745;
  margin-left: 8px;
}

.project-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.project-meta {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   PROJECTS PAGE: split layout (Spotlight + Highlights)
───────────────────────────────────────────────────────────── */
.projects-col-head {
  margin-bottom: 22px;
}

.projects-col-head .section-label {
  display: inline-block;
}

.projects-col-title {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.01em;
  margin: 8px 0 12px;
  line-height: 1.2;
}

.projects-col-sub {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Highlights stack — vertical list of compact mini-cards */
.highlights-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  flex-shrink: 0;
  min-height: 110px;
}

.highlight-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.highlight-img {
  flex: 0 0 120px;
  background: var(--off-white);
  overflow: hidden;
  position: relative;
}

.highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
  display: block;
}

.highlight-card:hover .highlight-img img {
  transform: scale(1.06);
}

.highlight-body {
  flex: 1 1 auto;
  padding: 14px 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-name {
  font-family: var(--font-h);
  font-size: .98rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.highlight-name-sub {
  font-weight: 500;
  color: var(--text-muted);
  font-size: .88em;
}

.highlight-meta {
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.highlight-meta i {
  color: var(--accent);
  font-size: .85rem;
}

.highlight-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.highlight-role {
  font-family: var(--font-h);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(35, 137, 202, .08);
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Desktop: highlights stack scrolls inside a height that matches the
   spotlight card. Height is set by JS (initProjectsHeightSync). */
@media (min-width: 992px) {
  .projects-split-section .row {
    align-items: flex-start;
  }

  .projects-split-section .col-lg-7 .project-card {
    height: auto;
  }

  .projects-split-section .highlights-stack {
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 137, 202, .45) transparent;
  }

  .projects-split-section .highlights-stack::-webkit-scrollbar {
    width: 6px;
  }

  .projects-split-section .highlights-stack::-webkit-scrollbar-track {
    background: transparent;
  }

  .projects-split-section .highlights-stack::-webkit-scrollbar-thumb {
    background: rgba(35, 137, 202, .4);
    border-radius: 100px;
  }

  .projects-split-section .highlights-stack::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 137, 202, .75);
  }
}

@media (max-width: 991px) {
  .projects-col-head {
    margin-top: 8px;
    text-align: center;
  }

  .projects-split-section .col-lg-7 .projects-col-head {
    margin-top: 0;
  }

  .projects-col-sub {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center the spotlight project card content (badges, name, meta, desc, link) */
  .projects-split-section .project-body {
    text-align: center;
  }

  .projects-split-section .project-meta {
    justify-content: center;
  }

  .projects-split-section .project-body .service-link {
    justify-content: center;
  }

  /* Flatten the spotlight card on mobile — no shadow / no box look */
  .projects-split-section .project-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .projects-split-section .project-card .project-img {
    border-radius: var(--radius-lg);
  }

  .projects-split-section .project-card .project-body {
    padding: 20px 0 0;
  }

  /* Reduce the vertical gap between the spotlight section and the highlights */
  .projects-split-section .row {
    --bs-gutter-y: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   FOOTER: centered layout on mobile
───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .site-footer {
    text-align: center;
  }

  .site-footer .footer-brand,
  .site-footer .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-brand img {
    display: inline-block !important;
  }

  .site-footer .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-links a {
    justify-content: center;
  }

  .site-footer .footer-ci {
    justify-content: center;
    align-items: center;
  }

  .site-footer .footer-bottom .d-flex {
    justify-content: center !important;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .highlight-img {
    flex: 0 0 92px;
  }

  .highlight-body {
    padding: 12px 14px;
  }

  .highlight-name {
    font-size: .92rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   TEAM CARDS
───────────────────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-4px);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(20, 42, 79, .25);
}

.team-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: .88rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-creds {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, transparent 68%);
  top: -240px;
  right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(176, 210, 237, .08) 0%, transparent 68%);
  bottom: -160px;
  left: -60px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 44px;
}

.form-label-b {
  font-family: var(--font-h);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.form-ctrl-b {
  background: var(--grey-light);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-b);
  font-size: .92rem;
  color: var(--text-dark);
  transition: var(--transition);
  width: 100%;
  outline: none;
  display: block;
  min-height: 44px;
  line-height: 1.2;
}

.form-ctrl-b:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(35, 137, 202, .12);
}

.form-ctrl-b::placeholder {
  color: var(--grey);
}

select.form-ctrl-b {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23969696' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-ctrl-b {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: .8rem;
  color: #dc3545;
  margin-top: 5px;
}

/* Contact info items */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.ci-label {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.ci-val {
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.ci-val a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.ci-val a:hover {
  color: var(--accent);
  border-bottom-color: rgba(35, 137, 202, .45);
}

/* ─────────────────────────────────────────────────────────────
   INDUSTRY TAGS
───────────────────────────────────────────────────────────── */
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grey-light);
  color: var(--text-dark);
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--grey-mid);
  transition: var(--transition);
  margin: 4px;
}

.industry-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

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

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 600px;
}

/* Breadcrumb */
.bc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.bc-nav li {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.bc-nav li a {
  color: rgba(255, 255, 255, .6);
}

.bc-nav li a:hover {
  color: var(--white);
}

.bc-nav li.active {
  color: var(--accent-light);
}

.bc-sep {
  opacity: .4;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, .7);
  padding: 80px 0 0;
}

.footer-brand-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: .72rem;
  color: var(--accent-light);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: 320px;
  margin: 16px 0 28px;
}

/* Centered tagline at the bottom of the footer (above copyright row) */
.footer-bottom-tagline {
  font-family: var(--font-h);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--accent-light, #B0D2ED);
  text-align: center;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-weight: 500;
  letter-spacing: .015em;
}

.footer-bottom-tagline em {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--accent-light, #B0D2ED);
  font-weight: 400;
}

.footer-heading {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 1.1em;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-ci {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}

.footer-ci-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 60px;
  padding: 24px 0;
}

.footer-bottom-txt {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

.footer-bottom-txt a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}

.footer-bottom-txt a:hover {
  color: var(--white);
}

.footer-pillar {
  font-family: var(--font-h);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(35, 137, 202, .15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-right: 6px;
}

/* ─────────────────────────────────────────────────────────────
   ALERT / FEEDBACK
───────────────────────────────────────────────────────────── */
.alert-success-b {
  background: rgba(35, 137, 202, .08);
  border: 1.5px solid rgba(35, 137, 202, .25);
  border-radius: var(--radius);
  color: var(--primary);
  padding: 16px 20px;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────
   SERVICE DETAIL / FEATURE ITEMS
───────────────────────────────────────────────────────────── */
.service-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.service-feature-item:last-child {
  border-bottom: none;
}

.feature-check {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: .8rem;
}

.feature-text-title {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.feature-text-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   ADMIN TABLE
───────────────────────────────────────────────────────────── */
.admin-row-unread {
  border-left: 4px solid var(--accent) !important;
}

.admin-row-read {
  border-left: 4px solid var(--grey-mid) !important;
}

/* ─────────────────────────────────────────────────────────────
   SCROLL-TO-TOP BUTTON
───────────────────────────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(35, 137, 202, .35);
}

#scrollTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 137, 202, .5);
}

/* Floating WhatsApp action button */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 92px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .32);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  animation: whatsappFloat 3s ease-in-out infinite;
  isolation: isolate;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, .42);
  pointer-events: none;
  z-index: -1;
  animation: whatsappPulse 2.6s cubic-bezier(.16, 1, .3, 1) infinite;
}

.whatsapp-float::after {
  inset: -14px;
  border-color: rgba(37, 211, 102, .26);
  animation-delay: 1.3s;
}

.whatsapp-float i {
  font-size: 1.55rem;
  line-height: 1;
}

.whatsapp-float span {
  display: none !important;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .42);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .35);
  outline-offset: 2px;
}

@keyframes whatsappFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: .62;
    transform: scale(.82);
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@media (prefers-reduced-motion: reduce) {

  .whatsapp-float,
  .whatsapp-float::before,
  .whatsapp-float::after {
    animation: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────────── */

/* fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s cubic-bezier(.22, .61, .36, 1), transform .95s cubic-bezier(.22, .61, .36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade-in */
.fade-in {
  opacity: 0;
  transition: opacity .95s cubic-bezier(.22, .61, .36, 1);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays for stagger-parent children */
.stagger-parent>.fade-up:nth-child(1) {
  transition-delay: .05s;
}

.stagger-parent>.fade-up:nth-child(2) {
  transition-delay: .15s;
}

.stagger-parent>.fade-up:nth-child(3) {
  transition-delay: .25s;
}

.stagger-parent>.fade-up:nth-child(4) {
  transition-delay: .35s;
}

.stagger-parent>.fade-up:nth-child(5) {
  transition-delay: .45s;
}

.stagger-parent>.fade-up:nth-child(6) {
  transition-delay: .55s;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */

/* Contact page heading grid - stack on mobile */
@media (max-width: 768px) {
  .contact-heading-grid {
    grid-template-columns: 1fr !important;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 84px;
    width: 52px;
    height: 52px;
  }

  #scrollTop {
    right: 20px;
    bottom: 22px;
  }
}

/* Large laptops / medium desktops — 1024–1366px */
@media (min-width: 992px) and (max-width: 1366px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 2.8vw, 3rem);
  }

  .hero-subtitle {
    font-size: .98rem;
  }

  .stat-num {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  }

  .stat-lbl {
    font-size: .78rem;
  }

  .stat-sub {
    font-size: .7rem;
  }
}

/* Tablet — 992px */
@media (max-width: 991px) {
  .section-pad {
    padding: 64px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 0 60px;
    gap: 2rem;
    min-height: auto;
  }

  .stat-card {
    flex: 1 1 200px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .page-hero {
    padding: 130px 0 60px;
  }
}

/* Mobile — 768px */
@media (max-width: 767px) {
  .section-pad {
    padding: 48px 0;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .stat-num {
    font-size: 2rem;
  }

  .service-card {
    padding: 28px 24px;
  }

  .strength-card {
    padding: 28px 24px;
  }

  .page-hero {
    padding: 120px 0 56px;
  }

  .page-hero-title {
    font-size: 2rem;
  }
}

/* Small mobile — 600px */
@media (max-width: 600px) {
  .stat-card {
    flex: unset;
  }
}

/* Very small — 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-pillars {
    gap: 6px;
  }

  .hero-pillar {
    font-size: .68rem;
    padding: 5px 12px;
  }

  .section-pad {
    padding: 48px 0;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .btn-pb,
  .btn-ob,
  .btn-od {
    padding: 12px 22px;
    font-size: .8rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO GRID LAYOUT (explicit additions matching spec)
───────────────────────────────────────────────────────────── */

/* These reinforce the hero-inner grid in context */
.hero-section .hero-left {
  position: relative;
  z-index: 3;
}

/* Maintain z-index for all hero children */
.hero-bg-pattern,
.hero-glow,
.hero-glow2,
.hero-watermark,
.scroll-cue {
  position: absolute;
}

.hero-bg-pattern {
  z-index: 1;
}

.hero-glow {
  z-index: 1;
}

.hero-glow2 {
  z-index: 1;
}

.hero-watermark {
  z-index: 1;
}

.scroll-cue {
  z-index: 3;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE SIZE REFINEMENT
───────────────────────────────────────────────────────────── */

/* Fluid section rhythm on all screens */
.section-pad {
  padding-top: clamp(28px, 4.8vw, 52px);
  padding-bottom: clamp(28px, 4.8vw, 52px);
}

.section-pad-sm {
  padding-top: clamp(20px, 3.8vw, 36px);
  padding-bottom: clamp(20px, 3.8vw, 36px);
}

.howwork-section {
  padding-bottom: clamp(18px, 3.2vw, 34px);
}

.industries-section {
  padding-top: clamp(18px, 3.2vw, 34px);
}

.industries-section .text-center {
  margin-bottom: clamp(22px, 3vw, 36px) !important;
}

/* Keep body copy and headings balanced on wide and narrow screens */
.section-subtitle {
  font-size: clamp(.98rem, 1.35vw, 1.1rem);
}

.hero-inner {
  min-height: 100svh;
}

.hero-left {
  max-width: min(880px, 100%);
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
}

.hero-actions .btn-pb,
.hero-actions .btn-ob {
  min-height: 46px;
}

.stat-card {
  padding: clamp(14px, 1.8vw, 24px);
}

.service-card,
.strength-card,
.contact-card {
  padding: clamp(24px, 2.8vw, 40px);
}

.page-hero {
  padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 7vw, 80px);
}

/* Desktop narrowing range: tighten nav density slightly */
@media (min-width: 992px) and (max-width: 1200px) {
  .nav-link-custom {
    font-size: .7rem;
    padding: 6px 10px !important;
    letter-spacing: .08em;
  }

  .nav-cta-btn {
    font-size: .7rem;
    padding: 9px 14px !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .hero-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-inner {
    min-height: auto;
    padding: 110px 0 54px;
    gap: 1.5rem;
  }

  .hero-pillars {
    gap: 7px;
  }

  .hero-pillar {
    font-size: .68rem;
    padding: 5px 12px;
  }

  .stat-card {
    flex: 1 1 220px;
  }

  .scroll-cue {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-inner {
    padding: 98px 0 42px;
  }

  .hero-slider-btn {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8.6vw, 2.45rem);
    line-height: 1.14;
  }

  .hero-subtitle {
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions a,
  .hero-cta-row a {
    width: 100%;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-cta-row {
    width: 100%;
    gap: 10px;
  }

  .stat-card {
    border-radius: 14px;
  }

  .service-card,
  .strength-card,
  .project-body,
  .contact-card {
    padding: 22px;
  }

  .project-img {
    aspect-ratio: 4 / 3;
  }

  .hero-section {
    background-position: 62% center !important;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav-logo {
    height: 32px;
  }

  .hero-container {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .hero-title {
    font-size: clamp(1.62rem, 9vw, 2.05rem);
  }

  .hero-pillars {
    margin-bottom: 18px;
  }

  .btn-pb,
  .btn-ob,
  .btn-od {
    font-size: .76rem;
    letter-spacing: .05em;
    min-height: 42px;
  }

  .section-title {
    line-height: 1.22;
  }

  .hero-section {
    background-position: 66% center !important;
  }

  .project-img {
    aspect-ratio: 1.25 / 1;
  }
}