/* ============================================================
   GETSETGO SANITATION — style.css (Blue & White Theme)
   Colour palette per design.md
   Tailwind CDN handles utility classes; this file covers:
   - CSS custom properties
   - Component classes using @apply (via Tailwind CDN runtime)
   - Animations & pseudo-element rules that can't be expressed
     as standalone Tailwind utilities
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Material 3 Surface & Colors */
  --color-surface: #f7f9fb;
  --color-surface-dim: #d8dadc;
  --color-surface-bright: #f7f9fb;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f2f4f6;
  --color-surface-container: #eceef0;
  --color-surface-container-high: #e6e8ea;
  --color-surface-container-highest: #e0e3e5;
  --color-on-surface: #191c1e;
  --color-on-surface-variant: #45474c;
  --color-inverse-surface: #2d3133;
  --color-inverse-on-surface: #eff1f3;
  --color-outline: #75777d;
  --color-outline-variant: #c5c6cd;
  --color-surface-tint: #535f74;

  --color-primary: #000000;
  --color-on-primary: #ffffff;
  --color-primary-container: #101c2e;
  --color-on-primary-container: #79849b;
  --color-inverse-primary: #bbc7df;

  --color-secondary: #006497;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #59b8fe;
  --color-on-secondary-container: #00476e;

  --color-tertiary: #000000;
  --color-on-tertiary: #ffffff;
  --color-tertiary-container: #321200;
  --color-on-tertiary-container: #d36400;

  --color-error: #ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;

  --color-background: #f7f9fb;
  --color-on-background: #191c1e;
  --color-surface-variant: #e0e3e5;

  /* Brand Specific */
  --color-deep-navy: #0A1628;
  --color-safety-orange: #F47B20;
  --color-utility-blue: #0086C9;
  --color-surface-subtle: #F1F5F9;
  --color-text-muted: #64748B;

  /* Backward Compatibility Aliases (to prevent breaking current UI) */
  --color-blue-dark: var(--color-deep-navy);
  --color-blue: var(--color-utility-blue);
  --color-blue-mid: var(--color-secondary-container);
  --color-blue-light: var(--color-surface-container-low);
  --color-cyan: var(--color-utility-blue);
  --color-cyan-light: var(--color-surface-container);

  --color-dark: var(--color-on-surface);
  --color-grey-900: var(--color-on-surface);
  --color-grey-600: var(--color-text-muted);
  --color-grey-300: var(--color-outline-variant);
  --color-grey-100: var(--color-surface-container);
  --color-white: #FFFFFF;
  --color-bg: var(--color-background);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-data: 'JetBrains Mono', monospace;

  /* Type Scale */
  --text-xs: 0.75rem;
  /* 12px label/caption */
  --text-sm: 0.875rem;
  /* 14px label-md */
  --text-base: 1rem;
  /* 16px body-md */
  --text-lg: 1.125rem;
  /* 18px body-lg */
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  /* headline-lg: 32px */
  --text-4xl: 2.75rem;
  /* headline-xl: 44px */
  --text-5xl: 4rem;
  /* display-lg: 64px */

  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-loose: 1.8;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  /* stack-sm */
  --space-3: 12px;
  --space-4: 16px;
  /* stack-md */
  --space-5: 20px;
  --space-6: 24px;
  /* container-padding & grid-gutter */
  --space-8: 32px;
  /* stack-lg */
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 48px;
  /* section-gap-md (mobile) */
  --space-24: 96px;
  --space-30: 80px;
  /* section-gap-lg (desktop) */

  --section-py-desktop: var(--space-30);
  --section-py-mobile: var(--space-20);

  /* Layout */
  --container-max: 1200px;
  --container-px: var(--space-6);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  /* DEFAULT */
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
  /* Soft Industrial */
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-blue: 0 8px 32px rgba(0, 134, 201, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--leading-normal);
  color: var(--color-grey-900);
  background: var(--color-bg);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py-desktop) 0;
}

