:root {
  --black: #FAF6F0;
  /* Warm Cream Background */
  --navy: #F3ECE2;
  /* Soft Sand/Beige for alternate sections */
  --steel: #E7DFD3;
  /* Warm Gray/Cream for card borders */
  --teal: #0284C7;
  /* Sky Blue/Teal for Water / Pipes */
  --teal-dim: #0369A1;
  --gold: #DC2626;
  /* Crimson Red for Bus Body / Brand Accents */
  --gold-light: #EF4444;
  --silver: #2D3748;
  /* Dark Gray for secondary text readability */
  --white: #111827;
  /* Charcoal Black for primary text */
  --offwhite: #1F2937;
  /* Soft dark gray for secondary titles */
  --glass: rgba(0, 0, 0, 0.03);
  /* Soft warm tint overlay */
  --glass-border: rgba(0, 0, 0, 0.08);

  /* Dynamic Theme Overrides */
  --card-bg: #FFFFFF;
  --card-border: 1px solid #E7DFD3;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  --pill-bg: #F4EFEA;
  --pill-border: 1px solid rgba(0, 0, 0, 0.12);
  --pill-color: var(--silver);
  --nav-bg: rgba(250, 246, 240, 0.98);
  --btn-ghost-border: rgba(0, 0, 0, 0.15);
  --hero-bg-gradient: linear-gradient(135deg, #FAF6F0 0%, #F3ECE2 50%, #FAF6F0 100%);
  --hero-visual-gradient: linear-gradient(135deg, #EFEAE2 0%, #DFD8CC 100%);
  --bg-num-color: rgba(0, 0, 0, 0.045);
  --mfg-stat-bg: rgba(255, 255, 255, 0.95);
  --mfg-stat-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --stripe-color: rgba(128, 0, 0, 0.03);
  /* Super light Maroon for light theme */
}

/* Dark theme variable overrides */
[data-theme="dark"] {
  --black: #0A0A0F;
  --navy: #0E1628;
  --steel: #1A2744;
  --teal: #00D4FF;
  --teal-dim: #0099BB;
  --gold: #C9A84C;
  --gold-light: #E8C86A;
  --silver: #8B9BB4;
  --white: #FFFFFF;
  --offwhite: #E8EDF5;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Dynamic overrides */
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: 1px solid rgba(255, 255, 255, 0.08);
  --card-shadow: none;
  --card-hover-shadow: none;
  --pill-bg: transparent;
  --pill-border: 1px solid rgba(255, 255, 255, 0.08);
  --pill-color: var(--silver);
  --nav-bg: rgba(10, 10, 15, 0.98);
  --btn-ghost-border: rgba(255, 255, 255, 0.2);
  --hero-bg-gradient: linear-gradient(135deg, #0A0A0F 0%, #0E1628 50%, #0A0A0F 100%);
  --hero-visual-gradient: linear-gradient(135deg, #0E1628 0%, #1A2744 100%);
  --bg-num-color: rgba(255, 255, 255, 0.03);
  --mfg-stat-bg: rgba(10, 10, 15, 0.9);
  --mfg-stat-shadow: none;
  --stripe-color: rgba(160, 40, 40, 0.045);
  /* Super light Maroon/Crimson for dark theme */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ─── GLOBAL PIPE & CABLE BACKGROUND WATERMARK ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/pipe_cable_bg.png');
  background-repeat: repeat;
  background-size: 320px auto;
  /* fixed tile size so it repeats on all screens */
  background-position: top left;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  body::before {
    background-size: 200px auto;
    /* smaller tile on mobile for better coverage */
    background-position: 0 0;
  }
}

body[data-theme="dark"]::before,
html[data-theme="dark"] body::before {
  opacity: 0.22;
  filter: invert(1) brightness(1.5);
}

/* ─── GLOBAL DIAGONAL STRIPES GRID OVERLAY ─── */
/* Disabled globally on body to only show on specific best-suited sections (e.g. Hero, Manufacturing, Cards, Footer) */

/* Accent Diagonal Grid Utility Classes */
.rex-diagonal-grid {
  position: relative;
  overflow: hidden;
}

.rex-diagonal-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(45deg,
      var(--stripe-color),
      var(--stripe-color) 2px,
      transparent 2px,
      transparent 20px);
  pointer-events: none;
  z-index: 1;
}

.rex-diagonal-grid-blue {
  background-color: #0076c8 !important;
  background-image: repeating-linear-gradient(45deg,
      #0076c8,
      #0076c8 10px,
      #008be5 10px,
      #008be5 20px) !important;
  color: #FFFFFF !important;
}

.rex-diagonal-grid-dark {
  background-image: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 10px,
      transparent 10px,
      transparent 20px);
}


/* ─── LOADER ─── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#loader-svg-wrap {
  width: 340px;
  height: 200px;
  position: relative;
}

.loader-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: var(--silver);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeLabel 1s ease 3.2s forwards;
}

#loader-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
  opacity: 0;
  animation: popLogo 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
  text-align: center;
  line-height: 1;
}

#loader-logo span {
  color: var(--teal);
}

#loader-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeLabel 0.8s ease 2.6s forwards;
}

.loader-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: expandLine 1.2s ease 1.8s forwards;
  transform: scaleX(0);
}

@keyframes fadeLabel {
  to {
    opacity: 1;
  }
}

@keyframes popLogo {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes expandLine {
  to {
    transform: scaleX(1);
  }
}

.loader-icons {
  display: flex;
  gap: 3rem;
  margin-bottom: 0.5rem;
}

.loader-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.loader-icon:nth-child(1) {
  animation: iconIn 0.6s ease 0.4s forwards;
}

.loader-icon:nth-child(2) {
  animation: iconIn 0.6s ease 0.8s forwards;
}

.loader-icon:nth-child(3) {
  animation: iconIn 0.6s ease 1.2s forwards;
}

.loader-icon svg {
  width: 40px;
  height: 40px;
}

.loader-icon-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
}

@keyframes iconIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeLabel 0.3s ease 0.3s forwards;
}

.loader-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  width: 0%;
  animation: progressFill 3s ease forwards;
}

@keyframes progressFill {
  to {
    width: 100%;
  }
}

#loader.fade-out {
  animation: loaderOut 0.8s ease forwards;
}

@keyframes loaderOut {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}

nav.scrolled {
  background: var(--nav-bg);
  padding: 0.8rem 4rem;
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-badge {
  width: 32px;
  height: 32px;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal) !important;
  padding: 0.5rem 1.4rem;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s !important;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--teal) !important;
  color: var(--black) !important;
}

/* ─── NAV TOGGLE (Hamburger) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animate to X when active */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── NAV SUBMENU (Desktop hover) ─── */
.has-submenu {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--nav-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  list-style: none;
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 300;
}

/* Desktop only hover submenu */
@media (min-width: 1025px) {
  .has-submenu:hover>.nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-submenu li a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--silver) !important;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-submenu li a:hover {
  color: var(--white) !important;
  background: var(--glass);
}

/* ─── MOBILE NAV ─── */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 1.5rem;
  }

  nav.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100dvh;
    background: var(--nav-bg);
    border-left: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    overflow-y: auto;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links>li {
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links>li:last-child {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
  }

  .nav-links>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 0.82rem !important;
    letter-spacing: 0.12em;
    color: var(--silver) !important;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .nav-links>li>a:hover,
  .nav-links>li.active>a {
    color: var(--white) !important;
    background: var(--glass);
  }

  /* ─── Mobile Submenu ─── */
  .nav-submenu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.04);
    padding: 0;
    width: 100%;
    min-width: 0;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Show submenu when parent li has .open class */
  .has-submenu.open>.nav-submenu {
    display: block !important;
  }

  .nav-submenu li a {
    display: block;
    padding: 0.8rem 2.5rem !important;
    font-size: 0.75rem !important;
    color: var(--silver) !important;
    border-top: 1px solid var(--glass-border);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-submenu li a:hover {
    color: var(--white) !important;
    background: var(--glass);
  }

  /* Caret rotation */
  .has-submenu.open>a .fa-caret-down {
    transform: rotate(180deg);
  }

  .has-submenu>a .fa-caret-down {
    transition: transform 0.25s ease;
    margin-left: 0.5rem;
    pointer-events: none;
  }

  /* Backdrop — below nav but above page content */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 9990;
  }

  .nav-backdrop.active {
    display: block;
  }
}

/* ─── SLIDER HERO ─── */
#hero {
  width: 92% !important;
  max-width: 1600px !important;
  margin: 5.5rem auto 1.5rem auto !important;
  position: relative;
  overflow: hidden;
  background: #660404 !important;
  height: auto !important;
  aspect-ratio: 1600 / 530 !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1024px) {
  #hero {
    width: 95% !important;
    margin: 5rem auto 1.5rem auto !important;
    border-radius: 12px;
    height: auto !important;
    aspect-ratio: 1600 / 530 !important;
  }
}

