/* ==========================================================================
   AutoHex Software Solutions — Human-Crafted Design System & Stylesheet
   Engineered for Professional Clarity, Optical Harmony, and Senior UX Polish
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;

  /* AutoHex Brand Logo Palette (Derived directly from uploaded brand logo) */
  --brand-slate-darkest: #161d22;
  --brand-slate-dark: #222b31;
  --brand-slate: #34414a;        /* Logo primary charcoal slate (Auto & X) */
  --brand-slate-hover: #263138;
  --brand-steel: #61717b;        /* Logo secondary cool steel slate (Hex & Subtitle) */
  --brand-steel-light: #8e9da6;
  --brand-steel-subtle: #dbe0e4;
  --brand-steel-bg: #f4f6f8;

  /* Signature Brand Accent (Logo Olive-Lime / Chartreuse Tech Green) */
  --brand-lime: #acbc56;         /* Logo iconic green swoop & X accent */
  --brand-lime-hover: #98ad3b;
  --brand-lime-dark: #586616;    /* High contrast accessible text on light backgrounds */
  --brand-lime-subtle: rgba(172, 188, 86, 0.14);
  --brand-lime-glow: rgba(172, 188, 86, 0.32);

  /* Primary Brand Theme Tokens */
  --primary: #34414a;            /* Logo Dark Slate Charcoal */
  --primary-hover: #222b31;
  --primary-dark: #161d22;
  --primary-light: #f4f6f8;
  --primary-glow: rgba(52, 65, 74, 0.16);
  
  --secondary: #61717b;          /* Logo Cool Steel Slate */
  --secondary-light: #8e9da6;
  --secondary-dark: #34414a;

  --accent: #acbc56;             /* Logo Olive-Lime Accent */
  --accent-hover: #98ad3b;
  --accent-dark: #586616;
  --accent-subtle: rgba(172, 188, 86, 0.14);
  --accent-glow: rgba(172, 188, 86, 0.35);

  /* Slate Neutral Spectrum (Optical Tuning) */
  --slate-950: #141b20;
  --slate-900: #202930;
  --slate-800: #2a353e;
  --slate-700: #3c4b56;
  --slate-600: #556673;
  --slate-500: #6d808e;
  --slate-400: #93a3af;
  --slate-300: #cbd5de;
  --slate-200: #e2e8ee;
  --slate-100: #f0f4f7;
  --slate-50:  #f8fafb;
  
  --success: #acbc56;
  --success-dark: #586616;
  --success-light: #f4f7e8;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Layered Shadows (Soft, Natural, Human-Crafted) */
  --shadow-xs: 0 1px 2px rgba(20, 27, 32, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(20, 27, 32, 0.04), 0 1px 2px -1px rgba(20, 27, 32, 0.03);
  --shadow-md: 0 4px 10px -2px rgba(20, 27, 32, 0.05), 0 2px 4px -2px rgba(20, 27, 32, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(20, 27, 32, 0.06), 0 4px 8px -4px rgba(20, 27, 32, 0.03);
  --shadow-xl: 0 24px 36px -8px rgba(20, 27, 32, 0.08), 0 8px 16px -6px rgba(20, 27, 32, 0.04);
  --shadow-card-hover: 0 20px 32px -6px rgba(20, 27, 32, 0.1), 0 0 0 1px rgba(172, 188, 86, 0.35);

  /* Rounded Corners */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
}

/* Base Reset & Fluid Typography Scale */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 0.975rem; /* 15.6px — optimal editorial body */
  line-height: 1.7;
  color: var(--slate-700);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Headings with Optical Tracking (Human-tuned hierarchy) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

h1, .h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.14;
}

h2, .h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

h3, .h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

h4, .h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

h5, .h5 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h6, .h6 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  margin-bottom: 1.25rem;
  color: var(--slate-600);
}

p.lead {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75;
  color: var(--slate-600);
  font-weight: 400;
}

