/* BHX Home Page Theme - extracted from the WordPress home page snippet. */

:root {
    --bhx-blue: #00a6ff;
    --bhx-blue-glow: rgba(0, 166, 255, 0.2);
    --bhx-blue-glow-strong: rgba(0, 166, 255, 0.4);
    --bhx-teal: #00ffc2;
    --bhx-teal-glow: rgba(0, 255, 194, 0.2);
    --neon-green: #00ffc2;
    --tech-blue: #00a6ff;
    --tech-blue-lm: #0284c7;
    --neon-green-lm: #00c896;
    --bg-main: #030712;
    --bg-dark: #030712;
    --bg-glass: rgba(3, 7, 18, 0.6);
    --bg-card: #111827;
    --text-main: #f9fafb;
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    --text-secondary: #9ca3af;
    --border-color: rgba(0, 166, 255, 0.15);
    --border: rgba(0, 166, 255, 0.15);
    --code-bg: rgba(0, 0, 0, 0.5);
    --section-y: clamp(4.5rem, 7vw, 6rem);
    --section-y-mobile: 4rem;
    --hero-y: clamp(2.5rem, 5vw, 4rem);
  }

  html.light-mode {
    --bg-main: #f8fafc;
    --bg-dark: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --text-secondary: #475569;
    --border-color: rgba(0, 166, 255, 0.2);
    --border: #e2e8f0;
    --bhx-blue-glow-strong: rgba(0, 166, 255, 0.15);
    --code-bg: rgba(0, 0, 0, 0.03);
    --neon-green: #00c896;
    --tech-blue: #0284c7;
  }

  html, body {
    height: 100%;
  }
  body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
  }

  /* --- Layout Utilities (matching dev.html) --- */
  .section-wrap {
    width: 100%;
    max-width: 80rem;       /* 1280px - same as max-w-7xl */
    margin-inline: auto;
    padding-inline: 1.5rem;
  }
  @media (min-width: 640px) { .section-wrap { padding-inline: 2rem; } }

  .full-bleed {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  /* Keep #page-wrapper for legacy scoping but make it transparent */
  #page-wrapper {
    background: transparent;
    overflow-x: hidden;
  }

  /* Theme Toggle Button */
  .theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .theme-toggle:hover { color: var(--bhx-blue); border-color: var(--bhx-blue); }
  #icon-sun { display: none; }
  html.light-mode #icon-sun { display: block; }
  html.light-mode #icon-moon { display: none; }

  /* --- Light mode section borders (matches dev.html pattern) --- */
  html.light-mode section:not(#hero-section) {
    border-bottom: 1px solid var(--border);
  }
  html.light-mode section:last-of-type {
    border-bottom: none;
  }

/* ==========================================================================
     SECTION 1: HERO CSS
     ========================================================================== */
  .text-gradient {
    background: linear-gradient(90deg, var(--bhx-blue), var(--bhx-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--bhx-blue-glow);
  }

  html.light-mode .text-gradient { text-shadow: none; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
  }
  .animate-float { animation: float 6s ease-in-out infinite; }

  @keyframes panel-float {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(calc(-50% - 12px)) translateX(6px); }
    100% { transform: translateY(-50%) translateX(0); }
  }

  .glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), 0 0 30px var(--bhx-blue-glow);
    transition: background 0.3s ease, border-color 0.3s ease;
  }

  /* Buttons */
  .btn-solid {
    background: var(--bhx-blue);
    color: #ffffff !important; 
    box-shadow: 0 0 15px var(--bhx-blue-glow-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
  }
  .btn-solid:hover {
    transform: translateY(-2px);
    /* stronger blue glow */
    box-shadow: 0 6px 30px -6px var(--bhx-blue-glow-strong), 0 0 40px rgba(0,166,255,0.25);
    /* make hover state emphasise blue glow and bright blue text */
    color: var(--bhx-blue) !important;
    /* provide subtle contrast so blue text remains visible */
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-color: rgba(0,166,255,0.12);
  }

  .btn-outline {
    border: 2px solid var(--bhx-teal);
    color: var(--bhx-teal);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }
  .btn-outline:hover {
    background: var(--bhx-teal-glow);
    color: var(--bhx-teal) !important;
    box-shadow: 0 6px 28px -6px rgba(0,255,194,0.34), 0 0 30px rgba(0,255,194,0.12);
    border-color: rgba(0,255,194,0.2);
  }
  
  html.light-mode .btn-outline {
      border-color: var(--bhx-blue);
      color: var(--bhx-blue);
  }
  html.light-mode .btn-outline:hover {
      background: var(--bhx-blue);
      color: #fff !important;
  }

  .ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bhx-blue-glow) 0%, transparent 70%);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
  }

#hero-section {
  min-height: calc(100vh - 4.5rem) !important;
  justify-content: space-between !important;
  overflow: hidden;
  padding-bottom: clamp(3rem, 6vh, 4.75rem);
}

#hero-section > .grid {
  flex-grow: 1 !important;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: clamp(0.35rem, 1.25vh, 0.85rem);
}

#hero-section h1 {
  font-size: clamp(3.25rem, 6vw, 5.9rem);
  line-height: 0.98;
}

#hero-section p {
  max-width: 39rem;
}

.hero-tech-visual {
  position: relative;
  z-index: 2;
  width: min(46vw, 40rem);
  height: min(57vh, 32rem);
  min-height: 27rem;
}

.hero-visual-column {
  min-height: 27rem;
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--bhx-blue);
  opacity: 0.72;
  z-index: 1;
}

.hero-network path {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.36;
}

.hero-network circle {
  fill: var(--bhx-teal);
  filter: drop-shadow(0 0 8px rgba(0,255,194,0.75));
}

.hero-status-card {
  position: absolute;
  z-index: 3;
  min-width: 13.5rem;
  padding: 1rem;
  border: 1px solid rgba(0, 166, 255, 0.18);
  border-radius: 0.9rem;
  background: rgba(3, 7, 18, 0.72);
  box-shadow: 0 20px 45px -30px rgba(0, 166, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-status-card span,
.hero-status-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-main);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
}

.hero-status-card small {
  margin-top: 0.45rem;
  text-transform: none;
  letter-spacing: 0;
}

.hero-status-card-top {
  top: 4.5rem;
  right: 3rem;
}

.hero-status-card-mid {
  top: 14.5rem;
  left: 1rem;
}

.hero-status-card-bottom {
  right: 0;
  bottom: 4.25rem;
}

.hero-status-bar {
  height: 0.25rem;
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
}

.hero-status-bar span {
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bhx-blue), var(--bhx-teal));
}

.hero-orbit-card {
  position: absolute;
  z-index: 4;
  top: 2rem;
  left: 8rem;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 255, 194, 0.26);
  border-radius: 9999px;
  color: var(--bhx-teal);
  background: rgba(0, 255, 194, 0.1);
  box-shadow: 0 0 28px rgba(0, 255, 194, 0.18);
  animation: float 5.5s ease-in-out infinite;
}

html.light-mode .hero-status-card {
  background: rgba(255,255,255,0.82);
  border-color: rgba(0, 166, 255, 0.18);
}

.hero-performance-panel {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 1rem;
  width: min(29rem, 92%);
  padding: 1.75rem;
  border: 1px solid rgba(0, 166, 255, 0.22);
  border-radius: 1rem;
  background: rgba(3, 7, 18, 0.84);
  box-shadow:
    0 28px 70px -34px rgba(0, 166, 255, 0.85),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-50%);
  animation: panel-float 6s ease-in-out infinite;
}

.hero-performance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.9rem;
}

.hero-performance-head span,
.hero-metric-row span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-performance-head strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-main);
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 900;
}

.hero-performance-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--bhx-blue);
  border-radius: 9999px;
  color: var(--bhx-blue);
  box-shadow: 0 0 22px rgba(0, 166, 255, 0.24);
}

.hero-performance-metrics {
  display: grid;
  gap: 1.25rem;
}

.hero-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.hero-metric-row strong {
  color: var(--bhx-teal);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-progress {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
}

.hero-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.hero-progress-blue span {
  width: 95%;
  background: var(--bhx-blue);
  box-shadow: 0 0 18px rgba(0, 166, 255, 0.45);
}

.hero-progress-teal span {
  width: 100%;
  background: var(--bhx-teal);
  box-shadow: 0 0 18px rgba(0, 255, 194, 0.35);
}

.hero-code-panel {
  margin-top: 1.85rem;
  padding: 1.1rem;
  border: 1px solid rgba(0, 166, 255, 0.16);
  border-radius: 0.55rem;
  background: rgba(0,0,0,0.34);
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 800;
}

html.light-mode .hero-performance-panel {
  background: rgba(255,255,255,0.88);
  border-color: rgba(0, 166, 255, 0.18);
}

html.light-mode .hero-code-panel {
  background: rgba(15, 23, 42, 0.04);
}

  /* ==========================================================================
     NEW: TRUST STRIP CSS (Faded Marquee)
     ========================================================================== */
.trust-strip {
  padding: clamp(0.35rem, 1vh, 0.75rem) 0 0;
  margin-bottom: 0;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-ltr 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-ltr {
  /* Starts showing the second half (-50%) and scrolls to the first half (0%) to move left-to-right */
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  max-width: none;
  opacity: 0.4;
  filter: brightness(0) invert(1); /* Pure White for Dark Mode */
  transition: opacity 0.3s ease;
  object-fit: contain;
}

@media (max-width: 767px) {
#hero-section > .grid {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
  }

  .trust-strip {
    padding: 0.25rem 0 0;
    margin-bottom: 0;
  }

  .marquee-logo {
    height: 36px;
  }

  #hero-section {
    min-height: auto !important;
    padding-bottom: 2.75rem;
  }

  #hero-section h1 {
    font-size: clamp(2.75rem, 15vw, 4.25rem);
  }
}