@media (max-width: 768px) {
  #hero {
    width: 100% !important;
    margin: 4.5rem 0 1rem 0 !important;
    border-radius: 0;
    box-shadow: none;
    height: auto !important;
    aspect-ratio: 1600 / 550 !important;
  }
}

.carousel-track-container {
  position: absolute;
  inset: 10px;
  width: auto;
  height: auto;
}

.carousel-track {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: #000;
  overflow: hidden;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-banner-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.slide-content {
  max-width: 580px;
  z-index: 2;
  text-align: left;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #0284C7;
}

.carousel-slide.slide-power .hero-eyebrow {
  color: #D97706;
}

.carousel-slide.slide-power .hero-eyebrow::before {
  background: #D97706;
}

.carousel-slide.slide-mobility .hero-eyebrow {
  color: #2D3748;
}

.carousel-slide.slide-mobility .hero-eyebrow::before {
  background: #DC2626;
}

.carousel-slide.slide-infra .hero-eyebrow {
  color: #059669;
}

.carousel-slide.slide-infra .hero-eyebrow::before {
  background: #059669;
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 720px;
  margin-bottom: 1.5rem;
  color: #0B1323;
}

.hero-headline .hero-accent {
  color: #007BFF;
}

.carousel-slide.slide-power .hero-headline .hero-accent {
  color: #D97706;
}

.carousel-slide.slide-mobility .hero-headline .hero-accent {
  color: #DC2626;
}

.carousel-slide.slide-infra .hero-headline .hero-accent {
  color: #059669;
}

.hero-sub {
  font-size: 0.98rem;
  color: #4B5563;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

#hero .btn-hero-primary {
  background: #007BFF;
  color: #fff;
}

#hero .carousel-slide.slide-power .btn-hero-primary {
  background: #D97706;
  color: #fff;
}

#hero .carousel-slide.slide-mobility .btn-hero-primary {
  background: #DC2626;
  color: #fff;
}

#hero .carousel-slide.slide-infra .btn-hero-primary {
  background: #059669;
  color: #fff;
}

#hero .btn-ghost {
  color: #0B1323;
  border-color: rgba(11, 19, 35, 0.2);
}

#hero .btn-ghost:hover {
  border-color: #0B1323;
  color: #0B1323;
}

.btn-primary {
  background: var(--teal);
  color: var(--black);
  border: none;
  padding: 0.85rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--btn-ghost-border);
  padding: 0.85rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost:hover {
  border-color: var(--white);
}

.slide-visual {
  width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.slide-visual svg {
  width: 80%;
  height: 80%;
  opacity: 0.85;
  transition: transform 0.5s ease;
  color: #007BFF;
}

.carousel-slide.slide-power .slide-visual svg {
  color: #D97706;
}

.carousel-slide.slide-mobility .slide-visual svg {
  color: #DC2626;
}

.carousel-slide.active .slide-visual svg {
  animation: floatVisual 6s ease-in-out infinite;
}

.slide-visual img {
  width: 92%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  opacity: 0.95;
  transition: transform 0.5s ease;
}

.carousel-slide.active .slide-visual img {
  animation: floatVisual 6s ease-in-out infinite;
}

.mfg-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

@keyframes floatVisual {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Navigation arrows */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #111827;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #fff;
  color: #111827;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.12);
}

.carousel-prev {
  left: 2rem;
}

.carousel-next {
  right: 2rem;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
}

#hero[data-active-slide="0"] .carousel-dot.active {
  background: #007BFF;
}

