@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Sora:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   RS ASSOCIATES — DESIGN &bull; ENGINEERING &bull; CONSTRUCTION — STYLES
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* RS ASSOCIATES OFFICIAL LOGO COLOR PALETTE (ROYAL BLUE & METALLIC SILVER) */
  --rs-dark: #050A10;
  --rs-navy: #09121F;
  --rs-steel: #0D6BA3;
  --rs-blue: #0D6BA3;
  --rs-blue-dark: #0A4D78;
  --rs-blue-light: #3FA8DC;
  
  --rs-grey-dark: #8B9096;
  --rs-grey: #AEB3B8;
  --rs-grey-light: #E2E8F0;
  
  --rs-white: #FFFFFF;
  --rs-light: #F8FAFC;
  --rs-text: #F8FAFC;
  --rs-muted: #94A3B8;

  --bg: #050A10;
  --surface: #09121F;
  --surface2: #0E1A2B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --metal: #0A4D78;

  /* BRAND ALIASES STRICTLY MATCHING LOGO (BLUE + SILVER) */
  --brand-orange: var(--rs-blue);
  --brand-blue: var(--rs-blue);
  --brand-cyan: var(--rs-blue-light);
  --brand-dark: #050A10;
  --brand-steel: var(--rs-steel);
  --brand-white: var(--rs-white);

  --logo-orange: var(--rs-blue);
  --logo-orange-light: var(--rs-blue-light);
  --logo-orange-glow: rgba(13, 107, 163, 0.25);

  --logo-blue: var(--rs-blue);
  --logo-blue-light: var(--rs-blue-light);
  --logo-blue-glow: rgba(13, 107, 163, 0.25);

  --accent-blue: var(--rs-blue);
  --accent-blue-light: var(--rs-blue-light);
  --accent-blue-glow: var(--logo-blue-glow);

  --accent-amber: var(--rs-blue);
  --accent-amber-light: var(--rs-blue-light);
  --accent-amber-glow: var(--logo-blue-glow);

  --border: rgba(10, 77, 120, 0.14);
  --border-hover: rgba(13, 107, 163, 0.6);
  --font-display: 'Space Grotesk', 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-label: 'Space Grotesk', sans-serif;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  --easing-in: cubic-bezier(0.7, 0, 0.84, 0);
  --radius: 4px;
}

html { scroll-behavior: smooth; background-color: #050A10; }

body {
  background-color: #050A10 !important;
  color: var(--rs-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(74, 144, 217, 0.3); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; color: inherit; font: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- CUSTOM CURSOR ---- */
.cursor {
  display: none !important;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--logo-orange);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--easing), height 0.2s var(--easing), opacity 0.2s;
  box-shadow: 0 0 8px var(--logo-orange-glow);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0, 102, 255, 0.6);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--easing), height 0.35s var(--easing), border-color 0.2s, background 0.2s;
}
.cursor-label {
  position: absolute;
  transform: translate(-50%, calc(-50% + 30px));
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--logo-orange-light);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--logo-orange);
  background: rgba(255, 102, 0, 0.08);
}
body.cursor-view .cursor-label { opacity: 1; }
body.cursor-view .cursor-dot { opacity: 0; }
@media (max-width: 1024px) { .cursor { display: none; } }

/* ---- LOADER ---- */
/* ============================================================
   MASTER LOADER — Particle Logo Formation
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #020B18;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0.6s;
  overflow: hidden;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Particle canvas — fills entire screen */
.loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Deep space radial bg */
.loader-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, #040F1F 0%, #020B18 100%);
  z-index: 0;
}

/* Subtle grid lines */
.loader-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,107,163,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,107,163,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Content stack */
.loader-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

/* ---- Logo circle container ---- */
.loader-logo {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer glow ring */
.loader-logo::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D6BA3 0%, #3FA8DC 50%, #0A4D78 100%);
  opacity: 0.25;
  animation: loaderRingPulse 2s ease-in-out infinite;
  filter: blur(8px);
}

/* Circle border */
.loader-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(63,168,220,0.5);
  animation: loaderRingRotate 8s linear infinite;
  background: rgba(255,255,255,0.03);
}

@keyframes loaderRingPulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50%  { opacity: 0.40; transform: scale(1.06); }
}

@keyframes loaderRingRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* White circle bg for logo */
.loader-logo-circle {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 40px rgba(13,107,163,0.4), 0 0 80px rgba(13,107,163,0.15);
  z-index: 1;
}

/* Logo image — sits on white circle */
.loader-logo-img {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.6);
  animation: loaderLogoReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) 1.4s forwards;
}

@keyframes loaderLogoReveal {
  0%   { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---- Brand name ---- */
.loader-brand {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 28px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(12px);
  animation: loaderFadeUp 0.6s ease 2s forwards;
}

.loader-brand span {
  color: #3FA8DC;
}

@keyframes loaderFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Status text ---- */
.loader-status {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #3FA8DC;
  font-weight: 700;
  height: 18px;
  margin-top: 10px;
  opacity: 0;
  animation: loaderFadeUp 0.5s ease 2.2s forwards;
  transition: opacity 0.3s;
}

/* ---- Progress ---- */
.loader-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 220px;
  margin-top: 20px;
  opacity: 0;
  animation: loaderFadeUp 0.5s ease 2.4s forwards;
}

.loader-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(63,168,220,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0D6BA3, #3FA8DC);
  width: 0%;
  border-radius: 2px;
  transition: width 0.12s linear;
  box-shadow: 0 0 8px rgba(63,168,220,0.6);
}

.loader-progress-pct {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 700;
}

/* ---- Ready badge ---- */
.loader-ready {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: #FFFFFF;
  font-weight: 800;
  opacity: 0;
  margin-top: 6px;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s ease;
}
.loader-ready.show { opacity: 1; transform: translateY(0); }

/* ---- Bottom tagline ---- */
.loader-bottom-text {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(63,168,220,0.45);
  white-space: nowrap;
  z-index: 3;
  opacity: 0;
  animation: loaderFadeUp 0.6s ease 2.6s forwards;
}


/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0D6BA3, #3FA8DC);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(63, 168, 220, 0.5);
}

/* ---- NAVIGATION ---- */
/* ============================================================
   NAVBAR — SMOOTH HORIZONTAL WHITE-TO-LIGHT-BLUE GRADIENT
   linear-gradient(90deg, #FFFFFF 0%, #F5FAFF 35%, #E3F2FD 70%, #B9DDF4 100%)
   ============================================================ */
/* ---- NAVIGATION ---- */

/* ---- NAVIGATION ---- */
/* ============================================================
   NAVBAR — SMOOTH HORIZONTAL WHITE-TO-LIGHT-BLUE GRADIENT
   linear-gradient(90deg, #FFFFFF 0%, #F5FAFF 35%, #E3F2FD 70%, #B9DDF4 100%)
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(90deg, #FFFFFF 0%, #F4F9FF 30%, #CBE3F5 58%, #1D527C 82%, #07182E 98%) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(13, 107, 163, 0.14);
  box-shadow: 0 2px 16px rgba(9, 18, 31, 0.06);
  transition:
    padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: linear-gradient(90deg, #FFFFFF 0%, #F4F9FF 30%, #CBE3F5 58%, #1D527C 82%, #07182E 98%) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(10, 77, 120, 0.18);
  box-shadow: 0 4px 24px rgba(9, 18, 31, 0.09);
}

.navbar--light {
  background: linear-gradient(90deg, #FFFFFF 0%, #F4F9FF 30%, #CBE3F5 58%, #1D527C 82%, #07182E 98%) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(10, 77, 120, 0.14) !important;
  box-shadow: 0 2px 16px rgba(9, 18, 31, 0.06) !important;
}

.nav-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0D6BA3;
  padding: 3px;
  background: #ffffff;
  animation: navLogoPulse 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes navLogoPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 2px 8px rgba(13, 107, 163, 0.2));
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 4px 14px rgba(13, 107, 163, 0.35));
  }
}
.nav-brand:hover .nav-logo-img {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 6px 20px rgba(13, 107, 163, 0.4));
}
.nav-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-brand-text {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0A2438 !important;
  text-shadow: none !important;
}
.nav-brand-text span {
  color: #0D6BA3 !important;
}
.nav-brand-sub {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #475569 !important;
  white-space: nowrap;
  text-shadow: none !important;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-links li {
  display: inline-flex;
  align-items: center;
}
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown-toggle::after {
  content: ' ▾';
  font-size: 9px;
  display: inline-block;
  transition: transform 0.3s;
}
.nav-item-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #FFFFFF;
  border-top: 2px solid #0D6BA3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 1050;
  border-radius: 0 0 6px 6px;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-group {
  position: relative;
  width: 100%;
}
.nav-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-family: var(--font-label, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
  transition: color 0.2s, background 0.2s;
  background: #FFFFFF;
}
.nav-dropdown-item:hover {
  color: #0D6BA3;
  background: #F8FAFC;
}
.nav-sublist {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  background: #FFFFFF;
  border-top: 2px solid #0D6BA3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 1060;
  border-radius: 0 6px 6px 6px;
}
.nav-dropdown-group:hover .nav-sublist {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-sub-item {
  padding: 10px 16px;
  font-family: var(--font-label, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
  transition: color 0.2s, background 0.2s;
}
.nav-sub-item:hover {
  color: #0D6BA3;
  background: #F8FAFC;
}

.nav-link {
  font-family: var(--font-label, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0A2438 !important;
  text-decoration: none;
  text-shadow: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #0D6BA3;
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: #0D6BA3 !important;
}
.nav-link.active {
  color: #0D6BA3 !important;
}
.nav-link.active::after {
  width: 100%;
}
.nav-link:focus-visible {
  outline: 2px solid #0D6BA3;
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.nav-rtechh-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 60px;
  position: relative;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  flex-shrink: 0;
}
.nav-rtechh-link:hover {
  transform: scale(1.08);
}
.nav-rtechh-link:focus-visible {
  outline: 2px solid #0D6BA3;
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-rtechh-link iframe {
  pointer-events: none;
  border: 0;
  background: transparent !important;
}


.nav-cta-thinking-rs, .nav-cta-thinking-future {
  font-family: var(--font-label, 'Inter', sans-serif);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  color: #FFFFFF !important;
  background: #0D6BA3 !important;
  border: 1px solid #3FA8DC !important;
  box-shadow: 0 4px 14px rgba(13, 107, 163, 0.35);
}
.nav-cta-thinking-rs::before, .nav-cta-thinking-future::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShineSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}
.nav-cta-thinking-rs:hover, .nav-cta-thinking-future:hover {
  background: #0A4D78 !important;
  border-color: #3FA8DC !important;
  box-shadow: 0 6px 20px rgba(13, 107, 163, 0.5);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}


@media (max-width: 1440px) and (min-width: 1025px) {
  .nav-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .nav-cta-thinking-rs, .nav-cta-thinking-future {
    padding: 7px 11px;
    font-size: 9px;
  }
  .nav-rtechh-link {
    width: 48px;
    height: 50px;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #0A2438 !important;
  transition: transform 0.3s ease, opacity 0.3s;
}
.hamburger:focus-visible {
  outline: 2px solid #0D6BA3;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- MOBILE MENU ---- */