.marquee-logo:hover { 
  opacity: 0.8; 
}

html.light-mode .marquee-logo {
  filter: brightness(0); /* Pure Black for Light Mode */
  opacity: 0.35;
}

html.light-mode .marquee-logo:hover { 
  opacity: 0.7; 
}
  /* ==========================================================================
     SECTION 2: SERVICES CSS
     ========================================================================== */
  .section-eyebrow {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bhx-blue), transparent);
    opacity: 0.5;
  }

  .card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.3s ease;
    z-index: 1;
  }

  .card-3d:nth-child(odd):hover {
    border-color: var(--bhx-blue);
    box-shadow: 0 20px 40px -10px var(--bhx-blue-glow-strong);
  }
  .card-3d:nth-child(even):hover {
    border-color: var(--bhx-teal);
    box-shadow: 0 20px 40px -10px rgba(0, 255, 194, 0.4);
  }

  .card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
  }
  
  .card-3d:nth-child(odd) .card-glow { background: radial-gradient(30rem circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--bhx-blue-glow), transparent 40%); }
  .card-3d:nth-child(even) .card-glow { background: radial-gradient(30rem circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--bhx-teal-glow), transparent 40%); }

  .card-3d:hover .card-glow { opacity: 1; }
  
  .card-icon { transition: transform 0.3s ease; }
  .card-3d:nth-child(odd) .card-icon { color: var(--bhx-blue); }
  .card-3d:nth-child(even) .card-icon { color: var(--bhx-teal); }
  .card-3d:hover .card-icon { transform: scale(1.1); }
  
  .card-link { font-weight: 600; transition: color 0.2s ease, text-shadow 0.2s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
  .card-3d:nth-child(odd) .card-link { color: var(--bhx-blue); }
  .card-3d:nth-child(even) .card-link { color: var(--bhx-teal); }
  
  .card-3d:nth-child(odd) .card-link:hover { text-shadow: 0 0 10px var(--bhx-blue); gap: 0.75rem; }
  /* ==========================================================================
     NEW BLOB GLOW CTAs
     ========================================================================== */
  /* GLOBAL HERO-LIKE CTA STYLING (Primary = green, Secondary = blue) */
  .btn-solid, .btn-primary, .btn-outline, .btn-secondary, .btn-outline-glow, .btn-review-cta, .magnetic-btn {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    color: var(--text-main) !important; /* white in dark mode */
    border-radius: 9999px !important;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    z-index: 0;
    box-shadow: none !important; /* remove external halo */
    padding-left: 1.25rem; padding-right: 1.25rem;
  }

  /* Primary buttons (hero style) */
  .btn-solid, .btn-primary { border: 1px solid var(--neon-green) !important; }
  .btn-solid::before, .btn-primary::before {
    content: '';
    position: absolute; left: 50%; top: 50%; width: 140%; height: 120%; transform: translate(-50%, 30%); border-radius: 50%; filter: blur(18px); z-index: 0; opacity: 0.45; pointer-events: none; background: rgba(0,255,194,0.34);
    transition: transform 0.9s cubic-bezier(0.2,0.8,0.2,1), background 0.5s ease, opacity 0.3s ease;
  }

  /* Secondary buttons (outline/secondary/magnetic) */
  .btn-outline, .btn-secondary, .magnetic-btn, .btn-outline-glow { border: 1px solid var(--tech-blue) !important; }
  .btn-outline::before, .btn-secondary::before, .magnetic-btn::before, .btn-outline-glow::before {
    content: '';
    position: absolute; left: 50%; top: 50%; width: 140%; height: 120%; transform: translate(-50%, 30%); border-radius: 50%; filter: blur(18px); z-index: 0; opacity: 0.45; pointer-events: none; background: rgba(0,166,255,0.30);
    transition: transform 0.9s cubic-bezier(0.2,0.8,0.2,1), background 0.5s ease, opacity 0.3s ease;
  }

  /* Hover: lift blob and swap colors for hero buttons */
  .btn-solid:hover::before, .btn-primary:hover::before { transform: translate(-50%, -40%); background: rgba(0,166,255,0.45); opacity: 0.75; }
  .btn-outline:hover::before, .btn-secondary:hover::before, .magnetic-btn:hover::before { transform: translate(-50%, -40%); background: rgba(0,255,194,0.45); opacity: 0.75; }

  /* Keep content above the blob */
  .btn-solid > *, .btn-outline > *, .btn-primary > *, .btn-secondary > *, .btn-review-cta > *, .magnetic-btn > * { position: relative; z-index: 1; }

  /* Specific single-button sections: ensure blue (portfolio & reviews) */
  #reviews-staggered .btn-review-cta, .magnetic-btn { border-color: var(--tech-blue) !important; }
  #reviews-staggered .btn-review-cta::before, .magnetic-btn::before { background: rgba(0,166,255,0.34); }

  /* Text color: white in dark mode, dark in light mode */
  .btn-solid, .btn-outline, .btn-primary, .btn-secondary, .btn-outline-glow, .btn-review-cta, .magnetic-btn { color: var(--text-main) !important; }
  html.light-mode .btn-solid, html.light-mode .btn-outline, html.light-mode .btn-primary, html.light-mode .btn-secondary, html.light-mode .btn-outline-glow, html.light-mode .btn-review-cta, html.light-mode .magnetic-btn { color: var(--text-primary) !important; }

  /* Light mode: softer blobs */
  html.light-mode .btn-solid::before, html.light-mode .btn-primary::before { background: rgba(0,255,194,0.18); opacity: 0.38; filter: blur(14px); }
  html.light-mode .btn-outline::before, html.light-mode .btn-secondary::before, html.light-mode .magnetic-btn::before { background: rgba(2,132,199,0.16); opacity: 0.32; filter: blur(14px); }

  html.light-mode .btn-solid:hover::before { background: rgba(2,132,199,0.28); transform: translate(-50%, -30%); opacity: 0.6; }
  html.light-mode .btn-outline:hover::before { background: rgba(0,255,194,0.25); transform: translate(-50%, -30%); opacity: 0.6; }

  /* Hero button overrides: outline + colored glow + bright hover text */
  .hero-buttons .btn-solid,
  .hero-buttons .btn-outline {
    background: transparent !important;
    box-shadow: none !important;
  }
  .hero-buttons .btn-solid {
    border: 2px solid var(--tech-blue) !important;
    color: var(--text-main) !important;
  }
  .hero-buttons .btn-outline {
    border: 2px solid var(--neon-green) !important;
    color: var(--text-main) !important;
  }
  html.light-mode .hero-buttons .btn-solid,
  html.light-mode .hero-buttons .btn-outline {
    color: var(--text-primary) !important;
  }
  .hero-buttons .btn-solid:hover {
    color: var(--tech-blue) !important;
    /* rely on existing .btn-solid::before for the internal blob/glow animation */
    border-color: var(--tech-blue) !important;
  }
  .hero-buttons .btn-outline:hover {
    color: var(--neon-green) !important;
    /* rely on existing .btn-outline::before for the internal blob/glow animation */
    border-color: var(--neon-green) !important;
  }


  /* ==========================================================================
     ADVANCED CAPABILITIES CSS
     ========================================================================== */
  #advanced-capabilities {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  /* --- Left Tab Navigation (Reduced Sizes) --- */
  .cap-tab {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem; 
    padding: 1rem 1.25rem; 
    border-radius: 1rem;
    background: transparent;
    border: 1px solid transparent; 
    cursor: pointer;
    text-align: left;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
  }

  .cap-tab:hover { background: rgba(255, 255, 255, 0.02); }
  html.light-mode .cap-tab:hover { background: rgba(0, 0, 0, 0.02); }

  /* Icon inside tab (Reduced Size) */
  .cap-tab .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem; 
    height: 2.5rem; 
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
    flex-shrink: 0;
  }
  .cap-tab .tab-icon svg {
    width: 1.25rem; 
    height: 1.25rem;
  }
  html.light-mode .cap-tab .tab-icon { background: rgba(0, 0, 0, 0.05); }

  /* --- ACTIVE TAB STATE --- */
  .cap-tab.active {
    background: rgba(0, 166, 255, 0.03); 
    transform: translateX(8px); 
    border-color: transparent; 
    box-shadow: 0 10px 30px -10px var(--bhx-blue-glow);
  }
  html.light-mode .cap-tab.active { background: #ffffff; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); }

  .cap-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px; 
    background: linear-gradient(135deg, var(--bhx-blue), var(--bhx-teal));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .cap-tab.active::before { opacity: 1; }

  .cap-tab.active .tab-icon {
    background: var(--bhx-blue-glow-strong);
    color: var(--bhx-blue);
    box-shadow: 0 0 15px var(--bhx-blue-glow);
  }
  .cap-tab.active .tab-title { color: var(--text-main); }
  .cap-tab.active .tab-desc { color: var(--text-muted); }

  /* --- Right Content Pane --- */
  .cap-pane-container {
    display: grid; 
    position: relative;
    border-radius: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    height: 100%; 
  }
  html.light-mode .cap-pane-container { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); }

  .cap-panel {
    grid-area: 1 / 1; 
    padding: 2.5rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: scale(0.98) translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center; 
  }
  @media (min-width: 1024px) {
    .cap-panel { padding: 3.5rem; }
  }

  .cap-panel.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 2;
  }

  /* --- Staggered Animations --- */
  .cap-panel .stagger-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .cap-panel.active .stagger-item { opacity: 1; transform: translateY(0); }
  .cap-panel.active .stagger-item:nth-child(1) { transition-delay: 0.1s; }
  .cap-panel.active .stagger-item:nth-child(2) { transition-delay: 0.2s; }
  .cap-panel.active .stagger-item:nth-child(3) { transition-delay: 0.3s; }
  .cap-panel.active .stagger-item:nth-child(4) { transition-delay: 0.4s; }

  /* Key Deliverables Checkmark Boxes */
  .deliverable-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease;
  }
  .deliverable-box:hover { background: rgba(255, 255, 255, 0.05); }
  html.light-mode .deliverable-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
  }
  html.light-mode .deliverable-box:hover { background: rgba(0, 0, 0, 0.05); }
  .deliverable-icon { color: var(--bhx-teal); flex-shrink: 0; }


  /* ==========================================================================
     INDUSTRIES SECTION CSS
     ========================================================================== */
  #industries-section {
    position: relative;
    background-color: var(--bg-dark);
    transition: background-color 0.3s ease;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .industries-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      radial-gradient(circle at 15% 20%, rgba(0, 166, 255, 0.08), transparent 28%),
      radial-gradient(circle at 85% 80%, rgba(0, 255, 194, 0.06), transparent 30%);
  }

  html.light-mode .industries-ambient {
    background:
      radial-gradient(circle at 15% 20%, rgba(0, 166, 255, 0.05), transparent 28%),
      radial-gradient(circle at 85% 80%, rgba(0, 200, 150, 0.04), transparent 30%);
  }

  .industries-shell {
    position: relative;
    z-index: 2;
  }

  .industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
  }

  @media (min-width: 640px) {
    .industries-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .industries-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
    }
  }

  .industry-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 92px;
  }

  .industry-card:hover {
    transform: translateY(-6px);
  }

  .industry-card:nth-child(odd):hover {
    border-color: var(--bhx-blue);
    box-shadow: 0 18px 35px -12px var(--bhx-blue-glow-strong);
  }

  .industry-card:nth-child(even):hover {
    border-color: var(--bhx-teal);
    box-shadow: 0 18px 35px -12px rgba(0, 255, 194, 0.18);
  }

  html.light-mode .industry-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
  }

  html.light-mode .industry-card:nth-child(odd):hover {
    border-color: var(--tech-blue-lm);
    box-shadow: 0 14px 28px -10px rgba(0, 166, 255, 0.12);
  }

  html.light-mode .industry-card:nth-child(even):hover {
    border-color: var(--tech-blue-lm);
    box-shadow: 0 14px 28px -10px rgba(0, 166, 255, 0.10);
  }

  .industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
  }

  .industry-card:nth-child(odd)::before {
    background: linear-gradient(180deg, rgba(0, 166, 255, 0.04) 0%, transparent 35%);
  }

  .industry-card:nth-child(even)::before {
    background: linear-gradient(180deg, rgba(0, 255, 194, 0.04) 0%, transparent 35%);
  }

  .industry-icon-wrap {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    position: relative;
    z-index: 1;
    transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  }

  .industry-card:nth-child(odd) .industry-icon-wrap { color: var(--bhx-blue); }
  .industry-card:nth-child(even) .industry-icon-wrap { color: var(--bhx-teal); }
  html.light-mode .industry-icon-wrap { background: rgba(0,0,0,0.02); }
  html.light-mode .industry-card .industry-icon-wrap { color: var(--tech-blue-lm); }

  .industry-card:nth-child(odd):hover .industry-icon-wrap {
    border-color: var(--bhx-blue);
    background: rgba(0, 166, 255, 0.08);
    box-shadow: 0 0 18px rgba(0, 166, 255, 0.18);
  }

  .industry-card:nth-child(even):hover .industry-icon-wrap {
    border-color: var(--bhx-teal);
    background: rgba(0, 255, 194, 0.08);
    box-shadow: 0 0 18px rgba(0, 255, 194, 0.14);
  }

  .industry-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    margin: 0;
  }


  /* ==========================================================================
     COMPARISON SECTION CSS
     ========================================================================== */
  #comparison-section {
    position: relative;
    background-color: var(--bg-dark);
    transition: background-color 0.3s ease;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .comparison-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(0, 166, 255, 0.08), transparent 30%),
      radial-gradient(circle at 80% 70%, rgba(0, 255, 194, 0.06), transparent 30%);
  }
  html.light-mode .comparison-ambient {
    background:
      radial-gradient(circle at 20% 30%, rgba(0, 166, 255, 0.05), transparent 30%),
      radial-gradient(circle at 80% 70%, rgba(0, 200, 150, 0.05), transparent 30%);
  }

  .comparison-shell {
    position: relative;
    z-index: 2;
  }

  .comparison-slider {
    position: relative;
    margin-top: 2.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background:
      linear-gradient(135deg, rgba(0, 166, 255, 0.08), rgba(0, 255, 194, 0.05)),
      var(--bg-card);
    box-shadow: 0 24px 70px -42px rgba(0, 255, 194, 0.5);
  }

  html.light-mode .comparison-slider {
    background:
      linear-gradient(135deg, rgba(0, 166, 255, 0.08), rgba(0, 255, 194, 0.04)),
      #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 22px 55px -38px rgba(0, 93, 160, 0.35);
  }

  .comparison-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .comparison-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .comparison-arrow {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  .comparison-arrow:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 194, 0.42);
    background: rgba(0, 255, 194, 0.09);
  }

  .comparison-track {
    position: relative;
    min-height: 22rem;
    overflow: hidden;
  }

  .comparison-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1rem;
    opacity: 0;
    transform: translateX(1.5rem);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .comparison-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .comparison-slide-meta {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 255, 194, 0.14);
    background: rgba(0, 255, 194, 0.06);
  }

  .comparison-slide-meta span {
    color: var(--bhx-teal);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 0.95;
    font-weight: 900;
  }

  .comparison-slide-meta strong {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .comparison-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-width: 0;
  }

  .comparison-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 1rem;
    min-height: 19.5rem;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1.35rem;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.3s ease;
  }

  .comparison-card:hover {
    transform: translateY(-4px);
  }

  .comparison-card.bad {
    border-color: rgba(239, 68, 68, 0.18);
  }

  .comparison-card.good {
    border-color: rgba(0, 255, 194, 0.2);
  }

  .comparison-card.bad:hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 20px 40px -18px rgba(239, 68, 68, 0.24);
  }

  .comparison-card.good:hover {
    border-color: var(--bhx-teal);
    box-shadow: 0 20px 40px -18px rgba(0, 255, 194, 0.24);
  }

  html.light-mode .comparison-card {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.08);
  }

  .comparison-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
  }

  .comparison-card.bad::before {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, transparent 42%);
  }

  .comparison-card.good::before {
    background: linear-gradient(180deg, rgba(0, 255, 194, 0.08) 0%, transparent 42%);
  }

  .comparison-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
  }

  .comparison-card.bad .comparison-icon {
    color: #f87171;
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.18);
  }

  .comparison-card.good .comparison-icon {
    color: var(--bhx-teal);
    background: rgba(0, 255, 194, 0.10);
    border-color: rgba(0, 255, 194, 0.18);
  }

  html.light-mode .comparison-card.good .comparison-icon {
    color: var(--tech-blue-lm);
    background: rgba(0, 166, 255, 0.08);
    border-color: rgba(0, 166, 255, 0.15);
  }

  .comparison-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
  }

  .comparison-card.bad .comparison-label { color: #f87171; }
  .comparison-card.good .comparison-label { color: var(--bhx-teal); }
  .comparison-label.good { color: var(--bhx-teal); }
  html.light-mode .comparison-card.good .comparison-label { color: var(--tech-blue-lm); }

  .comparison-title {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
  }

  .comparison-card h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
    font-weight: 850;
  }

  .comparison-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
  }

  .comparison-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .comparison-dots button {
    width: 0.65rem;
    height: 0.65rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
  }

  .comparison-dots button.active {
    width: 2rem;
    background: var(--bhx-teal);
  }

  .comparison-footnote {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 56rem;
    margin-inline: auto;
  }

  .compare-board {
    position: relative;
    margin-top: 2.75rem;
    max-width: 62rem;
    margin-inline: auto;
    padding: 1.25rem;
    border: 1px solid rgba(0, 255, 194, 0.16);
    border-radius: 1rem;
    background: rgba(255,255,255,0.018);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
  }

  .compare-board::before {
    content: "";
    position: absolute;
    top: 2.75rem;
    bottom: 0.5rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 194, 0.28), transparent);
    transform: translateX(-50%);
  }

  html.light-mode .compare-board {
    background: #ffffff;
    border-color: rgba(0, 166, 255, 0.16);
    box-shadow: 0 18px 45px -36px rgba(0, 93, 160, 0.28);
  }

  .compare-board-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 1rem;
  }

  .compare-board-head span {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 850;
  }

  .compare-board-head span:last-child {
    justify-self: start;
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
    color: var(--text-primary);
    background: rgba(0, 255, 194, 0.1);
  }

  html.light-mode .compare-board-head span:last-child {
    background: rgba(0, 166, 255, 0.08);
  }

  .compare-flow {
    display: grid;
    gap: 0.75rem;
  }

  .compare-point {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    min-height: 4.65rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255,255,255,0.055);
  }

  .compare-point:first-child {
    border-top: 0;
  }

  html.light-mode .compare-point {
    border-top-color: rgba(0,0,0,0.06);
  }

  .compare-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
  }

  .compare-copy i,
  .compare-copy svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.22rem;
    flex-shrink: 0;
  }

  .compare-copy-old i,
  .compare-copy-old svg {
    color: #fb7185;
  }

  .compare-copy-new i,
  .compare-copy-new svg {
    color: var(--bhx-teal);
  }

  .compare-copy p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .compare-topic {
    position: relative;
    z-index: 1;
    justify-self: center;
    min-width: 5.6rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(0, 255, 194, 0.18);
    border-radius: 9999px;
    color: var(--text-primary);
    background: var(--bg-dark);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
  }

  html.light-mode .compare-topic {
    background: #ffffff;
    border-color: rgba(0, 166, 255, 0.18);
  }

  .compare-mobile-hint {
    display: none;
  }

  @media (max-width: 760px) {
    .compare-board {
      max-width: none;
      margin-top: 2rem;
    }

    .compare-board::before,
    .compare-board-head {
      display: none;
    }

    .compare-flow {
      display: flex;
      gap: 0.9rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      overscroll-behavior-x: contain;
      padding: 0 1rem 0.85rem;
      margin-inline: -1rem;
      scrollbar-width: none;
    }

    .compare-flow::-webkit-scrollbar {
      display: none;
    }

    .compare-point {
      flex: 0 0 min(86vw, 22rem);
      scroll-snap-align: center;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
      min-height: 0;
      padding: 1rem;
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: rgba(255,255,255,0.03);
    }

    html.light-mode .compare-point {
      background: #ffffff;
      border-color: rgba(0,0,0,0.08);
    }

    .compare-topic {
      order: -1;
      justify-self: start;
      min-width: 0;
      background: rgba(0, 255, 194, 0.08);
    }

    .compare-copy {
      padding: 0.85rem;
      border-radius: 0.75rem;
      background: rgba(255,255,255,0.025);
    }

    .compare-copy-new {
      background: rgba(0, 255, 194, 0.06);
    }

    html.light-mode .compare-copy {
      background: rgba(0,0,0,0.025);
    }

    html.light-mode .compare-copy-new {
      background: rgba(0, 166, 255, 0.06);
    }

    .compare-copy p {
      font-size: 0.92rem;
      line-height: 1.5;
    }

    .compare-mobile-hint {
      display: block;
      margin-top: 0.6rem;
      color: var(--text-secondary);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-align: center;
      text-transform: uppercase;
    }
  }

  .comparison-matrix {
    margin-top: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,0.025);
    box-shadow: 0 22px 60px -48px rgba(0, 255, 194, 0.55);
  }

  html.light-mode .comparison-matrix {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 20px 45px -36px rgba(0, 93, 160, 0.25);
  }

  .comparison-matrix-head,
  .comparison-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9rem minmax(0, 1fr);
    align-items: center;
  }

  .comparison-matrix-head {
    min-height: 3.1rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border);
  }

  .comparison-matrix-head span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 1.25rem;
  }

  .comparison-matrix-head span:nth-child(2),
  .comparison-row strong {
    text-align: center;
  }

  .comparison-row {
    min-height: 4.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.25s ease;
  }

  .comparison-row:last-child {
    border-bottom: 0;
  }

  .comparison-row:hover {
    background: rgba(0, 255, 194, 0.04);
  }

  html.light-mode .comparison-row {
    border-bottom-color: rgba(0,0,0,0.06);
  }

  .comparison-row p,
  .comparison-row strong {
    margin: 0;
    padding: 0 1.25rem;
  }

  .comparison-row p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .comparison-row p:first-child svg {
    color: #f87171;
    flex-shrink: 0;
  }

  .comparison-row p:last-child svg {
    color: var(--bhx-teal);
    flex-shrink: 0;
  }

  .comparison-row strong {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 255, 194, 0.07);
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
  }

  html.light-mode .comparison-row strong {
    background: rgba(0, 166, 255, 0.07);
    border-color: rgba(0,0,0,0.06);
  }

  @media (max-width: 900px) {
    #comparison-section {
      padding-top: 4rem;
      padding-bottom: 4.5rem;
    }

    .comparison-slider {
      padding: 1rem;
    }

    .comparison-track {
      min-height: 30rem;
    }

    .comparison-slide {
      grid-template-columns: 1fr;
    }

    .comparison-slide-meta {
      min-height: auto;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      padding: 0.9rem 1rem;
    }

    .comparison-slide-meta span {
      font-size: 2rem;
    }

    .comparison-pair {
      grid-template-columns: 1fr;
    }

    .comparison-card {
      min-height: 10.5rem;
      padding: 1rem;
    }
  }

  @media (max-width: 720px) {
    .comparison-matrix-head {
      display: none;
    }

    .comparison-row {
      grid-template-columns: 1fr;
      gap: 0.65rem;
      min-height: 0;
      padding: 1rem;
    }

    .comparison-row p,
    .comparison-row strong {
      padding: 0;
    }

    .comparison-row strong {
      order: -1;
      align-self: auto;
      justify-content: flex-start;
      width: fit-content;
      padding: 0.35rem 0.65rem;
      border: 1px solid rgba(0, 255, 194, 0.16);
      border-radius: 9999px;
      font-size: 0.72rem;
    }

    .comparison-row p {
      font-size: 0.93rem;
    }
  }

  @media (max-width: 560px) {
    .comparison-slider-head {
      align-items: flex-start;
    }

    .comparison-title {
      font-size: 1.25rem;
    }

    .comparison-arrow {
      width: 2.4rem;
      height: 2.4rem;
    }

    .comparison-track {
      min-height: 34rem;
    }

    .comparison-card {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }

    .comparison-icon {
      width: 3rem;
      height: 3rem;
    }

    .comparison-card h4 {
      font-size: 1.25rem;
    }

    .comparison-card p {
      font-size: 0.94rem;
      line-height: 1.55;
    }
  }


  /* ==========================================================================
     PORTFOLIO SPECIFIC CSS
     ========================================================================== */
  #portfolio-section {
    position: relative;
    background-color: var(--bg-main);
    transition: background-color 0.3s ease;
    padding-top: 4rem; 
    padding-bottom: 5rem; 
  }

  /* --- Portfolio Card (Extended from card-3d) --- */
  .portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    padding: 0;
  }

  /* Hover Effects */
  .portfolio-card:nth-child(odd):hover {
    border-color: var(--bhx-blue);
    box-shadow: 0 15px 30px -10px var(--bhx-blue-glow-strong);
    transform: translateY(-4px);
  }
  .portfolio-card:nth-child(even):hover {
    border-color: var(--bhx-teal);
    box-shadow: 0 15px 30px -10px rgba(0, 255, 194, 0.3);
    transform: translateY(-4px);
  }

  /* Light Mode Adjustments */
  html.light-mode .portfolio-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }
  html.light-mode .portfolio-card:nth-child(odd):hover { border-color: var(--tech-blue-lm); box-shadow: 0 10px 20px -10px rgba(0, 166, 255, 0.2); transform: translateY(-3px); }
  html.light-mode .portfolio-card:nth-child(even):hover { border-color: var(--tech-blue-lm); box-shadow: 0 10px 20px -10px rgba(0, 255, 194, 0.2); transform: translateY(-3px); }

  /* Image Wrapper */
  .portfolio-img-wrap {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
  }
  .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
  }

  /* Inner Content */
  .portfolio-content {
    padding: 1.5rem; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  /* Tags & Stats */
  .portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  .p-tag {
    font-size: 0.7rem; 
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
  }
  html.light-mode .p-tag { background: #f1f5f9; color: var(--text-muted); border-color: #e2e8f0; }

  /* Active Filter Button State */
  .filter-btn.active {
    background-color: var(--tech-blue) !important;
    color: #000 !important;
    border-color: var(--tech-blue) !important;
  }

  .portfolio-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 194, 0.05);
    border: 1px solid rgba(0, 255, 194, 0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
  html.light-mode .portfolio-stat { background: rgba(0, 166, 255, 0.05); border-color: rgba(0, 166, 255, 0.2); }

  .portfolio-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bhx-teal);
  }
  html.light-mode .portfolio-stat-val { color: var(--tech-blue-lm); }

  .portfolio-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
  }

  /* Card Glow Background */
  .p-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: screen;
  }
  .portfolio-card:nth-child(odd) .p-card-glow { background: radial-gradient(30rem circle at var(--mx, 50%) var(--my, 50%), var(--bhx-blue-glow), transparent 40%); }
  .portfolio-card:nth-child(even) .p-card-glow { background: radial-gradient(30rem circle at var(--mx, 50%) var(--my, 50%), var(--bhx-teal-glow), transparent 40%); }
  .portfolio-card:hover .p-card-glow { opacity: 1; }
  html.light-mode .p-card-glow { display: none; }

  .portfolio-content > * { position: relative; z-index: 20; }
  
  /* Filter Hide Utility */
  .hide-card { display: none !important; }

  .project-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .project-card {
    min-height: 19rem;
    padding: 1.25rem;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
      var(--bg-card);
  }

  .project-card-feature {
    grid-column: span 3;
    min-height: 0;
    padding: 1.5rem;
  }

  .project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
  }

  .project-status {
    flex-shrink: 0;
    color: var(--bhx-teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .project-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 2rem;
    align-items: start;
  }

  .project-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--bhx-teal);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .project-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    line-height: 1.12;
    font-weight: 850;
  }

  .project-card-feature h3 {
    max-width: 42rem;
    font-size: clamp(1.7rem, 4vw, 3.25rem);
  }

  .project-card p {
    position: relative;
    z-index: 2;
    margin: 0.85rem 0 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .project-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .project-metrics div,
  .project-mini-metric {
    position: relative;
    z-index: 2;
    padding: 0.9rem;
    border: 1px solid rgba(0, 255, 194, 0.16);
    border-radius: 0.85rem;
    background: rgba(0, 255, 194, 0.055);
  }

  .project-metrics strong,
  .project-mini-metric strong {
    display: block;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1;
    font-weight: 900;
  }

  .project-metrics span,
  .project-mini-metric span {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .project-scope {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
  }

  .project-scope li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
  }

  .project-scope svg {
    color: var(--bhx-teal);
    flex-shrink: 0;
  }

  .project-icon {
    position: relative;
    z-index: 2;
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 194, 0.18);
    border-radius: 0.8rem;
    color: var(--bhx-teal);
    background: rgba(0, 255, 194, 0.08);
  }

  .project-mini-metric {
    margin-top: auto;
    margin-bottom: 1rem;
  }

  .project-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: var(--tech-blue);
    font-size: 0.88rem;
    font-weight: 800;
  }

  .project-link:hover {
    text-decoration: underline;
  }

  html.light-mode .project-card {
    background: #ffffff;
  }

  html.light-mode .project-status,
  html.light-mode .project-label,
  html.light-mode .project-icon,
  html.light-mode .project-scope svg {
    color: var(--tech-blue-lm);
  }

  html.light-mode .project-icon,
  html.light-mode .project-metrics div,
  html.light-mode .project-mini-metric {
    background: rgba(0, 166, 255, 0.055);
    border-color: rgba(0, 166, 255, 0.16);
  }

  @media (max-width: 900px) {
    .project-board {
      grid-template-columns: 1fr;
    }

    .project-card-feature {
      grid-column: auto;
    }

    .project-feature-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }

    .project-metrics {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 620px) {
    .project-card,
    .project-card-feature {
      padding: 1rem;
    }

    .project-card-top {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.4rem;
    }

    .project-metrics {
      grid-template-columns: 1fr;
    }

    .project-card {
      min-height: 0;
    }
  }

  .case-study-list {
    display: grid;
    gap: 0.9rem;
    max-width: 68rem;
    margin-inline: auto;
  }

  .case-strip {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(10rem, 18rem) 3rem;
    align-items: center;
    gap: 1.25rem;
    min-height: 0;
    padding: 1rem;
    border-radius: 0.8rem;
    background:
      linear-gradient(90deg, rgba(0, 166, 255, 0.08), transparent 48%),
      rgba(255,255,255,0.025);
  }

  .case-strip-feature {
    border-color: rgba(0, 255, 194, 0.28);
    background:
      linear-gradient(90deg, rgba(0, 255, 194, 0.1), transparent 50%),
      rgba(255,255,255,0.035);
  }

  .case-number {
    position: relative;
    z-index: 2;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 194, 0.55);
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 950;
  }

  .case-main {
    position: relative;
    z-index: 2;
    min-width: 0;
  }

  .case-main .portfolio-tags {
    margin-bottom: 0.65rem;
  }

  .case-main h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.15;
    font-weight: 850;
  }

  .case-main p {
    margin: 0.55rem 0 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .case-results {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .case-strip:not(.case-strip-feature) .case-results {
    grid-template-columns: 1fr;
  }

  .case-results div {
    min-height: 4.2rem;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 194, 0.14);
    border-radius: 0.7rem;
    background: rgba(0, 255, 194, 0.055);
  }

  .case-results strong {
    display: block;
    color: var(--text-primary);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1;
    font-weight: 900;
  }

  .case-results span {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .case-link {
    position: relative;
    z-index: 2;
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border: 1px solid rgba(0, 166, 255, 0.28);
    border-radius: 9999px;
    color: var(--tech-blue);
    background: rgba(0, 166, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  .case-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 194, 0.38);
    background: rgba(0, 255, 194, 0.1);
  }

  html.light-mode .case-strip,
  html.light-mode .case-strip-feature {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
  }

  html.light-mode .case-number {
    -webkit-text-stroke-color: rgba(0, 166, 255, 0.55);
  }

  html.light-mode .case-results div {
    background: rgba(0, 166, 255, 0.055);
    border-color: rgba(0, 166, 255, 0.14);
  }

  @media (max-width: 900px) {
    .case-strip {
      grid-template-columns: 3.4rem minmax(0, 1fr) 2.8rem;
      align-items: start;
    }

    .case-results {
      grid-column: 2 / -1;
      grid-row: 2;
    }

    .case-link {
      grid-column: 3;
      grid-row: 1;
    }
  }

  @media (max-width: 640px) {
    .case-strip {
      grid-template-columns: 1fr auto;
      gap: 0.8rem;
      padding: 1rem;
    }

    .case-number {
      grid-column: 1 / -1;
      font-size: 1.4rem;
      -webkit-text-stroke-width: 0;
      color: var(--bhx-teal);
    }

    .case-main {
      grid-column: 1 / -1;
    }

    .case-results {
      grid-column: 1 / -1;
      grid-template-columns: 1fr;
    }

    .case-strip-feature .case-results {
      grid-template-columns: 1fr;
    }

    .case-results div {
      min-height: 0;
    }

    .case-link {
      grid-column: 2;
      grid-row: 1;
    }
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 72rem;
    margin-inline: auto;
  }

  .project-tile {
    min-height: 100%;
    padding: 0;
    border-radius: 1rem;
    background:
      linear-gradient(180deg, rgba(0, 166, 255, 0.055), transparent 38%),
      var(--bg-card);
  }

  .project-image-placeholder {
    position: relative;
    z-index: 2;
    min-height: 11rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(0, 166, 255, 0.14);
    color: var(--text-muted);
    background:
      linear-gradient(135deg, rgba(0, 166, 255, 0.1), rgba(0, 255, 194, 0.045)),
      rgba(255,255,255,0.02);
  }

  .project-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px dashed rgba(0, 255, 194, 0.18);
    border-radius: 0.8rem;
    pointer-events: none;
  }

  .project-image-placeholder svg {
    color: var(--bhx-teal);
    opacity: 0.85;
  }

  .project-image-placeholder span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .project-tile-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 17rem;
    padding: 1.1rem;
  }

  .project-tile h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    line-height: 1.15;
    font-weight: 850;
  }

  .project-tile p {
    margin: 0.7rem 0 1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .project-tile-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: auto;
  }

  .project-tile-metric {
    min-width: 7.5rem;
    padding: 0.7rem;
    border: 1px solid rgba(0, 255, 194, 0.16);
    border-radius: 0.75rem;
    background: rgba(0, 255, 194, 0.055);
  }

  .project-tile-metric strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 900;
  }

  .project-tile-metric span {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .project-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--tech-blue);
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .project-tile-link:hover {
    color: var(--bhx-teal);
    text-decoration: none !important;
  }

  html.light-mode .project-tile {
    background: #ffffff;
  }

  html.light-mode .project-image-placeholder {
    background:
      linear-gradient(135deg, rgba(0, 166, 255, 0.08), rgba(0, 255, 194, 0.035)),
      rgba(0,0,0,0.015);
  }

  @media (max-width: 1024px) {
    .project-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .project-grid {
      grid-template-columns: 1fr;
    }

    .project-image-placeholder {
      min-height: 9rem;
    }

    .project-tile-body {
      min-height: 0;
    }
  }


  /* ==========================================================================
     SECTION 07 REVIEWS CSS
     ========================================================================== */
  #reviews-staggered {
    padding-top: 6rem;
    padding-bottom: 2rem;
    position: relative;
    background-color: var(--bg-main);
    transition: background-color 0.4s ease;
  }

  .reviews-grid-wrapper {
    position: relative;
    max-height: 1100px; 
    overflow: hidden;
  }
  @media (min-width: 768px) {
    .reviews-grid-wrapper { max-height: 850px; }
  }

  .staggered-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 8rem; 
  }

  @media (min-width: 768px) {
    .staggered-grid {
      grid-template-columns: repeat(3, 1fr);
      align-items: start;
    }
    .stagger-col-1, .stagger-col-3 { margin-top: 4rem; }
  }

  .stagger-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .review-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .review-card-modern:nth-child(odd):hover {
    transform: translateY(-5px);
    border-color: var(--bhx-blue);
    box-shadow: 0 15px 35px -10px var(--bhx-blue-glow-strong);
  }
  .review-card-modern:nth-child(even):hover {
    transform: translateY(-5px);
    border-color: var(--bhx-teal);
    box-shadow: 0 15px 35px -10px rgba(0, 255, 194, 0.3);
  }

  html.light-mode .review-card-modern:nth-child(odd):hover { box-shadow: 0 15px 30px -10px rgba(0, 166, 255, 0.2); }
  html.light-mode .review-card-modern:nth-child(even):hover { box-shadow: 0 15px 30px -10px rgba(0, 255, 194, 0.2); }

  .rev-stars { display: flex; gap: 0.15rem; color: var(--bhx-teal); margin-bottom: 1rem; }
  .rev-stars svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

  .rev-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; flex-grow: 1; }
  .rev-author { display: flex; align-items: center; gap: 0.75rem; }

  .rev-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-main);
    background: var(--bhx-blue);
    flex-shrink: 0;
  }
  .stagger-col:nth-child(2) .review-card-modern:nth-child(odd) .rev-avatar { background: var(--bhx-teal); color: #000; }
  .stagger-col:nth-child(3) .review-card-modern:nth-child(even) .rev-avatar { background: #444; color: #fff; }

  .rev-name { font-size: 0.85rem; font-weight: 600; color: var(--text-main); line-height: 1.2; }

  .reviews-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24rem; 
    background: linear-gradient(to bottom, transparent 0%, var(--bg-main) 75%, var(--bg-main) 100%);
    z-index: 20;
    pointer-events: none; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
  }


  /* ==========================================================================
     PROCESS SECTION SPECIFIC CSS
     ========================================================================== */
  #process-section {
    position: relative;
    background-color: var(--bg-dark);
    transition: background-color 0.3s ease;
  }

  /* --- Process Grid & Pipeline Line --- */
  .process-container {
    position: relative;
    margin-top: 4rem;
  }

  /* Glowing Connecting Line (Hidden on Mobile, Visible on Desktop) */
  .process-pipeline-line {
    display: none;
  }
  @media (min-width: 1024px) {
    .process-pipeline-line {
      display: block;
      position: absolute;
      top: 3.5rem;
      left: 5%;
      right: 5%;
      height: 2px;
      background: linear-gradient(90deg, var(--tech-blue) 0%, var(--neon-green) 100%);
      opacity: 0.3;
      z-index: 0;
    }
    html.light-mode .process-pipeline-line { opacity: 0.5; }
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
  }

  @media (min-width: 768px) {
    .process-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem 2rem;
    }
  }

  @media (min-width: 1024px) {
    .process-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 1.5rem;
    }
  }

  /* --- Process Card Styles --- */
  .process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Large Faint Background Number */
  .process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -1rem;
    right: -0.5rem;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.03;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  html.light-mode .process-step::before {
    opacity: 0.05;
    color: #000;
  }

  /* Hover Effects */
  .process-step:hover {
    transform: translateY(-8px);
    background: var(--bg-card);
  }
  .process-step:hover::before {
    opacity: 0.06;
    transform: scale(1.1) rotate(-5deg);
  }

  /* Alternating Hover Colors */
  .process-step:nth-child(odd):hover {
    border-color: var(--tech-blue);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 255, 0.25);
  }
  .process-step:nth-child(even):hover {
    border-color: var(--neon-green);
    box-shadow: 0 20px 40px -10px rgba(57, 255, 20, 0.2);
  }

  html.light-mode .process-step:nth-child(odd):hover {
    box-shadow: 0 15px 30px -10px rgba(0, 191, 255, 0.2);
    border-color: var(--tech-blue-lm);
  }
  html.light-mode .process-step:nth-child(even):hover {
    box-shadow: 0 15px 30px -10px rgba(0, 191, 255, 0.2);
    border-color: var(--tech-blue-lm);
  }

  /* Step Icon */
  .process-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  }

  .process-step:nth-child(odd) .process-icon-wrap { color: var(--tech-blue); }
  .process-step:nth-child(even) .process-icon-wrap { color: var(--neon-green); }

  html.light-mode .process-step .process-icon-wrap {
    color: var(--tech-blue-lm);
    background: #ffffff;
  }

  .process-step:nth-child(odd):hover .process-icon-wrap {
    background: rgba(0, 191, 255, 0.1);
    border-color: var(--tech-blue);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
  }

  .process-step:nth-child(even):hover .process-icon-wrap {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  }

  /* Text Styling */
  .process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
  }

  .process-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
  }

