@import url('https://fonts.cdnfonts.com/css/hero-new');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Quicksand', 'Hero New', 'Hero', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Hero New', 'Hero', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-crimson: #0B0C10;
  --color-crimson-hover: #262830;
  --color-crimson-deep: #181A20;
  --color-dark: #0A0B12;
  --color-charcoal: #121316;
  --color-light-card: #F5F5F7;
  --color-white: #FFFFFF;
  --color-text-primary: #0B0C10;
  --color-text-secondary: #6B7280;
  --color-text-muted: #9CA3AF;
  --color-border: #E5E7EB;

  --radius-pill: 9999px;
  --radius-nav: 12px;
  --radius-card: 20px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   1. FLOATING HEADER PILL (Matches step_4_media_0.png & step_8_media_0.png)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.header-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-nav);
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
}

.site-header.scrolled .header-pill {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 28px;
}

.logo-img {
  height: 21px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .brand-logo {
    height: 24px;
  }
  .logo-img {
    height: 18px;
  }
}

.logo-svg-fallback {
  height: 28px;
  width: 112px;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav .nav-list a {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: #4B5563;
  transition: color 0.2s ease;
  position: relative;
}

.desktop-nav .nav-list a:hover,
.desktop-nav .nav-list a.active {
  color: #0B0C10;
  font-weight: 600;
}

.desktop-nav .nav-list a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #0B0C10;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact-nav {
  background-color: #0B0C10;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-contact-nav:hover {
  background-color: #262830;
  transform: translateY(-1px);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: #111111;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

/* ==========================================================================
   MOBILE MENU OVERLAY (Matches step_18_media_0.png)
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-white);
  padding: 28px 36px 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s var(--transition-smooth), visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.mobile-close-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0B0C10;
  padding: 22px 0;
  border-bottom: 1px solid #EBEBEB;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-item:hover {
  color: var(--color-crimson);
  padding-left: 8px;
}

.mobile-menu-footer {
  margin-top: 36px;
}

.btn-mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #0B0C10;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.btn-mobile-contact:hover {
  background: #262830;
}

/* ==========================================================================
   2. HERO SECTION (Matches step_4_media_0.png & step_8_media_0.png)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 84vh;
  background: radial-gradient(circle at 35% 30%, #E0242B 0%, #8A0B11 55%, #2D0204 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px 0 64px;
  transition: background 0.5s ease;
}

.hero-section.obsidian-mode {
  background: radial-gradient(circle at 68% 28%, #3A3F4D 0%, #1E2129 45%, #0D0F14 100%);
}

.hero-section.obsidian-mode #hero-gradient-video {
  filter: grayscale(1) brightness(0.96) contrast(1.16);
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero-section.obsidian-mode .hero-vignette {
  background:
    radial-gradient(ellipse 65% 55% at 72% 32%, rgba(225, 230, 240, 0.22) 0%, rgba(160, 168, 184, 0.08) 48%, transparent 75%),
    radial-gradient(ellipse 55% 50% at 24% 38%, rgba(180, 186, 198, 0.14) 0%, transparent 65%),
    linear-gradient(180deg, rgba(14, 16, 22, 0.12) 0%, rgba(18, 20, 26, 0.05) 50%, rgba(8, 9, 13, 0.52) 100%);
}

.hero-canvas,
.cta-canvas {
  display: none !important;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-bg-video.active-video {
  opacity: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.02) 45%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.1vw, 44px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--color-white);
  max-width: 920px;
}

.hero-headline .text-outline {
  color: transparent;
  -webkit-text-stroke: 1.8px var(--color-white);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-mode-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.mode-pill {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-pill.active {
  background: var(--color-white);
  color: #0B0C10;
}

/* ==========================================================================
   3. CLIENT LOGOS BORDERED GRID (Matches step_4 & step_8)
   ========================================================================== */
.client-logos-section {
  background: var(--color-white);
  border-top: 1px solid #EBEBEB;
  border-bottom: 1px solid #EBEBEB;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
}

.logo-cell {
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid #EBEBEB;
  transition: background-color 0.25s ease;
}

.logo-cell:last-child {
  border-right: none;
}

.logo-cell img {
  max-height: 36px;
  max-width: 145px;
  width: auto;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-cell:hover {
  background-color: #FAFAFA;
}

.logo-cell:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* ==========================================================================
   4. CAPABILITIES BENTO SECTION (Matches step_26, step_28, step_30)
   ========================================================================== */
.capabilities-section {
  background: var(--color-white);
  padding: 104px 0 64px;
}

.capabilities-header {
  margin-bottom: 52px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--color-text-primary);
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--color-text-secondary);
  margin-top: 16px;
  max-width: 640px;
  line-height: 1.55;
}