.mobile-menu[hidden], .mobile-menu:not(.open) {
  display: none !important;
  pointer-events: none !important;
}
.mobile-menu {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  background: #050A10 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  display: flex !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.mobile-menu-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 24px 32px;
  box-sizing: border-box;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu-header .nav-brand-text {
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.mobile-menu-header .nav-brand-text span {
  color: #38bdf8 !important;
}
.mobile-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
}
.mobile-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #FFFFFF !important;
  border-radius: 1px;
}
.mobile-close span:first-child { transform: rotate(45deg); }
.mobile-close span:last-child { transform: rotate(-45deg); }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 0;
  margin: 0;
}
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}
.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.11s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.14s; }
.mobile-nav-link:nth-child(5) { transition-delay: 0.17s; }
.mobile-nav-link:nth-child(6) { transition-delay: 0.20s; }
.mobile-nav-link:nth-child(7) { transition-delay: 0.23s; }
.mobile-nav-link:nth-child(8) { transition-delay: 0.26s; }
.mobile-nav-link:nth-child(9) { transition-delay: 0.29s; }
.mobile-nav-link:nth-child(10) { transition-delay: 0.32s; }
.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link.active {
  color: #38bdf8 !important;
  padding-left: 8px;
}
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  width: 100%;
}
.mobile-cta-thinking-rs, .mobile-cta-thinking-future {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(15px);
}
.mobile-cta-thinking-rs {
  color: #FFFFFF !important;
  background: #0D6BA3;
  border: 1px solid #0D6BA3;
}
.mobile-cta-thinking-rs:hover {
  background: #0b5887;
}
.mobile-cta-thinking-future {
  color: #38bdf8 !important;
  background: rgba(13, 107, 163, 0.15);
  border: 1px solid #0D6BA3;
}
.mobile-cta-thinking-future:hover {
  background: rgba(13, 107, 163, 0.3);
}
.mobile-menu.open .mobile-cta-thinking-rs {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s 0.35s ease;
}
.mobile-menu.open .mobile-cta-thinking-future {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s 0.4s ease;
}
.mobile-menu-footer {
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  height: 100vh;
  background: #050A10 url('images/hero_furnace.jpg') center/cover no-repeat;
}
.hero-scroll-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050A10 url('images/hero_furnace.jpg') center/cover no-repeat;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #050607;
  will-change: contents;
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  /* Subtle top fade so navbar reads clearly + horizontal cinematic vignette */
  background:
    linear-gradient(180deg,
      rgba(5, 10, 16, 0.35) 0%,
      rgba(5, 10, 16, 0.08) 18%,
      transparent 35%
    ),
    linear-gradient(95deg,
      rgba(5, 20, 45, 0.48) 0%,
      rgba(5, 20, 45, 0.28) 38%,
      rgba(5, 20, 45, 0.08) 60%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 2;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  /* No animation — static grain is fine and removes forced repaints */
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-particles .particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-120px) translateX(var(--drift, 20px)); opacity: 0; }
}

/* HERO INTRO */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 60px;
  padding-top: 60px; /* Account for navbar */
  transition: opacity 0.6s, transform 0.6s var(--easing);
  width: 100%;
  box-sizing: border-box;
}

.hero-intro-inner {
  max-width: 900px;
  width: 100%;
  padding: 0;
  background: none;
  border-left: none;
  backdrop-filter: none;
}

.hero-est {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #3FA8DC;
  background: rgba(4, 16, 32, 0.45) !important;
  border: 1.5px solid #3FA8DC;
  padding: 6px 16px;
  border-radius: 3px;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s var(--easing) forwards;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-brand-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-logo-circle {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid rgba(63, 168, 220, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(13, 107, 163, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-logo-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.hero-brand-info {
  display: flex;
  flex-direction: column;
}

.hero-title {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s 0.5s var(--easing) forwards;
}

.hero-subtitle {
  font-size: clamp(10px, 1.3vw, 13px);
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: #3FA8DC !important;
  display: block;
  margin-top: 6px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.7s var(--easing) forwards;
}

.hero-divider {
  width: 1px;
  height: 56px;
  background: rgba(63, 168, 220, 0.35);
  flex-shrink: 0;
}

.hero-desc-card {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  max-width: 420px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.hero-desc-text {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 1.1s var(--easing) forwards;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(13, 107, 163, 0.9) 0%, rgba(10, 77, 120, 0.9) 100%);
  padding: 13px 24px;
  border: 1.5px solid #3FA8DC;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(13, 107, 163, 0.5);
  text-decoration: none;
  white-space: nowrap;
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #FFFFFF !important;
  background: rgba(10, 36, 56, 0.45) !important;
  padding: 13px 24px;
  border: 1.5px solid #3FA8DC !important;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  text-decoration: none;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* BUTTONS & PREMIUM SHINE EFFECT */
@keyframes btnShineSweep {
  0% { left: -80%; opacity: 0; }
  15% { opacity: 0.8; }
  35% { left: 130%; opacity: 1; }
  36% { opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #0D6BA3 0%, #0A4D78 100%);
  padding: 16px 32px;
  border: 1px solid #0D6BA3;
  box-shadow: 0 6px 20px rgba(13, 107, 163, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShineSweep 3.2s infinite ease-in-out;
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3FA8DC 0%, #0D6BA3 100%);
  box-shadow: 0 10px 32px rgba(13, 107, 163, 0.5), 0 0 40px rgba(63, 168, 220, 0.3);
  transform: translateY(-3px) scale(1.02);
  border-color: #3FA8DC;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #FFFFFF !important;
  background: rgba(15, 23, 42, 0.85);
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 1;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShineSweep 3.6s infinite ease-in-out;
  pointer-events: none;
}
.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--logo-orange);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.5), 0 0 25px rgba(255, 102, 0, 0.25);
  transform: translateY(-3px) scale(1.02);
  color: #FFFFFF !important;
}

/* HERO STORY TEXT */
.hero-story {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(4, 7, 13, 0.4) 0%, transparent 80%);
}
.story-line {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 102, 0, 0.4);
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  filter: blur(8px);
  transition: opacity 0.5s var(--easing), transform 0.5s var(--easing), filter 0.5s var(--easing), letter-spacing 0.6s var(--easing);
}
.story-line.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  letter-spacing: 0em;
}
.story-line span {
  display: block;
  color: var(--logo-orange);
  -webkit-text-stroke: none;
}
.story-final { text-align: center; padding: 0 40px; }
.story-final-title {
  display: block;
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 850;
  margin-bottom: 16px;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}
.story-final-sub {
  display: block;
  font-family: var(--font-label);
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: 0.2em;
  color: #E2E8F0;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* PROGRESS INDICATOR */
.hero-progress {
  display: none !important;
}
.progress-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  padding: 4px 0;
}
.progress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--easing);
  flex-shrink: 0;
}
.progress-item.active .progress-dot {
  background: var(--logo-orange);
  border-color: var(--logo-orange);
  box-shadow: 0 0 10px var(--logo-orange-glow);
  transform: scale(1.4);
}
.progress-line {
  position: absolute;
  left: 2.5px;
  top: 100%;
  width: 1px;
  height: 24px;
  background: var(--border);
}
.progress-label {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--easing), color 0.3s;
  white-space: nowrap;
}
.progress-item.active .progress-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--logo-orange-light);
}

/* Mobile Progress */
.hero-mobile-progress {
  display: none !important;
}
.mobile-progress-fill {
  height: 100%;
  background: var(--accent-blue-light);
  width: 0%;
  transition: width 0.1s linear;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.6s;
}
.hero-scroll-hint.hidden { opacity: 0; }
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue-light), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}
.hero-scroll-hint span {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.4em;
  color: var(--muted);
}

/* ---- SECTION COMMONS ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #0D6BA3 !important;
  border-left: 3px solid #0D6BA3;
  padding-left: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-label--amber { color: #0D6BA3 !important; border-color: #0D6BA3 !important; }
.section-label--blue { color: #0A4D78 !important; border-color: #0A4D78 !important; }
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #0A2438 !important;
}
.section-headline em {
  font-style: normal;
  color: #0D6BA3 !important;
  -webkit-text-stroke: none;
  font-weight: 900;
}
.section-sub {
  font-size: 15px;
  color: #334155 !important;
  font-weight: 600;
  max-width: 580px;
  margin-top: 16px;
  line-height: 1.7;
}
.section-header { margin-bottom: 60px; }

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Cap-cards override — use keyframe animations instead of generic transition */
.cap-card[data-reveal] {
  transform: none; /* don't apply generic Y shift — each animation has its own */
  transition: none;
}
.cap-card[data-reveal].revealed {
  transform: none;
}