/* ==========================================================================
     CEO / FOUNDER "CUTOUT" SECTION CSS
     ========================================================================== */
  #ceo-message-section {
    position: relative;
    background-color: var(--bg-main);
    transition: background-color 0.3s ease;
    overflow: hidden;
  }

  .ceo-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
  }

  @media (min-width: 1024px) {
    .ceo-container {
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
  }

  /* --- LEFT SIDE: Image & Geometric Background --- */
  .ceo-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    padding-top: 2rem;
  }

  .ceo-photo-placeholder {
    position: relative;
    z-index: 2;
    width: min(100%, 28rem);
    aspect-ratio: 3 / 4;
    padding: 0.75rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(0, 166, 255, 0.14), rgba(0, 255, 194, 0.06)),
      rgba(255,255,255,0.025);
    box-shadow:
      0 28px 70px -42px rgba(0, 255, 194, 0.65);
  }

  .ceo-photo-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    overflow: hidden;
    border-radius: 1.1rem;
    color: var(--text-secondary);
    background:
      radial-gradient(circle at 35% 25%, rgba(0, 255, 194, 0.12), transparent 30%),
      rgba(3, 7, 18, 0.54);
  }

  .ceo-photo-inner svg {
    color: var(--bhx-teal);
  }

  .ceo-photo-inner span {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 850;
  }

  .ceo-photo-inner small {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  html.light-mode .ceo-photo-placeholder {
    background: #ffffff;
    border-color: rgba(0, 166, 255, 0.22);
    box-shadow: 0 24px 55px -40px rgba(0, 93, 160, 0.4);
  }

  html.light-mode .ceo-photo-inner {
    background:
      radial-gradient(circle at 35% 25%, rgba(0, 166, 255, 0.1), transparent 30%),
      rgba(0,0,0,0.025);
  }

  /* The Abstract SVG Background Shape */
  .ceo-abstract-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 600px;
    height: auto;
    z-index: 0;
    /* Uses your brand blue, lowers opacity for a clean background element */
    color: var(--tech-blue);
    opacity: 0.15;
    transition: color 0.3s ease, opacity 0.3s ease;
  }
  
  html.light-mode .ceo-abstract-bg {
    color: var(--tech-blue-lm);
    opacity: 0.1;
  }

  /* The Cutout Image Styling */
  .ceo-cutout-img {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    /* Adds a subtle shadow behind the person to separate them from the background */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)) grayscale(10%);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  
  html.light-mode .ceo-cutout-img {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
  }

  .ceo-visual-wrapper:hover .ceo-cutout-img {
    filter: drop-shadow(0 25px 40px rgba(0,166,255,0.2)) grayscale(0%);
    transform: translateY(-5px) scale(1.02);
  }

  /* --- RIGHT SIDE: Typography & Content --- */
  .ceo-text-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ceo-script-heading {
    /* Using web-safe cursive fonts to recreate the handwritten look without loading external font files */
    font-family: 'Brush Script MT', 'Lucida Handwriting', 'Alex Brush', cursive, sans-serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    color: var(--tech-blue);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    transform: rotate(-2deg); /* Gives it a slight, natural handwritten tilt */
  }
  
  html.light-mode .ceo-script-heading {
    color: var(--tech-blue-lm);
  }

  .ceo-wavy-divider {
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 2rem;
    width: 80px;
  }
  
  html.light-mode .ceo-wavy-divider {
    color: var(--tech-blue-lm);
    opacity: 0.2;
  }

  .ceo-copy {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .ceo-signature-block {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
  }

  .ceo-name-print {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
  }

  .ceo-title-print {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
  }
  
  html.light-mode .ceo-title-print {
    color: var(--tech-blue-lm);
  }


  /* ==========================================================================
     AUTHORITY SECTION SPECIFIC CSS
     ========================================================================== */
  #authority-section {
    position: relative;
    background-color: var(--bg-dark);
    transition: background-color 0.3s ease;
    overflow: hidden;
  }

  /* Background Ambient Glow */
  .authority-ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
  }
  html.light-mode .authority-ambient { display: none; }

  /* --- Stats Grid --- */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    margin-top: 3rem;
  }
  @media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  }

  /* --- Stat Card Styling --- */
  .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  }

  /* Inner subtle gradient */
  .stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
  }

  /* Alternating Hover Effects */
  .stat-card:nth-child(odd):hover {
    transform: translateY(-8px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 40px -10px rgba(0, 191, 255, 0.25);
  }
  .stat-card:nth-child(even):hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 20px 40px -10px rgba(57, 255, 20, 0.2);
  }

  /* Light mode hover adjustments */
  html.light-mode .stat-card:hover { border-color: var(--tech-blue-lm); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); }

  /* Number & Text Styling */
  .stat-number-wrap {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
  }
  
  /* Gradient text for numbers */
  .stat-card:nth-child(odd) .stat-number-wrap {
    background: linear-gradient(90deg, #ffffff, var(--tech-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
  }
  .stat-card:nth-child(even) .stat-number-wrap {
    background: linear-gradient(90deg, #ffffff, var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
  }
  
  /* Light mode text gradient reset */
  html.light-mode .stat-card:nth-child(odd) .stat-number-wrap { background: var(--tech-blue-lm); -webkit-background-clip: text; text-shadow: none; }
  html.light-mode .stat-card:nth-child(even) .stat-number-wrap { background: var(--tech-blue-lm); -webkit-background-clip: text; text-shadow: none; }

  .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }
  .stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
  }

