/* ==========================================================================
   MASTER DESIGN SYSTEM & DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand Primary Palettes */
  --primary: #E31B23;
  --primary-dark: #B90F18;
  --primary-light: #FF4D55;
  --primary-glow: rgba(227, 27, 35, 0.4);
  
  /* Dark Theme Tokens (Default) */
  --bg-dark: #0D0D12;
  --bg-surface: #121218;
  --nav-bg: rgba(13, 13, 18, 0.85);
  --nav-bg-scrolled: rgba(10, 10, 14, 0.96);
  --card-bg: rgba(22, 22, 30, 0.7);
  --card-subtle-bg: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(227, 27, 35, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #FF3B30;
  
  /* Typography & Physics */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-surface: #FFFFFF;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
  --card-bg: #FFFFFF;
  --card-subtle-bg: #F1F5F9;
  --border-color: #E2E8F0;
  --border-glow: rgba(227, 27, 35, 0.3);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
}

/* ==========================================================================
   BASE RESETS & TYPOGRAPHY HELPERS
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--primary);
  color: #FFFFFF;
}

/* Width Constrainers */
.max-w-650 { max-width: 650px; }
.max-w-700 { max-width: 700px; }
.max-w-750 { max-width: 750px; }
.max-w-800 { max-width: 800px; }
.max-w-850 { max-width: 850px; }

/* Text Gradients */
.gradient-text-red {
  background: linear-gradient(135deg, #FF4D55 0%, #E31B23 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 1;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-top-right {
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, #FF5A5F 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* Pulse Beacon */
.pulse-beacon-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 rgba(227, 27, 35, 0.6);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(227, 27, 35, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 27, 35, 0); }
}

/* ==========================================================================
   TOPBAR TELEMETRY STRIP & INTERACTIVE CONTACT BADGES
   ========================================================================== */

.topbar-telemetry-strip {
  background: var(--bg-surface);
  border-color: var(--border-color) !important;
  font-size: 0.75rem;
}

.topbar-contact-cluster {
  display: flex;
  align-items: center;
}

.topbar-chip-action {
  display: inline-flex;
  align-items: center;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.22rem 0.35rem;
  transition: var(--transition);
}

.topbar-chip-action:hover {
  background: rgba(227, 27, 35, 0.08);
  border-color: rgba(227, 27, 35, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.15);
}

.topbar-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.4rem;
  color: var(--text-secondary) !important;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.topbar-chip-action:hover .topbar-chip-link {
  color: var(--text-primary) !important;
}

.chip-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  transition: all 0.25s ease;
}

.topbar-chip-action:hover .chip-icon-box {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(227, 27, 35, 0.5);
}

.chip-copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.chip-copy-btn:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.15);
}

/* ==========================================================================
   HEADER NAVBAR & CAPSULE NAVIGATION
   ========================================================================== */

.main-header-navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  z-index: 1030;
}

body.scrolled .main-header-navbar {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E31B23 0%, #8A050B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.4);
}

.logo-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.logo-orbit {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: orbitRotate 10s linear infinite;
}

