/* ==========================================================================
   THE PAPER KITE COMPANY - Hyper-Modern & 3D SaaS Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Vibrant Color Palette
   -------------------------------------------------------------------------- */
:root {
  /* Canvas Backgrounds */
  --bg-pure: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-dark-slate: #0F172A;
  --bg-glass-light: rgba(255, 255, 255, 0.82);
  --bg-glass-card: rgba(255, 255, 255, 0.9);

  /* Primary Vibrant Palette */
  --primary-emerald: #00A896;
  --primary-emerald-glow: rgba(0, 168, 150, 0.4);
  --primary-emerald-light: rgba(0, 168, 150, 0.12);

  --accent-coral: #EE5253;
  --accent-coral-glow: rgba(238, 82, 83, 0.4);
  --accent-coral-light: rgba(238, 82, 83, 0.12);

  --accent-purple: #6366F1;
  --accent-purple-light: rgba(99, 102, 241, 0.12);

  --accent-cyan: #06B6D4;
  --accent-cyan-light: rgba(6, 182, 212, 0.12);

  --accent-amber: #F59E0B;
  --accent-amber-light: rgba(245, 158, 11, 0.12);

  /* Text Colors */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders & Shadows */
  --border-subtle: #E2E8F0;
  --border-glow: rgba(0, 168, 150, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-3d: 0 24px 48px -12px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(0, 168, 150, 0.2);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --max-width: 1240px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-brand: 'Courier New', Courier, monospace;
}

/* --------------------------------------------------------------------------
   2. Reset & High-Tech Mouse Spotlight Canvas
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pure);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  padding-top: 82px;
}

/* Mouse Glow Spotlight Backdrop */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 168, 150, 0.08), transparent 40%);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* Grid Line Background Texture with Vibrant Mesh Gradients */
.bg-grid-pattern {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 168, 150, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(238, 82, 83, 0.06) 0%, transparent 40%),
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

/* --------------------------------------------------------------------------
   3. 3D Tilt Card Base & Interactive Effects
   -------------------------------------------------------------------------- */
.tilt-card {
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: var(--shadow-3d);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Code Pill Badges with Glow */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  background-color: var(--bg-slate);
  color: var(--primary-emerald);
  border: 1px solid var(--border-glow);
  box-shadow: 0 2px 10px rgba(0, 168, 150, 0.12);
  letter-spacing: 0.02em;
}

.pill-badge.coral {
  color: var(--accent-coral);
  border-color: rgba(238, 82, 83, 0.35);
  background-color: var(--accent-coral-light);
  box-shadow: 0 2px 10px rgba(238, 82, 83, 0.12);
}

.pill-badge.purple {
  color: var(--accent-purple);
  border-color: rgba(99, 102, 241, 0.35);
  background-color: var(--accent-purple-light);
}

.pill-badge.cyan {
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.35);
  background-color: var(--accent-cyan-light);
}

