/* ==========================================================================
   Creatix Portfolio - High-Contrast Creative & Cyber Security Portfolio
   Aesthetic: Stark White Hero Card + Deep Matte Black (#0D0D0D)
   Accents: Vibrant Neon Lime Green (#84CC16 / #A3E635 / #D4FF00)
   Hand-drawn SVG Doodles, Spring Physics, 3D Tilt Micro-interactions
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-dark: #0d0d0d;
  --bg-dark-card: #141414;
  --bg-dark-card-hover: #1c1c1c;
  --bg-dark-subtle: #181818;
  --bg-white: #ffffff;
  --bg-white-subtle: #f8fafc;
  
  /* Neon Lime Green Accents */
  --lime-primary: #a3e635;
  --lime-accent: #84cc16;
  --lime-bright: #d4ff00;
  --lime-dark: #65a30d;
  --lime-glow: rgba(163, 230, 53, 0.35);
  --lime-soft: rgba(163, 230, 53, 0.12);
  --lime-border: rgba(163, 230, 53, 0.28);

  /* Neutrals */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #0a0a0a;
  --text-dark-secondary: #475569;
  
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.18);
  --border-light: rgba(0, 0, 0, 0.08);
  
  /* Physics & Easing */
  --spring-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', 'Courier New', monospace;
  
  /* Radii */
  --radius-hero: 56px;
  --radius-card: 28px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Selection */
::selection {
  background-color: var(--lime-primary);
  color: var(--text-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--lime-accent);
}

/* ==========================================================================
   Custom Cursor System
   ========================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--lime-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(163, 230, 53, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--spring-ease), height 0.25s var(--spring-ease), border-color 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}

.custom-cursor-ring.active {
  width: 56px;
  height: 56px;
  background-color: rgba(163, 230, 53, 0.15);
  border-color: var(--lime-bright);
}

@media (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   Ambient Background Glows & Textures
   ========================================================================== */
.ambient-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.ambient-glow-1 {
  top: 25%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--lime-primary) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 65%;
  left: -12%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.8) 0%, transparent 70%);
}

/* Dot Grid Background overlay */
.bg-grid-subtle {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ==========================================================================
   1. Floating Pill Navbar
   Slide down from y: -100 to y: 0 on initial load
   Magnetic hover effect on nav links + 360 slow rotation on sunburst
   ========================================================================== */
.floating-navbar-container {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}

.floating-pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-100px);
  opacity: 0;
  transition: transform 0.9s var(--spring-ease), opacity 0.9s var(--spring-ease), box-shadow 0.3s ease;
}

.floating-pill-nav.nav-loaded {
  transform: translateY(0);
  opacity: 1;
}

.floating-pill-nav.nav-scrolled-hidden {
  transform: translateY(-120px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease !important;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-brand-logo-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slowSunburstRotate 24s linear infinite;
  transform-origin: center;
}

.nav-brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nav-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(163, 230, 53, 0.15);
  color: var(--lime-bright);
  font-weight: 600;
  border: 1px solid rgba(163, 230, 53, 0.25);
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link-item a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s var(--spring-ease);
}

.nav-link-item a:hover {
  color: var(--lime-bright);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-primary);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.3s var(--spring-ease), background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.25);
}

.nav-cta-pill:hover {
  background: var(--lime-bright);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.45);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #141414;
  border-left: 1px solid var(--border-dark);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  z-index: 2000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.45s var(--spring-ease);
}

.mobile-nav-drawer.open {
  right: 0;
}

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

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.mobile-drawer-links a:hover {
  color: var(--lime-primary);
  transform: translateX(6px);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   1.1 Floating Numbered Sidebar Dock (00, 01, 02, 03...)
   Inspired by reference design: sleek numbered pill capsules
   Expands with active & hover label highlights in glowing lime
   ========================================================================== */
.side-nav-dock {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(-80px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.45s;
}

.side-nav-dock.dock-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-num-dock {
  display: flex;
  flex-direction: column;
}

.side-num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.side-num-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #a1a1aa;
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  white-space: nowrap;
}

.dock-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.dock-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-6px);
  transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, transform 0.25s ease, margin 0.25s ease;
}