/* ---- ABOUT SECTION ---- */
.about-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  background: var(--bg);
}
.about-bg-number {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 24vw, 340px);
  font-weight: 900;
  color: rgba(0, 51, 153, 0.04);
  -webkit-text-stroke: 2px rgba(0, 90, 220, 0.25);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.about-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-num sup { font-size: 0.5em; color: var(--logo-orange); }
.stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.about-3d-wrap {
  position: relative;
  height: 340px;
  margin-top: 60px;
  pointer-events: auto;
  overflow: hidden;
}
.about-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-3d-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.about-3d-label {
  position: absolute;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(74, 144, 217, 0.6);
  border-left: 1px solid rgba(74, 144, 217, 0.3);
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(74,144,217,0.3);
}

/* ---- CAPABILITIES CARD UNIQUE ENTRY ANIMATIONS ---- */

@keyframes capSlideUp {
  from { opacity: 0; transform: translateY(70px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes capSlideRight {
  from { opacity: 0; transform: translateX(-70px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes capZoomIn {
  from { opacity: 0; transform: scale(0.75) rotate(-2deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes capSlideLeft {
  from { opacity: 0; transform: translateX(70px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes capRotateUp {
  from { opacity: 0; transform: translateY(60px) rotateX(25deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
@keyframes capSlideDown {
  from { opacity: 0; transform: translateY(-60px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes capFlipIn {
  from { opacity: 0; transform: scaleY(0.4) translateY(30px); }
  to   { opacity: 1; transform: scaleY(1) translateY(0); }
}
@keyframes capScaleGlow {
  from { opacity: 0; transform: scale(0.8); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0px); }
}


.cap-card.revealed { animation-fill-mode: both; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); animation-duration: 0.85s; }

.cap-card[data-cap="01"].revealed { animation-name: capSlideUp;    animation-delay: 0.05s; }
.cap-card[data-cap="02"].revealed { animation-name: capSlideRight;  animation-delay: 0.15s; }
.cap-card[data-cap="03"].revealed { animation-name: capZoomIn;      animation-delay: 0.25s; }
.cap-card[data-cap="04"].revealed { animation-name: capSlideLeft;   animation-delay: 0.35s; }
.cap-card[data-cap="05"].revealed { animation-name: capRotateUp;    animation-delay: 0.10s; }
.cap-card[data-cap="06"].revealed { animation-name: capSlideDown;   animation-delay: 0.20s; }
.cap-card[data-cap="07"].revealed { animation-name: capFlipIn;      animation-delay: 0.30s; }
.cap-card[data-cap="08"].revealed { animation-name: capScaleGlow;   animation-delay: 0.40s; }

/* ---- CAPABILITIES HORIZONTAL LIST ---- */
.cap-hlist {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.cap-hcard {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  min-height: 280px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.cap-hcard.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cap-hcard:hover {
  box-shadow: 0 20px 45px rgba(235, 94, 40, 0.12);
  border-color: rgba(235, 94, 40, 0.3);
}

/* 55% Image width, aspect ratio matching widescreen screenshot */
.cap-himg {
  width: 55%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-hcard:hover .cap-himg {
  transform: scale(1.03);
}

/* Subtle inner vignette / gradient on right side of image */
.cap-himg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(255,255,255,1) 100%);
}

/* 45% Content width */
.cap-hcontent {
  width: 45%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.cap-hnum {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--logo-orange);
  line-height: 1;
}

.cap-htitle {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cap-hdesc {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  line-height: 1.6;
}

.cap-htag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  padding: 6px 14px;
  background: rgba(235, 94, 40, 0.08);
  color: var(--logo-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
}

@media (max-width: 992px) {
  .cap-hcard {
    flex-direction: column;
    min-height: auto;
  }
  .cap-himg {
    width: 100%;
    height: 220px;
  }
  .cap-himg::after {
    background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,1) 100%);
  }
  .cap-hcontent {
    width: 100%;
    padding: 30px 24px;
  }
}

/* ---- CAPABILITIES ---- */
.capabilities-section {
  padding: 70px 0;
  background: var(--surface);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.cap-card {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  cursor: default;
  opacity: 0; /* starts hidden, revealed by scroll observer */
  display: flex;
  flex-direction: column;
  transition: background 0.4s, box-shadow 0.4s;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transform-style: preserve-3d; /* Support 3D tilt */
}
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--logo-orange-glow) 0%, var(--logo-blue-glow) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.cap-card:hover { background: #FFFFFF; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); }
.cap-card:hover::before { opacity: 0.08; }

/* Card image banner */
.cap-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cap-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.92) 100%);
}
.cap-card:hover .cap-img {
  transform: scale(1.06);
}
.cap-card-inner {
  padding: 40px 32px;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateZ(20px); /* 3D layer pop */
  transform-style: preserve-3d;
}
.cap-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 900;
  color: var(--logo-blue-light);
  line-height: 1;
  transition: color 0.4s;
  -webkit-text-stroke: none;
}
.cap-card:hover .cap-num { color: var(--logo-orange); }
.cap-icon { color: var(--metal); transition: color 0.3s, transform 0.3s var(--easing); }
.cap-card:hover .cap-icon { color: var(--logo-orange); transform: scale(1.1); }
.cap-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700; /* Bold title */
  letter-spacing: 0.05em;
  line-height: 1.3;
  transition: color 0.3s;
}
.cap-card:hover .cap-title { color: var(--text); }
.cap-desc {
  font-size: 13px;
  color: #334155; /* Always visible high-contrast grey-black */
  font-weight: 600; /* Strong readable letters */
  line-height: 1.7;
  margin-top: auto;
  opacity: 1; /* Always visible */
  transform: none;
  transition: color 0.3s;
}
.cap-card:hover .cap-desc { color: #0F172A; }
.cap-grid-lines {
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s;
}
.cap-card:hover .cap-grid-lines { opacity: 1; }

/* ---- EPC SECTION ---- */
.epc-section {
  padding: 70px 0;
  background: var(--bg);
  overflow: hidden;
}
.epc-timeline-wrap {
  overflow-x: auto;
  padding: 60px 40px;
  scrollbar-width: none;
}
.epc-timeline-wrap::-webkit-scrollbar { display: none; }
.epc-timeline {
  display: flex;
  gap: 0;
  min-width: max-content;
  position: relative;
}
.epc-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-blue), var(--logo-orange));
}
.epc-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 60px 0 0;
  position: relative;
}
.epc-step::after {
  content: '';
  position: absolute;
  top: 29px;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--logo-orange);
  background: var(--bg);
  transition: background 0.3s, transform 0.3s var(--easing), box-shadow 0.3s;
  z-index: 1;
}
.epc-step:hover::after {
  background: var(--logo-orange);
  box-shadow: 0 0 15px var(--logo-orange-glow);
  transform: scale(1.4);
}
.epc-step-inner {
  padding-top: 64px;
  max-width: 220px;
}
.epc-step-num {
  display: block;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--logo-orange-light);
  margin-bottom: 8px;
}
.epc-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text);
}
.epc-step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- FERRO SECTION ---- */
.ferro-section {
  position: relative;
  padding: 80px 0;
  background: #060404;
  overflow: hidden;
}
.ferro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ferro-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.ferro-glow-1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(193, 100, 17, 0.12) 0%, transparent 70%);
  top: 20%; left: -100px;
  animation: ferroGlow1 8s ease-in-out infinite;
}
.ferro-glow-2 {
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(193, 125, 17, 0.08) 0%, transparent 70%);
  bottom: 10%; right: -50px;
  animation: ferroGlow2 10s ease-in-out infinite;
}
@keyframes ferroGlow1 {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
@keyframes ferroGlow2 {
  0%,100% { transform: scale(1.1); opacity: 0.5; }
  50% { transform: scale(0.9); opacity: 0.9; }
}
.ferro-sparks { position: absolute; inset: 0; }
.ferro-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #FFFFFF; /* High visibility white on black background */
}
.ferro-headline em {
  font-style: normal;
  color: var(--logo-orange);
  -webkit-text-stroke: none;
}
.ferro-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85); /* High visibility light grey on black background */
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 48px;
}
.ferro-stats {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.ferro-stat { display: flex; flex-direction: column; gap: 6px; }
.ferro-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-amber-light);
  letter-spacing: 0.05em;
}
.ferro-stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7); /* High visibility light grey label on black background */
}

/* ---- FABRICATION ---- */
.fab-section {
  position: relative;
  padding: 80px 0;
  background: var(--surface);
  overflow: hidden;
}
.fab-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(46, 111, 186, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 39px,
      rgba(174, 183, 189, 0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 39px,
      rgba(174, 183, 189, 0.03) 40px
    );
  pointer-events: none;
}
.fab-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.fab-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.fab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.fab-tag {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--metal);
  border: 1px solid var(--border);
  padding: 6px 12px;
}
.fab-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}
.fab-measurements { position: absolute; inset: 0; pointer-events: none; }
.fab-measure {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.fab-measure span {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.25em;
  color: rgba(74, 144, 217, 0.4);
}
.fab-measure-h .fab-measure-line {
  width: 80px; height: 1px;
  background: rgba(74, 144, 217, 0.2);
  position: relative;
}
.fab-measure-h .fab-measure-line::before,
.fab-measure-h .fab-measure-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 1px; height: 7px;
  background: rgba(74, 144, 217, 0.4);
}
.fab-measure-h .fab-measure-line::before { left: 0; }
.fab-measure-h .fab-measure-line::after { right: 0; }

/* ---- PROJECTS ---- */
.projects-section {
  padding: 70px 0;
  background: var(--bg);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.proj-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--easing);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}
.proj-card:hover { 
  background: #FFFFFF; 
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); 
  transform: translateY(-4px);
}