small, .small {
  font-size: 0.85rem; /* 13.6px */
  line-height: 1.55;
  color: var(--slate-500);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* Gradient Text Effect (AutoHex Logo Theme: Slate to Olive-Lime) */
.text-gradient-primary {
  background: linear-gradient(135deg, #141b20 15%, #34414a 45%, #61717b 75%, #acbc56 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-lime {
  background: linear-gradient(135deg, #acbc56 0%, #98ad3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navigation Bar (Crisp, High-Clarity, Human Touch)
   ========================================================================== */
.navbar-autohex {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 224, 228, 0.85);
  padding: 0.85rem 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1040;
}

.navbar-autohex.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(32, 41, 48, 0.06);
  border-bottom-color: var(--slate-200);
  padding: 0.65rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.02);
}

.navbar-autohex .nav-link {
  font-size: 0.875rem; /* 14px — senior product UI standard */
  font-weight: 500;
  color: var(--slate-700);
  padding: 0.45rem 0.8rem !important;
  border-radius: var(--radius-sm);
  letter-spacing: -0.012em;
  transition: all 0.18s ease;
}

.navbar-autohex .nav-link:hover {
  color: var(--brand-slate-dark);
  background-color: rgba(172, 188, 86, 0.1);
}

.navbar-autohex .nav-link.active {
  color: var(--brand-slate-dark);
  font-weight: 700;
  background-color: rgba(172, 188, 86, 0.14);
}

.btn-nav-cta {
  background: linear-gradient(135deg, #222b31 0%, #34414a 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.48rem 1.25rem !important;
  border-radius: var(--radius-md);
  border: 1px solid rgba(172, 188, 86, 0.45);
  box-shadow: 0 1px 3px rgba(20, 27, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #161d22 0%, #222b31 100%);
  border-color: #acbc56;
  box-shadow: 0 4px 14px rgba(172, 188, 86, 0.32);
  transform: translateY(-1px);
}

/* ==========================================================================
   Badges, Buttons & Interactive Elements
   ========================================================================== */
.badge-pill-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.78rem; /* 12.5px */
  font-weight: 600;
  letter-spacing: 0.015em;
  border-radius: 9999px;
  background-color: rgba(172, 188, 86, 0.14);
  color: #586616;
  border: 1px solid rgba(172, 188, 86, 0.4);
  box-shadow: var(--shadow-xs);
}

.pulse-dot {
  width: 6.5px;
  height: 6.5px;
  background-color: #acbc56;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(172, 188, 86, 0.7);
  animation: pulse-ring 2.2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(172, 188, 86, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(172, 188, 86, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(172, 188, 86, 0); }
}

.btn-primary-autohex {
  background: linear-gradient(135deg, #222b31 0%, #34414a 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(172, 188, 86, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 1px 3px rgba(20, 27, 32, 0.12), 0 4px 14px rgba(172, 188, 86, 0.22);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-autohex:hover {
  background: linear-gradient(135deg, #161d22 0%, #222b31 100%);
  color: #ffffff;
  border-color: #acbc56;
  box-shadow: 0 6px 20px -2px rgba(172, 188, 86, 0.4);
  transform: translateY(-1.5px);
}

.btn-secondary-autohex {
  background-color: #ffffff;
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(97, 113, 123, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 1px 2px rgba(20, 27, 32, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary-autohex:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-400);
  color: var(--slate-950);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1.5px);
}

/* ==========================================================================
   Hero Section (Atmospheric Architectural Lighting & Human Craftsmanship)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 7rem 0 6rem 0;
  background-color: #ffffff;
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(172, 188, 86, 0.09), transparent 75%),
    radial-gradient(rgba(97, 113, 123, 0.2) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 28px 28px;
  overflow: hidden;
  border-bottom: 1px solid rgba(219, 224, 228, 0.85);
}

/* Ambient glow blobs */
.hero-glow-blob-1 {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(52, 65, 74, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

.hero-glow-blob-2 {
  position: absolute;
  top: 15%;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(172, 188, 86, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* Announcement Pill */
.hero-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 1px 3px rgba(20, 27, 32, 0.04), 0 0 0 1px rgba(172, 188, 86, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
}

.hero-announcement-pill:hover {
  border-color: rgba(172, 188, 86, 0.5);
  box-shadow: 0 4px 12px rgba(172, 188, 86, 0.18);
  transform: translateY(-1px);
  color: var(--slate-950);
}

.pill-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(172, 188, 86, 0.14);
  color: #586616;
  border: 1px solid rgba(172, 188, 86, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.pill-pulse-badge .pill-dot {
  width: 5.5px;
  height: 5.5px;
  background-color: #acbc56;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(172, 188, 86, 0.7);
  animation: pulse-ring 2s infinite;
}

.hero-announcement-pill .pill-arrow {
  color: var(--slate-400);
  font-size: 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-announcement-pill:hover .pill-arrow {
  transform: translateX(3px);
  color: #586616;
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(2.55rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.042em;
  color: var(--slate-950);
  margin-bottom: 1.4rem;
}

/* Hero Lead Paragraph */
.hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.72;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Hero Buttons */
.hero-main-cta {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(20, 27, 32, 0.1), 0 4px 14px rgba(172, 188, 86, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-main-cta .hero-btn-arrow {
  transition: transform 0.2s ease;
}

.hero-main-cta:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.hero-sec-cta {
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: #ffffff;
  border: 1px solid rgba(97, 113, 123, 0.3);
  color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(20, 27, 32, 0.04);
}

.hero-sec-cta:hover {
  background-color: var(--slate-50);
  border-color: #acbc56;
  color: var(--slate-950);
}

/* Fallback protection for avatar elements if referenced elsewhere */
.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-pill {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(20, 27, 32, 0.1) !important;
  margin-left: -8px !important;
}

.avatar-stack .avatar-pill:first-child {
  margin-left: 0 !important;
}

.badge-sub {
  font-size: 0.7rem;
  color: var(--slate-500);
  line-height: 1.2;
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: 0.25rem;
  box-shadow: 0 0 0 3px rgba(172, 188, 86, 0.3);
}

.badge-pill-verified {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(172, 188, 86, 0.14);
  color: #586616;
  border: 1px solid rgba(172, 188, 86, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

@media (max-width: 991.98px) {
  .hero-floating-badge {
    display: none;
  }
}

/* Hero Code Showcase Box */
.hero-code-window {
  background: #161d22;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(20, 27, 32, 0.35), 0 0 0 1px rgba(172, 188, 86, 0.18);
  overflow: hidden;
  font-family: var(--font-mono);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hero-code-window:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -15px rgba(20, 27, 32, 0.45), 0 0 0 1px rgba(172, 188, 86, 0.4);
}

.hero-code-header {
  background: #222b31;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.console-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.74rem;
  color: var(--slate-400);
  border-radius: 6px;
  background: transparent;
  user-select: none;
}

.console-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-weight: 500;
}

.hero-code-content {
  padding: 1.5rem 1.6rem;
  font-size: 0.835rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.hero-code-footer {
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.65rem 1.25rem;
  font-size: 0.73rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Client Trust Logos Bar
   ========================================================================== */
.clients-section {
  padding: 2.8rem 0;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0.4rem 1.2rem;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.25s ease;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

.client-logo-item img {
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
}

/* ==========================================================================
   Section Headers (Consistent Rhythm)
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem; /* 16.8px */
  line-height: 1.65;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Card System (Multi-layered, Human Elevation)
   ========================================================================== */
.card-autohex {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.card-autohex:hover {
  border-color: rgba(172, 188, 86, 0.45);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(172, 188, 86, 0.12);
  color: var(--brand-slate);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  transition: all 0.22s ease;
  border: 1px solid rgba(172, 188, 86, 0.25);
}

.card-autohex:hover .service-icon-box {
  background: var(--brand-slate);
  color: var(--brand-lime);
  border-color: var(--brand-lime);
  transform: scale(1.05);
}

/* ==========================================================================
   Statistics Counter Banner
   ========================================================================== */
.stats-banner {
  background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-950) 100%);
  color: #ffffff;
  padding: 4.8rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item-box {
  text-align: center;
  padding: 1.25rem;
}

.stat-number {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--brand-lime);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-xs);
}

.process-step-card:hover {
  border-color: var(--brand-lime);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-slate);
  background: rgba(172, 188, 86, 0.18);
  border: 1px solid rgba(172, 188, 86, 0.4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

/* ==========================================================================
   Technologies Grid
   ========================================================================== */
.tech-pill-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
  height: 100%;
}

.tech-pill-card:hover {
  border-color: rgba(172, 188, 86, 0.5);
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(52, 65, 74, 0.08);
}

.tech-icon {
  font-size: 1.45rem;
  color: var(--primary);
}

/* ==========================================================================
   Portfolio Project Card
   ========================================================================== */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  border-color: rgba(172, 188, 86, 0.45);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--slate-100);
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.04);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(172, 188, 86, 0.5);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.blog-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.25s ease;
}

.blog-card:hover {
  border-color: rgba(172, 188, 86, 0.5);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.blog-img-wrapper {
  height: 200px;
  overflow: hidden;
  background: var(--slate-100);
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ==========================================================================
   Accordion / FAQ (Fluid & Clean)
   ========================================================================== */
.accordion-autohex .accordion-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

.accordion-autohex .accordion-item:hover {
  border-color: var(--slate-300);
}

.accordion-autohex .accordion-button {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-800);
  background-color: #ffffff;
  padding: 1.15rem 1.4rem;
  box-shadow: none;
}

.accordion-autohex .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--slate-50);
}

.accordion-autohex .accordion-body {
  padding: 1.25rem 1.4rem;
  font-size: 0.935rem;
  line-height: 1.7;
  color: var(--slate-600);
  background-color: #ffffff;
  border-top: 1px solid var(--slate-200);
}

/* ==========================================================================
   Call To Action Banner (CTA)
   ========================================================================== */
.cta-banner-wrapper {
  background: linear-gradient(135deg, #161d22 0%, #253139 100%);
  border-radius: var(--radius-2xl);
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(22, 29, 34, 0.5);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(172, 188, 86, 0.2);
}

.cta-banner-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 188, 86, 0.22) 0%, transparent 70%);
}

/* ==========================================================================
   Footer (Deep Slate, Editorial Typography)
   ========================================================================== */
.footer-autohex {
  background-color: var(--slate-950);
  color: var(--slate-400);
  padding: 5rem 0 2.2rem 0;
  border-top: 1px solid var(--slate-800);
  font-size: 0.915rem;
}

.footer-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: all 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background: var(--brand-lime);
  color: #161d22;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 4rem;
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Back to top button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-slate);
  border: 1px solid var(--brand-lime);
  color: var(--brand-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--brand-lime);
  color: #161d22;
  transform: translateY(-2px);
}

/* ==========================================================================
   Page Headers (Internal Pages)
   ========================================================================== */
.page-hero-header {
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
  padding: 4.8rem 0 3.6rem 0;
}

.page-hero-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

/* Custom form controls */
.form-control, .form-select {
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 0.68rem 0.95rem;
  font-size: 0.935rem;
  color: var(--slate-800);
  transition: all 0.18s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   CEO Profile & Executive Vision Section
   ========================================================================== */
.ceo-section {
  position: relative;
  background: radial-gradient(circle at bottom left, rgba(172, 188, 86, 0.07), transparent 50%),
              #ffffff;
}

.ceo-card-wrapper {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.ceo-portrait-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--slate-950);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.ceo-quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-lime);
  opacity: 0.45;
  font-family: Georgia, serif;
}

.ceo-signature-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--slate-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ceo-stat-pill {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  text-align: center;
}

/* ==========================================================================
   Editorial Content Typography (Blog Posts, Case Studies & Legal Pages)
   ========================================================================== */
.blog-post-content,
.cms-page-content {
  color: var(--slate-700);
  font-size: 1.025rem;
  line-height: 1.82;
}

.blog-post-content h2,
.cms-page-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post-content h3,
.cms-page-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.blog-post-content h4,
.cms-page-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
}

.blog-post-content p,
.cms-page-content p {
  margin-bottom: 1.4rem;
  color: var(--slate-700);
}

.blog-post-content blockquote,
.cms-page-content blockquote {
  border-left: 3.5px solid var(--primary);
  background-color: var(--slate-50);
  padding: 1.25rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--slate-800);
}

.blog-post-content ul,
.blog-post-content ol,
.cms-page-content ul,
.cms-page-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--slate-700);
}

.blog-post-content li,
.cms-page-content li {
  margin-bottom: 0.5rem;
}

.blog-post-content code,
.cms-page-content code {
  background-color: var(--slate-100);
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.blog-post-content pre,
.cms-page-content pre {
  background-color: var(--slate-950);
  color: #f8fafc;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.8rem 0;
}

.blog-post-content pre code,
.cms-page-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  font-size: 1em;
}

/* ==========================================================================
   Slate Color & Typography Utilities (Ensuring Complete System Consistency)
   ========================================================================== */
.text-slate-950 { color: var(--slate-950) !important; }
.text-slate-900 { color: var(--slate-900) !important; }
.text-slate-800 { color: var(--slate-800) !important; }
.text-slate-700 { color: var(--slate-700) !important; }
.text-slate-600 { color: var(--slate-600) !important; }
.text-slate-500 { color: var(--slate-500) !important; }
.text-slate-400 { color: var(--slate-400) !important; }
.text-slate-300 { color: var(--slate-300) !important; }
.text-slate-200 { color: var(--slate-200) !important; }

.bg-slate-50  { background-color: var(--slate-50) !important; }
.bg-slate-100 { background-color: var(--slate-100) !important; }
.bg-slate-800 { background-color: var(--slate-800) !important; }
.bg-slate-900 { background-color: var(--slate-900) !important; }
.bg-slate-950 { background-color: var(--slate-950) !important; }

.border-slate-100 { border-color: var(--slate-100) !important; }
.border-slate-200 { border-color: var(--slate-200) !important; }
.border-slate-300 { border-color: var(--slate-300) !important; }
.border-slate-700 { border-color: var(--slate-700) !important; }
.border-slate-800 { border-color: var(--slate-800) !important; }

.hover-primary {
  transition: color 0.18s ease;
}
.hover-primary:hover {
  color: var(--primary) !important;
}

.hover-white {
  transition: color 0.18s ease;
}
.hover-white:hover {
  color: #ffffff !important;
}

.tracking-tight {
  letter-spacing: -0.028em !important;
}
.tracking-wide {
  letter-spacing: 0.06em !important;
}

/* Executive Section Padding */
.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 991.98px) {
  .py-6 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }
}

/* Breadcrumbs (Clean, Subtle Hierarchy) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item {
  font-size: 0.84rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: var(--slate-500);
  transition: color 0.18s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--slate-800);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--slate-400);
  padding: 0 0.5rem;
}

/* Selection highlight */
::selection {
  background-color: rgba(172, 188, 86, 0.28);
  color: var(--slate-950);
}
