/* ==========================================================================
   ManGENIUS Staffing LLC - Master Stylesheet
   Corporate Design System & Shared Component Foundation
   Color Palette: #000000 (Black) | #191919 (Dark Grey) | #FF6B1A (Brand Orange)
                  #FFFFFF (White) | #F7F7F7 (Light Grey)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (Google Fonts loaded via <link> in HTML <head>)
   -------------------------------------------------------------------------- */

:root {
  /* Brand Core Colors */
  --color-black: #000000;
  --color-dark-grey: #191919;
  --color-charcoal: #222222;
  --color-mid-grey: #4A4A4A;
  --color-muted-grey: #767676;
  --color-border: #E5E7EB;
  --color-border-dark: #2E2E2E;
  --color-light-grey: #F7F7F7;
  --color-white: #FFFFFF;
  
  /* Brand Accent */
  --color-orange: #FF6B1A;
  --color-orange-hover: #E65A0D;
  --color-orange-active: #CC4E0A;
  --color-orange-subtle: rgba(255, 107, 26, 0.08);
  --color-orange-glow: rgba(255, 107, 26, 0.25);
  
  /* Typography (Unified Inter — Apple-inspired clean typography) */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: var(--font-sans);
  
  /* Type Scale */
  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.25rem;     /* 20px */
  --fs-xl: 1.5rem;      /* 24px */
  --fs-2xl: 1.875rem;   /* 30px */
  --fs-3xl: 2.25rem;    /* 36px */
  --fs-4xl: 3rem;       /* 48px */
  --fs-5xl: 3.75rem;    /* 60px */
  
  /* Font Weights (Apple-inspired crisp hierarchy: 400 body | 500 UI/sub | 600-700 headings) */
  --fw-light: 400;
  --fw-normal: 400;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 600;
  --fw-extrabold: 600;
  
  /* Line Heights */
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
  
  /* Spacing System */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* Layout & Containers */
  --container-max-width: 1280px;
  --container-padding: clamp(1rem, 3.5vw, 2rem);
  --header-height: 80px;
  --topbar-height: 40px;
  
  /* Border Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Box Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-dropdown: 0 20px 35px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-header: 0 2px 20px rgba(0, 0, 0, 0.15);
  --shadow-orange: 0 8px 20px rgba(255, 107, 26, 0.35);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Z-Index Hierarchy */
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-drawer: 1100;
  --z-modal: 1200;
}

/* --------------------------------------------------------------------------
   2. MODERN CSS RESET & GLOBAL BASICS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  letter-spacing: -0.014em;
  color: var(--color-dark-grey);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
  font-weight: var(--fw-semibold);
  font-optical-sizing: auto;
  line-height: var(--lh-snug);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, var(--fs-5xl));
  font-weight: var(--fw-semibold);
  line-height: 1.09;
  letter-spacing: -0.036em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, var(--fs-3xl));
  font-weight: var(--fw-semibold);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, var(--fs-2xl));
  font-weight: var(--fw-semibold);
  letter-spacing: -0.022em;
}

h4 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: -0.018em;
}

h5 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  letter-spacing: -0.014em;
}

h6 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

p {
  font-weight: var(--fw-regular);
  color: var(--color-mid-grey);
  line-height: var(--lh-relaxed);
  letter-spacing: -0.012em;
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.text-lead {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-mid-grey);
  font-weight: var(--fw-normal);
}

.text-bold {
  font-weight: var(--fw-bold);
}

.text-orange {
  color: var(--color-orange);
}

.text-white {
  color: var(--color-white) !important;
}

.text-muted {
  color: var(--color-muted-grey);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & RESPONSIVE CONTAINER SYSTEM
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 960px;
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  position: relative;
}

.section-sm {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Section Background Themes */
.bg-white {
  background-color: var(--color-white);
  color: var(--color-dark-grey);
}

.bg-light {
  background-color: var(--color-light-grey);
  color: var(--color-dark-grey);
}

.bg-dark {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--color-white);
}

.bg-dark p {
  color: #A3A3A3;
}

.bg-black {
  background-color: var(--color-black);
  color: var(--color-white);
}

.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4 {
  color: var(--color-white);
}

.bg-black p {
  color: #B0B0B0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

.grid-12 {
  grid-template-columns: repeat(12, 1fr);
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* --------------------------------------------------------------------------
   5. BUTTON COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

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

/* Orange Accent Button (Primary) */
.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: 0 2px 4px rgba(255, 107, 26, 0.2);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: var(--color-white);
}

.btn-orange:active {
  background-color: var(--color-orange-active);
  transform: translateY(0);
}

/* Dark Button */
.btn-dark {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
  border-color: var(--color-dark-grey);
}

.btn-dark:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: var(--color-white);
}

/* White Button */
.btn-white {
  background-color: var(--color-white);
  color: var(--color-dark-grey);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-light-grey);
  border-color: var(--color-light-grey);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* Outlined Dark Button */
.btn-outline {
  background-color: transparent;
  color: var(--color-dark-grey);
  border-color: var(--color-border-dark);
}

.btn-outline:hover {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
  border-color: var(--color-dark-grey);
}

/* Outlined White Button (for dark sections) */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* Outlined Orange Button */
.btn-outline-orange {
  background-color: transparent;
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.btn-outline-orange:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: var(--fs-base);
}

/* Icon Support */
.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. TOP UTILITY BAR (Corporate Header)
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs);
  color: #A3A3A3;
  padding: 0.45rem 0;
  display: block;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar-item a {
  color: #C0C0C0;
}

.topbar-item a:hover {
  color: var(--color-white);
}

.topbar-socials {
  gap: var(--space-5);
}

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C0C0C0;
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}

.topbar-social-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.topbar-social-link:hover {
  color: var(--color-white);
}