#hero[data-active-slide="1"] .carousel-dot.active {
  background: #D97706;
}

#hero[data-active-slide="2"] .carousel-dot.active {
  background: #DC2626;
}

/* Responsive Slider */
@media (max-width: 1024px) {
  #hero {
    height: auto !important;
    aspect-ratio: 1600 / 530 !important;
  }

  .carousel-slide {
    padding: 0 !important;
  }

  .slide-visual svg {
    width: 90%;
  }
}

@media (max-width: 768px) {
  #hero {
    height: auto !important;
    aspect-ratio: 1600 / 550 !important;
    margin-top: 3.8rem !important;
  }

  .carousel-slide {
    padding: 0 !important;
  }

  .slide-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.0;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .slide-visual {
    display: none;
    /* Hide art on mobile to give space to text */
  }

  .carousel-prev,
  .carousel-next {
    width: 36px;
    height: 36px;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  #hero {
    height: auto !important;
    aspect-ratio: 1600 / 600 !important;
  }

  .carousel-prev,
  .carousel-next {
    display: none;
    /* Hide arrows on small screens, swipe is active */
  }

  .carousel-slide {
    padding: 0 !important;
  }
}

/* ─── STATS TICKER ─── */
.stats-ticker {
  background: var(--steel);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--silver);
  text-transform: uppercase;
}

.ticker-item strong {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
}

.ticker-sep {
  color: var(--gold);
  font-size: 1rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── SECTIONS COMMON ─── */
section {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  max-width: 100%;
  padding: 8rem 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.section-sub {
  color: #2D3748;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
  font-weight: 400;
}

/* ─── DIVISIONS ─── */
#divisions {
  background: var(--black);
  padding: 8rem 0;
  max-width: 100%;
}

.divisions-header {
  max-width: 100%;
  margin: 0 auto 5rem;
  padding: 0 6rem;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6rem;
}

.division-card {
  position: relative;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.division-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.division-card.water .division-card-bg {
  background-image: url('../images/water_solutions.png');
}

.division-card.power .division-card-bg {
  background-image: url('../images/power_solutions.png');
}

.division-card.mobility .division-card-bg {
  background-image: url('../images/mobility_solutions.png');
}

/* Hover transitions */
.division-card:hover .division-card-bg {
  transform: scale(1.1);
  opacity: 0.22;
}

/* Theme adjustments */
[data-theme="dark"] .division-card-bg {
  opacity: 0.08;
}

[data-theme="dark"] .division-card:hover .division-card-bg {
  opacity: 0.16;
}

.division-card.water:hover {
  border-color: #0284C7;
}

.division-card.power:hover {
  border-color: #D97706;
}

.division-card.mobility:hover {
  border-color: #DC2626;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.division-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  pointer-events: none;
}

.division-card.water::before {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(2, 132, 199, 0.03));
}

.division-card.power::before {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0.03));
}

.division-card.mobility::before {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.03));
}

.division-card:hover::before {
  opacity: 1;
}

.division-icon,
.division-tag,
.division-name,
.division-desc,
.division-products,
.division-arrow {
  z-index: 3 !important;
}

.division-bg-num {
  position: absolute;
  top: -1rem;
  right: 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10rem;
  font-weight: 900;
  color: var(--bg-num-color);
  line-height: 1;
  user-select: none;
}

.division-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: border-color 0.3s;
  position: relative;
  z-index: 1;
}

.division-card:hover .division-icon {
  border-color: var(--teal);
}

.division-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.division-card.water .division-tag {
  color: #0284C7;
}

.division-card.power .division-tag {
  color: #D97706;
}

.division-card.mobility .division-tag {
  color: #DC2626;
}

.division-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.division-desc {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.division-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.division-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: var(--pill-border);
  color: var(--pill-color);
  background: var(--pill-bg);
  border-radius: 4px;
  transition: all 0.3s;
}



.division-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.3s, gap 0.3s;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.division-card:hover .division-arrow {
  color: var(--teal);
  gap: 0.8rem;
}

/* ─── MANUFACTURING ─── */
#manufacturing {
  background: var(--black);
}

.mfg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.mfg-visual {
  position: relative;
}

.mfg-main-card {
  background: var(--steel);
  border: 1px solid var(--glass-border);
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfg-main-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(201, 168, 76, 0.06));
}

.mfg-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 160px;
  height: 120px;
  background: var(--teal);
  opacity: 0.08;
}

.mfg-stat-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--mfg-stat-bg);
  border: 1px solid var(--glass-border);
  padding: 1.2rem 1.6rem;
  backdrop-filter: blur(10px);
  z-index: 2;
  box-shadow: var(--mfg-stat-shadow);
}

.mfg-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.mfg-stat-label {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.mfg-content {}

.mfg-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.mfg-feature {
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s, background 0.3s;
}

.mfg-feature:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.03);
}

.mfg-feature-icon {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.mfg-feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.mfg-feature-desc {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.6;
}

/* ─── STATS ─── */
#stats {
  background: var(--black);
  max-width: 100%;
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid var(--glass-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-num span {
  color: var(--teal);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--silver);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ─── TIMELINE ─── */
#about {
  background: var(--black);
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem 0;
}

/* Central vertical line */
.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #E2E8F0;
  /* light grey line */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  z-index: 1;
}

/* Individual timeline item blocks */
.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
  display: block;
  /* override flex display */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}

/* Timeline marker (Maroon Circle on center line) */
.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 4px solid #800000 !important;
  /* Maroon Circle */
  margin-left: -11px;
  margin-top: -11px;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-dot {
  background-color: #800000 !important;
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(128, 0, 0, 0.25);
}

/* Card Wrap (takes 46% width) */
.timeline-content {
  position: relative;
  width: 46%;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 2rem !important;
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 16px !important;
  text-align: left !important;
}

/* Odd blocks (left column) */
.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right !important;
}

/* Even blocks (right column) */
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left !important;
}