.capabilities-bento {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.capabilities-row-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capability-card {
  position: relative;
  border-radius: 16px;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.card-design {
  background-color: #F6F6F6;
  border: 1px solid #ECECEC;
}

.card-marketing,
.card-technology {
  background-color: #080912;
}

.card-technology {
  min-height: 490px;
}

.card-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}

/* Built-in Fallback Art Layers Underneath Videos */
.card-fallback-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.design-vector-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bezier-handle-dot {
  animation: pulseHandle 4s ease-in-out infinite alternate;
}

@keyframes pulseHandle {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(18px);
  }
}

/* 100% Original Next24x7 Interactive UI Prototype & Typography Studio */
.design-motion-studio {
  background: radial-gradient(circle at 75% 25%, #FFFFFF 0%, #F4F5F7 58%, #E9EBEF 100%);
}

.design-studio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.n24-design-showcase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 86px;
}

.n24-ui-window {
  width: 100%;
  max-width: 410px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(11, 12, 16, 0.1);
  border-radius: 16px;
  padding: 16px 18px 20px;
  box-shadow: 0 22px 48px rgba(11, 12, 16, 0.09), 0 2px 6px rgba(11, 12, 16, 0.04);
  animation: n24WindowFloat 5.5s ease-in-out infinite alternate;
}

.n24-ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #ECEEF2;
  margin-bottom: 16px;
}

.n24-window-dots {
  display: flex;
  gap: 5px;
}

.n24-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
}

.n24-window-dots span:first-child {
  background: #0B0C10;
}

.n24-ui-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.01em;
}

.n24-ui-pill {
  font-size: 10.5px;
  font-weight: 600;
  background: #0B0C10;
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: 999px;
}

.n24-ui-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

.n24-type-card {
  background: #0B0C10;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.n24-type-glyph {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, #9CA3AF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.n24-type-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.n24-type-meta strong {
  font-size: 12px;
  font-weight: 600;
}

.n24-type-meta span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
}

.n24-component-stack {
  background: #F8F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.n24-comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.n24-comp-val {
  font-family: monospace;
  font-size: 11px;
  background: #E5E7EB;
  padding: 2px 7px;
  border-radius: 6px;
}

.n24-slider-track {
  position: relative;
  height: 7px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: visible;
}

.n24-slider-fill {
  height: 100%;
  width: 68%;
  background: #0B0C10;
  border-radius: 999px;
  animation: n24SliderPulse 4s ease-in-out infinite alternate;
}

.n24-slider-thumb {
  position: absolute;
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #0B0C10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: n24ThumbMove 4s ease-in-out infinite alternate;
}

.n24-comp-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.n24-comp-badges span {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #374151;
}

.n24-live-cursor {
  position: absolute;
  right: 16%;
  bottom: 34%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: n24CursorGlide 6s ease-in-out infinite alternate;
  z-index: 4;
}