/* Buttons with 3D Push & Neon Glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn-emerald {
  background: linear-gradient(135deg, #00A896 0%, #028090 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 168, 150, 0.45);
}

.btn-coral {
  background: linear-gradient(135deg, #EE5253 0%, #D63031 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(238, 82, 83, 0.35);
}

.btn-coral:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(238, 82, 83, 0.45);
}

.btn-dark {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  position: relative;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
  z-index: 2;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

/* Dynamic Real-Time Sliding Cursor Pill */
.nav-cursor-pill {
  position: absolute;
  top: 0.35rem;
  left: 0;
  height: calc(100% - 0.7rem);
  background: linear-gradient(135deg, var(--primary-emerald) 0%, #028090 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
  pointer-events: none;
  opacity: 0;
}

.nav-cursor-pill.visible {
  opacity: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   5. Hero Section with 3D Image & Dynamic Badges
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text-side {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-title .highlight-emerald {
  color: var(--primary-emerald);
  background: linear-gradient(135deg, #00A896 0%, #028090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-coral {
  color: var(--accent-coral);
  background: linear-gradient(135deg, #EE5253 0%, #FF7979 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* 3D Visual Hero Graphic Box */
.hero-visual-side {
  position: relative;
  perspective: 1200px;
}

.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 4px solid #FFFFFF;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s ease;
}

.hero-image-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #FFFFFF;
}

.hero-live-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-emerald);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(0, 168, 150, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 168, 150, 0);
  }
}

/* Floating Avatar Candidate Chips around Hero */
.floating-chip {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  animation: floatBounce 4s ease-in-out infinite alternate;
}

.chip-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.chip-avatar.c1 {
  background: linear-gradient(135deg, #00A896, #028090);
}

.chip-avatar.c2 {
  background: linear-gradient(135deg, #EE5253, #FF7979);
}

.chip-avatar.c3 {
  background: linear-gradient(135deg, #6366F1, #818CF8);
}

.chip-avatar.c4 {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

.chip-avatar.c5 {
  background: linear-gradient(135deg, #10B981, #34D399);
}

.chip-avatar.c6 {
  background: linear-gradient(135deg, #EC4899, #F472B6);
}

.chip-pos-1 {
  top: 15px;
  left: 15px;
  animation-delay: 0s;
}

.chip-pos-2 {
  top: 15px;
  right: 25px;
  animation-delay: 1.2s;
}

.chip-pos-3 {
  top: 46%;
  left: -15px;
  animation-delay: 0.6s;
}

.chip-pos-4 {
  top: 52%;
  right: -15px;
  animation-delay: 1.8s;
}

.chip-pos-5 {
  bottom: 15px;
  left: 20px;
  animation-delay: 0.4s;
}

.chip-pos-6 {
  bottom: 15px;
  right: 30px;
  animation-delay: 1.5s;
}

@keyframes floatBounce {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-14px);
  }
}

/* --------------------------------------------------------------------------
   6. Clean Multi-Row Client Logo Grid (Matching Reference UI)
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2.25rem 1.5rem;
  align-items: center;
  justify-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

.logo-grid-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease;
  cursor: pointer;
}

.logo-grid-item:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 6px 16px rgba(0, 168, 150, 0.15));
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.marquee-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 38s linear infinite;
  gap: 2rem;
}

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

/* Colorful Custom Brand Badges with SVG Icons */
.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.brand-badge:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-emerald);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   7. About Our Firm & Key Metrics
   -------------------------------------------------------------------------- */
.about-section {
  padding: 6.5rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-card {
  background-color: var(--bg-slate);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-emerald), #028090);
}

.metric-card.coral-accent::before {
  background: linear-gradient(180deg, var(--accent-coral), #FF7979);
}

.metric-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-3d);
}

.metric-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-number .highlight {
  color: var(--primary-emerald);
}

.metric-card.coral-accent .metric-number .highlight {
  color: var(--accent-coral);
}

/* --------------------------------------------------------------------------
   8. INFOGRAPHICS SECTION 1: 4-Step Agile Hiring Roadmap
   -------------------------------------------------------------------------- */
.infographic-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-roadmap-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-emerald) 0%, var(--accent-coral) 50%, var(--accent-purple) 100%);
  z-index: 1;
}

.roadmap-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-3d);
}

.step-num-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--primary-emerald);
}

.step-1 .step-num-badge {
  background: linear-gradient(135deg, #00A896, #028090);
}

.step-2 .step-num-badge {
  background: linear-gradient(135deg, #EE5253, #FF7979);
}

.step-3 .step-num-badge {
  background: linear-gradient(135deg, #6366F1, #818CF8);
}

.step-4 .step-num-badge {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

.roadmap-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.roadmap-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. INFOGRAPHICS SECTION 2: Paper Kite Quality & Talent Scorecard
   -------------------------------------------------------------------------- */
.scorecard-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 24px;
  padding: 3.5rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-3d);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.scorecard-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}

.scorecard-metrics-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.scorecard-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.scorecard-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-emerald);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.scorecard-val.coral {
  color: var(--accent-coral);
}

.scorecard-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   10. Capabilities & Sectors Grid Styling
   -------------------------------------------------------------------------- */
.capabilities-section {
  padding: 6.5rem 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.capability-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.capability-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-emerald), var(--accent-coral));
}

.capability-card:hover {
  border-color: var(--primary-emerald);
}

.roles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0;
}