/* Hover effects */
.timeline-content:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

/* Year badge style */
.timeline-year {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--gold) !important;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--white) !important;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--silver) !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* Responsive updates for About Timeline */
@media (max-width: 991px) {
  .timeline::after {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 60px) !important;
    float: right !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    float: right !important;
    text-align: left !important;
  }
}

@media (max-width: 575px) {
  .timeline::after {
    display: none;
    /* hide vertical line on small mobile */
  }

  .timeline-dot {
    display: none;
  }

  .timeline-content {
    width: 100% !important;
    float: none !important;
  }
}

/* ─── QUALITY ─── */
#quality {
  background: var(--black);
  max-width: 100%;
  padding: 8rem 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 4rem;
  box-shadow: 0 0 0 1px var(--glass-border);
}

.quality-card {
  background: var(--black);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.quality-card:hover {
  background: rgba(0, 212, 255, 0.03);
}

.quality-icon {
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.quality-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.quality-desc {
  font-size: 0.92rem;
  color: #2D3748;
  line-height: 1.65;
  font-weight: 400;
}

/* ─── INDUSTRIES ─── */
#industries {
  background: var(--black);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.industry-card {
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--glass-border);
  padding: 1.8rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.industry-card:hover {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.industry-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--offwhite);
}

/* ─── SUSTAINABILITY ─── */
#sustainability {
  background: var(--black);
  max-width: 100%;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

#sustainability::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0, 212, 255, 0.04), transparent);
}

.sustain-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.sustain-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.sustain-pillar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--glass-border);
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s;
}

.sustain-pillar:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.sustain-pillar-bar {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), var(--gold));
  flex-shrink: 0;
}

.sustain-pillar-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.sustain-pillar-text span {
  font-size: 0.88rem;
  color: #2D3748;
  font-weight: 400;
  line-height: 1.5;
}

.sustain-visual {
  position: relative;
  width: 100%;
  min-height: 544px;
  display: flex;
}

.sustain-images-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
}

.sustain-col-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sustain-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: cover;
  background-position: center;
  background-color: var(--card-bg);
}

.sustain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.85;
  transition: opacity 0.3s;
  z-index: 1;
}

.sustain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--teal);
}

.sustain-card:hover::before {
  opacity: 0.95;
}

.sustain-card.card-water {
  height: 260px;
}

.sustain-card.card-power {
  height: 260px;
}

.sustain-card.card-mobility {
  height: 260px;
}

.sustain-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
  color: #FFFFFF;
}

.sustain-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  color: #FFFFFF;
}

.sustain-card-subtitle {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

[data-theme="dark"] .sustain-card {
  border-color: var(--steel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  background: var(--black);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testi-card {
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.testi-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--silver);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  background: var(--steel);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.testi-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

.testi-role {
  font-size: 0.72rem;
  color: var(--silver);
  font-weight: 400;
}

/* ─── CTA ─── */
#cta {
  background: var(--black);
  max-width: 100%;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0, 212, 255, 0.05), transparent),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(201, 168, 76, 0.04), transparent);
}

#cta .section-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

#cta .section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

#cta .section-sub {
  margin: 0 auto 3rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-channels {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--glass-border);
}

.cta-channel {
  text-align: center;
}

.cta-channel-icon {
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.cta-channel-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cta-channel-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg,
      var(--stripe-color),
      var(--stripe-color) 2px,
      transparent 2px,
      transparent 22px);
  pointer-events: none;
  z-index: 0;
}

footer>* {
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 2.2fr 2.2fr 1.8fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
  padding: 0 6rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-contact-item i {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 0.25rem;
  width: 16px;
  text-align: center;
}

.footer-contact-item a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-fb-widget {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 8px;
  padding: 6px;
  overflow: hidden;
  max-width: 340px;
  box-shadow: var(--card-shadow);
}

.footer-youtube-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  max-width: 340px;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 8px;
  color: var(--silver);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.footer-youtube-link i {
  color: #FF0000;
  font-size: 1.25rem;
}

.footer-youtube-link:hover {
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.footer-brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #2D3748;
  line-height: 1.7;
  font-weight: 400;
}

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--silver);
  font-weight: 400;
}

.footer-certifications {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cert-badge {
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.7rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav {
    padding: 1.2rem 2rem;
  }

  nav.scrolled {
    padding: 0.8rem 2rem;
  }

  .nav-links {
    display: none;
  }

  section,
  #hero .hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-headline {
    max-width: 100%;
  }

  .divisions-header,
  .divisions-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    min-height: auto;
    padding: 2.5rem 1.5rem;
  }

  .mfg-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: none;
  }

  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .sustain-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .cta-channels {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .section-inner {
    padding: 0 2rem;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .sustain-col-left {
    grid-template-columns: 1fr;
  }

  .sustain-card.card-mobility {
    height: 232px;
  }
}

/* Specific badge hover styles for divisions */
.division-card.water:hover .division-pill {
  border-color: #0284C7;
  color: #0284C7;
  background: rgba(2, 130, 199, 0.05);
}

.division-card.power:hover .division-pill {
  border-color: #D97706;
  color: #D97706;
  background: rgba(217, 119, 6, 0.05);
}

.division-card.mobility:hover .division-pill {
  border-color: #DC2626;
  color: #DC2626;
  background: rgba(220, 38, 38, 0.05);
}

/* ─── THEME TOGGLE BUTTON ─── */
.btn-theme-toggle {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--white);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-theme-toggle:hover {
  background: var(--glass);
  border-color: var(--white);
  transform: scale(1.05);
}

/* ─── HAMBURGER TOGGLE ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
}

.nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Morphing into X */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide-in Panel Styles */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex !important;
    /* Force overrides display: none */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    background: var(--nav-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 105;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 3rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* stagger slide-in animation for mobile items */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links.active li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    display: block;
    padding: 0.5rem 0;
    color: var(--white);
  }

  .nav-cta {
    display: inline-block;
    width: 85%;
    text-align: center;
    margin-top: 1rem;
  }
}