.topbar-social-link:hover svg {
  color: var(--color-orange);
  transform: translateY(-1px);
}

.topbar-badge {
  background-color: rgba(255, 107, 26, 0.15);
  color: var(--color-orange);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-weight: var(--fw-semibold);
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   7. MAIN HEADER & NAVIGATION (Seamless Floating Glass Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-header);
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(8, 12, 20, 0.78) 0%, rgba(8, 12, 20, 0.28) 60%, rgba(8, 12, 20, 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-bottom: none;
  box-shadow: none;
  padding: 0.35rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(10, 13, 20, 0.88);
  background-image: none;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo - 3D Perspective & Depth */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: var(--space-2) 0;
  perspective: 1000px;
  transform-style: preserve-3d;
  cursor: pointer;
}

.brand-logo img {
  height: clamp(50px, 4vw, 58px);
  width: auto;
  object-fit: contain;
  transform: translateZ(0);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, filter;
}

/* 3D Elevated Hover State */
.brand-logo:hover img {
  transform: translateY(-3px) scale(1.04) rotateX(4deg);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.65))
          drop-shadow(0 2px 10px rgba(255, 107, 26, 0.4))
          brightness(1.06);
}

/* 3D Tactile Click / Press State */
.brand-logo:active img {
  transform: translateY(0) scale(0.97);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition-duration: 0.1s;
}

/* Primary Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.84);
  border-radius: 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--color-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  color: var(--color-white);
  background-color: transparent;
}

.nav-link:hover::after,
.nav-item:focus-within > .nav-link::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-white);
  font-weight: var(--fw-bold);
}

.nav-link .dropdown-caret {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

.nav-item:hover .nav-link .dropdown-caret,
.nav-item:focus-within .nav-link .dropdown-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Flyout Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: var(--color-dark-grey);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: var(--space-3) 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-dropdown);
}

/* Show Dropdown on Hover/Focus */
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 0.75rem var(--space-4);
  color: #D1D1D1;
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
}

.dropdown-title {
  font-weight: var(--fw-medium);
  color: var(--color-white);
  margin-bottom: 2px;
}

.dropdown-desc {
  font-size: var(--fs-xs);
  color: #8C8C8C;
  line-height: 1.35;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--color-orange);
  padding-left: calc(var(--space-4) + 4px);
}

.dropdown-link:hover .dropdown-title {
  color: var(--color-orange);
}

.dropdown-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: var(--space-2) 0;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: var(--space-4);
}

.header-actions .btn-outline-white {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 0.55rem 1.15rem;
}

.header-actions .btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.header-actions .btn-orange {
  border-radius: 6px;
  padding: 0.55rem 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.32);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-modal);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(19, 21, 25, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-6);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
  will-change: transform;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer .brand-logo img {
  height: 42px;
  width: auto;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: var(--space-2);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.mobile-nav-link.active {
  color: var(--color-orange);
}

.mobile-dropdown-btn {
  background: none;
  border: none;
  color: var(--color-white);
  padding: 0.5rem;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding: var(--space-2) 0 var(--space-4) var(--space-4);
  gap: var(--space-2);
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  color: #B5B5B5;
  font-size: var(--fs-sm);
  padding: 0.35rem 0;
}

.mobile-submenu a:hover {
  color: var(--color-orange);
}

.mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-contact {
  margin-top: var(--space-6);
  font-size: var(--fs-xs);
  color: #888888;
}

/* --------------------------------------------------------------------------
   8. REUSABLE CARD COMPONENTS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 107, 26, 0.3);
}

/* Dark Card Variant */
.card-dark {
  background-color: var(--color-dark-grey);
  border-color: var(--color-border-dark);
  color: var(--color-white);
}

.card-dark:hover {
  border-color: rgba(255, 107, 26, 0.5);
}

/* Service Card */
.card-service {
  padding: var(--space-8);
  border-top: 3px solid transparent;
}

.card-service:hover {
  border-top-color: var(--color-orange);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all var(--transition-fast);
}

.card:hover .card-icon {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.05);
}

.card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.card-text {
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.card-dark .card-text {
  color: #A0A0A0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-orange);
  margin-top: auto;
}

.card-link .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.card:hover .card-link .icon {
  transform: translateX(4px);
}

/* Industry Card */
.card-industry {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
}

.card-industry-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.card-industry:hover .card-industry-media img {
  transform: scale(1.05);
}

.card-industry-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.card-industry-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Metric / Stat Card */
.card-stat {
  padding: var(--space-8);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  text-align: left;
}

.card-stat-dark {
  background-color: var(--color-dark-grey);
  border-color: var(--color-border-dark);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.card-stat-dark .stat-label {
  color: var(--color-white);
}

.stat-desc {
  font-size: var(--fs-xs);
  color: var(--color-muted-grey);
  line-height: var(--lh-normal);
}

/* Feature Box Component */
.feature-box {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-1);
}

.feature-desc {
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
}

/* --------------------------------------------------------------------------
   9. BADGES & PILLS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-orange {
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 26, 0.2);
}

.badge-dark {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

.badge-white {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   10. HERO PLACEHOLDER & PAGE BANNER SHELL
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: calc(var(--header-height) + clamp(2.75rem, 5vw, 4.25rem)) 0 clamp(2.75rem, 5vw, 4.25rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 26, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: #A3A3A3;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-breadcrumbs a:hover {
  color: var(--color-orange);
}

.hero-breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.3);
}

.hero-breadcrumbs .current {
  color: var(--color-orange);
}

.hero-title {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  max-width: 850px;
}

.hero-subtitle {
  color: #C5C5C5;
  font-size: var(--fs-md);
  max-width: 680px;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   11. FOOTER DESIGN (Corporate 4-Column Layout)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-black);
  color: #A3A3A3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  position: relative;
}

.footer-top {
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

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

/* Fixed Background Image CTA (Homepage "Take The Next Step") */
.cta-fixed-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0);
  background-color: #0a0e16;
}