/* ==========================================================================
     MAP SECTION SPECIFIC CSS (Inherits global BHX tokens)
     ========================================================================== */
  #global-reach-section {
    position: relative;
    background-color: var(--bg-main);
    transition: background-color 0.3s ease;
    overflow: hidden;
  }

  /* --- Map Theme Variables hooked to BHX Globals --- */
  :root {
    --map-dot-color: #1f2937; /* Dark slate for dark mode dots */
    --map-marker-bg: var(--bhx-teal);
    --map-marker-stroke: var(--bg-main);
    --map-marker-text: #000000;
  }

  /* When your global toggle fires, the map variables swap automatically */
  html.light-mode {
    --map-dot-color: #cbd5e1; /* Light slate for light mode dots */
    --map-marker-bg: var(--tech-blue-lm);
    --map-marker-stroke: var(--bg-main);
    --map-marker-text: #ffffff;
  }

  .map-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    margin-top: 2rem;
  }

  canvas#service-map {
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 1738 / 600;
    display: block;
    background: transparent;
  }

  /* Optional Ambient Glow for the map background in Dark Mode */
  .map-ambient {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 255, 194, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
  }
  html.light-mode .map-ambient { display: none; }



  /* ==========================================================================
     CTA SECTION CSS
     ========================================================================== */
  #final-cta-section {
    position: relative;
    background-color: var(--bg-dark);
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
  }

  /* Background Ambient Glows */
  .cta-glow-left {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
  }
  .cta-glow-right {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
  }
  html.light-mode .cta-glow-left, html.light-mode .cta-glow-right { display: none; }

  /* --- CTA Inner Box (Glassmorphism) --- */
  .cta-glass-box {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 5rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  html.light-mode .cta-glass-box {
    background: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  }

  /* Inner subtle top highlight for the glass box */
  .cta-glass-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  }
  html.light-mode .cta-glass-box::before { display: none; }

  /* --- Buttons Container --- */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
  }
  @media (min-width: 640px) {
    .cta-buttons { flex-direction: row; gap: 1.5rem; }
  }