@keyframes orbitRotate {
  100% { transform: rotate(360deg); }
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-text span {
  color: var(--primary);
}

.brand-subtext {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.nav-capsule-wrapper {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem !important;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link.active {
  color: #FFFFFF !important;
  background: rgba(227, 27, 35, 0.2);
  font-weight: 600;
}

.glass-dropdown {
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.glass-dropdown .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.glass-dropdown .dropdown-item:hover {
  color: #FFFFFF;
  background: rgba(227, 27, 35, 0.15);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  outline: none !important;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: rgba(227, 27, 35, 0.4);
  transform: rotate(15deg);
}

/* Primary Action Buttons */
.btn-nexa-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #E31B23 0%, #B90F18 100%);
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.btn-nexa-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 27, 35, 0.6);
  color: #FFFFFF;
}

.btn-nexa-glass {
  display: inline-flex;
  align-items: center;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-nexa-glass:hover {
  border-color: rgba(227, 27, 35, 0.4);
  background: rgba(227, 27, 35, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION & NEURAL MESH TELEMETRY
   ========================================================================== */

.hero-future-section {
  position: relative;
  padding: 3rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

#neural-mesh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tech-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: #FF5A5F;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.stat-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-node-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.pipeline-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.pipeline-bar .bar-fill {
  height: 100%;
  background: var(--primary);
}

.w-75 { width: 75%; }
.w-85 { width: 85%; }
.w-95 { width: 95%; }

/* ==========================================================================
   INFINITE MARQUEE STRIP
   ========================================================================== */

.tech-marquee-wrapper {
  overflow: hidden;
  background: var(--bg-surface);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

.tech-item {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   6 PRACTICE PILLARS & MATRICES
   ========================================================================== */

.pillar-tab-btn {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.pillar-tab-btn.active {
  background: linear-gradient(135deg, #E31B23 0%, #B90F18 100%);
  border-color: var(--primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(227, 27, 35, 0.4);
}

.interactive-service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.interactive-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.interactive-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 16px 35px rgba(227, 27, 35, 0.12);
}

.interactive-service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-token {
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.2);
  color: #FF5A5F;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.cap-tag {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.service-link-action {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.service-link-action:hover {
  color: var(--primary);
}

/* ==========================================================================
   CODE TERMINAL & LIFECYCLE STEP CARDS
   ========================================================================== */

.code-terminal-card {
  background: #08080C;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #FF5F56; }
.term-dot.yellow { background: #FFBD2E; }
.term-dot.green { background: #27C93F; }

.lifecycle-step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  transition: var(--transition);
}

.lifecycle-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 27, 35, 0.35);
}

.lifecycle-step-card.featured-step {
  border-color: rgba(227, 27, 35, 0.45);
  background: rgba(227, 27, 35, 0.04);
}

.step-num-glow {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(227, 27, 35, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ==========================================================================
   AWARDS, CERTIFICATIONS & MEDIA RECOGNITIONS
   ========================================================================== */

.award-premium-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.award-premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 16px 35px rgba(227, 27, 35, 0.12);
}

.award-trophy-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.award-premium-card:hover .award-trophy-badge {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.trust-badge-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 12px 28px rgba(227, 27, 35, 0.12);
}

.trust-badge-title {
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.trust-badge-sub {
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 500;
}

.clutch-c-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #163143;
  color: #FF5A5F;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inc-5000-brand {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
}
.inc-5000-brand span { color: var(--primary); }

.media-brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.bt-badge-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FOUNDER & STRATEGIC VISION BLOCK
   ========================================================================== */

.founder-glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.founder-avatar-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.1);
  border: 2px solid rgba(227, 27, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.2rem;
}

/* ==========================================================================
   AUTOMATED ENDORSEMENT SLIDER REEL
   ========================================================================== */

.endorsement-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.endorsement-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollEndorsements 35s linear infinite;
}

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

.endorsement-card-slide {
  width: 380px;
  flex-shrink: 0;
}

@keyframes scrollEndorsements {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-380px * 4 - 1.5rem * 4)); }
}

/* ==========================================================================
   INDUSTRIES FILTER PILLS CONTAINER
   ========================================================================== */

.industries-filter-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.industries-filter-container::-webkit-scrollbar {
  height: 4px;
}
.industries-filter-container::-webkit-scrollbar-thumb {
  background: rgba(227, 27, 35, 0.4);
  border-radius: 4px;
}

.industries-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.industries-nav-pills .industry-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.industries-nav-pills .industry-filter-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.industries-nav-pills .industry-filter-btn.active {
  background: linear-gradient(135deg, #E31B23 0%, #B90F18 100%);
  border-color: #E31B23;
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(227, 27, 35, 0.45);
}

/* Form Controls */
.form-control-tech {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  border-radius: 10px;
  padding: 0.65rem 1rem;
}

.form-control-tech:focus {
  background: var(--card-subtle-bg);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.25);
  color: var(--text-primary);
}

/* Scope Chips in Quote Modals */
.form-scope-chip {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-scope-chip.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ==========================================================================
   FOOTER HUBS, SOCIAL MEDIA & EXPANSION
   ========================================================================== */

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1rem;
  text-decoration: none !important;
  transition: var(--transition);
}

.footer-social-btn:hover {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(227, 27, 35, 0.35);
}

.footer-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  font-size: 0.74rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.footer-hub-pill .hub-name {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-hub-pill .hub-status {
  font-size: 0.68rem;
  opacity: 0.8;
}

.footer-hub-pill.active-hq {
  border-color: rgba(227, 27, 35, 0.35);
  background: rgba(227, 27, 35, 0.06);
}

/* ==========================================================================
   FLOATING ROBOT COPILOT & CONSULTATION BUTTON STACK
   ========================================================================== */

.floating-bot-wrapper {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 1050;
}

.floating-bot-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A1A24 0%, #0F0F14 100%);
  border: 2px solid var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.45);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.floating-bot-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(227, 27, 35, 0.65);
}

.bot-badge-ping {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  background: #22C55E;
  border: 2px solid #121217;
  border-radius: 50%;
  animation: pulseBeacon 1.6s infinite;
}

.robot-avatar-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.floating-bot-btn:hover .robot-avatar-icon {
  transform: scale(1.12) rotate(4deg);
}

.robot-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(227, 27, 35, 0.5));
}

.floating-consultation-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  background: linear-gradient(135deg, #E31B23 0%, #B90F18 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(227, 27, 35, 0.45);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.floating-consultation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(227, 27, 35, 0.6);
  color: #FFFFFF;
}

/* Chat Window */
.intelleos-chat-window {
  position: fixed;
  bottom: 148px;
  right: 24px;
  width: 390px;
  height: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 170px);
  background: rgba(18, 18, 24, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(227, 27, 35, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  overflow: hidden;
  animation: chatWindowSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatWindowSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  padding: 1rem 1.2rem;
  background: rgba(26, 26, 34, 0.8);
  border-bottom: 1px solid var(--border-color);
}

.bot-avatar-box {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid rgba(227, 27, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border: 2px solid #181820;
  border-radius: 50%;
}

.chat-tool-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.chat-tool-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.chat-body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.chat-msg.bot-msg { align-self: flex-start; }
.chat-msg.user-msg { align-self: flex-end; }

.chat-msg .msg-content {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-msg.bot-msg .msg-content {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

.chat-msg.user-msg .msg-content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.msg-timestamp {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.chat-service-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.chat-service-card {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.chat-service-card:hover {
  background: rgba(227, 27, 35, 0.08);
  border-color: var(--primary);
  transform: translateX(4px);
}

.chat-service-card .svc-name {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-service-card .svc-desc {
  color: var(--text-secondary);
  font-size: 0.68rem;
  display: block;
}

.chat-footer {
  padding: 0.85rem 1.2rem;
  background: rgba(26, 26, 34, 0.8);
  border-top: 1px solid var(--border-color);
}

/* Consultation & Booking Mode Modal */
.glass-consultation-modal {
  background: rgba(16, 16, 20, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
}

.consultation-mode-card {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.consultation-mode-card:hover {
  border-color: rgba(227, 27, 35, 0.4);
  background: rgba(227, 27, 35, 0.05);
}

.consultation-mode-card.active {
  border-color: var(--primary);
  background: rgba(227, 27, 35, 0.12);
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.2);
}

/* ==========================================================================
   LIGHT MODE COMPLETE OVERRIDES (FIXES CONTRAST & VISIBILITY)
   ========================================================================== */

[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

[data-theme="light"] .main-header-navbar {
  background: rgba(255, 255, 255, 0.94);
  border-color: #E2E8F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .brand-text {
  color: #0F172A !important;
}

[data-theme="light"] .nav-capsule-wrapper {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

[data-theme="light"] .navbar-nav .nav-link {
  color: #334155 !important;
}

[data-theme="light"] .navbar-nav .nav-link:hover {
  color: #E31B23 !important;
  background: rgba(227, 27, 35, 0.08);
}

[data-theme="light"] .navbar-nav .nav-link.active {
  color: #E31B23 !important;
  background: rgba(227, 27, 35, 0.12);
}

[data-theme="light"] .theme-toggle-btn {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #D97706;
}

[data-theme="light"] .topbar-telemetry-strip {
  background: #F8FAFC;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .topbar-chip-action {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

[data-theme="light"] .topbar-chip-link {
  color: #334155 !important;
}

[data-theme="light"] .chip-copy-btn {
  color: #64748B;
}

[data-theme="light"] .hero-headline {
  color: #0F172A !important;
}

[data-theme="light"] .interactive-service-card,
[data-theme="light"] .award-premium-card,
[data-theme="light"] .trust-badge-card,
[data-theme="light"] .founder-glass-card,
[data-theme="light"] .lifecycle-step-card,
[data-theme="light"] .interactive-node-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .interactive-service-card:hover,
[data-theme="light"] .award-premium-card:hover {
  box-shadow: 0 16px 30px rgba(227, 27, 35, 0.08);
}

[data-theme="light"] .interactive-service-card h4,
[data-theme="light"] .award-premium-card h5,
[data-theme="light"] .trust-badge-card .trust-badge-title,
[data-theme="light"] .founder-glass-card h4,
[data-theme="light"] .lifecycle-step-card h4,
[data-theme="light"] h2.text-white,
[data-theme="light"] h1.text-white {
  color: #0F172A !important;
}

[data-theme="light"] .stat-number.text-white {
  color: #0F172A !important;
}

[data-theme="light"] .industries-nav-pills .industry-filter-btn {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .industries-nav-pills .industry-filter-btn.active {
  background: linear-gradient(135deg, #E31B23 0%, #B90F18 100%);
  color: #FFFFFF !important;
}

[data-theme="light"] .footer-social-btn {
  background: #F1F3F5;
  border-color: #E2E8F0;
  color: #4A5568;
}

[data-theme="light"] .footer-hub-pill {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .footer-hub-pill .hub-name {
  color: #1A202C;
}

[data-theme="light"] .glass-consultation-modal {
  background: rgba(255, 255, 255, 0.98) !important;
}

[data-theme="light"] .intelleos-chat-window {
  background: rgba(255, 255, 255, 0.98);
  border-color: #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .chat-header,
[data-theme="light"] .chat-footer {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .chat-msg.bot-msg .msg-content {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #0F172A;
}

[data-theme="light"] .chat-service-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .chat-service-card .svc-name {
  color: #0F172A;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
  .hero-headline { font-size: 2.3rem; }
  .nav-capsule-wrapper {
    background: transparent;
    border: none;
    padding: 1rem 0;
  }
  .navbar-nav .nav-link {
    padding: 0.6rem 1rem !important;
  }
  .industries-nav-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .floating-bot-wrapper { bottom: 74px; right: 16px; }
  .floating-consultation-btn { bottom: 16px; right: 16px; padding: 0.5rem 1rem; font-size: 0.75rem; }
  .intelleos-chat-window { bottom: 136px; right: 16px; }
  .endorsement-card-slide { width: 300px; }
}
/* ==========================================================================
   ENHANCED SERVICES DROPDOWN (DARK & LIGHT THEME SUPPORT)
   ========================================================================== */

.glass-dropdown {
  min-width: 290px;
  background: rgba(18, 18, 24, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(227, 27, 35, 0.15);
  margin-top: 0.75rem !important;
  animation: dropdownSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownSlideIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.glass-dropdown .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.glass-dropdown .dropdown-item {
  color: #E2E8F0 !important;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.glass-dropdown .dropdown-item .item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: 0.2px;
}

.glass-dropdown .dropdown-item .item-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  display: block;
}

.dropdown-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-icon-box.main-pillar-icon {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(227, 27, 35, 0.4);
}

.glass-dropdown .dropdown-item:hover {
  background: rgba(227, 27, 35, 0.1);
  transform: translateX(4px);
}

.glass-dropdown .dropdown-item:hover .dropdown-icon-box:not(.main-pillar-icon) {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(227, 27, 35, 0.4);
}

.glass-dropdown .dropdown-hero-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   LIGHT THEME DROPDOWN FIXES (CRISP WHITE BG & DARK CONTRAST TEXT)
   -------------------------------------------------------------------------- */

[data-theme="light"] .glass-dropdown {
  background: #FFFFFF !important;
  border-color: #E2E8F0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .glass-dropdown .dropdown-divider {
  border-color: #F1F5F9;
}

[data-theme="light"] .glass-dropdown .dropdown-item .item-title {
  color: #0F172A !important;
}

[data-theme="light"] .glass-dropdown .dropdown-item .item-sub {
  color: #64748B;
}

[data-theme="light"] .glass-dropdown .dropdown-hero-item {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .glass-dropdown .dropdown-item:hover {
  background: #FFF1F2;
}

[data-theme="light"] .dropdown-icon-box {
  background: rgba(227, 27, 35, 0.08);
  border-color: rgba(227, 27, 35, 0.2);
}
/* ==========================================================================
   ENTERPRISE MEGA-MENU (FULL-WIDTH 2-COLUMN TABBED INTERACTION)
   ========================================================================== */

.mega-menu-dropdown {
  position: static !important;
}

.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 5%;
  right: 5%;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(18, 18, 24, 0.98) !important;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-color) !important;
  border-radius: 18px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(227, 27, 35, 0.15) !important;
  overflow: hidden;
  animation: megaMenuReveal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1040;
}

@keyframes megaMenuReveal {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Left Sidebar */
.mega-sidebar {
  background: rgba(14, 14, 18, 0.6);
}

.mega-sidebar-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
}

.mega-nav-tabs {
  gap: 0.35rem;
}

.mega-category-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mega-category-btn .arrow-icon {
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.mega-category-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.mega-category-btn.active {
  color: var(--primary) !important;
  background: rgba(227, 27, 35, 0.1);
}

.mega-category-btn.active .arrow-icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* Right Viewport Area */
.mega-content-viewport {
  background: transparent;
  min-height: 400px;
}

.mega-pane-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.mega-view-all-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-view-all-link:hover {
  color: #FF4D55;
}

/* Subservice Link Cards */
.mega-service-item {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-service-item:hover {
  background: rgba(227, 27, 35, 0.06);
  transform: translateX(4px);
}

.mega-subservice-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.mega-service-item:hover .mega-subservice-title {
  color: var(--primary);
}

.mega-subservice-desc {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   LIGHT THEME MEGA-MENU OVERRIDES (CRISP WHITE BG & CONTRAST TEXT)
   -------------------------------------------------------------------------- */

[data-theme="light"] .mega-menu-wrapper {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .mega-sidebar {
  background: #F8FAFC;
}

[data-theme="light"] .mega-sidebar-heading,
[data-theme="light"] .mega-pane-heading {
  color: #64748B;
}

[data-theme="light"] .mega-category-btn {
  color: #334155;
}

[data-theme="light"] .mega-category-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] .mega-category-btn.active {
  background: rgba(227, 27, 35, 0.08);
  color: var(--primary) !important;
}

[data-theme="light"] .mega-subservice-title {
  color: #0F172A;
}

[data-theme="light"] .mega-subservice-desc {
  color: #475569;
}

[data-theme="light"] .mega-service-item:hover {
  background: #FFF1F2;
}

/* Desktop Hover Trigger Activation */
@media (min-width: 992px) {
  .mega-menu-dropdown:hover .mega-menu-wrapper {
    display: block;
  }
}

@media (max-width: 991px) {
  .mega-menu-wrapper {
    position: static;
    width: 100%;
    box-shadow: none !important;
    border-radius: 12px !important;
  }
  .mega-sidebar {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
  }
}
/* ==========================================================================
   PAGE OVERLAP & LIGHT MODE UNIVERSAL TEXT INVERSION (APPENDED FIXES)
   ========================================================================== */

/* 1. Fix: Header Overlap on all pages (Home, Contact, About, etc.) */
.page-wrapper {
  padding-top: 135px !important;
}

@media (max-width: 767.98px) {
  .page-wrapper {
    padding-top: 95px !important;
  }
}

/* 2. Fix: Universal Light Mode Text Contrast */
[data-theme="light"] {
  --text-primary: #0F172A;
  --text-secondary: #475569;
}

[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

/* Force all white text to deep slate in light mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] .text-white,
[data-theme="light"] .text-light,
[data-theme="light"] .hero-headline,
[data-theme="light"] .stat-number,
[data-theme="light"] .service-card-title,
[data-theme="light"] .tech-node-title,
[data-theme="light"] .trust-badge-title,
[data-theme="light"] .inc-5000-brand,
[data-theme="light"] .media-brand-text,
[data-theme="light"] .mega-subservice-title {
  color: #0F172A !important;
}

/* Retain pure white on solid Red Buttons, Active Tabs & Bot User Bubbles */
[data-theme="light"] .btn-nexa-primary-glow,
[data-theme="light"] .btn-nexa-primary-glow *,
[data-theme="light"] .btn-nexa-cta,
[data-theme="light"] .btn-nexa-cta *,
[data-theme="light"] .btn-danger,
[data-theme="light"] .btn-danger *,
[data-theme="light"] .floating-consultation-btn,
[data-theme="light"] .floating-consultation-btn *,
[data-theme="light"] .pillar-tab-btn.active,
[data-theme="light"] .industry-filter-btn.active,
[data-theme="light"] .form-scope-chip.active,
[data-theme="light"] .chat-msg.user-msg .msg-content {
  color: #FFFFFF !important;
}

/* Inputs & Form Fields in Light Mode */
[data-theme="light"] .form-control-tech {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .form-control-tech::placeholder {
  color: #94A3B8 !important;
}
/* ==========================================================================
   FIX: REMOVE UNWANTED TOP SPACE BELOW NAVBAR
   ========================================================================== */

/* 1. Reset Page Wrapper Padding (Sticky Navbar already takes document height) */
.page-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 2. Compact Hero Top Spacing */
.hero-future-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
  min-height: auto !important;
}

.hero-future-section .container {
  padding-top: 1rem !important;
}

/* 3. Other Inner Pages (About, Services, Contact, Industries) Proper Spacing */
.services-hero-section,
.tech-hero-section,
.industries-hero-section,
.case-hero-section,
.blog-hero-section,
.careers-hero-section,
.contact-hero-section {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
/* ==========================================================================
   ABOUT US ENHANCED CENTRAL-SPINE TIMELINE & LEADERSHIP STYLES
   ========================================================================== */

.about-hero-section {
  padding-top: 1rem !important;
  padding-bottom: 2.5rem !important;
}

/* Timeline Container */
.timeline-interactive-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Center Continuous Glowing Line */
.timeline-vertical-spine {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(227, 27, 35, 0.2) 100%);
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 12px rgba(227, 27, 35, 0.4);
}

.timeline-entries-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

/* Entry Row Flex Grid */
.timeline-entry-row {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.timeline-entry-row.entry-left {
  flex-direction: row;
}

.timeline-entry-row.entry-right {
  flex-direction: row-reverse;
}

.timeline-card-box,
.timeline-spacer-box {
  width: calc(50% - 40px);
  flex-shrink: 0;
}

/* Timeline Center Icon Badge */
.timeline-center-anchor {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.timeline-node-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 16px rgba(227, 27, 35, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-entry-row:hover .timeline-node-core {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.15);
  box-shadow: 0 0 24px var(--primary-glow);
}

/* Timeline Cards */
.timeline-glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.timeline-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-entry-row:hover .timeline-glass-card {
  transform: translateY(-4px);
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.timeline-entry-row:hover .timeline-glass-card::before {
  opacity: 1;
}

.timeline-year-highlight {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

.timeline-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: #FF5A5F;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* Light Theme Overrides for Timeline */
[data-theme="light"] .timeline-glass-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .timeline-node-core {
  background: #FFFFFF;
}

[data-theme="light"] .timeline-glass-card h4 {
  color: #0F172A !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 767.98px) {
  .timeline-vertical-spine {
    left: 24px;
    transform: none;
  }
  
  .timeline-entry-row,
  .timeline-entry-row.entry-right,
  .timeline-entry-row.entry-left {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .timeline-center-anchor {
    width: 48px;
    margin-right: 12px;
  }
  
  .timeline-node-core {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  
  .timeline-card-box {
    width: calc(100% - 60px);
  }
  
  .timeline-entries-list {
    gap: 2.2rem;
  }
}
/* ==========================================================================
   ABOUT US: MD SPOTLIGHT, LINEAGE CALLOUT & TEAM POD ENHANCEMENTS
   ========================================================================== */

/* Corporate Lineage Parent Company Badge */
.corporate-lineage-badge {
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.35);
  box-shadow: 0 4px 18px rgba(227, 27, 35, 0.2);
}

.corporate-lineage-badge .lineage-text {
  color: #E2E8F0;
  letter-spacing: 0.3px;
}

.corporate-lineage-badge strong {
  color: #FFFFFF;
}

[data-theme="light"] .corporate-lineage-badge {
  background: #FFFFFF;
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.1);
}

[data-theme="light"] .corporate-lineage-badge .lineage-text {
  color: #334155;
}

[data-theme="light"] .corporate-lineage-badge strong {
  color: #0F172A;
}

/* Managing Director Spotlight Box */
.md-spotlight-glass-box {
  background: var(--bg-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .md-spotlight-glass-box {
  background: #FFFFFF;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* MD Avatar Frame */
.md-avatar-container {
  width: 170px;
  height: 170px;
}

.md-avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(227, 27, 35, 0.2) 100%);
  border: 2px solid rgba(227, 27, 35, 0.4);
  box-shadow: 0 0 30px var(--primary-glow);
}

.md-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.md-verified-badge {
  position: absolute;
  bottom: 8px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Vision & Mission Cards */
.vision-mission-card {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.vision-mission-card:hover {
  border-color: rgba(227, 27, 35, 0.4);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.12);
}

.pillar-icon-glow {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid rgba(227, 27, 35, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

[data-theme="light"] .vision-mission-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
/* ==========================================================================
   TEAM MEMBERS & PEOPLE PROFILES STYLES
   ========================================================================== */

.team-person-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.team-person-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(227, 27, 35, 0.15) !important;
}

.leader-status-ping {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 13px;
  height: 13px;
  background: #22C55E;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}

.team-photo-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(227, 27, 35, 0.2) 100%);
  border: 1px solid rgba(227, 27, 35, 0.35);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(227, 27, 35, 0.2);
  transition: all 0.3s ease;
}

.team-photo-box.small-box {
  width: 95px;
  height: 95px;
}

.team-person-card:hover .team-photo-box {
  transform: scale(1.06);
  border-color: var(--primary);
  box-shadow: 0 12px 30px var(--primary-glow);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-fallback-avatar {
  width: 100%;
  height: 100%;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Light Theme Overrides for Team Members */
[data-theme="light"] .team-person-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .team-person-card:hover {
  box-shadow: 0 18px 36px rgba(227, 27, 35, 0.12) !important;
}

[data-theme="light"] .team-person-card h5,
[data-theme="light"] .team-person-card h6 {
  color: #0F172A !important;
}

[data-theme="light"] .team-person-card p {
  color: #475569 !important;
}
/* ==========================================================================
   ABOUT US: CAPABILITY PILLS, MD SHOWCASE & CARDS
   ========================================================================== */

/* Capabilities Pill Strip */
.capability-feature-pill {
  background: var(--card-subtle-bg);
  border: 1px solid var(--border-color);
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.capability-feature-pill:hover {
  border-color: rgba(227, 27, 35, 0.4);
  background: rgba(227, 27, 35, 0.08);
  transform: translateY(-2px);
}

/* MD Showcase Box */
.md-profile-showcase {
  background: var(--bg-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Team Person Card */
.team-person-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.team-person-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(227, 27, 35, 0.15) !important;
}

/* Light Theme Overrides */
[data-theme="light"] .capability-feature-pill {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .md-profile-showcase {
  background: #FFFFFF;
  border-color: #E2E8F0 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .team-person-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .team-person-card h5,
[data-theme="light"] .team-person-card h6 {
  color: #0F172A !important;
}
/* ==========================================================================
   ENHANCED INDUSTRIES VERTICAL MATRIX STYLES
   ========================================================================== */

.industries-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* Card Hover Elevation & Glow */
.industry-matrix-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.industry-matrix-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 25px rgba(227, 27, 35, 0.15) !important;
}

.industry-matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-matrix-card:hover::before {
  opacity: 1;
}

/* Explore Topology Button */
.btn-detail-trigger {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-detail-trigger:hover {
  color: var(--primary);
  transform: translateX(2px);
}

/* Card Fade-in Animation on Filter */
@keyframes industryFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Light Theme Overrides for Industries Matrix */
[data-theme="light"] .industry-matrix-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .industry-matrix-card:hover {
  box-shadow: 0 18px 36px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .industry-matrix-card h4 {
  color: #0F172A !important;
}

[data-theme="light"] .btn-detail-trigger {
  color: #475569;
}

[data-theme="light"] .btn-detail-trigger:hover {
  color: var(--primary);
}
/* ==========================================================================
   ULTRA-SLEEK 3D GLASS INDUSTRY CARDS & SCROLL ANIMATIONS
   ========================================================================== */

/* Scroll Trigger Physics */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0s);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 3D Glassmorphic Card Container */
.sleek-industry-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.85rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle Card Ambient Corner Glow */
.card-corner-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.18) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1;
}

.sleek-industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(227, 27, 35, 0.2);
}

.sleek-industry-card:hover .card-corner-glow {
  transform: scale(1.6);
  background: radial-gradient(circle, rgba(227, 27, 35, 0.3) 0%, transparent 70%);
}

/* 3D Floating Orb Icon */
.sleek-icon-orb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.2) 0%, rgba(227, 27, 35, 0.05) 100%);
  border: 1px solid rgba(227, 27, 35, 0.3);
  color: #FF4D55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(227, 27, 35, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sleek-industry-card:hover .sleek-icon-orb {
  transform: scale(1.1) rotate(6deg);
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

/* Badge Pill */
.sleek-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: #FF5A5F;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

/* Neon Telemetry HUD */
.sleek-telemetry-hud {
  background: rgba(8, 8, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
}

.hud-cell {
  position: relative;
}

.hud-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hud-value {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: -0.3px;
}

.hud-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Micro-Tech Chips */
.sleek-tech-chip {
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sleek-tech-chip:hover {
  border-color: rgba(227, 27, 35, 0.3);
  color: #FFFFFF;
  background: rgba(227, 27, 35, 0.08);
}

/* Card Actions */
.card-action-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sleek-btn-explore {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.sleek-btn-explore:hover {
  color: var(--primary);
}

.sleek-btn-scope {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.sleek-btn-scope .arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.sleek-btn-scope:hover {
  color: var(--primary);
}

.sleek-btn-scope:hover .arrow-circle {
  background: var(--primary);
  color: #FFFFFF;
  transform: translate(2px, -2px);
}

.sleek-feature-cell {
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   LIGHT MODE OVERRIDES FOR SLEEK CARDS
   ========================================================================== */

[data-theme="light"] .sleek-industry-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sleek-industry-card:hover {
  box-shadow: 0 20px 40px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .card-industry-title {
  color: #0F172A !important;
}

[data-theme="light"] .card-industry-desc {
  color: #475569 !important;
}

[data-theme="light"] .sleek-telemetry-hud {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .hud-label {
  color: #64748B !important;
}

[data-theme="light"] .sleek-tech-chip {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #334155 !important;
}

[data-theme="light"] .card-action-footer {
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .sleek-btn-explore {
  color: #475569 !important;
}

[data-theme="light"] .sleek-btn-explore:hover {
  color: var(--primary) !important;
}

[data-theme="light"] .sleek-btn-scope {
  color: #0F172A !important;
}

[data-theme="light"] .sleek-feature-cell {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
/* ==========================================================================
   ENHANCED TECHNOLOGIES MATRIX STYLES
   ========================================================================== */

.tech-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

/* Sleek Tech Card Container */
.sleek-tech-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.6rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(227, 27, 35, 0.2);
}

.sleek-tech-card:hover .card-corner-glow {
  transform: scale(1.6);
  background: radial-gradient(circle, rgba(227, 27, 35, 0.3) 0%, transparent 70%);
}

/* Tech Icon Orb */
.tech-icon-orb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.15) 0%, rgba(227, 27, 35, 0.04) 100%);
  border: 1px solid rgba(227, 27, 35, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(227, 27, 35, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-tech-card:hover .tech-icon-orb {
  transform: scale(1.12) rotate(6deg);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.tech-node-name {
  letter-spacing: 0.2px;
}

.tech-node-desc {
  line-height: 1.5;
}

.tech-status-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Theme Overrides for Technologies */
[data-theme="light"] .sleek-tech-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sleek-tech-card:hover {
  box-shadow: 0 18px 36px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .tech-node-name {
  color: #0F172A !important;
}

[data-theme="light"] .tech-node-desc {
  color: #475569 !important;
}

[data-theme="light"] .tech-status-strip {
  border-color: #E2E8F0 !important;
}
/* ==========================================================================
   ENHANCED ARCHITECTURAL CASE STUDIES STYLES
   ========================================================================== */

.case-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

/* Sleek Case Study Large Card */
.sleek-case-study-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-case-study-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(227, 27, 35, 0.2);
}

.sleek-case-study-card:hover .card-corner-glow {
  transform: scale(1.8);
  background: radial-gradient(circle, rgba(227, 27, 35, 0.3) 0%, transparent 70%);
}

/* Telemetry HUD Panel */
.sleek-telemetry-panel {
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hud-metric-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
  letter-spacing: -0.5px;
}

.hud-metric-desc {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Light Theme Overrides for Case Studies */
[data-theme="light"] .sleek-case-study-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sleek-case-study-card:hover {
  box-shadow: 0 20px 45px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .sleek-case-study-card h3 {
  color: #0F172A !important;
}

[data-theme="light"] .sleek-telemetry-panel {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .hud-metric-desc {
  color: #64748B !important;
}
/* ==========================================================================
   ENHANCED INSIGHTS / BLOG WHITE PAPERS STYLES
   ========================================================================= */

.insights-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

/* Featured White Paper Large Card */
.featured-whitepaper-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.9) 0%, rgba(14, 14, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-whitepaper-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(227, 27, 35, 0.2);
}

.featured-indicator-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(227, 27, 35, 0.15);
  border: 1px solid var(--primary);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

/* 3D Emblem Box */
.featured-emblem-box {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.15) 0%, rgba(14, 14, 18, 0.4) 70%);
  border: 2px solid rgba(227, 27, 35, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(227, 27, 35, 0.2);
}

.emblem-core-icon {
  font-size: 3.5rem;
  color: var(--primary);
  filter: drop-shadow(0 0 15px rgba(227, 27, 35, 0.6));
  animation: floatEmblem 3s ease-in-out infinite;
}

@keyframes floatEmblem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sleek Grid Article Cards */
.sleek-insight-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-insight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(227, 27, 35, 0.2);
}

.insight-article-title {
  letter-spacing: 0.2px;
}

.insight-article-desc {
  line-height: 1.5;
}

.insight-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Theme Overrides for Insights */
[data-theme="light"] .featured-whitepaper-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .featured-indicator-pill {
  background: var(--primary);
  color: #FFFFFF;
}

[data-theme="light"] .featured-whitepaper-card h2 {
  color: #0F172A !important;
}

[data-theme="light"] .sleek-insight-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sleek-insight-card:hover {
  box-shadow: 0 18px 36px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .insight-article-title {
  color: #0F172A !important;
}

[data-theme="light"] .insight-article-desc {
  color: #475569 !important;
}

[data-theme="light"] .insight-card-footer {
  border-color: #E2E8F0 !important;
}
/* ==========================================================================
   ENHANCED CAREERS & ENGINEERING PODS STYLES
   ========================================================================== */

.careers-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

/* Perk Box */
.sleek-perk-box {
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.sleek-perk-box:hover {
  border-color: rgba(227, 27, 35, 0.35);
  background: rgba(227, 27, 35, 0.04);
  transform: translateY(-2px);
}

/* Sleek Career Card */
.sleek-career-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(227, 27, 35, 0.2);
}

.career-role-title {
  letter-spacing: 0.2px;
}

.career-role-desc {
  line-height: 1.5;
}

/* Light Theme Overrides for Careers */
[data-theme="light"] .sleek-perk-box {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .sleek-perk-box h6 {
  color: #0F172A !important;
}

[data-theme="light"] .sleek-career-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sleek-career-card:hover {
  box-shadow: 0 18px 36px rgba(227, 27, 35, 0.1) !important;
}

[data-theme="light"] .career-role-title {
  color: #0F172A !important;
}

[data-theme="light"] .career-role-desc {
  color: #475569 !important;
}
/* ==========================================================================
   MEGA-MENU DESKTOP HOVER REVEAL & MOBILE CHEVRON TOGGLE
   ========================================================================== */

/* Desktop: Show Mega Menu on Hover smoothly */
@media (min-width: 992px) {
  .mega-menu-dropdown {
    position: static !important;
  }
  
  .mega-menu-dropdown .mega-menu-wrapper {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mega-menu-dropdown:hover .mega-menu-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
  }

  .mega-mobile-toggle-btn {
    display: none !important;
  }
}

/* Mobile: Dedicated Chevron Button */
.mega-mobile-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.3rem 0.5rem;
  margin-left: -4px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.mega-mobile-toggle-btn:hover {
  color: var(--primary);
}
/* ==========================================================================
   MEGA-MENU ACCIDENTAL HOVER FIX (RESTRICTED ONLY TO SERVICES LINK)
   ========================================================================== */

.nav-arrow-micro {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

@media (min-width: 992px) {
  /* Keep dropdown container isolated */
  .mega-menu-dropdown {
    position: static !important;
  }

  /* 1. Mega Menu Window */
  .mega-menu-wrapper {
    position: absolute;
    top: 100% !important;
    left: 4% !important;
    right: 4% !important;
    width: 92% !important;
    max-width: 1260px !important;
    margin: 0 auto !important;
    background: rgba(14, 14, 20, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(227, 27, 35, 0.18) !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.2s ease;
    z-index: 2050 !important;
  }

  /* 2. Isolated Hover Bridge - Only underneath the Services link itself */
  .mega-menu-dropdown {
    position: relative;
  }

  .mega-menu-dropdown > .d-flex {
    position: relative;
  }

  .mega-menu-dropdown > .d-flex::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px; /* Vertical bridge only for Services button */
    background: transparent;
    pointer-events: auto;
    z-index: 2040;
  }

  /* 3. Reveal ONLY when hovering Services link OR the Mega-Menu itself */
  .mega-menu-dropdown:hover .mega-menu-wrapper,
  .mega-menu-wrapper:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .mega-menu-dropdown:hover .nav-arrow-micro {
    transform: rotate(180deg);
    color: var(--primary);
  }
}
/* ==========================================================================
   LIGHT THEME MEGA-MENU POLISH
   ========================================================================== */

[data-theme="light"] .mega-menu-wrapper {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 25px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .mega-sidebar {
  background: #F8FAFC;
}

[data-theme="light"] .cat-micro-icon {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #64748B;
}

[data-theme="light"] .mega-category-btn {
  color: #334155;
}

[data-theme="light"] .mega-category-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] .mega-category-btn.active {
  background: #FFF1F2 !important;
  border-color: rgba(227, 27, 35, 0.3) !important;
  color: var(--primary) !important;
}

[data-theme="light"] .mega-service-node {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

[data-theme="light"] .mega-service-node:hover {
  background: #FFF1F2;
  border-color: rgba(227, 27, 35, 0.3);
}

[data-theme="light"] .mega-subservice-title {
  color: #0F172A;
}

[data-theme="light"] .mega-subservice-desc {
  color: #475569;
}
/* ==========================================================================
   ENHANCED CONTACT PAGE & ARCHITECTURAL SCOPING STYLES
   ========================================================================== */

.contact-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

/* Guarantee Pill */
.contact-guarantee-pill {
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.contact-guarantee-pill:hover {
  border-color: rgba(227, 27, 35, 0.35);
  background: rgba(227, 27, 35, 0.04);
  transform: translateY(-2px);
}

.guarantee-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sleek Contact Form & Info Cards */
.sleek-contact-form-card,
.sleek-contact-info-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleek-contact-form-card:hover,
.sleek-contact-info-card:hover {
  border-color: rgba(227, 27, 35, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(227, 27, 35, 0.15);
}

/* Direct Channel Rows */
.direct-channel-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.direct-channel-row:hover {
  background: rgba(227, 27, 35, 0.08);
  border-color: rgba(227, 27, 35, 0.35);
  transform: translateX(4px);
}

.channel-icon-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.12);
  border: 1px solid rgba(227, 27, 35, 0.25);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Light Theme Overrides for Contact */
[data-theme="light"] .contact-guarantee-pill {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .contact-guarantee-pill .text-white {
  color: #0F172A !important;
}

[data-theme="light"] .sleek-contact-form-card,
[data-theme="light"] .sleek-contact-info-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .direct-channel-row {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .direct-channel-row:hover {
  background: #FFF1F2 !important;
  border-color: rgba(227, 27, 35, 0.35) !important;
}

[data-theme="light"] .direct-channel-row .text-white {
  color: #0F172A !important;
}
/* ==========================================================================
   HEADQUARTERS CAMPUS CAPSULE (LIGHT & DARK THEME SUPPORT)
   ========================================================================== */

.hq-campus-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.hq-campus-badge .campus-title {
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hq-campus-badge:hover {
  background: rgba(227, 27, 35, 0.08);
  border-color: rgba(227, 27, 35, 0.3);
}

/* Light Theme Overrides */
[data-theme="light"] .hq-campus-badge {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .hq-campus-badge .campus-title {
  color: #0F172A !important;
}

[data-theme="light"] .hq-campus-badge:hover {
  background: #FFF1F2 !important;
  border-color: rgba(227, 27, 35, 0.35) !important;
}
/* ==========================================================================
   ULTRA-SLEEK TRANSPARENT GLASSMORPHIC HEADER & TOPBAR
   ========================================================================== */

/* 1. Transparent Floating Header with High-Diffusion Backdrop Blur */
.main-header-navbar {
  background: rgba(13, 13, 18, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Subtle Depth on Page Scroll */
body.scrolled .main-header-navbar {
  background: rgba(10, 10, 14, 0.75) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

/* 2. Topbar Ambient Telemetry Strip Glass Fix */
.topbar-telemetry-strip {
  background: rgba(13, 13, 18, 0.3) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 3. Floating Navigation Capsule Center Island */
.nav-capsule-wrapper {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   LIGHT THEME TRANSPARENT GLASS (CLEAR FROSTED AESTHETIC)
   ========================================================================== */

[data-theme="light"] .main-header-navbar {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

[data-theme="light"] body.scrolled .main-header-navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .topbar-telemetry-strip {
  background: rgba(248, 250, 252, 0.5) !important;
  border-bottom-color: rgba(226, 232, 240, 0.6) !important;
}

[data-theme="light"] .nav-capsule-wrapper {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}
/* ==========================================================================
   SERVICES & PRACTICE PILLARS STYLES
   ========================================================================== */

.services-hero-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

.services-page-wrapper .sleek-industry-card {
  padding: 1.85rem;
}