/* Hover state: expands label smoothly */
.side-num-pill:hover {
  background: rgba(28, 28, 30, 0.95);
  border-color: rgba(163, 230, 53, 0.6);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.25);
}

.side-num-pill:hover .dock-num {
  color: var(--lime-bright);
}

.side-num-pill:hover .dock-label {
  max-width: 140px;
  opacity: 1;
  transform: translateX(0);
  margin-left: 8px;
  color: #ffffff;
}

/* Active state: highlighted pill matching screenshot style */
.side-num-pill.active {
  background: rgba(163, 230, 53, 0.16);
  border-color: var(--lime-bright);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.35), inset 0 0 10px rgba(163, 230, 53, 0.08);
}

.side-num-pill.active .dock-num {
  color: var(--lime-bright);
  font-weight: 800;
}

.side-num-pill.active .dock-label {
  max-width: 140px;
  opacity: 1;
  transform: translateX(0);
  margin-left: 8px;
  color: var(--lime-bright);
}

/* Dedicated CV Pill */
.side-cv-item {
  margin-top: 4px;
}

.side-cv-pill {
  background: rgba(163, 230, 53, 0.14);
  border-color: rgba(163, 230, 53, 0.35);
  color: var(--lime-bright);
}

.side-cv-pill:hover {
  background: var(--lime-primary);
  color: #000000;
  border-color: var(--lime-primary);
  box-shadow: 0 0 24px rgba(163, 230, 53, 0.5);
}

.side-cv-pill:hover .dock-num,
.side-cv-pill:hover .dock-label {
  color: #000000;
}

@media (max-width: 1024px) {
  .side-nav-dock {
    display: none !important;
  }
}

/* ==========================================================================
   2. Stark White Hero Card
   Rounded bottom corners overlapping matte-black body
   Masked split text reveal, hand-drawn looping SVG doodle arrow,
   continuous rotation/pulse starburst, central portrait cutout,
   floating rating blocks, dual magnetic CTAs
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 36px 16px;
  box-sizing: border-box;
  background-color: var(--bg-dark);
}

.hero-white-card {
  position: relative;
  width: 100%;
  flex: 1;
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-bottom-left-radius: var(--radius-hero);
  border-bottom-right-radius: var(--radius-hero);
  padding: 95px 48px 40px 48px;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.7);
  overflow: visible;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hand-Drawn Lime Sunburst Doodle in Top Left */
.hero-doodle-sunburst-top {
  position: absolute;
  top: -30px;
  left: 10px;
  width: 64px;
  height: 64px;
  color: var(--lime-accent);
  animation: sunburstRotatePulse 14s linear infinite;
  transform-origin: center;
  pointer-events: none;
}

/* Hand-Drawn Sparkle in Top Right */
.hero-doodle-sparkle-top {
  position: absolute;
  top: 10px;
  right: 15%;
  width: 32px;
  height: 32px;
  color: var(--lime-accent);
  animation: gentlePulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* Masked Split Text Headline Reveal */
.hero-headline-wrap {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 16px auto;
  position: relative;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin: 0;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.28em;
}

.word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.95s var(--spring-ease), opacity 0.8s ease;
  will-change: transform, opacity;
}

.word-inner.revealed {
  transform: translateY(0);
  opacity: 1;
}

.hero-sparkle-inline {
  display: inline-block;
  vertical-align: middle;
  width: 0.75em;
  height: 0.75em;
  color: var(--lime-accent);
  margin-left: 6px;
  animation: slowSunburstRotate 10s linear infinite;
}

/* Hero Content Grid (Left Blurb, Center Portrait, Right Rating) */
.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  min-height: 460px;
  margin-top: -10px;
}