.n24-cursor-tag {
  background: #0B0C10;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

@keyframes n24WindowFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

@keyframes n24SliderPulse {
  0% { width: 48%; }
  100% { width: 82%; }
}

@keyframes n24ThumbMove {
  0% { left: 48%; }
  100% { left: 82%; }
}

@keyframes n24CursorGlide {
  0% { transform: translate(-28px, -18px); }
  50% { transform: translate(12px, 8px); }
  100% { transform: translate(-10px, -26px); }
}

/* Minimal, Clean Next24x7 Marketing Showcase (Centered & Balanced) */
.n24-marketing-showcase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 28px 96px;
}

.n24-marketing-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #FFFFFF;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: n24WindowFloat 5s ease-in-out infinite alternate;
}

.n24-m-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.n24-m-label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.n24-m-val-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.n24-m-value {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1;
}

.n24-m-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 999px;
}

.n24-m-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
}

.marketing-analytics-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing-kpi-floating {
  position: absolute;
  top: 72px;
  right: -12px;
  background: rgba(92, 95, 102, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-white);
}

.kpi-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.kpi-val {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
}

.kpi-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
}

.technology-engineering-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-code-window {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 22, 34, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 26px;
  color: #E5E7EB;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tech-code-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tech-code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.tech-code-dots span:first-child {
  background: #FF5F56;
}

.tech-code-dots span:nth-child(2) {
  background: #FFBD2E;
}

.tech-code-dots span:nth-child(3) {
  background: #27C93F;
}

.c-kw { color: #FF7B72; }
.c-fn { color: #D2A8FF; }
.c-str { color: #A5D6FF; }
.c-num { color: #79C0FF; }

.card-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 452px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-technology .card-inner {
  min-height: 400px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dark-text {
  color: #0B0C10;
}

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

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.22s ease;
}

.tags-light-card .pill-tag {
  background: rgba(130, 130, 130, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
}

.tags-light-card .pill-tag:hover {
  background: #111111;
  color: var(--color-white);
}

.tags-dark-card .pill-tag {
  background: rgba(45, 47, 54, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.tags-dark-card .pill-tag:hover {
  background: var(--color-white);
  color: #0B0C10;
}

/* ==========================================================================
   5. OUR INDUSTRY EXPERTISE SECTION (Matches step_32, step_34, step_39_shot_1)
   ========================================================================== */
.expertise-section {
  background: var(--color-white);
  padding: 64px 0 88px;
}

.expertise-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-browse-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid #D1D5DB;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: #111111;
  transition: all 0.22s ease;
}

.btn-browse-all:hover {
  background: #111111;
  border-color: #111111;
  color: var(--color-white);
}

.expertise-showcase-wrapper {
  width: 100%;
}

.expertise-cards-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 12px;
}

.expertise-cards-track.expertise-six-track {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 20px;
}

.expertise-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #0D0F14;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.expertise-img,
.expertise-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.18) brightness(0.82);
  transition: transform 0.75s var(--transition-smooth), filter 0.45s ease;
}

.cinema-pan-1 {
  animation: monoCinemaPan1 14s ease-in-out infinite alternate;
}

.cinema-pan-2 {
  animation: monoCinemaPan2 16s ease-in-out infinite alternate;
}

.cinema-pan-3 {
  animation: monoCinemaPan3 15s ease-in-out infinite alternate;
}

@keyframes monoCinemaPan1 {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-2%, -2%); }
}

@keyframes monoCinemaPan2 {
  0% { transform: scale(1.12) translate(2%, -1%); }
  100% { transform: scale(1.03) translate(-1%, 2%); }
}

@keyframes monoCinemaPan3 {
  0% { transform: scale(1.05) translate(-1.5%, 1.5%); }
  100% { transform: scale(1.15) translate(1.5%, -1.5%); }
}

.expertise-film-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 12, 16, 0.18) 0%, rgba(11, 12, 16, 0.05) 50%, rgba(11, 12, 16, 0.48) 100%);
  pointer-events: none;
}

.expertise-card:hover .expertise-img,
.expertise-card:hover .expertise-video {
  transform: scale(1.12);
  filter: grayscale(100%) contrast(1.24) brightness(0.95);
}