/* ══════════ CLIENT LOGOS / TRUSTED BY ══════════ */
#clients {
  padding: 6rem 0;
  background: var(--black);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  overflow: hidden;
}

.clients-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.clients-slider-container::before,
.clients-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(250, 246, 240, 0) 100%);
}

.clients-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--black) 0%, rgba(250, 246, 240, 0) 100%);
}

[data-theme="dark"] .clients-slider-container::before {
  background: linear-gradient(to right, var(--black) 0%, rgba(10, 10, 15, 0) 100%);
}

[data-theme="dark"] .clients-slider-container::after {
  background: linear-gradient(to left, var(--black) 0%, rgba(10, 10, 15, 0) 100%);
}

.clients-track {
  display: flex;
  width: calc(280px * 22);
  animation: scrollLogos 40s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  width: 280px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.client-logo-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

[data-theme="dark"] .client-logo-item img {
  opacity: 0.8;
  filter: brightness(1.2);
}

[data-theme="dark"] .client-logo-item:hover img {
  opacity: 1;
  filter: brightness(1.3);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-280px * 11));
  }
}

/* ─── DROPDOWN SUBMENU STYLES ─── */
.has-submenu {
  position: relative;
}

.has-submenu .submenu-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.has-submenu .submenu-trigger i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-trigger i {
  transform: rotate(180deg);
}

/* Submenu container */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--nav-bg);
  border: 1px solid var(--glass-border);
  min-width: 220px;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0.8rem 0 !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  z-index: 1000;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.nav-submenu li {
  width: 100% !important;
  list-style: none !important;
  list-style-type: none !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-submenu a {
  display: block !important;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver) !important;
  transition: color 0.3s, background 0.3s;
  text-align: left !important;
}

.nav-submenu a:hover {
  color: var(--white) !important;
  background: var(--glass) !important;
}

/* Hover state to show submenu */
.has-submenu:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobile responsive submenu */
@media (max-width: 1024px) {
  .has-submenu {
    width: 100%;
    text-align: center;
  }

  .has-submenu .submenu-trigger {
    justify-content: center;
    padding: 0.5rem 0;
  }

  .nav-submenu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 0 0 0 !important;
    min-width: auto !important;
    display: none;
    backdrop-filter: none !important;
  }

  .has-submenu:hover .nav-submenu,
  .has-submenu.active .nav-submenu {
    display: block !important;
  }

  .nav-submenu li {
    text-align: center !important;
  }

  .nav-submenu a {
    font-size: 0.85rem !important;
    padding: 0.5rem 0 !important;
    color: var(--silver) !important;
    text-align: center !important;
  }
}

/* ─── LEGACY SUBPAGES THEME OVERRIDES ─── */
.blog {
  background: var(--black) !important;
  padding: 1.5rem 0 5rem 0 !important;
  min-height: calc(100vh - 80px);
}

.section-title br {
  display: none !important;
}

.blog-one__single {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 16px !important;
  padding: 3.5rem !important;
  margin-bottom: 2rem !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

[data-theme="dark"] .blog-one__single {
  background: rgba(255, 255, 255, 0.02) !important;
}

.section-title__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

.blog-one__content {
  color: var(--silver) !important;
  font-size: 1rem !important;
}

.blog-one__content p {
  line-height: 1.85 !important;
  color: var(--silver) !important;
  font-size: 0.98rem !important;
  margin-bottom: 1.5rem !important;
}

.blog-one__content blockquote {
  border-left: 4px solid var(--teal) !important;
  background: var(--glass) !important;
  padding: 1.5rem 2rem !important;
  border-radius: 6px;
  margin: 2rem 0 !important;
}

.blog-one__content blockquote p {
  font-style: italic;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  color: var(--white) !important;
}

.blog-one__content h2,
.blog-one__content h3,
.blog-one__content h4 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: var(--white) !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1.25rem !important;
  text-transform: uppercase !important;
}

.blog-one__content img {
  border-radius: 12px !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--card-shadow) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-bottom: 1.5rem !important;
}

.blog-one__content img:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: var(--card-hover-shadow) !important;
}

/* Sidebar lists / Departments */
.service-details__sidebar-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 2rem 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.service-details__sidebar-list-item {
  display: flex !important;
  flex-direction: column !important;
  background: var(--navy) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.service-details__sidebar-list-item:hover {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  transform: translateY(-2px) !important;
}

.service-details__sidebar-list-item a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  background: transparent !important;
  padding: 1.1rem 1.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  color: var(--white) !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: color 0.3s !important;
}

.service-details__sidebar-list-item a::after {
  display: none !important;
}

.service-details__sidebar-list-item:hover a {
  color: #FFFFFF !important;
}

/* Form Styling overrides */
.pince {
  border: 1px solid var(--glass-border) !important;
  background-color: var(--navy) !important;
  padding: 3rem !important;
  border-radius: 16px !important;
  box-shadow: var(--card-shadow) !important;
  max-width: 720px;
  margin: 3rem auto !important;
}

[data-theme="dark"] .pince {
  background-color: rgba(255, 255, 255, 0.01) !important;
}

.career-form-wrap {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem !important;
}

.form-group label {
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--white) !important;
  margin-bottom: 0.6rem !important;
  display: inline-block;
}

.form-control,
form input[type="text"],
form input[type="email"],
form select,
form textarea {
  background: var(--card-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--white) !important;
  padding: 0.85rem 1.1rem !important;
  font-size: 0.92rem !important;
  border-radius: 8px !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
  margin-bottom: 0.5rem !important;
}

.form-control:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form select:focus,
form textarea:focus {
  border-color: var(--teal) !important;
  background: var(--card-bg) !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1) !important;
}

/* File upload button styling */
form input[type="file"] {
  color: var(--silver) !important;
  font-size: 0.9rem !important;
  margin-top: 0.5rem !important;
}

form button,
form input[type="submit"],
.press-pdf03 .btn-primary,
.blog-one__content .btn-primary {
  background: var(--teal) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.85rem 2.2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
}

form button:hover,
form input[type="submit"]:hover,
.press-pdf03 .btn-primary:hover,
.blog-one__content .btn-primary:hover {
  background: var(--teal-dim) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25) !important;
}