.proj-card-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--easing);
}
.proj-card:hover .proj-card-img { transform: scale(1.02); }
.proj-placeholder-graphic { opacity: 0.8; }
.proj-card-info { padding: 28px 28px 36px; }
.proj-type {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--accent-blue-light);
  display: block;
  margin-bottom: 10px;
}
.proj-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.proj-card:hover .proj-name { color: var(--accent-blue-light); }
.proj-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}
.proj-meta span {
  font-size: 12px;
  color: var(--muted);
}
.proj-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--easing), opacity 0.4s;
  opacity: 0;
}
.proj-card:hover .proj-details { max-height: 100px; opacity: 1; }
.proj-details p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---- GLOBAL ---- */
.global-section {
  padding: 70px 0;
  background: var(--surface);
}
.globe-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 40px;
  flex-wrap: wrap;
}
.globe-canvas {
  width: 500px;
  height: 500px;
  max-width: 90vw;
}
.globe-locations { flex: 1; min-width: 280px; max-width: 350px; }
.globe-loc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.globe-loc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.globe-loc-item:hover {
  border-color: var(--border-hover);
  background: rgba(74, 144, 217, 0.04);
}
.globe-loc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(74, 144, 217, 0.6);
}
.globe-loc-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.globe-loc-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ---- MILESTONES ---- */
.milestones-section {
  padding: 70px 0;
  background: var(--bg);
  overflow: hidden;
}
.milestones-scroll-wrap {
  overflow-x: auto;
  padding: 60px 40px 80px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) var(--border);
}
.milestones-scroll-wrap::-webkit-scrollbar { height: 2px; }
.milestones-scroll-wrap::-webkit-scrollbar-track { background: var(--border); }
.milestones-scroll-wrap::-webkit-scrollbar-thumb { background: var(--accent-blue); }
.milestones-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  position: relative;
}
.milestones-track::before {
  content: '';
  position: absolute;
  bottom: 50px;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.milestone-item {
  display: flex;
  flex-direction: column;
  padding: 0 80px 0 0;
  position: relative;
}
.milestone-year {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--logo-blue-light);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  transition: color 0.4s;
  -webkit-text-stroke: none;
}
.milestone-item:hover .milestone-year { color: var(--logo-orange); }
.milestone-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--accent-blue);
  background: var(--bg);
  position: absolute;
  bottom: 44px;
  left: 0;
  transition: background 0.3s, transform 0.3s var(--easing);
  z-index: 1;
}
.milestone-item:hover .milestone-dot {
  background: var(--accent-blue);
  transform: scale(1.4);
}
.milestone-content {
  padding-top: 80px;
  max-width: 220px;
}
.milestone-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.milestone-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- CLIENTS ---- */
.clients-section {
  padding: 50px 0;
  background: var(--surface);
  overflow: hidden;
}

/* Horizontal auto-scroll ticker */
.clients-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* edge fade masks */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  margin-top: 48px;
}
.clients-ticker:hover .clients-track {
  animation-play-state: paused;
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: clientsScroll 35s linear infinite;
}
@keyframes clientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 90px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.client-logo-item:hover {
  background: rgba(6, 59, 102, 0.04);
}
.client-logo-item img {
  max-height: 52px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
  transition: opacity 0.3s var(--easing), transform 0.3s var(--easing), filter 0.3s var(--easing);
  display: block;
}
.client-logo-item:hover img {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* Legacy grid — kept for other pages that may still use .clients-grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
}
.client-item {
  background: #FFFFFF;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: default;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.01);
}
.client-item:hover { background: #FFFFFF; box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06); }
.client-item span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  transition: color 0.3s;
  line-height: 1.4;
}
.client-item:hover span { color: var(--text); }