/* Left Blurb & Pill Badge */
.hero-left-column {
  position: relative;
  padding-right: 20px;
  z-index: 5;
}

.hero-left-blurb {
  font-size: 1.02rem;
  line-height: 1.62;
  color: #334155;
  max-width: 320px;
  margin-bottom: 20px;
  font-weight: 450;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #000000;
  background: #ffffff;
  color: #000000;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: floatKeyframes 4s ease-in-out infinite;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-accent);
}

/* Hand-Drawn Looping Arrow SVG */
.hero-svg-looping-arrow {
  position: absolute;
  top: 100px;
  left: 50px;
  width: 150px;
  height: 170px;
  pointer-events: none;
  z-index: 2;
}

.hero-arrow-path {
  fill: none;
  stroke: #0a0a0a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.8s var(--spring-ease);
}

.hero-arrow-path.arrow-drawn {
  stroke-dashoffset: 0;
}

/* Center Cutout Portrait - Extra Big & Transparent Background */
.hero-portrait-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 4;
}

.hero-portrait-wrapper {
  position: relative;
  width: 420px;
  max-width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 1s var(--spring-ease), opacity 0.9s ease;
  margin-bottom: -15px;
}

.hero-portrait-wrapper.portrait-loaded {
  transform: scale(1);
  opacity: 1;
}

/* Hand-drawn swirl doodle behind portrait */
.hero-portrait-swirl-doodle {
  position: absolute;
  top: 8%;
  left: -24px;
  width: 150px;
  height: 170px;
  stroke: #18181b;
  stroke-width: 2.5;
  fill: none;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.hero-portrait-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.28));
  z-index: 2;
  background: transparent !important;
}

/* Right Column Experience & Rating Card */
.hero-right-column {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}

.hero-rating-block {
  background: #ffffff;
  padding: 24px 30px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: floatKeyframesReverse 4.2s ease-in-out infinite;
}

.hero-stars-row {
  display: flex;
  gap: 4px;
  color: var(--lime-accent);
  font-size: 1.25rem;
}

.hero-rating-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1.1;
}

.hero-rating-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}

/* Dual CTAs Overlapping Bottom of White Hero Card */
.hero-dual-cta-container {
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.cta-btn-lime {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime-primary);
  color: #000000;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(163, 230, 53, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--spring-ease), box-shadow 0.35s ease;
  will-change: transform;
}

.cta-btn-lime::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.6s ease;
}

.cta-btn-lime:hover::before {
  left: 100%;
}

.cta-btn-lime:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(163, 230, 53, 0.55);
}

.cta-arrow-icon {
  display: inline-block;
  transition: transform 0.3s var(--spring-ease);
}

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

.cta-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--spring-ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.cta-btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(30, 30, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   3. Metrics Bar (Scroll-Triggered Count-Up)
   Trigger when 30% in viewport: 2000+, 16+, 800+, 150M+ / 65+
   ========================================================================== */
.metrics-section {
  position: relative;
  padding: 85px 24px 70px 24px;
  background-color: var(--bg-dark);
  z-index: 5;
}

.metrics-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: 28px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.metrics-container:hover {
  border-color: rgba(163, 230, 53, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(163, 230, 53, 0.1);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

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

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.metric-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--lime-primary);
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   4. 'Turning Ideas Into Masterpieces' (Bento Image Grid)
   Staggered scroll reveal (y: 40 -> 0)
   Image hover zoom 1.06, neon badge slide up, red lightbulb scribble draw-in
   ========================================================================== */
.masterpieces-section {
  position: relative;
  padding: 80px 24px 100px 24px;
  background-color: var(--bg-dark);
}

.masterpieces-container {
  max-width: 1260px;
  margin: 0 auto;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 54px;
}

.section-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.section-sparkle-icon {
  width: 28px;
  height: 28px;
  color: var(--lime-bright);
  flex-shrink: 0;
  margin-top: 6px;
  animation: slowSunburstRotate 16s linear infinite;
}

.section-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
}

.section-subtext-right {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

/* Bento Image Cards */
.bento-image-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.bento-card-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #141414;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.9s var(--spring-ease), opacity 0.8s ease, border-color 0.3s ease;
  will-change: transform, opacity;
}

.bento-card-wrap.in-view {
  transform: translateY(0);
  opacity: 1;
}

.bento-card-wrap:hover {
  border-color: rgba(163, 230, 53, 0.35);
}

/* Card 1: Collaborative Studio / Cyber Workspace */
.bento-card-studio {
  height: 480px;
  position: relative;
}

.bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--spring-ease);
  will-change: transform;
}