.cta-fixed-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #0a0e16;
  background-image:
    linear-gradient(135deg, rgba(10, 14, 22, 0.72) 0%, rgba(12, 16, 24, 0.62) 55%, rgba(10, 14, 22, 0.76) 100%),
    url('../images/workplace.jpg');
  background-image:
    linear-gradient(135deg, rgba(10, 14, 22, 0.72) 0%, rgba(12, 16, 24, 0.62) 55%, rgba(10, 14, 22, 0.76) 100%),
    image-set(
      url('../images/optimized/sections/workplace.avif') type('image/avif'),
      url('../images/optimized/sections/workplace.webp') type('image/webp'),
      url('../images/workplace.jpg') type('image/jpeg')
    );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
}

/* Footer Logo - 3D Perspective & Depth */
.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-6);
  perspective: 1000px;
  transform-style: preserve-3d;
  cursor: pointer;
}

.footer-logo img {
  height: clamp(50px, 4vw, 58px);
  width: auto;
  object-fit: contain;
  transform: translateZ(0);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, filter;
}

.footer-logo:hover img {
  transform: translateY(-3px) scale(1.04) rotateX(4deg);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.65))
          drop-shadow(0 2px 10px rgba(255, 107, 26, 0.4))
          brightness(1.06);
}

.footer-logo:active img {
  transform: translateY(0) scale(0.97);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition-duration: 0.1s;
}

.footer-about {
  line-height: var(--lh-relaxed);
  color: #9A9A9A;
  margin-bottom: var(--space-6);
  max-width: 380px;
}

/* Editable Contact Badges in Footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: #C2C2C2;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--color-orange);
}

/* Social Links */
.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
}

/* Footer Link Columns */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-orange);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: #9C9C9C;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-orange);
  transform: translateX(3px);
}

/* Newsletter / Callout box in footer */
.footer-cta-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.footer-cta-card h4,
.footer-cta-card h5 {
  color: var(--color-white);
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.footer-cta-card p {
  font-size: var(--fs-xs);
  color: #999999;
  margin-bottom: var(--space-4);
}

/* Bottom Legal Strip */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-6) 0;
  font-size: var(--fs-xs);
  color: #7A7A7A;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #7A7A7A;
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  border: none;
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   HOMEPAGE COMPONENTS & INTERACTIVE STYLES
   -------------------------------------------------------------------------- */

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   HOMEPAGE IMMERSIVE HERO WITH BACKGROUND IMAGE
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  min-height: min(100vh, 720px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + clamp(1.5rem, 3vh, 2.75rem)) 0 clamp(1.5rem, 3vh, 2.5rem);
  background-color: #0a101d;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: brightness(0.88) contrast(1.04) saturate(0.95);
  transform: scale(1.01);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 13, 24, 0.92) 0%,
      rgba(10, 16, 28, 0.82) 38%,
      rgba(12, 18, 30, 0.48) 68%,
      rgba(10, 15, 25, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 13, 24, 0.42) 0%,
      rgba(8, 13, 24, 0.08) 45%,
      rgba(8, 12, 20, 0.72) 100%
    );
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 107, 26, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 82% 45%, rgba(255, 196, 138, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 13px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-orange);
  box-shadow: 0 0 8px var(--color-orange);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.home-hero .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.9vw, 3.45rem);
  font-weight: var(--fw-semibold);
  line-height: 1.09;
  color: var(--color-white);
  letter-spacing: -0.036em;
  margin-bottom: 1.05rem;
  max-width: 900px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-title-accent {
  color: var(--color-orange);
  display: inline-block;
  background: linear-gradient(135deg, #FF6B1A 0%, #FF8A43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  color: #D6D6D6;
  line-height: 1.58;
  max-width: 660px;
  margin-bottom: 1.65rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-trust-pills {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-2);
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: #C0C0C0;
  background: rgba(25, 25, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 13px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}

.hero-trust-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   HERO TRUST STRIP & LIVE COUNTING METRICS
   -------------------------------------------------------------------------- */
.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: clamp(1.75rem, 3.6vh, 2.75rem);
  padding-top: clamp(1.1rem, 2.2vh, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  padding: 0.2rem 0 0.2rem 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--transition-fast);
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-item:hover {
  transform: translateY(-2px);
}

.trust-item-text {
  display: flex;
  flex-direction: column;
}

.trust-item-stat {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.trust-item-stat .counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.trust-item-stat .stat-suffix {
  color: var(--color-white);
  margin-left: 1px;
}

.trust-item-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

/* About Section Enhancements */
.about-split {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(2.25rem, 4.5vw, 4.25rem);
  align-items: stretch;
}

.about-media-col {
  display: flex;
  flex-direction: column;
}

.about-image-card {
  position: relative;
  flex: 1;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10, 16, 29, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.about-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 29, 0.06) 0%,
    rgba(10, 16, 29, 0.1) 52%,
    rgba(10, 16, 29, 0.72) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background-color: rgba(11, 17, 29, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  max-width: none;
}

.about-floating-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-orange) 0%, #e55a0e 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 26, 0.3);
}

.about-floating-badge .badge-num {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 3px;
}

.about-floating-badge .badge-label {
  font-size: var(--fs-xs);
  color: #CBD5E1;
  line-height: 1.4;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-heading {
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.05rem;
  color: #1E293B;
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.about-body {
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
  line-height: 1.68;
  margin-bottom: 0;
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-5) 0 var(--space-6);
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.about-feature-item:hover {
  background-color: var(--color-white);
  border-color: rgba(255, 107, 26, 0.4);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.about-feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgba(255, 107, 26, 0.12);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.about-feature-item strong {
  color: var(--color-black);
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 2px;
}

.about-feature-item span {
  font-size: var(--fs-xs);
  color: var(--color-mid-grey);
  line-height: 1.5;
  display: block;
}

.about-cta-wrap {
  padding-top: 4px;
}

/* Service Card Feature Tags */
.card-service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-6);
}

.card-service-features .tag {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--color-dark-grey);
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: var(--fw-medium);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* Why Choose Us Cards */
.advantage-card {
  background-color: var(--color-dark-grey);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 107, 26, 0.12);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all var(--transition-fast);
}

.advantage-card:hover .advantage-icon {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.08);
}