/* ---- FUTURE ---- */
.future-section {
  position: relative;
  padding: 80px 0;
  background: #FFFFFF;
  overflow: hidden;
}
.future-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.future-particles { position: absolute; inset: 0; pointer-events: none; }
.future-inner { position: relative; z-index: 2; }
.future-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.future-headline em {
  font-style: normal;
  color: var(--logo-orange);
  -webkit-text-stroke: none;
}
.future-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ---- FINAL CTA ---- */
.finalcta-section {
  padding: 60px 0;
  background: var(--surface);
  text-align: center;
}
.finalcta-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.finalcta-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.finalcta-copy {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.finalcta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CONTACT ---- */
.contact-section {
  padding: 70px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.contact-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; }
.contact-info-label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--accent-blue-light);
}
.contact-info-item span { font-size: 14px; color: var(--metal); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600; /* Bolder typed text in text boxes */
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23879197' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent-blue); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(135, 145, 151, 0.65); font-weight: 500; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text);
  background: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  padding: 18px 28px;
  transition: background 0.3s, transform 0.3s var(--easing);
  cursor: pointer;
  width: 100%;
  min-height: 56px;
}
.form-submit:hover { background: #3a7fd4; transform: translateY(-1px); }
.submit-arrow { font-size: 18px; }
.form-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(46, 111, 186, 0.1);
  border: 1px solid var(--accent-blue);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s var(--easing);
  pointer-events: none;
  margin-top: 8px;
}
.form-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-icon {
  font-size: 16px;
  color: var(--accent-blue-light);
  font-weight: 700;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav a {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(135, 145, 151, 0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
.finalcta-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.finalcta-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.finalcta-copy {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.finalcta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CONTACT ---- */
.contact-section {
  padding: 70px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-headline em { font-style: normal; color: var(--logo-orange); -webkit-text-stroke: none; }
.contact-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; }
.contact-info-label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--accent-blue-light);
}
.contact-info-item span { font-size: 14px; color: var(--metal); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600; /* Bolder typed text in text boxes */
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23879197' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent-blue); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(135, 145, 151, 0.65); font-weight: 500; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text);
  background: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  padding: 18px 28px;
  transition: background 0.3s, transform 0.3s var(--easing);
  cursor: pointer;
  width: 100%;
  min-height: 56px;
}
.form-submit:hover { background: #3a7fd4; transform: translateY(-1px); }
.submit-arrow { font-size: 18px; }
.form-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(46, 111, 186, 0.1);
  border: 1px solid var(--accent-blue);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s var(--easing);
  pointer-events: none;
  margin-top: 8px;
}
.form-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-icon {
  font-size: 16px;
  color: var(--accent-blue-light);
  font-weight: 700;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav a {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(135, 145, 151, 0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
  .capabilities-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav-links,
  .nav-links-expanded,
  .nav-cta { display: none !important; }
  .nav-cta-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: 6px !important;
  }
  .nav-cta-thinking-rs,
  .nav-cta-thinking-future {
    display: none !important;
  }
  .nav-rtechh-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 46px !important;
    margin: 0 !important;
  }
  .nav-rtechh-link iframe {
    width: 44px !important;
    height: 46px !important;
    transform: scale(0.88) !important;
    transform-origin: center center !important;
    pointer-events: none !important;
  }
  .hamburger { display: flex !important; }
  .hero-intro { padding: 0 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0 !important;
    padding-top: max(10px, env(safe-area-inset-top)) !important;
    background: linear-gradient(90deg, #FFFFFF 0%, #F4F9FF 30%, #CBE3F5 58%, #1D527C 82%, #07182E 98%) !important;
  }
  .navbar.scrolled {
    background: linear-gradient(90deg, #FFFFFF 0%, #F4F9FF 30%, #CBE3F5 58%, #1D527C 82%, #07182E 98%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(10, 77, 120, 0.14) !important;
    box-shadow: 0 4px 20px rgba(9, 18, 31, 0.08) !important;
    padding: 8px 0 !important;
  }
  .container { padding: 0 18px; }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 4px; }
  .nav-brand-sub { display: none; }
  .nav-logo-img { height: 30px !important; width: auto; }
  .hero-section, .hero-scroll-container {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    position: relative !important;
    overflow: hidden !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #050A10 !important;
  }
  .hero-video-bg {
    height: 110% !important;
    width: 110% !important;
    top: -5% !important;
    left: -5% !important;
    object-fit: cover !important;
    transform: scale(1.1) !important;
  }
  .hero-intro {
    position: absolute !important;
    inset: 0 !important;
    padding: 60px 18px 24px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }
  .hero-intro-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-brand-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-top: 12px !important;
    width: 100% !important;
  }
  .hero-brand-left {
    gap: 12px !important;
    width: 100% !important;
  }
  .hero-logo-circle {
    width: 54px !important;
    height: 54px !important;
  }
  .hero-logo-circle img {
    width: 36px !important;
    height: 36px !important;
  }
  .hero-title {
    font-size: 24px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }
  .hero-subtitle {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .hero-divider {
    display: none !important;
  }
  .hero-desc-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 6px !important;
  }
  .hero-ctas {
    width: 100% !important;
    margin-top: 16px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hero-ctas a {
    width: 100% !important;
    box-sizing: border-box;
    justify-content: center !important;
    text-align: center !important;
  }
  /* Section padding tightening on Mobile */
  section,
  .industrial-intro,
  .quality-section,
  .lifecycle-section,
  .ferro-expert-section,
  .featured-experience-section,
  .facility-gallery-section,
  .about-section,
  .capabilities-section,
  .epc-section,
  .ferro-section,
  .fab-section,
  .projects-section,
  .global-section,
  .milestones-section,
  .clients-section,
  .future-section,
  .finalcta-section,
  .contact-section {
    padding: 32px 0 !important;
  }
  .section-intro-header,
  .section-header,
  .process-header {
    margin-bottom: 20px !important;
  }

  /* Side-swiping Horizontal Scroll Carousel for Technical Metrics / Experience Grid */
  .intro-stats-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 4px 4px 16px 4px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    scrollbar-width: thin !important;
  }
  .intro-stat {
    flex: 0 0 78% !important;
    min-width: 230px !important;
    scroll-snap-align: start !important;
    border: 1px solid rgba(10,77,120,0.18) !important;
    border-radius: 8px !important;
    padding: 24px 20px !important;
    min-height: 130px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }

  .hero-progress { display: none; }
  .hero-mobile-progress { display: block; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .ferro-stats { gap: 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 16px; }
  .story-line { padding: 0 20px; }
  .glob-wrap { flex-direction: column; gap: 24px; }
  .globe-canvas { width: 280px; height: 280px; }

  /* ---- ABOUT RS ASSOCIATES SECTION — MOBILE FIX ---- */
  .quality-section {
    padding: 40px 0 36px !important;
    background: #F8FAFC !important;
  }
  .quality-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }
  /* Text column */
  .quality-grid > div:first-child {
    order: 1;
    text-align: left !important;
  }
  .quality-grid > div:first-child .section-label {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 14px !important;
    padding-left: 10px !important;
  }
  .quality-grid > div:first-child .section-headline {
    font-size: clamp(22px, 6.5vw, 32px) !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
    color: #0A2438 !important;
  }
  .quality-grid > div:first-child .section-sub {
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin-top: 12px !important;
    max-width: 100% !important;
    color: #334155 !important;
  }
  .quality-grid > div:first-child p {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 16px !important;
  }
  .quality-grid > div:first-child > div[style*="margin-top: 32px"] {
    margin-top: 20px !important;
  }
  .quality-grid > div:first-child .btn-primary {
    font-size: 12px !important;
    padding: 12px 22px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  /* Carousel / visual column */
  .quality-visual {
    order: 2;
    height: 240px !important;
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  #aboutCarousel {
    height: 240px !important;
    aspect-ratio: unset !important;
    border-radius: 10px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-intro { padding: 72px 16px 24px !important; }
  .hero-brand-left { gap: 10px !important; }
  .hero-logo-circle { width: 48px !important; height: 48px !important; }
  .hero-logo-circle img { width: 32px !important; height: 32px !important; }
  .hero-title { font-size: 22px !important; margin-bottom: 4px !important; }
  .hero-subtitle { font-size: 9.5px !important; letter-spacing: 0.1em !important; }

  section,
  .industrial-intro,
  .quality-section,
  .lifecycle-section,
  .ferro-expert-section,
  .featured-experience-section,
  .facility-gallery-section,
  .about-section,
  .capabilities-section,
  .epc-section,
  .ferro-section,
  .fab-section,
  .projects-section,
  .global-section,
  .milestones-section,
  .clients-section,
  .future-section,
  .finalcta-section,
  .contact-section {
    padding: 24px 0 !important;
  }
  .section-intro-header,
  .section-header,
  .process-header {
    margin-bottom: 16px !important;
  }
  .intro-stat {
    flex: 0 0 84% !important;
  }

  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-bg-number { font-size: 80px !important; opacity: 0.05 !important; }
  .footer-nav { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* About section on very small phones */
  .quality-section { padding: 32px 0 28px !important; }
  .quality-grid { gap: 20px !important; }
  .quality-grid > div:first-child .section-headline {
    font-size: 21px !important;
    line-height: 1.15 !important;
  }
  .quality-visual,
  #aboutCarousel {
    height: 210px !important;
  }
}

@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .hero-title { font-size: 36px; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll-hint { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- UTILITIES ---- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-orange), var(--logo-blue-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   UPDATED NAVBAR — EXPANDED LINKS
   ============================================================ */
.nav-links-expanded { gap: 20px; }
.nav-link.active::after { width: 100%; background: #0D6BA3; }
.nav-link.active { color: #0D6BA3 !important; }
.navbar.scrolled .nav-link.active { color: #0D6BA3 !important; }

/* ============================================================
   INDUSTRIAL STATS / INTRO SECTION
   ============================================================ */
.industrial-intro {
  padding: 60px 0;
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.industrial-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,102,0,0.025) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,102,0,0.025) 40px);
  pointer-events: none;
}
.intro-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 48px;
}
.intro-headline em { font-style: normal; color: var(--logo-orange); }
.intro-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.intro-stat {
  padding: 32px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.4s, border-color 0.4s;
}
.intro-stat:hover {
  background: rgba(255,102,0,0.06);
  border-color: rgba(255,102,0,0.2);
}
.intro-stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}
.intro-stat-num .counter { display: inline; }
.intro-stat-num sup {
  font-size: 0.45em;
  color: var(--logo-orange);
  vertical-align: super;
}
.intro-stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ============================================================
   QUALITY & SAFETY SECTION
   ============================================================ */
.quality-section {
  padding: 70px 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quality-visual {
  position: relative;
  height: 480px;
  background: transparent;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.quality-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---- CARD STACK ---- */
.qstack {
  position: relative;
  width: 100%;
  height: 100%;
}
.qstack-card {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease, z-index 0s;
  will-change: transform, opacity;
  cursor: pointer;
}
.qstack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}
/* Position 0 = top (active) */
.qstack-card[data-pos="0"] {
  z-index: 5; transform: translateY(0px) scale(1); opacity: 1;
}
.qstack-card[data-pos="1"] {
  z-index: 4; transform: translateY(14px) scale(0.97); opacity: 0.75;
}
.qstack-card[data-pos="2"] {
  z-index: 3; transform: translateY(26px) scale(0.94); opacity: 0.5;
}
.qstack-card[data-pos="3"] {
  z-index: 2; transform: translateY(36px) scale(0.91); opacity: 0.28;
}
.qstack-card[data-pos="4"] {
  z-index: 1; transform: translateY(44px) scale(0.88); opacity: 0;
}
/* Exit — top card flies out to left */
.qstack-card.qstack-exit {
  transform: translateX(-110%) rotate(-6deg) !important;
  opacity: 0 !important;
  z-index: 6 !important;
  transition: transform 0.55s cubic-bezier(0.4,0,1,1), opacity 0.4s ease !important;
}

/* Dots */
.qstack-dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.qstack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(11,19,43,0.2);
  border: 1px solid rgba(11,19,43,0.3);
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
  display: inline-block;
}
.qstack-dot.active {
  background: var(--logo-orange);
  border-color: var(--logo-orange);
  width: 22px;
  border-radius: 4px;
}
.quality-blueprint { display: none; }
.quality-scan-beam { display: none; }

.quality-hud-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  overflow: hidden;
}
.quality-hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  background: rgba(5, 6, 7, 0.85);
  border: 1px solid rgba(255, 102, 0, 0.4);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  border-radius: 2px;
}
.quality-hud-tag.top-left { align-self: flex-start; }
.quality-hud-tag.bottom-right { align-self: flex-end; }
.hud-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: hudPulse 1.5s infinite;
}
@keyframes hudPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}
.hud-num {
  color: var(--logo-orange);
  font-weight: 800;
}
.quality-hud-radar {
  position: absolute;
  bottom: 24px; left: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 102, 0, 0.4);
  background: rgba(5, 6, 7, 0.6);
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.radar-circle {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 102, 0, 0.3);
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,102,0,0.5) 0deg, transparent 60deg);
  animation: radarSpin 2.5s linear infinite;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.quality-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.quality-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--easing);
}
.quality-item:hover {
  border-color: var(--logo-orange);
  box-shadow: 0 12px 32px rgba(255,102,0,0.08);
  transform: translateY(-2px);
}
.quality-item-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--logo-orange);
}
.quality-item h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.quality-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   VISION / MISSION / STRENGTH CARDS
   ============================================================ */
.vms-section {
  padding: 140px 0;
  background: var(--bg);
}
.vms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.vms-card {
  background: var(--bg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.vms-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--logo-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--easing);
}
.vms-card:hover::before { transform: scaleX(1); }
.vms-card:hover { background: var(--surface); }
.vms-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(6,59,102,0.1);
  line-height: 1;
  margin-bottom: 24px;
  position: absolute;
  top: 20px; right: 24px;
}
.vms-label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--logo-orange);
  margin-bottom: 16px;
  display: block;
}
.vms-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.vms-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   PROJECT FILTERS
   ============================================================ */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.proj-filter-btn {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  background: #FFFFFF;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  min-height: 40px;
}
.proj-filter-btn:hover,
.proj-filter-btn.active {
  color: #FFFFFF;
  background: var(--logo-orange);
  border-color: var(--logo-orange);
  box-shadow: 0 4px 16px var(--logo-orange-glow);
}
.proj-card[hidden] { display: none; }
.proj-status {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  background: var(--logo-blue-light);
  padding: 4px 10px;
  margin-top: 8px;
}
.proj-status.completed { background: #16a34a; }
.proj-status.ongoing { background: var(--logo-orange); }

/* ============================================================
   FULLSCREEN PROJECT VIEWER
   ============================================================ */
.proj-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.proj-modal.open { opacity: 1; visibility: visible; }
.proj-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,6,7,0.92);
  backdrop-filter: blur(8px);
}
.proj-modal-inner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  max-width: 900px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--easing);
}
.proj-modal.open .proj-modal-inner { transform: none; }
.proj-modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.proj-modal-body { padding: 40px; }
.proj-modal-type {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--logo-orange);
  margin-bottom: 12px;
  display: block;
}
.proj-modal-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}
.proj-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proj-modal-meta-item label {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.proj-modal-meta-item span {
  font-size: 13px;
  font-weight: 600;
}
.proj-modal-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.proj-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,6,7,0.8);
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.proj-modal-close:hover { background: var(--logo-orange); }

/* ============================================================
   FACILITY PAGE
   ============================================================ */