.section.alt {
  background: var(--color-grey-100);
}

.section.tint {
  background: var(--color-blue-light);
}

/* replaces .section.orange-tint — now uses cyan-light */
.section.cyan-tint,
.section.orange-tint {
  background: var(--color-cyan-light);
}

/* ---------- Typography Components ---------- */
.section-heading {
  margin-bottom: var(--space-10);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.2vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-dark);
}

.lead,
.section-text {
  margin: var(--space-4) 0 0;
  max-width: 760px;
  color: var(--color-grey-600);
  font-size: var(--text-lg);
}

.breadcrumb {
  margin: var(--space-3) 0 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-grey-300);
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.06);
}

.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-brand img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.1);
  border: 2px solid rgba(0, 134, 201, 0.15);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text-primary {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #0A1628 0%, #0086C9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.brand-text-secondary {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding: var(--space-2) var(--space-1);
  color: var(--color-grey-900);
  font-size: 15px;
  font-weight: var(--weight-medium);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.current-page {
  color: var(--color-blue);
}

.nav-links a:hover::after,
.nav-links a.current-page::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  /* navy undertone */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1190;
  transition: opacity 0.2s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, #0086C9 0%, #006ba3 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 134, 201, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 134, 201, 0.35);
  background: linear-gradient(135deg, #009ae0 0%, #0086C9 100%);
}

/* Secondary — deep navy outline */
.btn-secondary {
  background: transparent;
  color: var(--color-deep-navy);
  border: 2px solid var(--color-deep-navy);
  padding: 12px 30px;
}

.btn-secondary:hover {
  background: var(--color-deep-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* ---------- Hero — Home ---------- */
.hero-home {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 104px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: #0A1628;
  overflow: hidden;
}

/* ---------- Hero Background Slideshow ---------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 4s ease-in-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(11, 61, 145, 0.65) 50%,
      rgba(10, 22, 40, 0.78) 100%);
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(0, 184, 217, 0.18) 0 2px, transparent 2px),
    radial-gradient(circle at 60% 76%, rgba(0, 184, 217, 0.14) 0 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 260px 260px, 300px 300px, 80px 80px, 80px 80px;
  opacity: 0.2;
  pointer-events: none;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.08), rgba(10, 22, 40, 0.40));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-bottom: var(--space-8);
}

.hero-home .eyebrow {
  background: rgba(0, 184, 217, 0.15);
  color: #B3E9F5;
  border: 1px solid rgba(0, 184, 217, 0.25);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 7vw, var(--text-5xl));
  font-weight: var(--weight-black);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}

.hero-subtitle {
  margin: var(--space-4) 0 0;
  max-width: 760px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-badges {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Default: readable on white/light card backgrounds */
.hero-badge {
  border: 1px solid rgba(21, 101, 192, 0.30);
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  /* #0B3D91 — high contrast on white */
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  padding: 8px 14px;
}

/* Override: light text when inside the dark navy hero */
.hero-home .hero-badge {
  border-color: rgba(0, 184, 217, 0.35);
  background: rgba(21, 101, 192, 0.22);
  color: #E3F2FD;
  font-weight: var(--weight-medium);
}

.hero-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-actions .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  box-shadow: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: var(--space-8);
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-cyan);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.scroll-indicator::after {
  content: '↓';
  display: block;
  margin-top: var(--space-2);
  text-align: center;
  font-size: 1.2rem;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

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

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

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--color-blue-dark);
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  margin: 0;
  font-family: var(--font-data);
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

.stat-label {
  margin: var(--space-2) 0 0;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- About Layout ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-variant);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-color 0.3s ease;
  border-left: 3px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-surface-variant);
  border-left-color: var(--color-utility-blue);
}

.card h3,
.card h4 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: var(--leading-snug);
  color: var(--color-dark);
}

.value-card {
  padding: var(--space-6);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue-light);
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