/* Product list columns styling */
.col-xl-4.col-lg-4 {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 14px !important;
  padding: 2.2rem !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2rem !important;
}

.col-xl-4.col-lg-4:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

.col-xl-4.col-lg-4 a {
  text-decoration: none !important;
  color: var(--white) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

.col-xl-4.col-lg-4 img {
  max-height: 190px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin-bottom: 1.5rem !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.col-xl-4.col-lg-4 b {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  text-align: center !important;
  display: block !important;
}

/* Product details styling */
.col-sm-4 img[style*="border"] {
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  background: var(--card-bg) !important;
  box-shadow: var(--card-shadow) !important;
  max-width: 100% !important;
}

.press-pdf03 h3 {
  background-color: var(--navy) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--white) !important;
  padding: 1.25rem !important;
  border-radius: 8px !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

/* Invester categories and lists */
.col-sm-6 div[style*="border-top"] {
  border-top: 1px solid var(--glass-border) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  padding: 1.25rem 0.5rem !important;
  transition: all 0.3s ease !important;
}

.col-sm-6 div[style*="border-top"]:hover {
  background: var(--glass) !important;
}

.col-sm-6 a {
  color: var(--white) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
}

.col-sm-6 a samp {
  color: var(--teal) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}

/* PDF List items */
.col-sm-12 div[style*="border-top"] {
  border-top: 1px solid var(--glass-border) !important;
  padding: 1.3rem 1.5rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: var(--card-bg) !important;
  margin-bottom: 0.75rem !important;
  border-radius: 10px !important;
  border: var(--card-border) !important;
  transition: all 0.3s ease !important;
}

.col-sm-12 div[style*="border-top"]:hover {
  border-color: var(--teal) !important;
  transform: translateX(4px) !important;
  box-shadow: var(--card-shadow) !important;
}

/* Banner Slideshow hide-pc and Slide visuals */
.w3-content img.mySlides {
  border-radius: 16px !important;
  box-shadow: var(--card-shadow) !important;
  border: 1px solid var(--glass-border) !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
  width: 100% !important;
  height: 450px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.w3-content img.about-journey-banner {
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .w3-content img.mySlides {
    height: 220px !important;
    margin-top: 1rem !important;
  }

  .w3-content img.about-journey-banner {
    height: auto !important;
  }
}

/* ─── INVESTOR PAGE STYLING ─── */
.investor-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.investor-category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 2rem !important;
  border-radius: 12px !important;
  border: 1px solid var(--glass-border) !important;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  min-height: 190px;
}

/* Odd card backgrounds: Light beige sand tint */
.investor-category-card.odd-card {
  background: rgba(243, 236, 226, 0.5) !important;
}

/* Even card backgrounds: Light sky-blue/teal tint */
.investor-category-card.even-card {
  background: rgba(224, 242, 254, 0.4) !important;
}

/* Dark theme support */
[data-theme="dark"] .investor-category-card.odd-card {
  background: rgba(255, 255, 255, 0.02) !important;
}

[data-theme="dark"] .investor-category-card.even-card {
  background: rgba(0, 212, 255, 0.02) !important;
}

.investor-category-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

.investor-category-card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.investor-category-card .card-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--white) !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  text-align: left !important;
}

.investor-category-card .card-arrow {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
  text-align: left !important;
  transition: color 0.3s !important;
}

.investor-category-card:hover .card-arrow {
  color: var(--gold) !important;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .investor-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .investor-categories-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── INVESTOR CONTACT CARDS ─── */
.investor-contact-section {
  margin-top: 4rem;
  margin-bottom: 2rem;
  width: 100%;
}

.investor-contact-card {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 14px !important;
  padding: 2.5rem !important;
  height: 100% !important;
  transition: all 0.3s ease !important;
}

.investor-contact-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

.card-badge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.25rem;
}

.card-badge-header .icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.25rem;
}

.card-badge-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--white) !important;
  margin: 0 !important;
}

.card-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.detail-item {
  color: var(--silver) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.detail-item.font-semibold {
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
}

.detail-item.role-text {
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--gold) !important;
  margin-top: -0.75rem !important;
  font-weight: 600 !important;
  border-bottom: 1px dashed var(--glass-border);
  padding-bottom: 0.5rem;
}

.detail-item.flex-address,
.detail-item.flex-contact {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
}

.detail-item.flex-address i,
.detail-item.flex-contact i {
  color: var(--teal) !important;
  font-size: 0.95rem !important;
  margin-top: 0.25rem !important;
  width: 16px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.detail-item.flex-contact a {
  color: var(--silver) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.detail-item.flex-contact a:hover {
  color: var(--white) !important;
  text-decoration: underline !important;
}

.detail-item.flex-info {
  display: flex !important;
  gap: 0.5rem !important;
  font-size: 0.85rem !important;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.75rem;
}

.detail-item.flex-info:nth-of-type(n+7) {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: -0.5rem !important;
}

.detail-item.flex-info .info-label {
  font-weight: 600 !important;
  color: var(--white) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* ─── CONTACT US PAGE STYLING ─── */
.contact-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.contact-card-item {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 14px !important;
  padding: 2.2rem !important;
  transition: all 0.3s ease !important;
  text-align: left !important;
}

.contact-card-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

.contact-card-item .card-badge-header {
  margin-bottom: 1.5rem !important;
}

/* Plant layout wrapper */
.plant-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.plant-card-item {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 14px !important;
  padding: 2rem !important;
  text-align: left !important;
  transition: all 0.3s ease !important;
}

.plant-card-item:hover {
  border-color: var(--teal) !important;
}

/* Contact Form container */
.contact-form-wrapper {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 14px !important;
  padding: 2.5rem !important;
  text-align: left !important;
}

.contact-form-wrapper .form-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
}

.custom-web-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.custom-web-form input,
.custom-web-form textarea {
  width: 100% !important;
  background: rgba(10, 25, 47, 0.4) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.95rem !important;
  outline: none !important;
  transition: border-color 0.3s, background 0.3s !important;
}

.custom-web-form input:focus,
.custom-web-form textarea:focus {
  border-color: var(--teal) !important;
  background: rgba(10, 25, 47, 0.6) !important;
}

.custom-web-form textarea {
  height: 120px !important;
  resize: none !important;
}

.char-count {
  font-size: 0.75rem !important;
  color: var(--silver) !important;
  text-align: right !important;
  margin-top: 0.25rem !important;
}

.btn-submit-contact {
  background: var(--teal) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  transition: background 0.3s, transform 0.2s !important;
  width: 100% !important;
}

.btn-submit-contact:hover {
  background: #0d9488 !important;
  transform: translateY(-2px) !important;
}

/* Responsive contact grid */
@media (max-width: 1024px) {
  .contact-grid-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .contact-grid-row {
    grid-template-columns: 1fr !important;
  }
}

/* ─── LEADERSHIP TEAM SHOWCASE ─── */
.leadership-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  width: 100%;
}

/* ─── LEADERSHIP TIMELINE LAYOUT ─── */
.leadership-timeline {
  position: relative;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem 0;
}

/* Central vertical line */
.leadership-timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #E2E8F0;
  /* light grey line */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  z-index: 1;
}