.facility-hero {
  padding: 200px 0 120px;
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.facility-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,102,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,102,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.facility-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.facility-hero-headline em { font-style: normal; color: var(--logo-orange); }
.facility-story {
  padding: 0;
}
.facility-story-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  position: relative;
}
.facility-story-step:nth-child(even) { direction: rtl; }
.facility-story-step:nth-child(even) > * { direction: ltr; }
.facility-story-img {
  position: relative;
  overflow: hidden;
  background: var(--surface2);
}
.facility-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--easing);
}
.facility-story-step:hover .facility-story-img img { transform: scale(1.04); }
.facility-story-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.facility-story-step:nth-child(odd) .facility-story-content { background: var(--surface); }
.facility-step-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(6,59,102,0.1);
  line-height: 1;
  margin-bottom: 0;
}
.facility-step-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}
.facility-step-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.facility-metrics {
  padding: 120px 0;
  background: var(--brand-dark);
}
.facility-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.facility-metric {
  padding: 50px 36px;
  background: rgba(255,255,255,0.02);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.facility-metric-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 10px;
}
.facility-metric-num em { font-style: normal; color: var(--logo-orange); }
.facility-metric-label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-hero {
  padding: 180px 0 80px;
  background: var(--brand-dark);
}
.gallery-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.gallery-hero-headline em { font-style: normal; color: var(--logo-orange); }
.gallery-section { padding: 80px 0 120px; background: var(--bg); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.gallery-filter-btn {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 40px;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  color: #FFFFFF;
  background: var(--logo-blue);
  border-color: var(--logo-blue);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface2);
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 8/3; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 2/3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
  loading: lazy;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,6,7,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #FFFFFF;
}
/* Fullscreen Viewer */
.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,6,7,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.gallery-viewer.open { opacity: 1; visibility: visible; }
.gallery-viewer-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.3s var(--easing);
}
.gallery-viewer-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}
.gallery-viewer-close:hover { background: var(--logo-orange); }
.gallery-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s, border-color 0.2s;
}
.gallery-viewer-nav:hover { background: var(--logo-orange); border-color: var(--logo-orange); }
.gallery-viewer-prev { left: 20px; }
.gallery-viewer-next { right: 20px; }
.gallery-viewer-counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.insights-hero {
  padding: 180px 0 80px;
  background: var(--brand-dark);
}
.insights-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.insights-hero-headline em { font-style: normal; color: var(--logo-orange); }
.insights-section { padding: 80px 0 120px; background: var(--bg); }
.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.insights-filter-btn {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 40px;
}
.insights-filter-btn.active,
.insights-filter-btn:hover {
  color: #FFFFFF;
  background: var(--logo-blue);
  border-color: var(--logo-blue);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  perspective: 1000px;
}
.insight-card:hover {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12), 0 0 20px rgba(255, 102, 0, 0.15);
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg) scale(1.01);
  border-color: var(--logo-orange);
}
.insight-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.insight-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 102, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.insight-card:hover .insight-card-img img { transform: scale(1.1); }
.insight-card-body { padding: 28px; }
.insight-cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--logo-orange);
  display: block;
  margin-bottom: 10px;
}
.insight-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.insight-card:hover .insight-title { color: var(--logo-orange); }
.insight-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.insight-date {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.insight-read {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--logo-blue-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.insight-card:hover .insight-read { gap: 10px; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-hero {
  padding: 200px 0 120px;
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,102,0,0.08) 0%, transparent 60%);
}
.careers-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.careers-hero-headline em { font-style: normal; color: var(--logo-orange); }
.careers-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.careers-section { padding: 100px 0 140px; background: var(--bg); }
.careers-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 80px;
}
.career-cat {
  background: var(--bg);
  padding: 40px 32px;
  cursor: default;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.career-cat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--logo-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--easing);
}
.career-cat:hover::after { transform: scaleX(1); }
.career-cat:hover { background: var(--surface); }
.career-cat-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--logo-blue-light);
  margin-bottom: 16px;
}
.career-cat h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.career-cat p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.careers-cta-block {
  background: var(--brand-dark);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,102,0,0.03) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,102,0,0.03) 40px);
}
.careers-cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
}
.careers-cta-block h2 em { font-style: normal; color: var(--logo-orange); }
.careers-cta-block p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  position: relative;
}
.careers-cta-block .btn-primary { position: relative; }

/* ============================================================
   GET A QUOTE — MULTI-STEP WIZARD
   ============================================================ */
.quote-hero {
  padding: 180px 0 80px;
  background: var(--brand-dark);
}
.quote-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.quote-hero-headline em { font-style: normal; color: var(--logo-orange); }
.quote-section { padding: 80px 0 140px; background: var(--bg); }
.quote-wrapper {
  max-width: 780px;
  margin: 0 auto;
}
.quote-progress {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
  position: relative;
}
.quote-progress::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.quote-progress-fill {
  position: absolute;
  top: 14px; left: 0;
  height: 1px;
  background: var(--logo-orange);
  transition: width 0.5s var(--easing);
  z-index: 1;
}
.quote-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.quote-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
  font-size: 10px;
  color: var(--muted);
  transition: all 0.3s var(--easing);
}
.quote-step-indicator.active .quote-step-dot {
  background: var(--logo-orange);
  border-color: var(--logo-orange);
  color: #FFFFFF;
  box-shadow: 0 0 16px var(--logo-orange-glow);
}
.quote-step-indicator.done .quote-step-dot {
  background: var(--logo-blue-light);
  border-color: var(--logo-blue-light);
  color: #FFFFFF;
}
.quote-step-label {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}
.quote-step-indicator.active .quote-step-label { color: var(--logo-orange); }
.quote-step-indicator.done .quote-step-label { color: var(--logo-blue-light); }
.quote-panel {
  display: none;
}
.quote-panel.active { display: block; animation: panelFadeIn 0.4s var(--easing); }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; }
}

/* ==========================================================================
   MAIN FOOTER DESIGN — HIGH-CONTRAST PROFESSIONAL INDUSTRIAL DARK THEME
   ========================================================================== */
.main-footer {
  position: relative;
  background: #050A10 !important;
  color: #94A3B8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(63, 168, 220, 0.2);
  z-index: 20;
  overflow: hidden;
}

.main-footer.white-theme-footer {
  background: #FFFFFF !important;
  color: #475569 !important;
  border-top: 1px solid rgba(10, 36, 56, 0.08) !important;
  box-shadow: 0 -10px 30px rgba(10, 36, 56, 0.03);
}

.white-theme-footer .footer-bg-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(13, 107, 163, 0.05) 0%, transparent 70%) !important;
}

.footer-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 250px;
  background: radial-gradient(ellipse at 50% 0%, rgba(13, 107, 163, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 44px 0 24px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 32px !important;
  }
  .footer-brand-logo {
    gap: 10px !important;
  }
  .footer-brand-title {
    font-size: 20px !important;
  }
  .footer-about-text {
    font-size: 13px !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }
  .footer-col-title {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 20px !important;
  }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-badge {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(63, 168, 220, 0.6);
  box-shadow: 0 0 18px rgba(13, 107, 163, 0.4);
  flex-shrink: 0;
}

.footer-logo-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #3FA8DC;
  margin-top: 4px;
}

.footer-about-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 20px;
  max-width: 380px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social-btn.li { background: #0077B5; box-shadow: 0 4px 14px rgba(0, 119, 181, 0.35); }
.footer-social-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35); }
.footer-social-btn.wa { background: #25D366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  background: #3FA8DC;
  border-radius: 1px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-link-list a:hover {
  color: #3FA8DC !important;
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #94A3B8;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(13, 107, 163, 0.15);
  border: 1px solid rgba(63, 168, 220, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3FA8DC;
  flex-shrink: 0;
}

.footer-contact-detail {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3FA8DC;
  margin-bottom: 2px;
}

.footer-contact-value {
  font-size: 13px;
  line-height: 1.5;
  color: #E2E8F0;
  font-weight: 500;
  word-break: break-word;
}

a.footer-contact-item:hover .footer-contact-value {
  color: #3FA8DC;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
}

.footer-copyright strong {
  color: #E2E8F0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: #94A3B8;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #3FA8DC;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

.quote-panel-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}
.quote-panel-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.quote-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quote-option {
  padding: 24px 20px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  background: var(--bg);
}
.quote-option:hover { border-color: var(--logo-orange); background: rgba(255,102,0,0.03); }
.quote-option.selected {
  border-color: var(--logo-orange);
  background: rgba(255,102,0,0.06);
}
.quote-option h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.quote-option p { font-size: 12px; color: var(--muted); }
.quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.quote-btn-back {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  padding: 14px 24px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.quote-btn-back:hover { color: var(--text); border-color: var(--text); }
.quote-btn-next {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--logo-orange);
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  min-height: 52px;
}
.quote-btn-next:hover {
  background: var(--logo-orange-light);
  box-shadow: 0 4px 20px var(--logo-orange-glow);
  transform: translateY(-2px);
}
.quote-success {
  text-align: center;
  padding: 80px 40px;
  display: none;
}
.quote-success.show { display: block; animation: panelFadeIn 0.5s var(--easing); }
.quote-success-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
}
.quote-success h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.quote-success p { font-size: 16px; color: var(--muted); }
.quote-error-msg {
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #dc2626; }
.form-field.has-error .quote-error-msg { display: block; }

/* ============================================================
   EXPANDED FOOTER
   ============================================================ */
.footer-expanded .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.footer-brand-col { max-width: 440px; }
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.footer-about-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-link:hover {
  color: var(--logo-orange);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--logo-orange);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col-links a:hover {
  color: var(--logo-orange);
  padding-left: 4px;
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--navy); }

/* Real Social Icons Styling */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--navy);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Social Hover Colors */
.footer-social-link.wa:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  transform: translateY(-3px);
}
.footer-social-link.ig:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.3);
  transform: translateY(-3px);
}
.footer-social-link.li:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.3);
  transform: translateY(-3px);
}
.footer-social-link.tw:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ============================================================
   PAGE HERO (SUBPAGE) COMMON
   ============================================================ */
.page-hero {
  padding: 180px 0 100px;
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,102,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,102,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--logo-orange);
  border: 1px solid rgba(255,102,0,0.3);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.page-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.page-hero-headline em { font-style: normal; color: var(--logo-orange); }