/* ---------- Service Cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-variant);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border-left: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-utility-blue);
  border-left-color: var(--color-utility-blue);
}

.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  background: rgba(0, 134, 201, 0.10);
  /* 10% opacity tint of utility-blue */
  color: var(--color-utility-blue);
  font-size: 1.35rem;
  transition: background 0.25s ease;
}

.service-card:hover .icon-wrap {
  background: rgba(0, 134, 201, 0.15);
}

.service-card h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-dark);
}

.service-card p {
  margin: 0;
  color: var(--color-grey-600);
}

.service-card-bg {
  color: #fff;
  border: none;
}

.service-card-bg h3,
.service-card-bg p {
  color: #fff;
}

.service-card-bg .icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

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

/* ---------- Logo Strip / Marquee ---------- */
.logo-strip {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-grey-300);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5);
  animation: marquee 50s linear infinite;
}

.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 262px;
  height: 136px;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  background: var(--color-white);
  flex-shrink: 0;
  transition: box-shadow 0.2s ease;
}

.logo-chip:hover {
  box-shadow: var(--shadow-md);
}

.logo-chip img {
  max-width: 224px;
  max-height: 89px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.logo-chip img:hover {
  transform: scale(1.05);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--color-blue-dark), var(--color-blue));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cta-banner .eyebrow {
  margin-bottom: var(--space-3);
  background: rgba(0, 184, 217, 0.18);
  color: #B3E9F5;
  border: 1px solid rgba(0, 184, 217, 0.25);
}

.cta-banner .section-title {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark), #0B3D91);
  color: var(--color-white);
  padding: var(--space-24) 0 var(--space-16);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(0, 184, 217, 0.08) 1px, transparent 1px),
    linear-gradient(300deg, rgba(0, 184, 217, 0.08) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.4;
}

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

.page-hero .section-title {
  color: var(--color-white);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero .eyebrow {
  background: rgba(0, 184, 217, 0.18);
  color: #B3E9F5;
  border: 1px solid rgba(0, 184, 217, 0.25);
}

/* ---------- Data Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  border: 1px solid rgba(0, 134, 201, 0.1);
  background: var(--color-surface);
  position: relative;
}

/* Scroll fade indicator for mobile */
.table-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.table-wrapper.has-scroll::after {
  opacity: 1;
}

.data-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
  font-size: 0.925rem;
}

/* Gradient header row */
.data-table thead {
  background: linear-gradient(135deg, #0A1628 0%, #122240 100%);
  color: var(--color-white);
}

.data-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--color-utility-blue);
}

.data-table thead th:first-child {
  border-radius: var(--radius-xl) 0 0 0;
}

.data-table thead th:last-child {
  border-radius: 0 var(--radius-xl) 0 0;
}

.data-table tbody tr {
  transition: background 0.2s ease, border-left-color 0.2s ease;
  border-left: 3px solid transparent;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(0, 134, 201, 0.03);
}

.data-table tbody tr:hover {
  background: rgba(0, 134, 201, 0.06);
}

.data-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-grey-900);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* S.No badge */
.data-table tbody td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-utility-blue);
  font-size: 0.85rem;
}

/* Monetary/data values — JetBrains Mono, navy */
.data-table .value-cell {
  font-family: var(--font-data);
  font-weight: var(--weight-medium);
  color: var(--color-blue-dark);
}

/* ---------- Section Texture Pattern ---------- */
.section.alt,
section[class*="bg-surface-subtle"] {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 134, 201, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ---------- Progress Bars (Ongoing Projects) ---------- */
.progress-inline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.progress-bar {
  background: var(--color-grey-300);
  border-radius: var(--radius-full);
  height: 8px;
  width: 120px;
  overflow: hidden;
}

.progress-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.progress-label {
  font-family: var(--font-data);
  font-size: var(--text-sm);
  color: var(--color-blue-dark);
}

/* ---------- Client Grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5);
}

.client-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  min-height: 104px;
  padding: var(--space-4);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  color: var(--color-blue-dark);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-card:hover {
  transform: scale(1.50);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-mid);
}

/* ---------- Contact Layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-8);
}

.info-stack {
  display: grid;
  gap: var(--space-4);
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-left: 4px solid var(--color-blue);
  /* blue left accent */
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  color: var(--color-dark);
}