.advantage-title {
  color: var(--color-white);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.advantage-desc {
  color: #A0A0A0;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

/* How It Works (Process Steps) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-card-hover);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.step-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-orange);
  line-height: 1;
}

.step-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Industry Horizontal Slider Component
   -------------------------------------------------------------------------- */
.industry-carousel-wrapper {
  position: relative;
  width: 100%;
}

.industry-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 2px;
  cursor: grab;
}

.industry-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.industry-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.industry-slide {
  flex: 0 0 calc((100% - (2 * var(--space-6))) / 3);
  min-width: 0;
  box-sizing: border-box;
}

.industry-slide .card-industry {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.industry-slide .card-industry-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-slide .card-link {
  margin-top: auto;
}

.industry-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-6);
}

.industry-nav-btns .carousel-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-black);
}

.industry-nav-btns .carousel-btn:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.industry-nav-btns .carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .industry-slide {
    flex: 0 0 calc((100% - var(--space-6)) / 2);
  }
}

@media (max-width: 640px) {
  .industry-slide {
    flex: 0 0 100%;
  }
}

/* Testimonial Carousel Component */
.testimonial-section-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 var(--space-2);
}

.testimonial-card {
  background: linear-gradient(145deg, #1c1c1c 0%, #131313 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-white);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: border-color var(--transition-normal);
}

.testimonial-card:hover {
  border-color: rgba(255, 107, 26, 0.4);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.testimonial-quote-icon {
  color: var(--color-orange);
  display: flex;
  align-items: center;
  opacity: 0.9;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--color-orange);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  color: #EAEAEA;
  margin-bottom: var(--space-8);
  font-weight: var(--fw-normal);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B1A 0%, #E05307 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 107, 26, 0.35);
}

.testimonial-author-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 2px;
}

.testimonial-author-role {
  font-size: var(--fs-xs);
  color: #A3A3A3;
}

/* Carousel Navigation Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-8);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-dark-grey);
  border: 1px solid var(--color-border-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-btn:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4A4A4A;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active {
  background-color: var(--color-orange);
  width: 28px;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   SUBPAGE COMPONENTS (About Us & Services Pages)
   -------------------------------------------------------------------------- */
.subpage-hero {
  position: relative;
  min-height: clamp(380px, 48vh, 500px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + clamp(3rem, 5.5vw, 4.5rem)) 0 clamp(3rem, 5.5vw, 4.5rem);
  background-color: #0a101d;
  overflow: hidden;
}

.subpage-hero .hero-container {
  position: relative;
  z-index: 2;
}

.subpage-hero .hero-title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.subpage-hero .hero-subtitle {
  color: #E2E8F0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 680px;
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.subpage-hero-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: var(--fw-semibold);
  color: var(--color-orange);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}

/* Editorial Mission & Vision Blocks */
.editorial-statement-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.statement-card-light {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

.statement-card-light p {
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.65;
  color: #1E293B;
  font-weight: var(--fw-medium);
  margin-bottom: 0;
}

.vision-panel {
  position: relative;
  background: linear-gradient(145deg, #161616 0%, #0d121d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.vision-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at 80% 25%, rgba(255, 107, 26, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.vision-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.vision-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  color: #EAEAEA;
  font-weight: var(--fw-medium);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* Fixed Background Image Enhancement for About Us "Our Vision" Section (No Box) */
.section.vision-fixed-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0);
  padding: clamp(2.5rem, 4.2vw, 3.5rem) 0;
  background-color: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section.vision-fixed-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #080c14;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 20, 0.66) 0%, rgba(10, 14, 24, 0.56) 50%, rgba(8, 12, 20, 0.70) 100%),
    url('../images/about.jpg');
  background-image:
    linear-gradient(180deg, rgba(8, 12, 20, 0.66) 0%, rgba(10, 14, 24, 0.56) 50%, rgba(8, 12, 20, 0.70) 100%),
    image-set(
      url('../images/optimized/sections/about.avif') type('image/avif'),
      url('../images/optimized/sections/about.webp') type('image/webp'),
      url('../images/about.jpg') type('image/jpeg')
    );
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  will-change: transform;
}

.vision-fixed-bg .container {
  position: relative;
  z-index: 1;
}

.vision-fixed-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 102, 0, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

/* Keep fixed background viewport-locked on mobile/touch devices while tuning focal point */
@media (max-width: 991px), (hover: none), (pointer: coarse) {
  .cta-fixed-bg::before {
    background-position: center center;
  }

  .section.vision-fixed-bg::after {
    background-position: 56% 68%;
  }
}

.vision-fixed-bg .vision-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.vision-fixed-bg .vision-panel::after {
  display: none;
}

.vision-fixed-bg .vision-panel-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.vision-fixed-bg .eyebrow {
  justify-content: center;
  margin-bottom: var(--space-2);
}

.vision-fixed-bg h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  margin-bottom: 0;
}

.vision-divider {
  width: 52px;
  height: 3px;
  margin: 1rem auto;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #FF6600 0%, #FF944D 100%);
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.45);
}