.page-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */
.tech-section {
  padding: 140px 0;
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,59,102,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,59,102,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.tech-item {
  padding: 48px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s, border-color 0.4s;
  text-align: center;
}
.tech-item:hover {
  background: rgba(6,59,102,0.2);
  border-color: rgba(10,95,163,0.3);
}
.tech-item-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--logo-orange);
}
.tech-item h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.tech-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ============================================================
   SUSTAINABILITY SECTION
   ============================================================ */
.sustain-section {
  padding: 140px 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}
.sustain-item {
  background: var(--bg);
  padding: 40px 28px;
  text-align: center;
  transition: background 0.3s;
}
.sustain-item:hover { background: var(--surface2); }
.sustain-item-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  color: var(--logo-blue-light);
}
.sustain-item h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sustain-item p { font-size: 12px; color: var(--muted); line-height: 1.6; }
/* ============================================================
   UPDATED RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1280px) {
  .quality-items { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .sustain-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-nav { display: none !important; }   /* Hide Quick Links + Services on large tablets */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-categories { grid-template-columns: repeat(2, 1fr); }
  .facility-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .vms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .quality-grid { grid-template-columns: 1fr; }
  .facility-story-step { grid-template-columns: 1fr; }
  .facility-story-step:nth-child(even) { direction: ltr; }
  .facility-story-img { min-height: 300px; }
  .proj-modal-meta { grid-template-columns: 1fr 1fr; }
  .quote-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-col-nav { display: none !important; }   /* Hide Quick Links + Services on tablet/mobile */
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .insights-grid { grid-template-columns: 1fr; }
  .careers-categories { grid-template-columns: 1fr; }
  .facility-metrics-grid { grid-template-columns: 1fr 1fr; }
  .proj-modal-meta { grid-template-columns: 1fr; }
  .facility-story-content { padding: 40px 24px; }
  .careers-cta-block { padding: 48px 24px; }
  .vms-card { padding: 40px 24px; }
  .quality-item { padding: 24px 20px; }
  .quote-progress { overflow-x: auto; padding-bottom: 8px; }
  .quote-step-label { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .tech-grid { grid-template-columns: 1fr; }
  .sustain-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide,
  .gallery-item.tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .facility-metrics-grid { grid-template-columns: 1fr; }
  .proj-filters { gap: 6px; }
  .proj-filter-btn { padding: 8px 14px; font-size: 9px; }
  .quote-options { grid-template-columns: 1fr; }
  .careers-hero { padding: 140px 0 80px; }
  .quote-hero { padding: 140px 0 60px; }
}
  .quote-hero { padding: 140px 0 60px; }
/* ============================================================
   FLOATING SOCIAL MEDIA BAR
   ============================================================ */
.floating-social-bar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}
.social-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(5, 6, 7, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--easing), background 0.35s, border-color 0.35s, box-shadow 0.35s;
  position: relative;
  text-decoration: none;
}
.social-float-btn.whatsapp { color: #25D366; }
.social-float-btn.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}
.social-float-btn.instagram { color: #E1306C; }
.social-float-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #FFFFFF;
  border-color: #E1306C;
  box-shadow: 0 0 25px rgba(225, 48, 108, 0.6);
}
.social-float-btn.facebook { color: #1877F2; }
.social-float-btn.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  box-shadow: 0 0 25px rgba(24, 119, 242, 0.6);
}
.social-float-btn.linkedin { color: #0A66C2; }
.social-float-btn.linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
  box-shadow: 0 0 25px rgba(10, 102, 194, 0.6);
}
.social-float-btn:hover {
  transform: translateX(-4px) scale(1.1);
}
.social-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(5, 6, 7, 0.95);
  color: #FFFFFF;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--easing), visibility 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.social-float-btn:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  .floating-social-bar {
    right: 16px;
    bottom: 24px;
    top: auto;
    transform: none;
    flex-direction: row;
    gap: 10px;
    background: rgba(5, 6, 7, 0.9);
    padding: 8px 14px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
  }
  .social-float-btn {
    width: 40px; height: 40px;
    box-shadow: none;
  }
  .social-tooltip { display: none; }
}

/* ==========================================================================
   3D CINEMATIC TEAM CARDS & HOVER EFFECTS
   ========================================================================== */
.team-3d-perspective {
  perspective: 1200px;
}

.team-card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Ambient orange/blue laser rim glow on hover */
.team-card-3d::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--logo-orange) 0%, transparent 40%, var(--logo-blue-light) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.team-card-3d:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg) scale(1.02);
  box-shadow: 0 25px 50px rgba(235, 94, 40, 0.18), 0 10px 20px rgba(15, 23, 42, 0.12);
  border-color: rgba(235, 94, 40, 0.4) !important;
}

.team-card-3d:hover::before {
  opacity: 0.15;
}

/* 3D Pop elements inside card */
.team-card-3d .team-pop-header {
  transform: translateZ(30px);
  transition: transform 0.4s ease;
}
.team-card-3d:hover .team-pop-header {
  transform: translateZ(45px);
}

.team-card-3d .team-pop-badge {
  transform: translateZ(20px);
  transition: transform 0.4s ease;
}
.team-card-3d:hover .team-pop-badge {
  transform: translateZ(35px);
  background: var(--logo-orange) !important;
  color: #ffffff !important;
}

/* GM Small 3D Cards */
.gm-card-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.3s ease;
  cursor: pointer;
}

.gm-card-3d:hover {
  transform: translateY(-8px) rotateX(6deg) scale(1.03);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12), 0 0 20px rgba(235, 94, 40, 0.15);
  border-color: var(--logo-orange) !important;
}

/* ==========================================================================
   OUR CLIENTS AUTO SCROLL TICKER
   ========================================================================== */
.clients-section {
  padding: 80px 0;
  background: var(--bg-dark, #06090e);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-section .section-headline {
  font-size: clamp(28px, 4vw, 48px);
  margin-top: 8px;
  margin-bottom: 40px;
  color: #ffffff;
}

.clients-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: scrollClients 35s linear infinite;
}

.clients-ticker:hover .clients-track {
  animation-play-state: paused;
}

.client-logo-item {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--easing, ease), box-shadow 0.3s var(--easing, ease);
}

.client-logo-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.25);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(10%) contrast(105%);
  transition: filter 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%) contrast(100%);
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   PARTICLES SYSTEM POSITIONING (BACKDROP ATTACHMENT)
   ========================================================================== */
#globalParticlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Above section backgrounds, below section text/images */
}

/* Position all section containers and main navigation above particles */
.container,
.nav-inner,
.navbar,
.footer,
.hero,
.hero-content,
.about-grid,
.cap-grid,
.contact-grid,
.safety-grid,
.cg-sticky,
.cg-slide,
.cg-end,
.social-float,
.clients-section .section-headline,
.clients-ticker {
  position: relative;
  z-index: 2; /* Sits above canvas particles */
}

section,
header,
footer,
.clients-section {
  position: relative;
  z-index: 0; /* Backgrounds sit below particles canvas */
}

/* ---- RS CARD V2 — DATA-DRIVEN CARDS ---- */
.rs-card-v2 {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}
.rs-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 77, 120, 0.14) !important;
}

/* ---- CAP CARD HOVER ---- */
.cap-card-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}
.cap-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(10, 77, 120, 0.18) !important;
}

/* ============================================================
   GLOBAL RS LOGO CLICK RIPPLE EFFECT
   ============================================================ */
/* ---- Rs Logo on every button (permanent icon) ---- */
.btn-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 8px;
  vertical-align: middle;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-logo-icon img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
  filter: brightness(10);
}

/* Darker button variants — keep logo visible */
a[href]:is(.btn-secondary, .btn-outline) .btn-logo-icon img,
button.btn-outline .btn-logo-icon img {
  filter: brightness(1);
}

/* ---- Click burst animation ---- */
.rs-click-ripple {
  position: absolute;
  width: 54px;
  height: 54px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 1;
  animation: rsRippleEffect 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 99;
}

@keyframes rsRippleEffect {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.6); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.rs-card-v2 {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Shine Sweep Setup */
.rs-card-v2::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
}

.rs-card-v2::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(13,107,163,0.05) 0%, rgba(10,36,56,0.01) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rs-card-v2:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 40px 70px -15px rgba(10,36,56,0.3), 0 20px 30px -10px rgba(13,107,163,0.25), 0 0 0 1px rgba(13,107,163,0.4) !important;
  border-color: transparent !important;
  z-index: 10;
}

.rs-card-v2:hover::after {
  opacity: 1;
}

.rs-card-v2:hover::before {
  animation: shineSweep 0.8s ease-out forwards;
}

@keyframes shineSweep {
  100% { left: 200%; }
}

.rs-card-v2 .card-title {
  transition: color 0.3s ease;
}

.rs-card-v2:hover .card-title {
  color: #0D6BA3 !important;
}

.rs-card-v2 .view-details {
  transition: all 0.3s ease;
}

.rs-card-v2:hover .view-details {
  transform: translateX(8px);
  color: #0A2438 !important;
  font-weight: 900 !important;
}

.rs-card-v2 .card-content-wrap {
  position: relative;
  z-index: 2;
}




/* ============================================================
   MODAL STYLES (PROJECTS & WORKSHOP)
   ============================================================ */
.rs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 11, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.rs-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rs-modal-content {
  background: #FFFFFF;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.rs-modal-overlay.active .rs-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.rs-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #F8FAFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(10, 77, 120, 0.1);
  color: #0A2438;
  font-size: 20px;
  transition: all 0.2s ease;
  z-index: 10;
}

.rs-modal-close:hover {
  background: #0D6BA3;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.rs-modal-header-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.rs-modal-body {
  padding: 40px;
}

.rs-modal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(13,107,163,0.1);
  color: #0D6BA3;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rs-modal-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #0A2438;
  margin-bottom: 8px;
  line-height: 1.2;
}

.rs-modal-subtitle {
  font-size: 18px;
  color: #0D6BA3;
  font-weight: 800;
  margin-bottom: 24px;
}

.rs-modal-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 30px;
}