/* Individual timeline item blocks */
.timeline-block {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-block::after {
  content: "";
  display: table;
  clear: both;
}

/* Timeline marker (Maroon Circle on center line) */
.timeline-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid #800000;
  /* Maroon Circle */
  margin-left: -11px;
  margin-top: -11px;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-block:hover .timeline-marker {
  background-color: #800000;
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(128, 0, 0, 0.25);
}

/* Card Wrap (takes 46% width) */
.timeline-card-wrap {
  position: relative;
  width: 46%;
  z-index: 2;
  transition: transform 0.4s ease;
}

/* Odd blocks (left column) */
.timeline-block:nth-child(odd) .timeline-card-wrap {
  float: left;
}

/* Even blocks (right column) */
.timeline-block:nth-child(even) .timeline-card-wrap {
  float: right;
}

/* Leader Card */
.timeline-leader-card {
  background: var(--card-bg) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-align: left !important;
}

/* Reverse card layouts to place image closer to the center line */
/* Odd blocks (Left side of page): text left, image right */
.timeline-block:nth-child(odd) .timeline-leader-card {
  flex-direction: row-reverse;
  text-align: right !important;
}

.timeline-leader-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: var(--teal) !important;
}

/* Avatar styling */
.timeline-leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--card-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.timeline-leader-card:hover .timeline-leader-avatar {
  transform: scale(1.06);
}

.timeline-leader-info {
  flex-grow: 1;
}

.leader-name {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.leader-role {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border-bottom: 1px solid var(--glass-border);
  display: inline-block;
}

.leader-bio {
  color: var(--silver) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin: 0.5rem 0 0 0 !important;
}

/* Responsive updates for Timeline */
@media (max-width: 991px) {
  .leadership-timeline::after {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-card-wrap {
    width: calc(100% - 60px);
  }

  .timeline-block:nth-child(odd) .timeline-card-wrap {
    float: right;
  }

  .timeline-block:nth-child(even) .timeline-card-wrap {
    float: right;
  }

  /* Reset flex-direction on mobile: always image left, text right, text left-aligned */
  .timeline-block:nth-child(odd) .timeline-leader-card {
    flex-direction: row;
    text-align: left !important;
  }

  .timeline-leader-card {
    text-align: left !important;
  }
}

@media (max-width: 575px) {
  .timeline-leader-card {
    flex-direction: column !important;
    align-items: center;
    text-align: center !important;
    padding: 1.8rem 1.5rem !important;
  }

  .timeline-leader-avatar {
    margin-bottom: 0.5rem;
  }

  .leadership-timeline::after {
    display: none;
    /* hide vertical line on small mobile */
  }

  .timeline-marker {
    display: none;
  }

  .timeline-card-wrap {
    width: 100%;
    float: none !important;
  }
}

/* ─── CUSTOM MAROON THEME OVERRIDES ─── */

/* Maroon Bullet Points for Footer Links */
.footer-links li {
  position: relative;
  padding-left: 0.95rem;
}

.footer-links li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-55%);
  color: #800000;
  /* Maroon */
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect on footer links bullet point */
.footer-links li:hover::before {
  transform: translateY(-55%) translateX(2px);
  color: #A30000;
  /* slightly brighter maroon on hover */
}

/* Page, Section, and Column Headings in Maroon */
h1:not(.hero-headline),
h2,
h3,
h4,
h5,
h6,
.section-title,
.section-title__title,
.section-title span,
.footer-col-title {
  color: #800000 !important;
}

/* Hero banner: black headline, accent color only on middle line */
#hero .hero-headline {
  color: #0B1323 !important;
}

#hero .hero-sub {
  color: #4B5563 !important;
}

#hero .carousel-slide.slide-water .hero-eyebrow {
  color: #0284C7 !important;
}

#hero .carousel-slide.slide-power .hero-eyebrow {
  color: #D97706 !important;
}

#hero .carousel-slide.slide-mobility .hero-eyebrow {
  color: #2D3748 !important;
}

#hero .carousel-slide.slide-infra .hero-eyebrow {
  color: #059669 !important;
}

#hero .carousel-slide.slide-water .hero-headline .hero-accent {
  color: #007BFF !important;
}

#hero .carousel-slide.slide-power .hero-headline .hero-accent {
  color: #D97706 !important;
}

#hero .carousel-slide.slide-mobility .hero-headline .hero-accent {
  color: #DC2626 !important;
}

#hero .carousel-slide.slide-infra .hero-headline .hero-accent {
  color: #059669 !important;
}

/* ─── PREMIUM MD MESSAGE SECTION ─── */
#md-message {
  background: radial-gradient(circle at 10% 20%, #0d1b2a 0%, #070f19 90%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Background elements for depth */
#md-message::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(128, 0, 0, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

#md-message::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.md-message-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.md-message-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 5rem;
  align-items: center;
}

/* Photo representation */
.md-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.md-image-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  /* to allow decor box to pop out */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.md-img-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  /* Match the landscape aspect ratio of 1536x1024 */
  background: #112240;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.md-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.md-image-card:hover .md-img {
  transform: scale(1.04);
}