/* ========================================================================== 
   CONSOLIDATED HERO BUTTONS
   ========================================================================== */
.btn-hero-primary,
.btn-hero-secondary {
  position: relative;
  overflow: hidden;
  background-color: transparent !important;
  color: var(--text-main) !important;
  border-radius: 9999px !important;
  padding: 0.875rem 2.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.35s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 30;
  box-shadow: none !important;
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-primary > *,
.btn-hero-secondary > * {
  position: relative;
  z-index: 1;
}

.btn-hero-primary::before,
.btn-hero-secondary::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 120%;
  transform: translate(-50%, 30%);
  border-radius: 50%;
  filter: blur(18px);
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.5s ease, opacity 0.3s ease;
}

.btn-hero-primary {
  border: 2px solid var(--tech-blue) !important;
}

.btn-hero-primary::before {
  background: rgba(0, 166, 255, 0.34);
}

.btn-hero-primary:hover {
  color: var(--tech-blue) !important;
}

.btn-hero-primary:hover::before {
  transform: translate(-50%, -40%);
  background: rgba(0, 166, 255, 0.45);
  opacity: 0.75;
}

.btn-hero-secondary {
  border: 2px solid var(--neon-green) !important;
}

.btn-hero-secondary::before {
  background: rgba(0, 255, 194, 0.34);
}