.rs-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  border-top: 1px solid rgba(10, 77, 120, 0.1);
  padding-top: 24px;
}

.rs-modal-grid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rs-modal-grid-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #8B9096;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rs-modal-grid-value {
  font-size: 14px;
  color: #0F172A;
  font-weight: 700;
}

/* ============================================================
   GOOEY NAV ANIMATION (REACT BITS 1:1 SPEC - BLUE THEME)
   ============================================================ */
:root {
  --color-1: #00D2FF;
  --color-2: #0D6BA3;
  --color-3: #38BDF8;
  --color-4: #60A5FA;
}

/* Disable old static underline on nav links */
.nav-link::after,
.nav-link.active::after,
.navbar .nav-link.active::after,
.navbar.scrolled .nav-link.active::after {
  display: none !important;
}

.gooey-nav-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.gooey-nav-container nav {
  display: flex;
  position: relative;
  transform: translate3d(0, 0, 0.01px);
}

.nav-links {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  border-radius: 100vw;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0.5px 1.5px transparent;
}

.nav-links li a,
.nav-links li .nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-label, -apple-system, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #475569;
  transition: color 0.3s ease;
}

.navbar:not(.navbar--light) .nav-links li a {
  color: #0A2438 !important;
}

.nav-links li::after {
  display: none !important;
}

.nav-links li.active {
  color: white;
}

.nav-links li.active a {
  color: #0D6BA3 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.gooey-nav-container .effect.text {
  display: none !important;
}

.nav-links li.active::after {
  display: none !important;
}

/* React Bits Effect Elements */
.gooey-nav-container .effect {
  display: none !important;
}

.gooey-nav-container .effect.text {
  font-family: var(--font-label, -apple-system, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
  transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease, color 0.3s ease;
}

.gooey-nav-container .effect.text.active {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.9);
}

.gooey-nav-container .effect.filter {
  filter: blur(6px) contrast(30);
  mix-blend-mode: screen;
  z-index: 2;
  transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.gooey-nav-container .effect.filter::after {
  display: none !important;
}

.gooey-nav-container .effect.filter.active::after {
  animation: pill 0.3s ease both;
}

@keyframes pill {
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* ============================================================
   MOBILE BUTTON SYSTEM — GLOBAL FIX
   Touch-friendly sizing, tap animations, proper shape & spacing
   ============================================================ */

@keyframes btnTapPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.94); }
  70%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {

  /* ---- GLOBAL BUTTON BASE — Touch targets ---- */
  .btn-primary,
  .btn-ghost,
  .hero-btn-primary,
  .hero-btn-ghost {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition:
      transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
      background 0.22s ease !important;
    white-space: nowrap !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    border-radius: 6px !important;
  }

  /* Tap press animation */
  .btn-primary:active,
  .btn-ghost:active,
  .hero-btn-primary:active,
  .hero-btn-ghost:active {
    animation: btnTapPulse 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  }

  /* ---- PRIMARY BUTTON ---- */
  .btn-primary {
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #0D6BA3 0%, #0A4D78 100%) !important;
    border: 1.5px solid #3FA8DC !important;
    box-shadow: 0 4px 16px rgba(13,107,163,0.4) !important;
    color: #fff !important;
  }
  .btn-primary:active {
    background: linear-gradient(135deg, #3FA8DC 0%, #0D6BA3 100%) !important;
  }

  /* ---- GHOST BUTTON ---- */
  .btn-ghost {
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    padding: 13px 26px !important;
    background: rgba(10,36,56,0.88) !important;
    border: 1.5px solid rgba(255,255,255,0.28) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3) !important;
    color: #fff !important;
    backdrop-filter: blur(8px) !important;
  }
  .btn-ghost:active {
    background: rgba(13,107,163,0.55) !important;
    border-color: #3FA8DC !important;
  }

  /* ---- HERO CTA BUTTONS — stacked full-width on mobile ---- */
  .hero-ctas {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100% !important;
    font-size: 10px !important;
    padding: 14px 20px !important;
    letter-spacing: 0.18em !important;
    border-radius: 6px !important;
    justify-content: center !important;
  }
  .hero-btn-primary {
    background: linear-gradient(135deg, rgba(13,107,163,0.95) 0%, rgba(10,77,120,0.95) 100%) !important;
    border: 1.5px solid #3FA8DC !important;
    box-shadow: 0 5px 20px rgba(13,107,163,0.5) !important;
  }
  .hero-btn-ghost {
    background: rgba(5,10,16,0.65) !important;
    border: 1.5px solid rgba(63,168,220,0.6) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  .hero-btn-primary:active {
    background: linear-gradient(135deg, #3FA8DC 0%, #0D6BA3 100%) !important;
    box-shadow: 0 2px 8px rgba(13,107,163,0.4) !important;
  }
  .hero-btn-ghost:active {
    background: rgba(13,107,163,0.45) !important;
    border-color: #3FA8DC !important;
  }

  /* ---- ABOUT & SECTION CTAs — full width ---- */
  .quality-grid > div:first-child .btn-primary {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    padding: 14px 24px !important;
    font-size: 11px !important;
  }

  /* Remove desktop hover lifts on touch — use :active instead */
  .btn-primary:hover,
  .btn-ghost:hover,
  .hero-btn-primary:hover,
  .hero-btn-ghost:hover {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-ghost {
    font-size: 10.5px !important;
    padding: 13px 22px !important;
    letter-spacing: 0.15em !important;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    font-size: 9.5px !important;
    padding: 13px 16px !important;
    letter-spacing: 0.14em !important;
  }
}

/* React Bits Particle Animations */
.gooey-nav-container .particle,
.gooey-nav-container .point {
  display: block;
  opacity: 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  transform-origin: center;
}

.gooey-nav-container .particle {
  --time: 600ms;
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  animation: particle calc(var(--time)) ease 1 -350ms;
}

.gooey-nav-container .point {
  background: var(--color, #00D2FF);
  box-shadow: 0 0 12px var(--color, #00D2FF);
  opacity: 1;
  animation: point calc(var(--time)) ease 1 -350ms;
}

@keyframes particle {
  0% {
    transform: rotate(0deg) translate(calc(var(--start-x)), calc(var(--start-y)));
    opacity: 1;
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  70% {
    transform: rotate(calc(var(--rotate) * 0.5)) translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2));
    opacity: 1;
    animation-timing-function: ease;
  }
  85% {
    transform: rotate(calc(var(--rotate) * 0.66)) translate(calc(var(--end-x)), calc(var(--end-y)));
    opacity: 1;
  }
  100% {
    transform: rotate(calc(var(--rotate) * 1.2)) translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5));
    opacity: 1;
  }
}

@keyframes point {
  0% {
    transform: scale(0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  25% {
    transform: scale(calc(var(--scale) * 0.25));
  }
  38% {
    opacity: 1;
  }
  65% {
    transform: scale(var(--scale));
    opacity: 1;
    animation-timing-function: ease;
  }
  85% {
    transform: scale(var(--scale));
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* ---- R TECHH NAVBAR BADGE (SEAMLESS NAVBAR INTEGRATION) ---- */
.rs-rtechh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 56px;
  margin-inline-start: 12px;
  vertical-align: middle;
  background: transparent !important;
  border: 0 !important;
  outline: none;
  box-shadow: none !important;
  line-height: 0;
  border-radius: 4px;
  transition: outline 0.2s ease, transform 0.25s ease;
}
.rs-rtechh-badge:focus-visible {
  outline: 2px solid #0D6BA3;
  outline-offset: 3px;
}
.rs-rtechh-badge iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none;
  overflow: hidden;
  box-shadow: none !important;
}
@media (max-width: 1024px) {
  .rs-rtechh-badge {
    flex-basis: 48px;
    width: 48px;
    height: 50px;
    margin-inline-start: 8px;
  }
}
@media (max-width: 480px) {
  .rs-rtechh-badge {
    flex-basis: 42px;
    width: 42px;
    height: 44px;
    margin-inline-start: 6px;
  }
}

/* Mobile Dropdown styles added */
.mobile-sub-menu.show-mobile-dropdown {
  display: flex !important;
}

/* Service Card White Theme Styles */
.service-card-white:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(13, 107, 163, 0.16) !important;
  border-color: #0D6BA3 !important;
}
.service-card-white:hover .card-img {
  transform: scale(1.06) !important;
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM & ACCESSIBILITY HARDENING
   ============================================================ */

/* Safe Area Insets for Mobile Header & Drawer */
.navbar {
  padding-top: max(12px, env(safe-area-inset-top));
}
.mobile-menu {
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Touch Targets: minimum 44x44px for buttons, inputs, links */
button, 
.btn, 
.nav-link, 
.mobile-nav-link,
.hamburger-btn,
.mobile-close-btn,
.filter-btn,
.tab-btn,
.accordion-header,
.lightbox-close,
.social-icon-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Base Responsive Container Spacing */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  section:not(.hero-section) {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Fluid Typography for Mobile Headlines */
  h1, .hero-title {
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title {
    font-size: clamp(22px, 5.5vw, 30px) !important;
    line-height: 1.3 !important;
  }
  h3 {
    font-size: clamp(18px, 4.5vw, 24px) !important;
    line-height: 1.35 !important;
  }
  p, body {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* Prevent flex/grid item overflow */
  .grid, .flex, [class*="-grid"], [class*="-flex"] {
    min-width: 0;
  }

  /* Responsive Images */
  img, video, canvas {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  section:not(.hero-section) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* Table Containment Wrapper for Mobile */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}
.table-responsive-wrapper table {
  width: 100%;
  min-width: 600px;
}

/* Lightbox Mobile Ergonomics */
.lightbox-modal, .home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 10, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.lightbox-content, .home-lightbox-img {
  max-width: 92vw !important;
  max-height: 82vh !important;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
}

/* Reduced Motion Mode (System Preference Fallback) */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .revealed {
    opacity: 1 !important;
    transform: none !important;
  }
}