.bento-card-wrap:hover .bento-image {
  transform: scale(1.06);
}

.bento-dark-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

/* Neon Green Overlay Badge with Barcode */
.bento-neon-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--lime-primary);
  color: #000000;
  padding: 12px 24px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--spring-ease), background 0.3s ease;
  z-index: 5;
}

.bento-card-wrap:hover .bento-neon-badge {
  transform: translateY(-6px);
  background: var(--lime-bright);
}

.bento-barcode-icon {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 18px;
}

.bento-barcode-bar {
  background: #000000;
  height: 100%;
  border-radius: 1px;
}

/* Card 2: Specialist Portrait with Red Lightbulb Scribble Doodle */
.bento-card-portrait {
  height: 480px;
  position: relative;
}

.red-lightbulb-doodle-container {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 90px;
  height: 90px;
  z-index: 10;
  pointer-events: none;
}

.red-lightbulb-path {
  fill: none;
  stroke: #ef4444;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  transition: stroke-dashoffset 1.6s var(--spring-ease);
}

.red-lightbulb-path.drawn {
  stroke-dashoffset: 0;
}

/* ==========================================================================
   5. 'Our Services' Interactive Accordion List
   Highlight Pill expanding scaleX 0 -> 1 on scroll
   Service Rows: neon green fill, invert text to black, arrow slide 8px + tilt -45deg
   Center preview image dynamic cross-fade + 3D tilt
   ========================================================================== */
.services-section {
  position: relative;
  padding: 110px 24px 120px 24px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* Left Vertical Badge "WHAT WE DO" */
.services-vertical-pill {
  position: absolute;
  left: -48px;
  top: 15px;
  background: var(--lime-primary);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transform: rotate(-90deg);
  transform-origin: center;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.3);
}

.services-header {
  margin-bottom: 50px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Animated Lime Pill Behind "Services" */
.services-pill-highlight {
  position: relative;
  display: inline-block;
  padding: 2px 20px;
  color: #000000;
  z-index: 1;
}

.services-pill-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime-primary);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s var(--spring-ease);
  z-index: -1;
}

.services-pill-highlight.in-view::before {
  transform: scaleX(1);
}

.services-subtitle {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
}

/* Services Main Grid */
.services-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left: 4 Interactive Service Pill Rows */
.service-rows-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-row-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-radius: var(--radius-pill);
  background: #151515;
  border: 1px solid var(--border-dark);
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--spring-ease), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Fill Sweep Background */
.service-row-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime-primary);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--spring-ease);
  z-index: 1;
}

.service-row-pill:hover::before,
.service-row-pill.active::before {
  transform: scaleX(1);
}

.service-row-pill:hover,
.service-row-pill.active {
  border-color: var(--lime-primary);
  box-shadow: 0 12px 35px rgba(163, 230, 53, 0.25);
  transform: translateX(8px);
}

.service-row-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-row-pill:hover .service-row-content,
.service-row-pill.active .service-row-content {
  color: #000000;
}

.service-row-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.7;
}

.service-row-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-row-arrow-icon {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.4s var(--spring-ease), color 0.3s ease;
}

.service-row-pill:hover .service-row-arrow-icon,
.service-row-pill.active .service-row-arrow-icon {
  color: #000000;
  transform: translateX(8px) rotate(-45deg);
}