.btn-hero-secondary:hover {
  color: var(--neon-green) !important;
}

.btn-hero-secondary:hover::before {
  transform: translate(-50%, -40%);
  background: rgba(0, 255, 194, 0.45);
  opacity: 0.75;
}

html.light-mode .btn-hero-primary,
html.light-mode .btn-hero-secondary {
  color: var(--text-primary) !important;
}

html.light-mode .btn-hero-primary::before {
  background: rgba(2, 132, 199, 0.16);
  opacity: 0.32;
  filter: blur(14px);
}

html.light-mode .btn-hero-primary:hover::before {
  background: rgba(2, 132, 199, 0.28);
  transform: translate(-50%, -30%);
  opacity: 0.6;
}

html.light-mode .btn-hero-secondary::before {
  background: rgba(0, 255, 194, 0.18);
  opacity: 0.38;
  filter: blur(14px);
}

html.light-mode .btn-hero-secondary:hover::before {
  background: rgba(0, 255, 194, 0.25);
  transform: translate(-50%, -30%);
  opacity: 0.6;
}

/* ========================================================================== 
   MARKUP-ONLY HTML SUPPORT UTILITIES
   ========================================================================== */
.section-kicker {
  border-color: var(--border-color) !important;
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
}

.section-kicker-dot {
  background-color: var(--bhx-blue) !important;
  box-shadow: 0 0 8px var(--bhx-blue) !important;
}