.vision-fixed-bg .vision-quote {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

/* Services Intro Quick Pillar Strip */
.service-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.service-pillar-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background-color: var(--color-light-grey);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.service-pillar-link:hover {
  background-color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.service-pillar-num {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.service-pillar-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-black);
}

.service-pillar-meta {
  font-size: var(--fs-xs);
  color: var(--color-mid-grey);
  line-height: 1.5;
}

/* Alternating Vertical Timeline for Services Page (3 Core Practices) */
.services-timeline-section {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 102, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 92% 72%, rgba(255, 102, 0, 0.06) 0%, transparent 42%);
}

.services-timeline {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.services-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.2) 0%, var(--color-orange) 12%, var(--color-orange) 88%, rgba(255, 102, 0, 0.2) 100%);
  border-radius: 999px;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.timeline-row + .timeline-row {
  margin-top: -96px;
}

.timeline-col {
  position: relative;
  z-index: 2;
}

.timeline-row.timeline-left .timeline-col {
  grid-column: 1;
  padding-right: 44px;
}

.timeline-row.timeline-right .timeline-col {
  grid-column: 2;
  padding-left: 44px;
}

/* Decorative Translucent Bubble Rings Opposite Each Timeline Card */
.timeline-decor {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 360px;
  pointer-events: none;
  user-select: none;
}

.timeline-row.timeline-left .timeline-decor {
  grid-column: 2;
}

.timeline-row.timeline-right .timeline-decor {
  grid-column: 1;
}

.timeline-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.timeline-decor .bubble-ring-lg {
  width: 340px;
  height: 340px;
  top: 44%;
  left: 56%;
  transform: translate(-50%, -50%);
  border: 42px solid rgba(255, 102, 0, 0.065);
  background: radial-gradient(circle, rgba(255, 102, 0, 0.03) 0%, transparent 68%);
  animation: timelineRingFloat 8.5s ease-in-out infinite;
}

.timeline-decor .bubble-orb-md {
  width: 144px;
  height: 144px;
  top: 18%;
  right: 10%;
  background: radial-gradient(circle at 32% 32%, rgba(255, 102, 0, 0.09), rgba(148, 163, 184, 0.04) 72%, transparent 100%);
  border: 1.5px solid rgba(255, 102, 0, 0.09);
  animation: timelineOrbFloat 6.5s ease-in-out -1.5s infinite;
}

.timeline-decor .bubble-orb-sm {
  width: 72px;
  height: 72px;
  bottom: 18%;
  left: 22%;
  border: 10px solid rgba(100, 116, 139, 0.075);
  background: rgba(255, 255, 255, 0.45);
  animation: timelineOrbFloatAlt 5.8s ease-in-out -2.2s infinite;
}

/* Mirrored Bubble Positions for Left-Side Decor (Row 2) */
.timeline-row.timeline-right .timeline-decor .bubble-ring-lg {
  left: 44%;
  top: 50%;
  border-color: rgba(100, 116, 139, 0.07);
  background: radial-gradient(circle, rgba(255, 102, 0, 0.035) 0%, transparent 68%);
  animation-delay: -3s;
}

.timeline-row.timeline-right .timeline-decor .bubble-orb-md {
  right: auto;
  left: 10%;
  top: 22%;
  animation-delay: -2.5s;
}

.timeline-row.timeline-right .timeline-decor .bubble-orb-sm {
  left: auto;
  right: 22%;
  bottom: 20%;
  border-color: rgba(255, 102, 0, 0.085);
  animation-delay: -1s;
}

@keyframes timelineRingFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate(-50%, -50%) translate3d(10px, -14px, 0) scale(1.025);
  }
  66% {
    transform: translate(-50%, -50%) translate3d(-8px, 9px, 0) scale(0.985);
  }
}

@keyframes timelineOrbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-12px, -16px, 0) scale(1.045);
  }
}

@keyframes timelineOrbFloatAlt {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(11px, -14px, 0) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-bubble {
    animation: none !important;
  }
}

/* Horizontal Connector Line to Center Spine */
.timeline-row::before {
  content: '';
  position: absolute;
  top: 68px;
  width: 44px;
  height: 2.5px;
  background-color: var(--color-orange);
}

.timeline-row.timeline-left::before {
  right: 50%;
}

.timeline-row.timeline-right::before {
  left: 50%;
}

/* Center Spine Node Dot */
.timeline-row::after {
  content: '';
  position: absolute;
  top: 63px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: var(--color-orange);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
  z-index: 2;
}

.timeline-card {
  background-color: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(10, 16, 29, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(10, 16, 29, 0.12);
  border-color: rgba(255, 102, 0, 0.28);
}

.timeline-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.timeline-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover .timeline-card-media img {
  transform: scale(1.03);
}

.timeline-card-body {
  padding: 2px 8px 6px;
  text-align: center;
}

.timeline-card-body .eyebrow {
  justify-content: center;
  margin-bottom: 0.45rem;
}

.timeline-card-body h2 {
  font-size: clamp(1.22rem, 1.9vw, 1.48rem);
  line-height: 1.25;
  color: var(--color-black);
  margin-bottom: 0.6rem;
}

.timeline-card-body > p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0;
}

.service-points-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1rem 0 0;
  text-align: left;
}

.service-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.52rem 0.72rem;
  background-color: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.service-point-item:hover {
  border-color: rgba(255, 102, 0, 0.35);
  background-color: rgba(255, 102, 0, 0.04);
}

.service-point-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background-color: rgba(255, 107, 26, 0.14);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-point-icon svg {
  width: 12px;
  height: 12px;
}