/* Right: Dynamic Service Preview Card with 3D Tilt */
.service-preview-stage {
  position: relative;
  height: 520px;
  perspective: 1200px;
}

.service-preview-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #141414;
  border: 1px solid var(--border-dark);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.service-preview-images-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.8s var(--spring-ease);
  will-change: opacity, transform;
}

.service-preview-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Floating Circular Badge on Preview */
.service-rotating-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 110px;
  height: 110px;
  z-index: 10;
  pointer-events: none;
  animation: slowSunburstRotate 20s linear infinite;
  transform-origin: center;
}

/* Floating Top-Right Mini Card: "See how we work ↗" */
.service-floating-mini-card-top {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-decoration: none;
  transition: transform 0.3s var(--spring-ease), border-color 0.3s ease;
}

.service-floating-mini-card-top:hover {
  transform: translateY(-3px);
  border-color: var(--lime-primary);
}

/* Floating Bottom-Right Neon Pill: "Meet our expert ↗" */
.service-floating-neon-card-bottom {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--lime-primary);
  color: #000000;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 10;
  text-decoration: none;
  max-width: 220px;
  transition: transform 0.3s var(--spring-ease), background 0.25s ease;
}

.service-floating-neon-card-bottom:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--lime-bright);
}

.neon-card-subtext {
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
}

.neon-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   6. Text Banner & Angled Ribbon Marquee
   'Innovate + Inspire + Create' Horizontal Parallax Shift + Velocity Stars
   Diagonal/Horizontal Ribbon: Infinite seamless CSS loop, reverses on scroll
   ========================================================================== */
.marquee-parallax-section {
  position: relative;
  padding: 60px 0 90px 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

/* Giant Display Text Banner (Automatic Infinite Marquee) */
.parallax-banner-track {
  width: 100%;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  padding: 30px 0;
  user-select: none;
}

.parallax-banner-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: bannerAutoMarquee 26s linear infinite;
  animation-direction: normal !important;
  will-change: transform;
}

.parallax-banner-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.parallax-star-icon {
  display: inline-block;
  color: var(--lime-bright);
  font-size: 0.7em;
  vertical-align: middle;
  animation: starAutoSpin 8s linear infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes bannerAutoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* Horizontal Divider with Centered Starburst */
.marquee-star-divider {
  position: relative;
  width: 80%;
  max-width: 1100px;
  margin: 20px auto 55px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-sparkle {
  background: var(--bg-dark);
  padding: 0 16px;
  color: var(--lime-bright);
  width: 22px;
  height: 22px;
}

/* Diagonal / High-Contrast Ribbon Ticker Tape */
.ribbon-marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  background: #ffffff;
  color: #000000;
  padding: 16px 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.ribbon-marquee-wrapper:hover {
  transform: translateX(-50%) rotate(0deg) scale(1.01);
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbonMarquee 26s linear infinite;
  animation-direction: normal !important;
  will-change: transform;
}

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

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 16px;
  white-space: nowrap;
}

.ribbon-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-accent);
}

/* ==========================================================================
   7. 'Meet the Team' Bento Cards
   6 Crisp White Bento Cards with 3D perspective tilt on mouse move
   Lifting 6px on hover with subtle neon green glow border
   Sequential skill tags popping in
   ========================================================================== */
.team-section {
  position: relative;
  padding: 100px 24px 110px 24px;
  background-color: var(--bg-dark);
}

.team-container {
  max-width: 1260px;
  margin: 0 auto;
}

.team-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.team-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.team-pill-highlight {
  display: inline-block;
  background: var(--lime-primary);
  color: #000000;
  padding: 2px 20px;
  border-radius: var(--radius-pill);
}

.team-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #181818;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
}

.team-toggle-pill:hover {
  background: var(--lime-primary);
  color: #000000;
  border-color: var(--lime-primary);
}

/* 6 Bento White Cards (2 rows of 3) */
.team-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1000px;
}