.section-kicker-dot-teal {
  background-color: var(--bhx-teal) !important;
  box-shadow: 0 0 8px var(--bhx-teal) !important;
}

.metric-icon {
  border-color: var(--bhx-blue) !important;
  color: var(--bhx-blue) !important;
  box-shadow: 0 0 15px var(--bhx-blue-glow) inset !important;
}

.metric-value-blue,
.accent-blue {
  color: var(--bhx-blue) !important;
}

.metric-value-teal,
.accent-teal {
  color: var(--bhx-teal) !important;
}

.metric-value-blue,
.metric-value-teal {
  font-weight: 700;
}

.progress-track {
  background: var(--border-color) !important;
}

.progress-fill-blue {
  background-color: var(--bhx-blue) !important;
  box-shadow: 0 0 10px var(--bhx-blue-glow) !important;
}

.progress-fill-teal {
  background-color: var(--bhx-teal) !important;
  box-shadow: 0 0 10px var(--bhx-teal-glow) !important;
}

.progress-fill-95 { width: 95%; }
.progress-fill-100 { width: 100%; }

.hero-code-snippet {
  background: var(--code-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
}

.bhx-text-main { color: var(--text-main) !important; }
.bhx-text-muted { color: var(--text-muted) !important; }
.portfolio-wrap { max-width: 75rem; }
.reveal-delay-100 { transition-delay: 0.1s; }

.entrance-ready {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--entrance-delay, 0ms);
  will-change: opacity, transform, filter;
}

.entrance-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.project-tile.entrance-ready,
.card-3d.entrance-ready,
.industry-card.entrance-ready,
.review-card-modern.entrance-ready,
.process-step.entrance-ready,
.stat-card.entrance-ready,
.faq-item.entrance-ready {
  transform: translate3d(0, 2.5rem, 0) rotateX(4deg) scale(0.98);
  transform-origin: center top;
}

.project-tile.entrance-visible,
.card-3d.entrance-visible,
.industry-card.entrance-visible,
.review-card-modern.entrance-visible,
.process-step.entrance-visible,
.stat-card.entrance-visible,
.faq-item.entrance-visible {
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .entrance-ready,
  .entrance-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.rev-avatar.rev-avatar-teal {
  background: var(--bhx-teal) !important;
  color: #000000 !important;
}

.rev-avatar.rev-avatar-dark {
  background: #333333 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   SHARED HEADER, FOOTER, AND SERVICES CSS
   ========================================================================== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-v24-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-v24-latin-700.woff2') format('woff2');
}

:root {
  --bhx-purple: #e900ff;
  --glass-bg: rgba(11, 17, 27, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.5);
}

html.light-mode {
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 1);
  --glass-shadow: rgba(31, 38, 135, 0.07);
}

.theme-active-transition,
.theme-active-transition *,
.theme-active-transition #bhx-global-header {
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#bhx-global-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px var(--glass-shadow);
}

html.light-mode #bhx-global-header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(2, 132, 199, 0.16) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
}

html.light-mode #bhx-global-header .bhx-header-logo,
html.light-mode #bhx-global-header .nav-link,
html.light-mode #bhx-global-header .theme-toggle-btn,
html.light-mode #bhx-global-header .bhx-mobile-menu-btn {
  color: #0f172a !important;
}

html.light-mode #bhx-global-header .bhx-mobile-nav,
html.light-mode #mobile-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(2, 132, 199, 0.16) !important;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1) !important;
}

body.admin-bar #bhx-global-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #bhx-global-header {
    top: 46px;
  }
}

.header-logo-icon {
  color: var(--bhx-blue) !important;
}

#bhx-global-header .text-gradient {
  background: linear-gradient(90deg, var(--bhx-blue), var(--bhx-purple), var(--bhx-teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--bhx-blue-glow);
}

html.light-mode #bhx-global-header .text-gradient {
  text-shadow: none;
}

.neon-eyebrow {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--bhx-blue), var(--bhx-purple), var(--bhx-teal));
  box-shadow: 0 0 15px var(--bhx-blue-glow);
  position: relative;
  z-index: 10000;
}

html.light-mode .neon-eyebrow {
  box-shadow: none;
  opacity: 0.8;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bhx-teal);
  box-shadow: 0 0 8px var(--bhx-teal-glow);
  transition: width 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--bhx-teal);
}

.nav-link:hover::after {
  width: 100%;
}

html.light-mode .nav-link::after {
  box-shadow: none;
}

html.light-mode .nav-link:hover {
  color: var(--bhx-blue);
}

html.light-mode .nav-link:hover::after {
  background: var(--bhx-blue);
}

.theme-toggle-btn {
  color: var(--text-muted);
  transition: color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  color: var(--bhx-blue);
  box-shadow: 0 0 12px var(--bhx-blue-glow);
}

html.light-mode .theme-toggle-btn:hover {
  filter: none;
}

#mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#mobile-nav.hidden {
  display: none !important;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--bhx-blue);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 3px var(--bhx-blue);
  }
}

.pulse-dot {
  animation: pulse-dot 2s infinite;
}

#services-page {
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

#services-page .services-hero {
  min-height: 85vh;
  padding: 100px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

#services-page .services-hero-inner {
  position: relative;
  z-index: 10;
}

#services-page .services-hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--text-main);
}

.ambient-glow-right {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--bhx-blue-glow) 0%, transparent 70%);
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-left {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 194, 0.08) 0%, transparent 70%);
  top: 30%;
  left: -5%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

#services-page .services-hero-cards {
  position: relative;
  height: 480px;
  perspective: 1000px;
}

#services-page .services-hero-card {
  position: absolute;
  width: 300px;
  box-sizing: border-box;
}

#services-page .services-hero-card-dev {
  top: 20px;
  right: 40px;
  z-index: 30;
}

#services-page .services-hero-card-seo {
  top: 160px;
  right: 140px;
  z-index: 20;
  transform: rotate(-3deg);
  border-color: rgba(0, 255, 194, 0.25);
  animation: float 7s ease-in-out infinite reverse;
}

#services-page .services-hero-card-brand {
  top: 295px;
  right: 0;
  z-index: 10;
  transform: rotate(3deg);
  opacity: 0.85;
  animation: float 8s ease-in-out infinite 1s;
}

#services-page .services-mini-icon-blue {
  background: rgba(0, 166, 255, 0.1);
  color: var(--bhx-blue);
}

#services-page .services-mini-icon-teal {
  background: rgba(0, 255, 194, 0.1);
  color: var(--bhx-teal);
}

#services-page .services-mini-icon-neutral {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

@media (max-width: 1024px) {
  .hero-cards {
    display: none !important;
  }
}

.standard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .standard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .standard-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.standard-card {
  min-height: 100%;
  padding: 2.25rem 1.75rem;
}

.standard-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 800;
  color: var(--text-main);
  opacity: 0.04;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.standard-card:hover .standard-number {
  opacity: 0.08;
  transform: translateY(-4px);
}

.standard-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.standard-card:nth-child(odd) .standard-icon-wrap {
  color: var(--bhx-blue);
}

.standard-card:nth-child(even) .standard-icon-wrap {
  color: var(--bhx-teal);
}

.standard-card:hover .standard-icon-wrap {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px var(--bhx-blue-glow);
}

.standard-card:nth-child(even):hover .standard-icon-wrap {
  box-shadow: 0 0 20px var(--bhx-teal-glow);
}

.standard-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .standard-cta {
    flex-direction: row;
  }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
#faq-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 166, 255, 0.1), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(0, 255, 194, 0.08), transparent 28%),
    var(--bg-main);
  overflow: hidden;
}

html.light-mode #faq-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 166, 255, 0.06), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(0, 255, 194, 0.05), transparent 30%),
    var(--bg-main);
}

.faq-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.faq-container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .faq-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .faq-sticky-sidebar {
    position: sticky;
    top: 7rem;
  }
}