/* FAQ Accordion Component */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(255, 107, 26, 0.45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  cursor: pointer;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-light-grey);
  color: var(--color-dark-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--color-orange);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 1.4rem 1.3rem;
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
  line-height: 1.68;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.95rem;
}

/* Reusable Corporate Form System (Careers & Contact) */
.enquiry-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.enquiry-info-card {
  background: linear-gradient(145deg, #161616 0%, #0d121d 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--color-orange);
  box-shadow: 0 18px 40px rgba(10, 16, 29, 0.14);
}

.enquiry-info-card h2,
.enquiry-info-card h3 {
  color: var(--color-white);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.enquiry-info-card p {
  color: #CBD5E1;
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.enquiry-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.enquiry-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  color: #E2E8F0;
}

.enquiry-info-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 107, 26, 0.14);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enquiry-info-item strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.enquiry-info-item a:hover {
  color: var(--color-orange);
}

.form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-card-hover);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  margin-bottom: 6px;
}

.form-required {
  color: var(--color-orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--color-black);
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.16);
}

.form-control.is-invalid {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.form-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 5px;
  min-height: 0;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-status {
  display: none;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-status.is-info {
  background-color: #FFF7ED;
  border: 1px solid #FDBA74;
  color: #9A3412;
}

.form-status.is-success {
  background-color: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}

.form-integration-note {
  margin-top: var(--space-4);
  padding: 0.75rem 0.95rem;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3px solid var(--color-dark-grey);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-mid-grey);
  line-height: 1.5;
}

.career-card-cta {
  margin-top: auto;
  padding-top: var(--space-2);
}

/* File Upload & Consent Checkboxes (Careers Form) */
.file-upload-wrapper {
  position: relative;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  background-color: #F8FAFC;
  padding: 1rem 1.1rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.file-upload-wrapper:hover,
.file-upload-wrapper:focus-within {
  border-color: var(--color-orange);
  background-color: var(--color-white);
}

.file-upload-wrapper.is-invalid {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.file-upload-input {
  width: 100%;
  font-size: var(--fs-sm);
  color: var(--color-dark-grey);
  cursor: pointer;
}

.file-upload-input::file-selector-button {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  background-color: var(--color-dark-grey);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  margin-right: 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.file-upload-input::file-selector-button:hover {
  background-color: var(--color-orange);
}

.file-upload-hint {
  display: block;
  font-size: 12px;
  color: var(--color-muted-grey);
  margin-top: 6px;
  line-height: 1.45;
}

.file-upload-selected {
  display: none;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: #166534;
  margin-top: 6px;
}

.file-upload-selected.visible {
  display: block;
}

.form-checkbox-group {
  margin-bottom: var(--space-4);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--color-dark-grey);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-orange);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--color-orange);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-checkbox-label a:hover {
  color: var(--color-orange-hover);
}

/* Legal Document Pages (Privacy Policy & Terms of Use) */
.legal-document {
  max-width: 880px;
  margin: 0 auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-card);
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  color: var(--color-mid-grey);
}

.legal-meta-bar strong {
  color: var(--color-black);
}

.legal-intro {
  font-size: var(--fs-base);
  color: #1E293B;
  line-height: 1.72;
  margin-bottom: var(--space-8);
}

.legal-section {
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  border-top: 1px solid #F1F5F9;
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.legal-section h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.4rem);
  color: var(--color-black);
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
}

.legal-section p {
  font-size: var(--fs-sm);
  color: #334155;
  line-height: 1.72;
  margin-bottom: var(--space-3);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: var(--space-3) 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  font-size: var(--fs-sm);
  color: #334155;
  line-height: 1.65;
}

.legal-review-note {
  background-color: #FFF7ED;
  border: 1px solid #FDBA74;
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 13px;
  color: #9A3412;
  line-height: 1.6;
  margin-top: var(--space-3);
}

.legal-contact-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-top: var(--space-3);
}

.legal-contact-box p {
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
/* Large Desktop (1200px and down) */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.1fr;
    gap: var(--space-8);
  }
}