.team-card-white {
  position: relative;
  background: #ffffff;
  color: #000000;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--spring-ease), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform, box-shadow;
  opacity: 0;
  transform: translateY(30px);
}

.team-card-white.in-view {
  opacity: 1;
  transform: translateY(0);
}

.team-card-white:hover {
  transform: translateY(-6px);
  border-color: var(--lime-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 0 25px rgba(163, 230, 53, 0.35);
}

.team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.team-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: background 0.25s ease, transform 0.3s var(--spring-ease);
  text-decoration: none;
}

.team-card-white:hover .team-card-arrow-btn {
  background: var(--lime-primary);
  transform: rotate(45deg);
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 14px;
}

.team-member-bio {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 22px;
}

/* Sequential Skill Tags Pop-in */
.team-skill-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-skill-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s var(--spring-ease), transform 0.4s var(--spring-ease), background 0.2s ease;
}

.team-card-white.in-view .team-skill-tag {
  opacity: 1;
  transform: scale(1);
}

.team-skill-tag:hover {
  background: var(--lime-primary);
  color: #000000;
  border-color: var(--lime-primary);
}

/* Executive Certification Logos Row */
.team-cert-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.cert-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 6px 14px;
  height: 52px;
  min-width: 64px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
}

.team-card-white.in-view .cert-logo-badge {
  opacity: 1;
  transform: translateY(0);
}

.cert-logo-badge:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #84cc16;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(132, 204, 22, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cert-logo-img {
  height: 36px;
  width: auto;
  max-width: 78px;
  object-fit: contain;
  display: block;
  filter: contrast(1.02);
}

/* ==========================================================================
   8. Testimonials Carousel
   Smooth spring-physics carousel transition for quote cards
   ========================================================================== */
.testimonials-section {
  position: relative;
  padding: 100px 24px 110px 24px;
  background-color: var(--bg-dark);
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.testimonials-track {
  display: flex;
  transition: transform 0.65s var(--spring-ease);
  will-change: transform;
}

.testimonial-card-slide {
  min-width: 100%;
  padding: 48px;
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.testimonial-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  color: #f3f4f6;
  letter-spacing: -0.015em;
  position: relative;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
}

.testimonial-author-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime-primary);
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.testimonial-author-role {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #202020;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s var(--spring-ease);
}

.testimonial-nav-btn:hover {
  background: var(--lime-primary);
  color: #000000;
  border-color: var(--lime-primary);
  transform: scale(1.08);
}

/* ==========================================================================
   9. 'Get in Touch Today!' Section
   Dark card with portrait & sleek pill form
   ========================================================================== */
.touch-section {
  position: relative;
  padding: 60px 24px 100px 24px;
  background-color: var(--bg-dark);
}

.touch-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: 36px;
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.touch-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.touch-subtext {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
}

.touch-form-pill {
  display: flex;
  align-items: center;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 24px;
  max-width: 480px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.touch-form-pill:focus-within {
  border-color: var(--lime-primary);
  box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.25);
}

.touch-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.touch-input::placeholder {
  color: #6b7280;
}

.touch-submit-btn {
  background: var(--lime-primary);
  color: #000000;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--spring-ease);
}

.touch-submit-btn:hover {
  background: var(--lime-bright);
  transform: scale(1.03);
}

.touch-portrait-wrap {
  position: relative;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.touch-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   10. Lime Green Footer CTA Container
   Border-radius morphing (48px -> 24px) curtain-reveal effect
   ========================================================================== */
.footer-lime-wrapper {
  position: relative;
  width: 100%;
  padding: 0 16px 16px 16px;
  background-color: var(--bg-dark);
}

.footer-lime-container {
  width: 100%;
  background-color: var(--lime-primary);
  color: #000000;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  padding: 80px 64px 40px 64px;
  box-shadow: 0 -20px 50px rgba(163, 230, 53, 0.15);
  transition: border-radius 0.6s var(--spring-ease);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.78);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #000000;
  transform: translateX(4px);
}