.faq-sticky-sidebar > .rounded-2xl {
  border-radius: 8px !important;
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

html.light-mode .faq-sticky-sidebar > .rounded-2xl {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  background: color-mix(in srgb, var(--bg-card) 86%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

html.light-mode .faq-item {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.faq-item.active {
  border-color: rgba(0, 166, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 166, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--bhx-blue);
  background: rgba(0, 166, 255, 0.1);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #001018;
  background: var(--bhx-teal);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-text {
  margin: 0;
  padding: 0 1.35rem 1.35rem;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 767px) {
  #faq-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer-text {
    padding: 0 1rem 1rem;
  }
}

#bhx-global-footer,
#bhx-global-footer * {
  box-sizing: border-box;
}

#bhx-global-footer {
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg-main, #030712);
  color: var(--text-main, #ffffff);
  border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
}

#bhx-global-footer .footer-eyebrow {
  width: 100%;
  height: 1px;
  background: var(--bhx-blue, #00a6ff);
  box-shadow: none;
}

html.light-mode #bhx-global-footer .footer-eyebrow {
  box-shadow: none;
  opacity: 0.85;
}

#bhx-global-footer .footer-wrap {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
  padding: 4rem 1rem 1.5rem;
}

#bhx-global-footer .footer-main {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  #bhx-global-footer .footer-main {
    grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  }
}

#bhx-global-footer .footer-brand {
  max-width: 23rem;
}

#bhx-global-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-main, #ffffff);
  font-size: 1.65rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

#bhx-global-footer .footer-logo i {
  color: var(--bhx-blue, #00a6ff);
  filter: none;
}

#bhx-global-footer .text-gradient {
  background: var(--bhx-blue, #00a6ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

#bhx-global-footer .footer-brand p {
  margin: 1rem 0 1.5rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.7;
}

#bhx-global-footer .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#bhx-global-footer .Btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  isolation: isolate;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: #ffffff;
}

#bhx-global-footer .svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.8px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#bhx-global-footer .svgIcon {
  width: 1.5em;
  height: 1.5em;
  display: block;
  fill: #ffffff;
}

#bhx-global-footer .BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 9px;
  pointer-events: none;
  transition: all 0.3s;
}

#bhx-global-footer .Btn--facebook .BG {
  background: linear-gradient(135deg, #1877f2 0%, #0a58ca 100%);
}

#bhx-global-footer .Btn--instagram .BG {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 24%, #dc2743 50%, #cc2366 74%, #bc1888 100%);
}

#bhx-global-footer .Btn--linkedin .BG {
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

#bhx-global-footer .Btn--x .BG {
  background: linear-gradient(135deg, #111111 0%, #2f2f2f 100%);
}

#bhx-global-footer .Btn:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

#bhx-global-footer .Btn:hover .svgContainer {
  background-color: rgba(156, 156, 156, 0.466);
  border-color: rgba(255, 255, 255, 0.42);
}

#bhx-global-footer .footer-heading {
  margin: 0 0 1rem;
  color: var(--text-main, #ffffff);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#bhx-global-footer .footer-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#bhx-global-footer .footer-link,
#bhx-global-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  max-width: 100%;
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

#bhx-global-footer .footer-link:hover,
#bhx-global-footer .footer-contact-link:hover {
  color: var(--bhx-teal, #00ffc2);
  transform: translateX(4px);
}

#bhx-global-footer .footer-contact-link {
  align-items: flex-start;
  width: auto;
}

#bhx-global-footer .footer-contact-link i {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--bhx-blue, #00a6ff);
}

#bhx-global-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #9ca3af);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  #bhx-global-footer .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

#bhx-global-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#bhx-global-footer .footer-legal a {
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  transition: color 0.2s ease;
}

#bhx-global-footer .footer-legal a:hover {
  color: var(--bhx-blue, #00a6ff);
}

/* ==========================================================================
   TAILWIND FALLBACK UTILITIES
   These cover the utility classes used in the WordPress snippets if the
   separate Tailwind file is not available on the live site.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.self-start { align-self: flex-start; }

.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-18 { gap: 4.5rem; }

.w-full { width: 100%; }
.w-max { width: max-content; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-\[400px\] { width: 400px; }

.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.min-h-\[85vh\] { min-height: 85vh; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-4 { margin-left: 1rem; }
.mt-auto { margin-top: auto; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-20 { padding-top: 5rem; }
.pl-4 { padding-left: 1rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.bg-transparent { background-color: transparent; }

.object-cover { object-fit: cover; }
.fill-current { fill: currentColor; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.whitespace-nowrap { white-space: nowrap; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.leading-tight { line-height: 1.15; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.tracking-tight { letter-spacing: 0; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.opacity-70 { opacity: 0.7; }

.text-\[var\(--text-main\)\] { color: var(--text-main); }
.text-\[var\(--text-primary\)\] { color: var(--text-primary); }
.text-\[var\(--text-muted\)\] { color: var(--text-muted); }
.text-\[var\(--text-secondary\)\] { color: var(--text-secondary); }
.text-\[var\(--bhx-blue\)\] { color: var(--bhx-blue); }
.text-\[var\(--bhx-teal\)\] { color: var(--bhx-teal); }
.text-\[var\(--tech-blue\)\] { color: var(--tech-blue); }
.text-\[var\(--neon-green\)\] { color: var(--neon-green); }
.bg-\[var\(--bg-card\)\] { background: var(--bg-card); }
.bg-\[rgba\(0\,166\,255\,0\.1\)\] { background: rgba(0, 166, 255, 0.1); }
.border-\[var\(--border\)\] { border-color: var(--border); }
.border-\[var\(--bhx-blue\)\] { border-color: var(--bhx-blue); }
.shadow-\[0_0_20px_var\(--bhx-blue-glow\)\] { box-shadow: 0 0 20px var(--bhx-blue-glow); }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }

.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; }
.transition-all { transition-property: all; transition-duration: 150ms; }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06)); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }

@keyframes fallback-pulse {
  50% { opacity: 0.5; }
}

.animate-pulse { animation: fallback-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:gap-10 { gap: 2.5rem; }
  .md\:gap-28 { gap: 7rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:pt-0 { padding-top: 0; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:text-left { text-align: left; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ==========================================================================
   GLOBAL HEADER MENU OVERRIDES
   Used by the WPCode PHP global header snippet.
   ========================================================================== */
.bhx-header-inner {
  width: min(100% - 3rem, 80rem);
  margin: 0 auto;
  padding: 1rem 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.bhx-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main) !important;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none !important;
}

.bhx-header-logo:hover {
  color: var(--text-main) !important;
}

.bhx-desktop-nav {
  display: flex !important;
  align-items: center;
  gap: 2rem;
}

.bhx-mobile-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.bhx-mobile-menu-btn {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.bhx-mobile-menu-btn::before {
  content: '';
  width: 1.65rem;
  height: 1.15rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: inset 0 7px 0 -5px currentColor;
}

.bhx-mobile-menu-btn svg {
  position: absolute;
  background: var(--glass-bg);
}

.bhx-mobile-nav {
  width: min(100% - 3rem, 80rem);
  margin: 0 auto;
  padding: 0 0 1rem;
}

.bhx-mobile-nav.hidden {
  display: none !important;
}

.bhx-mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 767px) {
  .bhx-desktop-nav {
    display: none !important;
  }

  .bhx-mobile-actions {
    display: flex;
  }

  .bhx-mobile-menu-btn {
    display: inline-flex;
  }

  .bhx-mobile-nav.hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .bhx-mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   SECTION SPACING STANDARDIZATION
   ========================================================================== */
#page-wrapper > .section-eyebrow {
  margin: 0;
}

#services,
#advanced-capabilities,
#industries-section,
#comparison-section,
#portfolio-section,
#reviews-staggered,
#process-section,
#ceo-message-section,
#authority-section,
#global-reach-section,
#faq-section,
#final-cta-section {
  padding-top: var(--section-y) !important;
  padding-bottom: var(--section-y) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#hero-section {
  min-height: calc(100vh - 74px) !important;
  padding: 0 0 var(--hero-y) !important;
  justify-content: center !important;
}

#hero-section > .grid {
  flex-grow: 0 !important;
  padding-top: var(--hero-y) !important;
  padding-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

#hero-section .trust-strip {
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem) !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#hero-section .hero-visual-column {
  display: none !important;
}

@media (min-width: 1024px) {
  #hero-section .hero-visual-column {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: relative !important;
    min-height: 27rem !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #hero-section .hero-tech-visual,
  #hero-section .hero-status-card,
  #hero-section .hero-orbit-card,
  #hero-section .hero-performance-panel {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.btn-solid,
.btn-outline,
.btn-primary,
.btn-secondary,
.btn-outline-glow,
.btn-review-cta,
.btn-hero-primary,
.btn-hero-secondary,
.magnetic-btn,
.hero-buttons a,
.cta-buttons a {
  text-decoration: none !important;
}

.btn-solid:hover,
.btn-outline:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline-glow:hover,
.btn-review-cta:hover,
.btn-hero-primary:hover,
.btn-hero-secondary:hover,
.magnetic-btn:hover,
.hero-buttons a:hover,
.cta-buttons a:hover {
  text-decoration: none !important;
}

@media (max-width: 767px) {
  #services,
  #advanced-capabilities,
  #industries-section,
  #comparison-section,
  #portfolio-section,
  #reviews-staggered,
  #process-section,
  #ceo-message-section,
  #authority-section,
  #global-reach-section,
  #faq-section,
  #final-cta-section {
    padding-top: var(--section-y-mobile) !important;
    padding-bottom: var(--section-y-mobile) !important;
  }

  #hero-section {
    min-height: auto !important;
    padding-bottom: 3rem !important;
  }

  #hero-section > .grid {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }

  #hero-section .trust-strip {
    padding-top: 0.75rem !important;
  }
}