.md-image-decor {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid #800000;
  /* Maroon accent border */
  border-radius: 16px;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.md-image-card:hover .md-image-decor {
  transform: translate(5px, 5px);
}

.md-image-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(128, 0, 0, 0.3);
  border-radius: 16px;
  pointer-events: none;
  z-index: 3;
}

/* Premium Badge */
.md-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(17, 34, 64, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 4;
  transition: transform 0.3s ease;
}

.md-image-card:hover .md-badge {
  transform: translateY(-5px);
}

.md-badge-year {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
}

.md-badge-text {
  color: #D1D5DB;
  /* hardcoded light grey */
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

/* Content representation */
.md-content-col {
  position: relative;
  text-align: left;
}

.quote-mark-icon {
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 8rem;
  font-family: serif;
  color: #800000;
  /* Maroon */
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.md-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF !important;
  /* hardcoded white */
  text-transform: uppercase;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.md-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #800000, var(--teal));
  margin: 1.5rem 0 2rem 0;
  border-radius: 2px;
}

.md-quote-text {
  margin-bottom: 2.5rem;
}

.quote-p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E2E8F0;
  /* hardcoded light grey */
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.md-footer-meta {
  display: flex;
  flex-direction: column;
}

.md-sign-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF !important;
  /* hardcoded white */
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
}

.md-sign-role {
  font-size: 0.85rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* Responsive updates */
@media (max-width: 991px) {
  .md-message-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .md-visual-col {
    order: -1;
    /* image on top */
  }

  .md-badge {
    bottom: 20px;
    right: 20px;
  }

  .md-title {
    font-size: 2.3rem;
  }

  .quote-p {
    font-size: 1.05rem;
  }
}

@media (max-width: 575px) {
  .md-message-container {
    padding: 0 2rem;
  }
}

/* ─── BLOG & SUBPAGES CONTENT OVERLAYS ─── */
section.blog {
  position: relative;
  overflow: hidden;
}

section.blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      var(--stripe-color),
      var(--stripe-color) 1.5px,
      transparent 1.5px,
      transparent 22px);
  pointer-events: none;
  z-index: 0;
}

section.blog>* {
  position: relative;
  z-index: 1;
}

/* Mobile: reduce nested padding so form inputs use full width */
@media (max-width: 768px) {
  section.blog>.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .blog-one__single {
    padding: 1.25rem !important;
    max-width: 100% !important;
  }

  .pince {
    padding: 1.25rem !important;
    margin: 1rem auto !important;
    max-width: 100% !important;
  }

  .blog-one__content>.container,
  .blog-one__content .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .form-control,
  form input[type="text"],
  form input[type="email"],
  form select,
  form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  section.blog>.container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .blog-one__single {
    padding: 1rem !important;
  }

  .pince {
    padding: 1rem !important;
  }
}

/* ==========================================================================
   DEALER MODAL STYLES (PREMIUM Glassmorphic UI)
   ========================================================================== */
.dealer-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1.5rem;
  box-sizing: border-box;
}

.dealer-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dealer-modal {
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem;
  box-sizing: border-box;
  color: var(--white);
}

.dealer-modal-overlay.active .dealer-modal {
  transform: scale(1) translateY(0);
}

.dealer-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--silver);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .dealer-modal-close {
  background: rgba(255, 255, 255, 0.05);
}

.dealer-modal-close:hover {
  background: var(--gold);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.dealer-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dealer-modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.dealer-modal-subtitle {
  color: var(--silver);
  font-size: 1rem;
  margin: 0;
}

/* Products Cards Toggle Selection */
.dealer-products-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--white);
}

.dealer-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dealer-product-card {
  border: 1px solid var(--steel);
  background: var(--glass);
  border-radius: 14px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
}

.dealer-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.dealer-product-card.active {
  background: rgba(2, 132, 199, 0.08);
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

[data-theme="dark"] .dealer-product-card.active {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

.dealer-product-card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--steel);
  color: var(--silver);
  transition: all 0.3s ease;
}

.dealer-product-card.active .dealer-product-card-icon {
  background: var(--teal);
  color: #FFFFFF;
}

.dealer-product-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver);
  transition: color 0.3s ease;
  line-height: 1.2;
}

.dealer-product-card.active .dealer-product-card-title {
  color: var(--white);
}

.dealer-product-card input[type="checkbox"] {
  display: none;
}

/* Floating Input Styling */
.dealer-form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.dealer-form-input {
  width: 100%;
  padding: 1.1rem 1rem 0.9rem;
  border: 1px solid var(--steel);
  background: var(--card-bg);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  font-family: inherit;
}

.dealer-form-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-theme="dark"] .dealer-form-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.dealer-form-textarea {
  resize: vertical;
  min-height: 100px;
}

.dealer-form-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--silver);
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 0.95rem;
}

.dealer-form-input:focus~.dealer-form-label,
.dealer-form-input:not(:placeholder-shown)~.dealer-form-label {
  top: 0.3rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
}

/* Submit Button styling */
.dealer-submit-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: var(--teal);
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.dealer-submit-btn:hover {
  background: var(--teal-dim);
  transform: translateY(-1px);
}

.dealer-submit-btn:disabled {
  background: var(--steel);
  color: var(--silver);
  cursor: not-allowed;
  transform: none;
}

.dealer-btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: dealer-spin 1s ease-in-out infinite;
}

@keyframes dealer-spin {
  to {
    transform: rotate(360deg);
  }
}

.dealer-form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

/* Success screen animations */
.dealer-success-screen {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.dealer-success-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.dealer-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  font-size: 2.5rem;
  transform: scale(0);
  animation: dealer-pop 0.5s cubic-bezier(0.17, 0.89, 0.32, 1.25) forwards;
}

@keyframes dealer-pop {
  to {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .dealer-modal {
    padding: 1.75rem;
  }

  .dealer-products-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dealer-product-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .dealer-product-card-icon {
    width: 28px;
    height: 28px;
  }

  .dealer-product-card-title {
    font-size: 0.9rem;
  }
}