.expertise-overlay {
  position: relative;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.expertise-card:hover .expertise-overlay {
  background: rgba(0, 0, 0, 0.28);
}

.expertise-badge {
  background: rgba(18, 20, 26, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.expertise-card:hover .expertise-badge {
  background: #0B0C10;
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

/* ==========================================================================
   6. TESTIMONIALS SECTION (Matches step_34 & step_39_shot_2)
   ========================================================================== */
.testimonials-section {
  background: var(--color-white);
  padding: 72px 0 88px;
}

.testimonials-header {
  margin-bottom: 48px;
}

.testimonials-grid-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid #EAEAEA;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: #4B5563;
  font-weight: 400;
}

.testimonial-author-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-company-logo {
  max-height: 30px;
  max-width: 115px;
  width: auto;
  opacity: 0.9;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #111111;
}

.author-name span {
  font-weight: 400;
  color: #374151;
}

/* ==========================================================================
   7. VALUE & IMPACT STATS SECTION (Matches step_39_shot_2_stats.png)
   ========================================================================== */
.stats-section {
  background: var(--color-white);
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 40px;
}

.stats-grid-frame {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  border-left: 1px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
}

.stats-intro-cell,
.stat-item-cell {
  padding: 56px 40px;
  border-right: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item-cell:last-child {
  border-right: none;
}

.stats-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #0B0C10;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(44px, 4.5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #0B0C10;
  margin-bottom: 14px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #6B7280;
  line-height: 1.45;
}

/* ==========================================================================
   8. DUAL CAREERS & EXPERTS CTA SECTION (Matches step_39_shot_3 & shot_4)
   ========================================================================== */
.dual-cta-section {
  background: var(--color-white);
  padding: 0 0 24px;
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.careers-panel {
  display: none !important;
}

.cta-panel {
  position: relative;
  min-height: 430px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.careers-panel {
  background-color: #121316;
  color: var(--color-white);
}

.experts-panel {
  background: radial-gradient(circle at 65% 30%, #3A3F4D 0%, #1E2129 55%, #0D0F14 100%);
  color: var(--color-white);
}

.cta-canvas,
.cta-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: grayscale(1) brightness(0.92) contrast(1.18);
}

.cta-canvas {
  z-index: 1;
}

.cta-bg-video {
  z-index: 2;
}

.cta-top-row,
.cta-middle-row,
.cta-bottom-row,
.cta-bottom-group {
  position: relative;
  z-index: 3;
}

.cta-pill-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-pill-dark {
  display: inline-block;
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 14px;
  color: var(--color-white);
  transition: background 0.25s ease;
}

.experts-panel:hover .cta-pill-dark {
  background: #0B0C10;
}

.careers-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--color-white);
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, gap 0.2s ease;
}

.careers-panel:hover .explore-link {
  color: var(--color-white);
  gap: 14px;
}

.cta-bottom-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experts-eyebrow {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.experts-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

/* ==========================================================================
   9. FOOTER (Matches step_39_shot_5_footer.png)
   ========================================================================== */
.site-footer {
  background: var(--color-white);
  padding: 72px 0 48px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #0B0C10;
  padding-bottom: 18px;
  border-bottom: 1px solid #EDEDED;
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 15.5px;
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #0B0C10;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 16px;
}

.copyright-text {
  font-size: 14.5px;
  color: #9CA3AF;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-links a {
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--color-crimson);
  transform: translateY(-2px);
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: rgba(130, 132, 136, 0.78);
  backdrop-filter: blur(6px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

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

.back-to-top:hover {
  background: #111111;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Matches Surge Global's 980px & 767px layout rules)
   ========================================================================== */
@media (max-width: 980px) {
  .desktop-nav,
  .btn-contact-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-pill {
    padding: 10px 16px 10px 22px;
  }

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

  .logo-cell {
    border-bottom: 1px solid #EBEBEB;
  }

  .logo-cell:nth-child(2n) {
    border-right: none;
  }

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

  .expertise-cards-track {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 10px;
  }

  .expertise-card {
    height: 440px;
  }

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

  .stats-grid-frame {
    grid-template-columns: 1fr;
  }

  .stats-intro-cell,
  .stat-item-cell {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 36px 32px;
  }

  .stat-item-cell:last-child {
    border-bottom: none;
  }

  .dual-cta-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container,
  .testimonials-grid-wrapper {
    padding: 0 20px;
  }

  .hero-section {
    min-height: 76vh;
    padding: 120px 0 48px;
  }

  .capability-card {
    padding: 32px 24px;
    min-height: 460px;
  }

  .tech-code-window {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 36px 24px;
    min-height: 360px;
  }
}


/* ==========================================================================
   10. SUBPAGE HERO & MULTI-PAGE ARCHITECTURE
   ========================================================================== */
.subpage-hero {
  position: relative;
  width: 100%;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 72px;
  background: radial-gradient(circle at 68% 28%, #3A3F4D 0%, #1E2129 45%, #0D0F14 100%);
  color: var(--color-white);
}

.subpage-hero .hero-bg-video {
  filter: grayscale(1) brightness(0.95) contrast(1.16);
}

.subpage-hero.theme-dark {
  background: radial-gradient(circle at 70% 25%, #262A36 0%, #0E1017 55%, #05060B 100%);
}

.subpage-hero.theme-robotics {
  background: radial-gradient(circle at 65% 30%, #242834 0%, #0E1017 55%, #06070B 100%);
}

.subpage-hero.theme-light {
  background: #F6F6F8;
  color: var(--color-text-primary);
  border-bottom: 1px solid #E5E7EB;
}

.subpage-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: flex-end;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  margin-bottom: 24px;
}

.theme-light .eyebrow-pill {
  background: rgba(11, 12, 16, 0.06);
  border-color: rgba(11, 12, 16, 0.18);
  color: #0B0C10;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0B0C10;
}

.subpage-hero:not(.theme-light) .eyebrow-dot {
  background: #E5E7EB;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}

.subpage-headline {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.032em;
  margin-bottom: 22px;
}

.subpage-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 620px;
  opacity: 0.88;
}

.subpage-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B0C10;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary-pill:hover {
  background: #262830;
  transform: translateY(-2px);
}

.btn-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: all 0.25s ease;
}

.btn-glass-pill:hover {
  background: var(--color-white);
  color: #0B0C10;
}

/* ==========================================================================
   11. SERVICE PILLARS & CAPABILITY DEEP-DIVE CARDS
   ========================================================================== */
.services-deep-section {
  padding: 96px 0;
  background: var(--color-white);
}

.services-deep-section.alt-bg {
  background: #F8F9FB;
  border-top: 1px solid #EBEBEB;
  border-bottom: 1px solid #EBEBEB;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.service-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-pillar-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-pillar-card:hover {
  transform: translateY(-5px);
  border-color: #D1D5DB;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.06);
}

.service-pillar-card.dark-card {
  background: #0B0D14;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.06);
  color: #0B0C10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dark-card .pillar-icon-box {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6B7280;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.dark-card .pillar-number {
  color: rgba(255, 255, 255, 0.65);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: inherit;
}

.pillar-desc {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--color-text-secondary);
}

.dark-card .pillar-desc {
  color: rgba(255, 255, 255, 0.72);
}

.pillar-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #F0F0F2;
}

.dark-card .pillar-deliverables {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mini-tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #F3F4F6;
  color: #374151;
}

.dark-card .mini-tag {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   12. PROCESS / WORKFLOW STEPS & FEATURE SHOWCASE BENTO
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
}

.process-step {
  padding: 40px 32px;
  border-right: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.process-step:last-child {
  border-right: none;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111111;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.process-step:hover .step-badge {
  background: var(--color-crimson);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0B0C10;
}

.step-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   13. ROBOTICS & NEXT24X7 PULSE OEE DASHBOARD SHOWCASE
   ========================================================================== */
.pulse-showcase-card {
  background: #090B12;
  border-radius: 20px;
  padding: 56px;
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.pulse-telemetry-panel {
  background: rgba(18, 21, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.status-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.telemetry-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.telemetry-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}

.telemetry-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
}

.telemetry-lbl {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ==========================================================================
   14. INDUSTRY EXPERTISE DIRECTORY CARDS (expertise.html)
   ========================================================================== */
.industry-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.industry-detail-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
}

.industry-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

.industry-media-header {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #121318;
}

.industry-media-header img,
.industry-media-header video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.18) brightness(0.84);
  transition: transform 0.6s var(--transition-smooth), filter 0.4s ease;
}

.industry-detail-card:hover .industry-media-header img,
.industry-detail-card:hover .industry-media-header video {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(1.24) brightness(0.95);
}

.industry-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.industry-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0B0C10;
}

/* ==========================================================================
   15. CONTACT US PORTAL & INTERACTIVE FORM (contact.html)
   ========================================================================== */
.contact-portal-section {
  padding: 150px 0 96px;
  background: #F8F9FB;
  border-bottom: 1px solid #E5E7EB;
}

.contact-portal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-office-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F0F0F2;
}

.office-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.office-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-crimson);
}

.office-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #0B0C10;
}

.office-sub {
  font-size: 14.5px;
  color: var(--color-text-secondary);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.form-label .req {
  color: var(--color-crimson);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: #0B0C10;
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: #0B0C10;
  box-shadow: 0 0 0 3px rgba(11, 12, 16, 0.08);
}

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

.goal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.goal-radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #F9FAFB;
  cursor: pointer;
  font-size: 14.5px;
  color: #1F2937;
  transition: all 0.2s ease;
}

.goal-radio-option:hover {
  border-color: #9CA3AF;
  background: var(--color-white);
}

.goal-radio-option input[type="radio"] {
  accent-color: var(--color-crimson);
  width: 17px;
  height: 17px;
}

.form-consent {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.btn-submit-form {
  width: 100%;
  background: #0B0C10;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-submit-form:hover {
  background: #262830;
  transform: translateY(-1px);
}

.form-success-banner {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 10px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 14.5px;
  font-weight: 500;
}

.form-success-banner.show {
  display: block;
}

@media (max-width: 980px) {
  .subpage-hero-grid,
  .service-pillars-grid,
  .process-grid,
  .pulse-showcase-card,
  .industry-directory-grid,
  .contact-portal-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .pulse-showcase-card {
    padding: 36px 24px;
  }

  .contact-form-card {
    padding: 28px 22px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   16. BLOG & INSIGHTS PAGE (blog.html)
   ========================================================================== */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-filter-btn {
  background: #F3F4F6;
  border: 1px solid transparent;
  color: #374151;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-btn:hover {
  background: #E5E7EB;
  color: #0B0C10;
}

.blog-filter-btn.active {
  background: #0B0C10;
  color: var(--color-white);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #0B0D14;
  border-radius: 20px;
  overflow: hidden;
  color: var(--color-white);
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-featured-media {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.04);
}

.blog-featured-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.blog-cat-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.blog-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.blog-featured-excerpt {
  font-size: 16px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.76);
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.07);
}

.blog-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #121318;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--transition-smooth);
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

.blog-card-tag {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-crimson);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #0B0C10;
  margin-bottom: 10px;
}

.blog-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #F0F0F2;
  font-size: 13.5px;
  font-weight: 500;
  color: #0B0C10;
}

@media (max-width: 980px) {
  .blog-featured-card,
  .blog-articles-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-media {
    min-height: 260px;
  }

  .blog-featured-content {
    padding: 32px 24px;
  }
}
