/* ==========================================================================
   TieOx Brand Identity & Color System
   Derived directly from tieoxoe.com and modern enterprise industrial aesthetics
   ========================================================================== */

:root {
  /* Brand Primary Blues - Aligned with #0b4e88 Logo Blue */
  --color-primary-navy: #0a2d52;
  --color-primary-dark: #0c3666;
  --color-primary: #0b4e88; /* Exact Logo Blue */
  --color-primary-mid: #105fa3;
  --color-primary-light: #1e7ad4;
  --color-primary-glow: rgba(30, 122, 212, 0.35);
  
  /* Brand Accent Golds/Ambers */
  --color-accent: #ef9f27;
  --color-accent-hover: #d98918;
  --color-accent-light: #fef3e2;
  --color-accent-glow: rgba(239, 159, 39, 0.4);

  /* Industrial Teals & Greens */
  --color-teal: #0ea5e9;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  
  /* Neutrals & Dark Surfaces - Lighter royal blue tints, not black */
  --color-bg-dark: #08284c;
  --color-bg-surface-dark: #0c3666;
  --color-bg-card-dark: #104177;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-glow: rgba(30, 122, 212, 0.3);

  /* Light Neutrals */
  --color-bg-light: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-card-light: #f0f4fb;
  --color-border-light: #e2e8f0;
  
  /* Text Colors */
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-text-light-muted: #94a3b8;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 35px rgba(37, 117, 252, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(239, 159, 39, 0.25);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-transition-exit {
  opacity: 0;
  pointer-events: none;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #ef9f27 0%, #f59e0b 50%, #fbd38d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #0d4f88 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

.section-dark {
  background: linear-gradient(135deg, #093460 0%, #0b4e88 60%, #105fa3 100%);
  color: var(--color-text-light);
}

.section-subtle {
  background-color: var(--color-bg-subtle);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.top-bar {
  background: #08284c;
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Navigation Header (Original TieOx Brand Matching - Slanted Ribbon & Color Logo)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  padding: 0.4rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.nav-logo {
  height: 76px; /* Bigger Color Logo as requested */
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.02);
}

/* ==========================================================================
   TieOx Brand Navigation Ribbon & Smooth Dropdown System
   ========================================================================== */

.nav-ribbon-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  position: relative;
  z-index: 50;
}

/* Light Gray Angled Ribbon Container (Angled ends on pseudo-element so children are NEVER clipped) */
.nav-ribbon {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.2rem 1.25rem;
  background: transparent;
  overflow: visible; /* CRUCIAL: Never clip dropdown menus! */
}

.nav-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #eaedf1;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 0;
  pointer-events: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Orange/Amber Angled Divider - Tilt Angle Exactly Matches Blue Box (-20deg) */
.nav-slash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 14px;
  height: 26px;
  padding: 0;
  margin: 0 0.35rem;
  font-size: 0; /* Hides native font '/' glyph */
  color: transparent;
  user-select: none;
  pointer-events: none; /* Prevents hover jitter when gliding across items */
}

.nav-slash::before {
  content: '';
  position: absolute;
  width: 2.5px;
  height: 22px;
  background-color: #ef9f27;
  transform: skewX(-20deg); /* Exactly parallel with the blue box! */
  border-radius: 1px;
  opacity: 0.9;
}

/* Menu Links */
.nav-link {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d4f88;
  padding: 0.72rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  white-space: nowrap;
  z-index: 2;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slanted Blue Parallelogram on Hover and Active - Tilt Angle Matches Orange Slash (-20deg) */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 2px 4px;
  background: #0d4f88;
  transform: skewX(-20deg) scale(0.96);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  border-radius: 3px;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: skewX(-20deg) scale(1);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

/* When hovering over any link in the menu, temporarily dim the active link if it's not the hovered one */
.nav-menu:hover .nav-link.active:not(:hover)::before {
  opacity: 0;
  transform: skewX(-20deg) scale(0.96);
}
.nav-menu:hover .nav-link.active:not(:hover) {
  color: #0d4f88 !important;
}

.nav-link > span {
  position: relative;
  z-index: 3;
}

/* Hide chevron icons to match the exact crisp TieOx original layout */
.nav-chevron,
.nav-link > .bi-chevron-down {
  display: none !important;
}

/* ==========================================================================
   DROPDOWN MENUS (Company & Services)
   ========================================================================== */

/* Seamless invisible hover bridge so mouse never loses hover between ribbon and dropdown */
.nav-dropdown::before,
.nav-dropdown-company::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* 1. Company Dropdown (Matching exact TieOx screenshot media_1795361676354_cc956cc0.png) */
.nav-dropdown-company {
  position: absolute;
  top: 100%;
  left: 0; /* Aligned flush with left of OUR COMPANY */
  background: #2b333e;
  border-top: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  min-width: 210px;
  padding: 0.6rem 0;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1200;
}

.nav-item:hover .nav-dropdown-company,
.nav-item:focus-within .nav-dropdown-company,
.nav-item.is-open .nav-dropdown-company {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-link-dark {
  display: block;
  padding: 0.75rem 1.6rem;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  white-space: nowrap;
}

.dropdown-link-dark:hover,
.dropdown-link-dark.active {
  background-color: #384250;
  color: #ef9f27 !important;
  padding-left: 1.85rem;
}

/* 2. Services Dropdown (Clean White Interactive Card) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #ef9f27;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  padding: 0.75rem;
  min-width: 350px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.18s ease, transform 0.18s ease, border-left-color 0.18s ease;
  color: #1e293b;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background-color: #f0f7ff;
  border-left-color: #0d4f88;
  transform: translateX(3px);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(13, 79, 136, 0.08);
  color: #0d4f88;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover .dropdown-icon {
  background: #0d4f88;
  color: #ffffff;
}

.dropdown-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  font-style: normal;
}

.dropdown-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  font-style: normal;
  text-transform: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-call-btn {
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #0d4f88;
  font-size: 1.75rem;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.825rem 1.75rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ef9f27 0%, #e08b14 100%);
  color: #050d1a;
  box-shadow: 0 4px 14px rgba(239, 159, 39, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5aa39 0%, #ea951d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 159, 39, 0.45);
}

.btn-blue {
  background: linear-gradient(135deg, #0d4f88 0%, #194f8f 100%);
  color: #ffffff;
  border: 1px solid rgba(37, 117, 252, 0.3);
  box-shadow: 0 4px 14px rgba(13, 79, 136, 0.35);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #125ea1 0%, #205fac 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-blue {
  border: 1.5px solid var(--color-primary-mid);
  color: var(--color-primary-mid);
  background: transparent;
}

.btn-outline-blue:hover {
  background: var(--color-primary-mid);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */

.trust-bar {
  background: linear-gradient(180deg, #072548 0%, #0a315c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  padding: 1.5rem;
  border-left: 2px solid rgba(239, 159, 39, 0.4);
  transition: transform var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--color-accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stat-number .highlight {
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.badge-dark {
  background: rgba(37, 117, 252, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(37, 117, 252, 0.25);
}

.badge-amber {
  background: rgba(239, 159, 39, 0.12);
  color: #ef9f27;
  border: 1px solid rgba(239, 159, 39, 0.25);
}

.badge-light {
  background: rgba(13, 79, 136, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(13, 79, 136, 0.15);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* ==========================================================================
   Industry Grid & Solutions
   ========================================================================== */

.industry-marquee {
  background: #092c52;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 1rem;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.industry-chip:hover {
  color: #ffffff;
  border-color: rgba(37, 117, 252, 0.4);
  background: rgba(37, 117, 252, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   Interactive Capabilities Grid (Cards & Tabs)
   ========================================================================== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -5px rgba(13, 79, 136, 0.12);
  border-color: rgba(37, 117, 252, 0.4);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(13, 79, 136, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(13, 79, 136, 0.25);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: #94a3b8;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #0f172a;
}

.service-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.6rem;
}

.feature-check {
  color: #10b981;
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.service-card:hover .card-link {
  gap: 0.75rem;
  color: var(--color-primary-light);
}

/* ==========================================================================
   Stewardship Comparison (Traditional vs TieOx)
   ========================================================================== */

.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-col {
  padding: 2.5rem;
  border-radius: 16px;
}

.col-traditional {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.col-tieox {
  background: linear-gradient(145deg, #0d2547 0%, #07152b 100%);
  border: 1.5px solid rgba(239, 159, 39, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
}

.badge-recommended {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-accent);
  color: #060e1a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(239, 159, 39, 0.4);
}

.comparison-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.comparison-list .icon-bad {
  color: #ef4444;
  margin-top: 3px;
  flex-shrink: 0;
}

.comparison-list .icon-good {
  color: #10b981;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Plant Assessment Tool
   ========================================================================== */

.assessment-container {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.assessment-header {
  background: linear-gradient(135deg, #07152b 0%, #0d4f88 100%);
  color: #ffffff;
  padding: 2.5rem;
  text-align: center;
}

.assessment-body {
  padding: 2.5rem;
}

.assessment-step {
  display: none;
}

.assessment-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.option-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #ffffff;
}

.option-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: var(--color-primary);
  background-color: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.2);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.option-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.option-sub {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Results Card */
.assessment-result-box {
  background: linear-gradient(135deg, #0a1931 0%, #071224 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #ffffff;
  border: 1px solid rgba(239, 159, 39, 0.3);
}

.result-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #060e1a;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.res-metric-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-accent);
}

.res-metric-label {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ==========================================================================
   Case Studies & Proof
   ========================================================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 117, 252, 0.3);
}

.case-card-header {
  background: #0b1a30;
  padding: 2rem;
  color: #ffffff;
  position: relative;
}

.case-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.case-card-title {
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.3;
}

.case-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-quote {
  font-style: italic;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
}

.case-impact-row {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.case-impact-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.case-impact-item span {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

/* ==========================================================================
   Testimonials Slider / Cards
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.author-role {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: radial-gradient(circle at 80% 50%, rgba(37, 117, 252, 0.35) 0%, transparent 60%),
              linear-gradient(135deg, #082d54 0%, #0b4e88 55%, #0e64ae 100%);
  border-radius: 24px;
  padding: 4.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.cta-action-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-quick-contacts {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(239, 159, 39, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, #072548 0%, #051b33 100%);
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 340px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  flex-grow: 1;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 8, 17, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-header {
  padding: 2.25rem 2.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.modal-body {
  padding: 2rem 2.25rem 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 136, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .capabilities-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .nav-ribbon::before {
    clip-path: none;
    border: none;
    background: transparent;
  }
  .nav-slash {
    display: none;
  }
}

@media (max-width: 992px) {
  .navbar {
    height: 82px;
  }
  .nav-logo {
    height: 58px;
  }
  .top-bar {
    display: none;
  }
  .nav-ribbon-wrapper,
  .nav-ribbon {
    display: contents;
  }
  .nav-ribbon::before {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 82px);
    background: #ffffff;
    border-top: 2px solid #ef9f27;
    flex-direction: column;
    padding: 1.5rem 1.75rem 3rem;
    overflow-y: auto;
    gap: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    justify-content: space-between;
  }

  .nav-menu .nav-link::before {
    clip-path: none;
    transform: none;
    border-radius: 6px;
    inset: 0;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-dropdown,
  .nav-dropdown-company {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-top: 2px solid #ef9f27;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .nav-item.is-open .nav-dropdown,
  .nav-item.is-open .nav-dropdown-company {
    display: block;
  }

  .dropdown-link-dark {
    color: #0f172a !important;
    border-radius: 6px;
  }

  .dropdown-link-dark:hover {
    background-color: #e2e8f0;
    color: #0d4f88 !important;
  }
}

@media (max-width: 768px) {

  .capabilities-grid,
  .testimonials-grid,
  .case-grid,
  .comparison-box {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-title {
    font-size: 2rem;
  }
}


/* ==========================================================================
   Leadership Team & Profiles
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 117, 252, 0.4);
  box-shadow: 0 20px 35px -5px rgba(13, 79, 136, 0.15);
}

.team-photo-wrap {
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  position: relative;
  background: #09172c;
  overflow: hidden;
}

.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.team-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  margin-top: auto;
}

.view-bio-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.team-linkedin {
  color: #0a66c2;
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.team-linkedin:hover {
  transform: scale(1.15);
}

/* Team Profile Modal */
.team-modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 10, 22, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

.team-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.team-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 85vh;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  display: grid;
  grid-template-columns: 290px 1fr;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-modal-overlay.open .team-modal-box {
  transform: translateY(0) scale(1);
}

.team-modal-aside {
  background: #092c52;
  padding: 2.75rem 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-modal-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.team-modal-content {
  padding: 2.5rem;
  position: relative;
  overflow-y: auto;
  max-height: 85vh;
}

.team-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.team-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.team-bio-p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-modal-box {
    grid-template-columns: 1fr;
  }
  .team-modal-aside {
    border-radius: 20px 20px 0 0;
    padding: 2rem;
  }
}

@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}



/* Client Page Cards Grid */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.client-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
  min-height: 220px;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 117, 252, 0.4);
  box-shadow: 0 15px 35px rgba(13, 79, 136, 0.12);
}

.client-logo-img {
  max-height: 70px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: grayscale(10%);
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.client-card:hover .client-logo-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.client-card-sector {
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 992px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .client-logo-grid {
    grid-template-columns: 1fr;
  }
}