.contact-info-card p {
  margin: 0;
  color: var(--color-grey-600);
}

/* ---------- Form ---------- */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--color-dark);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-on-surface);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--color-white);
  color: var(--color-grey-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-utility-blue);
  box-shadow: 0 0 0 3px rgba(0, 134, 201, 0.15);
  outline: none;
}

.form-submit {
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
  gap: var(--space-8);
}

.footer-brand h3,
.footer-title {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  color: var(--color-white);
}

.footer-brand p,
.footer-text {
  margin: 0;
}

.footer-brand p+p,
.footer-text+.footer-text {
  margin-top: var(--space-3);
}

.iso-pill {
  display: inline-flex;
  margin-top: var(--space-4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 184, 217, 0.18);
  color: #B3E9F5;
  border: 1px solid rgba(0, 184, 217, 0.35);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse-ring 2s ease-out infinite;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

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

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.stagger>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger>*:nth-child(2) {
  transition-delay: 80ms;
}

.stagger>*:nth-child(3) {
  transition-delay: 160ms;
}

.stagger>*:nth-child(4) {
  transition-delay: 240ms;
}

.stagger>*:nth-child(5) {
  transition-delay: 320ms;
}

.stagger>*:nth-child(6) {
  transition-delay: 400ms;
}

/* ---------- Responsive — Tablet (≤ 1023px) ---------- */
@media (max-width: 1023px) {
  .section {
    padding: var(--section-py-mobile) 0;
  }

  .navbar {
    min-height: 64px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    right: -105%;
    top: 0;
    width: min(360px, 84vw);
    height: 100vh;
    padding: 88px var(--space-6) var(--space-6);
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transform: none;
    transition: right 0.25s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1300;
    isolation: isolate;
  }

  .nav-panel.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    pointer-events: none;
  }

  .nav-links li {
    width: 100%;
    pointer-events: auto;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: var(--text-lg);
    padding: var(--space-2) 0;
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .nav-quote {
    width: 100%;
    margin-top: var(--space-2);
  }

  .hero-home {
    min-height: auto;
    padding: 108px 0 88px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 6.6vw, 3.25rem);
  }

  .scroll-indicator {
    display: none;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Responsive — Mobile (≤ 767px) ---------- */
@media (max-width: 767px) {
  .brand-text-primary {
    font-size: 1.1rem;
  }
  .brand-text-secondary {
    font-size: 0.55rem;
  }
  .nav-brand img {
    width: 52px;
    height: 52px;
  }

  .hero-home {
    padding: 96px 0 var(--space-16);
  }

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

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-badges {
    margin-top: var(--space-5);
    gap: var(--space-2);
  }

  .hero-actions {
    margin-top: var(--space-6);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--space-3);
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .value-grid,
  .service-grid,
  .client-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}

/* ---------- Project Galleries ---------- */
.project-gallery-section {
  padding: var(--space-12) 0;
}

.project-carousel {
  width: 100%;
  margin: var(--space-8) auto 0;
  overflow: hidden;
  padding: var(--space-4) 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: var(--space-4);
  animation: marquee 50s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-slide {
  flex-shrink: 0;
  width: 500px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 1;
  /* Override old fade logic */
  transition: transform 0.3s ease;
}

.carousel-slide:hover {
  transform: scale(1.02);
}

.equipment-carousel .carousel-slide {
  object-fit: contain;
  background-color: var(--color-white);
  padding: var(--space-4);
  border: 1px solid var(--color-surface-variant);
}

/* Remove buttons */
.carousel-btn {
  display: none;
}

/* ---------- Accessibility — Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .logo-track {
    animation: none;
  }
}

.client-card img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: var(--space-3);
  transition: transform 0.3s ease;
}

.client-card {
  display: flex;
  flex-direction: column;
}