.role-chip {
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-slate);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.role-chip:hover {
  background-color: var(--primary-emerald-light);
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
  transform: translateY(-2px);
}

/* Sectors Hub Grid */
.sectors-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.sector-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.sector-card:hover,
.sector-card.active {
  background-color: #FFFFFF;
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.02);
}

.sector-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* --------------------------------------------------------------------------
   11. Contact Block & Mandate Estimator
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6.5rem 0;
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-subtle);
}

.contact-card-wrapper {
  background-color: #FFFFFF;
  border-radius: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-3d);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.contact-info-panel {
  padding: 3.5rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-panel {
  padding: 3.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-slate);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-emerald);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--primary-emerald-light);
}

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

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   12. Modern & Attractive Footer Styling
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #0B0F19 0%, #080C14 100%);
  color: #94A3B8;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(0, 168, 150, 0.25);
  position: relative;
  overflow: hidden;
}

.footer-cta-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(0, 168, 150, 0.3);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-emerald);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-column-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  color: #94A3B8;
  font-size: 0.925rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--primary-emerald);
  transform: translateX(4px);
}

.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-pill {
  font-size: 0.775rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.footer-pill:hover {
  background: rgba(0, 168, 150, 0.2);
  border-color: var(--primary-emerald);
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   13. Toast Notification
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 1.1rem 1.75rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-emerald);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */
/* ==========================================================================
   14. COMPREHENSIVE MOBILE RESPONSIVE & TOUCH INTERACTIVE STYLES
   ========================================================================== */

/* Prevent horizontal scroll / body overflow on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Mobile Navigation Off-Canvas Menu Drawer & Backdrop Overlay */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.2s ease;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 285px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.25rem;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.mobile-open {
    right: 0;
    display: flex !important;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    color: #F8FAFC;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
  }

  .nav-menu .nav-link.active {
    background: rgba(0, 168, 150, 0.2);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
  }

  .nav-cursor-pill {
    display: none !important;
  }

  .header-right .btn {
    display: none; /* Hide header right button on mobile to prevent header cramping */
  }

  /* Hero Section Mobile Optimization */
  .hero-section {
    padding: 2.5rem 0 3.5rem;
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Floating Candidate Chips - Hide on Mobile to prevent overlap */
  .floating-chip {
    display: none !important;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }

  /* Split Grids & Capabilities */
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Hiring Process Roadmap */
  .process-roadmap-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .scorecard-banner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .scorecard-metrics-box {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Sectors Hub Grid on Mobile */
  .sectors-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .sector-card {
    padding: 0.85rem;
  }

  /* Client Box Grid on Mobile */
  .client-box-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .client-box-card {
    padding: 0.85rem 1rem;
  }

  /* Estimator Form & Footer */
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .footer-cta-card .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

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

  .scorecard-metrics-box {
    grid-template-columns: 1fr;
  }

  .client-box-grid {
    grid-template-columns: 1fr;
  }

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

  .pill-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  /* Cal.com Embed Mobile Container */
  #my-cal-inline-30min {
    height: 560px !important;
    min-height: 480px !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* --------------------------------------------------------------------------
   15. Client Ecosystem, Estimator & Contact Mobile Responsiveness
   -------------------------------------------------------------------------- */
/* Client Ecosystem Case Highlights Grid */
.case-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .case-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .case-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Startup Mandate Estimator Mobile Responsiveness */
.estimator-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.estimator-inner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .estimator-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }
  .estimator-inner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Founder Direct Contact Card Mobile Responsiveness */
.founder-contact-card {
  max-width: 1050px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-contact-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-contact-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cal-booking-wrapper {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .logo-grid-item {
    width: 100% !important;
    padding: 0.6rem 0.5rem !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-subtle);
  }

  .brand-logo-img {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
  }

  .brand-logo-text {
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .founder-contact-card {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
  }

  .founder-contact-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .founder-contact-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .founder-contact-actions a {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.85rem !important;
    padding: 0.65rem 1rem !important;
    word-break: break-all;
  }

  .cal-booking-wrapper {
    padding: 0.5rem;
    border-radius: 16px;
  }

  #my-cal-inline-30min {
    height: 560px !important;
    min-height: 480px !important;
    border-radius: 12px !important;
  }
}