/* Tablet Landscape / Small Desktop (1024px and down) */
@media (max-width: 1024px) {
  .main-nav,
  .header-actions {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .topbar {
    display: none;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }

  .brand-logo img {
    height: 50px;
  }
}

/* Tablet Portrait (768px and down) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --container-padding: 1.125rem;
  }

  .header-container {
    height: var(--header-height);
  }

  .brand-logo img {
    height: 42px;
    max-width: 190px;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  h2 {
    font-size: clamp(1.6rem, 5.8vw, 2rem);
    line-height: 1.2;
    margin-bottom: var(--space-3);
  }

  .text-lead {
    font-size: 0.975rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
  }

  .grid {
    gap: var(--space-5);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .page-hero {
    padding: calc(var(--header-height) + clamp(2rem, 4.5vw, 3rem)) 0 clamp(2.25rem, 5vw, 3.25rem);
  }

  .home-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 2.25rem) 0 2.25rem;
  }

  .home-hero .hero-bg-img {
    object-position: 62% 35%;
    filter: brightness(0.9) contrast(1.04) saturate(0.95);
  }

  .home-hero .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 13, 24, 0.86) 0%,
      rgba(10, 16, 28, 0.74) 48%,
      rgba(8, 12, 22, 0.92) 100%
    );
  }

  .hero-badge {
    padding: 5px 12px;
    font-size: 11px;
    margin-bottom: var(--space-4);
  }

  .page-hero .grid-2 {
    gap: var(--space-8);
  }

  .hero-title,
  .home-hero .hero-title {
    font-size: clamp(1.95rem, 7.2vw, 2.65rem);
    line-height: 1.14;
    margin-bottom: var(--space-4);
  }

  .hero-subtitle,
  .home-hero .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.62;
    color: #E2E8F0;
    margin-bottom: var(--space-6);
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-7, 1.75rem);
  }

  .editorial-statement-grid,
  .service-detail-split,
  .service-pillar-grid,
  .enquiry-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .services-timeline::before,
  .timeline-row::before,
  .timeline-row::after,
  .timeline-decor {
    display: none;
  }

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

  .timeline-row + .timeline-row {
    margin-top: 1.25rem;
  }

  .timeline-row.timeline-left .timeline-col,
  .timeline-row.timeline-right .timeline-col {
    grid-column: 1;
    padding: 0;
  }

  .timeline-card {
    padding: 14px;
  }

  .timeline-card-media {
    aspect-ratio: auto;
    height: 195px;
    max-height: 195px;
    margin-bottom: 14px;
  }

  .timeline-card-body {
    padding: 0 2px 4px;
  }

  .timeline-card-body h2 {
    font-size: 1.2rem;
  }

  .timeline-card-body > p {
    font-size: 0.84rem;
  }

  .service-point-item {
    padding: 0.48rem 0.65rem;
    font-size: 0.8rem;
  }

  .subpage-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 2.25rem) 0 2.25rem;
  }

  .subpage-hero .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .subpage-hero .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 13, 24, 0.88) 0%,
      rgba(10, 16, 28, 0.78) 50%,
      rgba(8, 12, 22, 0.92) 100%
    );
  }

  .about-image-card {
    min-height: 340px;
  }

  .about-image-card img {
    height: 340px;
    min-height: 340px;
  }

  .about-floating-badge {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: var(--space-3) var(--space-4);
  }

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

  .card.card-industry {
    padding: 0;
  }

  .card-industry-media {
    height: 210px;
  }

  .card-industry-body {
    padding: 1.35rem;
  }

  .advantage-card,
  .step-card {
    padding: var(--space-6);
  }

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

  /* Mobile Drawer Refinements */
  .mobile-drawer {
    max-width: 100%;
    padding: 1.25rem 1.35rem;
  }

  .mobile-drawer-header {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
  }

  .mobile-nav-list {
    gap: var(--space-1);
    margin-bottom: var(--space-5);
  }

  .mobile-nav-link {
    font-size: 1.1rem;
    padding: 0.7rem 0;
    min-height: 44px;
  }

  .mobile-drawer-actions {
    padding-top: var(--space-5);
    gap: var(--space-3);
  }

  .mobile-drawer-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .mobile-drawer-contact {
    margin-top: var(--space-5);
    line-height: 1.6;
  }

  /* Mobile Footer Layout - Centered, Balanced & Symmetrical (<= 768px) */
  .footer-top {
    padding-top: var(--space-12);
    padding-bottom: var(--space-10);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    justify-items: center;
  }

  .footer-grid > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-logo {
    display: inline-block;
    margin: 0 auto var(--space-5);
    text-align: center;
  }

  .footer-logo img {
    height: 48px;
    margin: 0 auto;
  }

  .footer-about {
    margin: 0 auto var(--space-6);
    text-align: center;
    max-width: 460px;
    line-height: var(--lh-relaxed);
  }

  .footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin: 0 auto var(--space-6);
    width: 100%;
  }

  .footer-contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-2);
    max-width: 100%;
    flex-wrap: wrap;
    word-break: break-word;
  }

  .footer-contact-item svg {
    flex-shrink: 0;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    margin: 0 auto;
    width: 100%;
  }

  .social-icon-btn {
    width: 40px;
    height: 40px;
  }

  .footer-col-title {
    text-align: center;
    margin: 0 auto var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-col-title::after {
    margin: 8px auto 0 auto;
    width: 28px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .footer-links li {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .footer-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-1) var(--space-2);
  }

  .footer-links a:hover {
    transform: translateY(-2px);
  }

  .footer-cta-card {
    text-align: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: var(--space-6);
  }

  .footer-cta-card h4,
  .footer-cta-card h5 {
    text-align: center;
  }

  .footer-cta-card p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
  }

  .footer-cta-card .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-bottom {
    padding: var(--space-6) 0;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
  }

  .footer-bottom-content > div:first-child {
    text-align: center;
    line-height: var(--lh-relaxed);
  }

  .footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
  }
}