/* Newsletter Input Pill in Footer */
.footer-newsletter-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: 12px;
}

.footer-news-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: #000000;
}

.footer-news-btn {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--spring-ease);
}

.footer-news-btn:hover {
  background: #262626;
  transform: scale(1.04);
}

.footer-bottom-bar {
  border-top: 1.5px solid rgba(0, 0, 0, 0.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: #000000;
  text-decoration: none;
  transition: transform 0.2s var(--spring-ease), opacity 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

/* ==========================================================================
   Modals (CV Preview & Certificate Viewer)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 24px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: 28px;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.4s var(--spring-ease);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222222;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--lime-primary);
  color: #000000;
}

.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--lime-primary);
  color: #000000;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s var(--spring-ease), opacity 0.4s ease;
}

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

/* ==========================================================================
   Expertise Section  (#expertise)
   ========================================================================== */
.expertise-section {
  padding: 100px 0 80px;
  background: var(--bg-dark);
}

.expertise-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

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

.expertise-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, transform 0.35s var(--spring-ease), box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(32px);
}

.expertise-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card:hover {
  border-color: var(--lime-border);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--lime-border);
}

.expertise-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid var(--lime-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.expertise-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expertise-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.expertise-card:hover .expertise-tags span {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime-primary);
}

.expertise-proficiency {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.expertise-proficiency-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.expertise-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.expertise-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lime-accent), var(--lime-primary));
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-bar-fill.animated {
  width: var(--target-width);
}

/* ==========================================================================
   Experience Section  (#experience) — Timeline Layout
   ========================================================================== */
.experience-section {
  padding: 90px 0 80px;
  background: var(--bg-dark-subtle);
}

.experience-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 24px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.55s ease, transform 0.55s var(--spring-ease);
}

.exp-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

.exp-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exp-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-dark-subtle);
  flex-shrink: 0;
  margin-top: 8px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.exp-dot.active {
  border-color: var(--lime-primary);
  background: var(--lime-primary);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.2);
}

.exp-line {
  width: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
  min-height: 40px;
}

.exp-item:last-child .exp-line {
  display: none;
}

.exp-content-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.exp-content-card:hover {
  border-color: var(--lime-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.exp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.exp-role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.exp-org {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lime-primary);
}

.exp-location {
  color: var(--text-muted);
  font-weight: 500;
}

.exp-period-pill {
  flex-shrink: 0;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid var(--lime-border);
  color: var(--lime-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.exp-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tech-tags span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

/* Responsive: Expertise & Experience */
@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-container,
  .experience-container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-container,
  .experience-container {
    padding: 0 20px;
  }
  .expertise-section,
  .experience-section {
    padding: 60px 0;
  }
  .exp-item {
    grid-template-columns: 36px 1fr;
  }
  .exp-header {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   Keyframes Animations
   ========================================================================== */
@keyframes slowSunburstRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sunburstRotatePulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

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

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

@keyframes ribbonMarquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-left-column {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-svg-looping-arrow {
    display: none;
  }
  .hero-right-column {
    justify-content: center;
  }
  .bento-image-grid {
    grid-template-columns: 1fr;
  }
  .services-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .team-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .touch-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .touch-portrait-wrap {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-white-card {
    padding: 80px 20px 60px 20px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }
  .hero-portrait-wrapper {
    width: 260px;
    max-width: 90vw;
    height: 300px;
  }
  .nav-links-wrapper {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section-header-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-bento-grid {
    grid-template-columns: 1fr;
  }
  .metrics-container {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .metric-item::after {
    display: none !important;
  }
  .hero-dual-cta-container {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    bottom: -50px;
  }
  .cta-btn-lime, .cta-btn-glass {
    width: 100%;
    justify-content: center;
  }
  .footer-lime-container {
    padding: 50px 24px 30px 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .services-vertical-pill {
    display: none;
  }
}