/* Mobile Phones (640px and down) */
@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* Hero Section Polish */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }

  .trust-item,
  .trust-item:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.9rem 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .trust-item-stat {
    font-size: 1.45rem;
    margin-bottom: 2px;
  }

  .trust-item-label {
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
  }

  /* About Section Mobile Polish */
  .about-image-card {
    min-height: auto;
    box-shadow: 0 14px 32px rgba(10, 16, 29, 0.12);
  }

  .about-image-card::after {
    display: none;
  }

  .about-image-card img {
    height: 230px;
    min-height: 230px;
  }

  .about-floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    margin-top: 0;
    border-radius: 0;
    border: none;
    border-top: 2px solid var(--color-orange);
    box-shadow: none;
    padding: 14px 16px;
    gap: 12px;
  }

  .about-floating-badge .badge-icon {
    width: 38px;
    height: 38px;
  }

  .about-floating-badge .badge-num {
    font-size: 1rem;
  }

  .about-lead {
    font-size: 0.975rem;
  }

  .about-feature-list {
    gap: 10px;
    margin: 1.25rem 0 1.5rem;
  }

  .about-feature-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .about-cta-wrap .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Services Section Mobile Polish */
  #services .flex-between {
    margin-bottom: 1.5rem !important;
  }

  #services .flex-between > .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .card-service {
    padding: 1.35rem;
    border-top: 3px solid var(--color-orange);
  }

  .card-service .card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
  }

  .card-service .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
  }

  .card-service .card-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .card-service-features {
    gap: 6px;
    margin-bottom: 1.15rem;
  }

  .card-service-features .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Why Choose Us Mobile Polish */
  #why-choose-us > .container > .reveal:first-child {
    margin-bottom: 1.5rem !important;
  }

  #why-choose-us > .container > .reveal:first-child p {
    font-size: 0.95rem !important;
  }

  .advantage-card {
    padding: 1.35rem;
  }

  .advantage-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.9rem;
  }

  .advantage-title {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
  }

  .advantage-desc {
    font-size: 0.875rem;
    line-height: 1.58;
  }

  /* How It Works Mobile Polish */
  #how-it-works > .container > .reveal:first-child {
    text-align: left !important;
    margin-bottom: 1.5rem !important;
  }

  #how-it-works > .container > .reveal:first-child .eyebrow {
    justify-content: flex-start !important;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .step-card {
    padding: 1.35rem;
    border-left: 3px solid var(--color-orange);
  }

  .step-header {
    margin-bottom: 0.85rem;
  }

  .step-number {
    font-size: 1.5rem;
  }

  .step-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .step-title {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
  }

  .step-desc {
    font-size: 0.875rem;
    line-height: 1.58;
  }

  /* Industries Carousel Mobile Polish */
  #industries .flex-between {
    margin-bottom: 1.35rem !important;
  }

  .industry-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .industry-carousel {
    padding: 4px 0;
  }

  .card-industry-media {
    height: 195px;
  }

  .card-industry-body {
    padding: 1.25rem;
  }

  .card-industry-body .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .card-industry-body .card-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .industry-dots {
    margin-top: 1.15rem;
  }

  /* Testimonials Carousel Mobile Polish */
  #testimonials > .container > .reveal:first-child {
    text-align: left !important;
    margin-bottom: 1.5rem !important;
  }

  #testimonials > .container > .reveal:first-child .eyebrow {
    justify-content: flex-start !important;
  }

  #testimonials > .container > .reveal:first-child p {
    font-size: 0.95rem !important;
  }

  .carousel-slide {
    padding: 0;
  }

  .testimonial-card {
    padding: 1.35rem;
  }

  .testimonial-card-top {
    margin-bottom: 1rem;
  }

  .testimonial-quote-icon svg {
    width: 22px;
    height: 22px;
  }

  .testimonial-stars svg {
    width: 15px;
    height: 15px;
  }

  .testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.62;
    margin-bottom: 1.25rem;
  }

  .testimonial-author {
    padding-top: 1rem;
    gap: 12px;
  }

  .testimonial-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
  }

  .testimonial-author-name {
    font-size: 0.92rem;
  }

  .testimonial-author-role {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .carousel-controls {
    margin-top: 1.25rem;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  /* Corporate CTA Section Mobile Polish */
  #cta > div:first-child {
    width: 100% !important;
  }

  #cta .flex-between {
    gap: 1.5rem !important;
  }

  #cta p {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }

  #cta .flex.gap-4 {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  #cta .flex.gap-4 .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Footer Compact Spacing */
  .timeline-card-media {
    height: 175px;
    max-height: 175px;
  }

  .service-detail-content .btn,
  .subpage-hero .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .statement-card-light,
  .vision-panel {
    padding: 1.4rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card,
  .enquiry-info-card {
    padding: 1.35rem;
  }

  .form-card .btn,
  .career-card-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0.85rem 1.1rem 1.1rem;
  }

  .footer-top {
    padding-top: 2.75rem;
    padding-bottom: 2.25rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-cta-card {
    padding: 1.35rem;
  }
}

/* Mobile Small (480px and down) */
@media (max-width: 480px) {
  :root {
    --header-height: 62px;
    --container-padding: 1rem;
  }
  
  .brand-logo img {
    height: 36px;
    max-width: 165px;
  }

  .footer-logo img {
    height: 40px;
  }

  .header-container {
    height: var(--header-height);
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    padding: 7px;
  }

  .hamburger-line {
    width: 20px;
  }

  .section {
    padding-top: 2.65rem;
    padding-bottom: 2.65rem;
  }

  .home-hero {
    padding: calc(var(--header-height) + 1.85rem) 0 2rem;
  }

  .hero-title,
  .home-hero .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .hero-subtitle,
  .home-hero .hero-subtitle {
    font-size: 0.92rem;
  }

  .trust-item {
    padding: 0.8rem 0.75rem;
  }

  .trust-item-stat {
    font-size: 1.32rem;
  }

  .about-image-card img {
    height: 210px;
    min-height: 210px;
  }

  .card-industry-media {
    height: 185px;
  }

  .card-stat {
    padding: var(--space-5);
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .footer-legal-links {
    gap: 0.5rem 1rem;
    font-size: 12px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   RESPONSIVE <picture> WRAPPER SUPPORT & CUSTOM 404 ERROR PAGE
   ========================================================================== */

.hero-bg-media picture,
.timeline-card-media picture,
.card-industry-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-logo picture,
.footer-logo picture {
  display: inline-flex;
  align-items: center;
}

.error-404-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6.5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 107, 26, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #000000 0%, #111318 100%);
  color: var(--color-white);
  overflow: hidden;
}

.error-404-card {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(25, 25, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--color-orange);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.error-404-code {
  display: inline-block;
  font-size: clamp(3.75rem, 10vw, 5.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

.error-404-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.error-404-text {
  color: #D4D4D8;
  font-size: clamp(0.95rem, 1.5vw, 1.075rem);
  line-height: var(--lh-relaxed);
  max-width: 520px;
  margin: 0 auto var(--space-8);
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
}

.error-404-links a {
  color: #D4D4D8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.error-404-links a:hover,
.error-404-links a:focus-visible {
  color: var(--color-orange);
  text-decoration: underline;
}

@media (max-width: 575px) {
  .error-404-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
