/* ==========================================================================
   Kaizen Built-On Systems - Main Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-teal: #0D5C58;
  --primary-teal-hover: #094744;
  --primary-teal-light: #EBF5F4;
  --accent-gold: #E5A01A;
  --accent-gold-hover: #CC8C13;
  --accent-gold-light: #FDF7EA;
  --accent-gold-border: #F7E4BD;

  --bg-main: #FAFCFC;
  --bg-alt: #F4F7F6;
  --card-bg: #FFFFFF;

  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --danger-color: #DC2626;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;

  --success-color: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;

  --border-color: #E2E8F0;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-numbers: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography Utilities */
h1,
h2,
h3,
.serif-font {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-block;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  color: var(--primary-teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 800px;
  margin-bottom: 2rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 92, 88, 0.25);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 160, 26, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-muted);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background-color: var(--primary-teal-light);
}

/* Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.logo-img {
  height: 62px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-cta-btn .nav-cta-compact {
  display: none;
}

.nav-drawer-cta {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(13, 92, 88, 0.2);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  z-index: 1001;
}

.nav-toggle:hover {
  background-color: var(--primary-teal-light);
  border-color: var(--primary-teal);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary-teal);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 3.75rem;
  background: #fdfdf8;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 630px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  line-height: 1.14;
  margin-bottom: 1.25rem;
  color: #103D39;
  font-weight: 700;
}

.text-gold {
  color: #C98A1A;
}

.hero-description {
  font-size: 1.02rem;
  line-height: 1.68;
  color: #334155;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-stats-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #FEFBF2;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #F3EBD8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  flex: 1 1 auto;
  min-width: 0;
}

.stat-badge:last-child {
  flex: 1.25 1 auto;
}

.stat-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: #FDF5DE;
  color: #C98A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-badge-number {
  font-family: var(--font-numbers);
  font-size: 1.25rem;
  font-weight: 800;
  color: #103D39;
  line-height: 1.12;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

.stat-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
  margin-top: 2px;
}

/* Full Right-Bleed Hero Image with Soft Seamless Gradient Fade */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right,
      #fdfdf8 0%,
      rgba(253, 253, 248, 0.98) 10%,
      rgba(253, 253, 248, 0.7) 28%,
      rgba(253, 253, 248, 0.2) 52%,
      transparent 75%);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #1A3E3B 0%, #0D5C58 50%, #D98A17 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.image-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.image-placeholder-text {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 80%;
}

/* ==========================================================================
   Logos & Metrics Section
   ========================================================================== */
.trusted-section {
  padding: 2.25rem 0 2rem;
  background-color: var(--bg-alt, #F4F7F6);
  border-top: 1px solid #E2E9E6;
  border-bottom: 1px solid #E2E9E6;
}

.trusted-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.trusted-left {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.trusted-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-teal, #0D5C58);
}

/* Marquee Container with smooth gradient masks */
.logo-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.65rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  flex-shrink: 0;
  animation: logoMarqueeScroll 28s linear infinite;
}

.logo-marquee-container:hover .logo-marquee-group {
  animation-play-state: paused;
}

@keyframes logoMarqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Styled Card Badges with Borders & Background for Logos */
.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 140px;
  padding: 0.5rem 1.35rem;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid #DFE6E3;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(13, 92, 88, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 92, 88, 0.3);
  box-shadow: 0 6px 14px rgba(13, 92, 88, 0.09);
}

.logo-item img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* Square Emblem Badge (e.g. Vainavi) */
.logo-item img.logo-badge-img {
  max-height: 44px;
  border-radius: 6px;
  box-shadow: none;
}

/* Typographic Wordmark for brand names without images */
.logo-wordmark {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #334155;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.92;
  padding: 0;
  border-radius: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.logo-item:hover .logo-wordmark {
  opacity: 1;
  color: var(--primary-teal, #0D5C58);
  transform: scale(1.06);
}

.logo-wordmark .logo-wm-bold {
  font-weight: 850;
  color: var(--primary-teal, #0D5C58);
}

.logo-wordmark .logo-wm-accent {
  font-weight: 850;
  color: #C06014;
}

.logo-wordmark .logo-wm-sub {
  font-weight: 500;
  color: var(--text-muted, #64748B);
}

/* Smart Image / Wordmark fallback */
.logo-item img[src=""],
.logo-item img:not([src]) {
  display: none;
}

.logo-item img[src]:not([src=""])+.logo-wordmark {
  display: none;
}

.metrics-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.2rem 1.6rem;
  border-left: 1px solid #D6DCE3;
}

.metric-num {
  font-family: var(--font-numbers);
  font-size: 2.35rem;
  font-weight: 800;
  color: #C06014;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

.metric-desc {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: #4A5568;
  line-height: 1.25;
  text-align: center;
  margin-top: 0.35rem;
}

/* Counter & Numeric Enhancements */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.counter.bump {
  animation: counterBump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterBump {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

.mission-stat-num {
  font-family: var(--font-numbers);
  font-weight: 800;
  color: var(--primary-teal);
  font-size: 1.15em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Who We Are Section
   ========================================================================== */
.who-we-are {
  padding: 2rem 0;
  background-color: #FAF8F4;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.who-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.who-showcase-content {
  padding-bottom: 0;
}

.who-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #194642;
  margin-bottom: 0.5rem;
}

.who-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.6vw, 3.15rem);
  font-weight: 700;
  color: #103D39;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.who-title-line {
  width: 44px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  margin-bottom: 1.15rem;
}

.who-desc {
  font-size: 0.95rem;
  line-height: 1.62;
  color: #334155;
  margin-bottom: 1.15rem;
}

.who-subheading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #103D39;
  margin-bottom: 0.6rem;
}

.who-accent-bar {
  display: inline-block;
  width: 38px;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.who-mission-banner {
  background-color: #FEF7E6;
  border: 1px solid #F8E5BA;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mission-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #BA7908;
}

.mission-dash {
  color: #BA7908;
  font-weight: 700;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: #1E293B;
  line-height: 1.45;
}

.who-expertise-row {
  background-color: #EBF5F4;
  border: 1px solid #C7E4E0;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.expertise-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.expertise-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-teal, #0D5C58);
}

.expertise-title-wrap .who-accent-bar {
  background-color: var(--primary-teal, #0D5C58);
}

.expertise-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #173B37;
  line-height: 1.5;
}

.expertise-item {
  white-space: nowrap;
}

.expertise-pipe {
  color: #98CAC3;
  font-weight: 400;
}

/* Right Column Media */
.who-showcase-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.founder-portrait-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: #E8F3EB;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(13, 92, 88, 0.1);
  box-shadow: 0 20px 40px -12px rgba(16, 61, 57, 0.14);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 1.75rem;
}

.founder-full-portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .who-we-are {
    padding: 2.5rem 0 2rem;
  }

  .who-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .who-showcase-content {
    padding-bottom: 1rem;
  }

  .founder-portrait-container {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .who-title {
    font-size: 2.1rem;
  }

  .who-mission-banner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .expertise-items {
    font-size: 0.78rem;
    gap: 0.35rem 0.5rem;
  }
}

/* ==========================================================================
   Problem vs Solution Section
   ========================================================================== */
.problem-solution {
  position: relative;
  padding: 4.75rem 0 5.5rem;
  background-color: #F8FAF9;
  overflow: hidden;
}

/* Mountain ridge & arrow ambient backdrop in top right */
.problem-solution::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 520px;
  background-image: url('../images/positive.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0.38;
  mask-image: radial-gradient(ellipse at top right, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.4) 52%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.4) 52%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.problem-solution .container {
  position: relative;
  z-index: 1;
}

.problem-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
  align-items: start;
}

.problem-header-col {
  display: flex;
  flex-direction: column;
}

.solution-header-col {
  display: flex;
  flex-direction: column;
}

.solution-banner-mobile {
  display: none;
}

.solution-badge-banner {
  display: inline-block;
  background: linear-gradient(90deg, #0F5349 0%, #15665A 70%, rgba(21, 102, 90, 0.88) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.38;
  padding: 0.95rem 1.45rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 83, 73, 0.18);
  max-width: 85%;
}

.problem-tag-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.problem-tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #103D39;
}

.problem-tag.solution-tag {
  color: var(--primary-teal, #0D5C58);
}

.problem-tag-line {
  display: inline-block;
  width: 42px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.problem-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 700;
  color: #103D39;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.problem-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.55;
  max-width: 600px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  position: relative;
  align-items: stretch;
}

/* --- Left Card (Problem) --- */
.problem-card {
  position: relative;
  background-color: #151A1A;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-card-media {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.problem-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.problem-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  background: linear-gradient(to right, transparent, #151A1A 95%);
  pointer-events: none;
}

.problem-card-content {
  padding: 1.75rem 1.6rem 1.75rem 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.problem-item-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #F1F5F9;
  font-weight: 500;
  line-height: 1.35;
}

.problem-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #E24835;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(226, 72, 53, 0.35);
}

/* --- Right Card (Solution) --- */
.solution-card {
  position: relative;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(98deg,
      rgba(244, 252, 248, 0.97) 0%,
      rgba(244, 252, 248, 0.94) 48%,
      rgba(244, 252, 248, 0.72) 62%,
      rgba(244, 252, 248, 0.15) 80%,
      rgba(244, 252, 248, 0) 100%),
    url('../images/positive.png');
  background-position: right bottom;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 22px;
  overflow: hidden;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(13, 92, 88, 0.08);
  border: 1px solid rgba(13, 92, 88, 0.14);
}

.solution-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.solution-item-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #113631;
  font-weight: 600;
  line-height: 1.35;
}

.solution-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #16A34A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.35);
}

/* Problem-Solution Responsive Queries */
@media (max-width: 1024px) {
  .problem-card {
    grid-template-columns: 0.44fr 0.56fr;
  }
}

@media (max-width: 860px) {
  .problem-header {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .solution-header-col {
    display: none;
  }

  .solution-banner-mobile {
    display: block;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
  }

    .problem-grid {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }

    .problem-card {
      grid-template-columns: 1fr;
    }

    .problem-card-media {
      height: 220px;
    }

    .problem-card-media::after {
      top: auto;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 55%;
      background: linear-gradient(to bottom, transparent, #151A1A 95%);
    }

    .problem-card-content {
      padding: 1.5rem 1.75rem 2rem;
    }

    .solution-card {
      padding: 1.75rem 1.5rem 2rem;
    }
  }

  /* ==========================================================================
   Service Pillars Showcase Section (Interactive Two-Column Deck)
   ========================================================================== */
  .service-pillars {
    position: relative;
    background: linear-gradient(180deg, #F5F9F8 0%, #EEF6F4 50%, #FAF8F5 100%);
    color: var(--text-dark);
    height: 290vh;
    padding: 0;
    border-top: 1px solid rgba(13, 92, 88, 0.08);
    border-bottom: 1px solid rgba(13, 92, 88, 0.08);
  }

  .service-pillars-sticky {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 10;
    padding: 1.5rem 0;
  }

  .service-pillars::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(13, 92, 88, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }

  .service-pillars::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 160, 26, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }

  .pillars-showcase {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  /* Left Column: Stepper & Stacked Card Deck */
  .pillars-showcase-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
  }

  /* Stepper Track */
  .stepper-track {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 320px;
    padding: 8px 0;
    flex-shrink: 0;
  }

  .stepper-line {
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: rgba(13, 92, 88, 0.14);
    border-radius: 2px;
    z-index: 1;
  }

  .stepper-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-teal));
    border-radius: 2px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .stepper-dots {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .stepper-dot {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin: -6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
  }

  .dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(13, 92, 88, 0.22);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .stepper-dot:hover .dot-inner {
    background: var(--primary-teal);
    transform: scale(1.3);
  }

  .stepper-dot.active .dot-inner {
    width: 14px;
    height: 14px;
    background: var(--accent-gold);
    box-shadow: 0 0 0 5px rgba(229, 160, 26, 0.22), 0 0 16px rgba(229, 160, 26, 0.4);
  }

  /* Cards Deck Wrapper */
  .cards-deck-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
    padding-bottom: 24px;
  }

  .cards-deck-stage {
    position: relative;
    min-height: 350px;
  }

  .deck-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 350px;
    background: #FFFFFF;
    border: 1px solid rgba(13, 92, 88, 0.14);
    border-radius: 24px;
    padding: 1.85rem 1.85rem 1.65rem;
    box-shadow: 0 20px 48px -10px rgba(10, 50, 48, 0.1), 0 4px 14px rgba(10, 50, 48, 0.04);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.4s ease;
    overflow: hidden;
    z-index: 1;
  }

  .deck-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 5;
  }

  /* Watermark */
  .deck-card-watermark {
    position: absolute;
    right: 1.5rem;
    top: 0.5rem;
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-numbers);
    font-variant-numeric: tabular-nums;
    color: rgba(13, 92, 88, 0.045);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.05em;
  }

  .deck-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
  }

  .deck-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #EBF5F4 0%, #D8ECE9 100%);
    color: var(--primary-teal);
    border: 1px solid rgba(13, 92, 88, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 92, 88, 0.08);
  }

  .deck-card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #BA7908;
    background: #FEF7E6;
    border: 1px solid #F8E5BA;
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
  }

  .deck-card-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: #103D39;
    line-height: 1.25;
    margin-bottom: 0.45rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
  }

  .deck-card-desc {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
  }

  .deck-card-note {
    background: rgba(13, 92, 88, 0.045);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 10px 10px 0;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
  }

  .deck-card-note strong {
    color: #103D39;
    font-weight: 700;
  }

  .deck-card-deliverables {
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(13, 92, 88, 0.08);
    position: relative;
    z-index: 2;
  }

  .deliverables-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5A716E;
    margin-bottom: 0.55rem;
  }

  .deck-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
  }

  .card-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #103D39;
    background: #F4F8F7;
    border: 1px solid rgba(13, 92, 88, 0.12);
    padding: 0.38rem 0.85rem;
    border-radius: 50px;
    transition: all 0.2s ease;
  }

  .card-pill:hover {
    background: #EBF5F4;
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-1px);
  }

  /* Stack Layers Effect Underneath Active Card */
  .card-stack-layer {
    position: absolute;
    border-radius: 0 0 24px 24px;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .card-stack-layer.layer-1 {
    bottom: 18px;
    left: 14px;
    right: 14px;
    height: 16px;
    background: #EDF5F3;
    border: 1px solid rgba(13, 92, 88, 0.08);
    box-shadow: 0 8px 18px rgba(10, 50, 48, 0.04);
    opacity: 0.9;
    z-index: 3;
  }

  .card-stack-layer.layer-2 {
    bottom: 10px;
    left: 28px;
    right: 28px;
    height: 16px;
    background: #E4EFEA;
    border: 1px solid rgba(13, 92, 88, 0.06);
    opacity: 0.7;
    z-index: 2;
  }

  .card-stack-layer.layer-3 {
    bottom: 2px;
    left: 42px;
    right: 42px;
    height: 16px;
    background: #DAE8E3;
    border: 1px solid rgba(13, 92, 88, 0.05);
    opacity: 0.45;
    z-index: 1;
  }

  /* Right Column: What We Do Content */
  .pillars-showcase-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .showcase-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .showcase-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary-teal-light);
    color: var(--primary-teal);
    border: 1px solid rgba(13, 92, 88, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.15rem;
  }

  .showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    color: #103D39;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1.15rem;
  }

  .showcase-subtitle {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #475569;
    margin-bottom: 0;
  }

  .showcase-cta {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
  }

  .showcase-cta .btn {
    align-self: flex-start;
  }


  /* ==========================================================================
   Transformation Framework Section (Infinite Marquee)
   ========================================================================== */
  .framework-section {
    padding: 5rem 0 0.5rem;
    background: linear-gradient(180deg, #F8FAFA 0%, #F1F6F5 100%);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .framework-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
  }

  .framework-header .section-tag {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .framework-header .section-title {
    margin-bottom: 0.75rem;
  }

  .framework-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Marquee Container with Gradient Fading Edges */
  .framework-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.25rem 0;
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 7%,
        black 93%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 7%,
        black 93%,
        transparent 100%);
  }

  .framework-marquee-track {
    display: flex;
    width: max-content;
    user-select: none;
  }

  .marquee-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-right: 1.25rem;
    flex-shrink: 0;
    animation: marqueeScroll 38s linear infinite;
    will-change: transform;
  }

  /* Pause animation on hover so visitors can interact and read comfortably */
  .framework-marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
  }

  @keyframes marqueeScroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-100%);
    }
  }

  /* Marquee Phase Card */
  .marquee-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    background: #FFFFFF;
    border: 1px solid rgba(13, 92, 88, 0.12);
    border-radius: 16px;
    padding: 1.1rem 1.65rem;
    min-width: 260px;
    width: max-content;
    box-shadow: 0 4px 16px rgba(10, 50, 48, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
  }

  .marquee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(13, 92, 88, 0.12);
    border-color: rgba(229, 160, 26, 0.5);
    background: #FFFFFF;
  }

  .marquee-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5A01A 0%, #D48E0D 100%);
    color: #FFFFFF;
    font-family: var(--font-numbers);
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(229, 160, 26, 0.3);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  }

  .marquee-card:hover .marquee-node {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--primary-teal) 0%, #094744 100%);
    box-shadow: 0 4px 12px rgba(13, 92, 88, 0.35);
  }

  .marquee-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }

  .marquee-phase-badge {
    font-family: var(--font-numbers);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    line-height: 1;
  }

  .marquee-phase-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #103D39;
    line-height: 1.35;
    margin: 0;
    white-space: nowrap;
  }

  /* ==========================================================================
   How We Work Section (7-Card Undulating Landscape Journey)
   ========================================================================== */
  .how-we-work {
    position: relative;
    padding: 4.75rem 0 6.5rem;
    background-color: #FAFCFA;
    overflow: hidden;
  }

  /* Landscape background at bottom */
  .how-we-work-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 380px;
    background-image: url('../images/positive.png');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.85;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  .how-we-work-container {
    position: relative;
    z-index: 1;
  }

  .how-we-work-header {
    margin-bottom: 2.75rem;
  }

  .how-we-work-header .section-tag-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
  }

  .how-we-work-header .section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #103D39;
  }

  .how-we-work-header .section-tag-line {
    display: inline-block;
    width: 44px;
    height: 3px;
    background-color: var(--accent-gold);
    border-radius: 2px;
  }

  .how-we-work-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    color: #103D39;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
  }

  .how-we-work-header .section-subtitle {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.55;
    max-width: 720px;
  }

  /* Journey Wrapper with Golden Connecting Curve */
  .process-journey-wrapper {
    position: relative;
    width: 100%;
    margin-top: 3.5rem;
    padding: 2.5rem 0 3rem;
  }

  .process-path-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 320px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
  }

  .process-path-line {
    stroke: #E5A01A;
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 4px rgba(229, 160, 26, 0.35));
  }

  .process-cards-track {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.85rem;
    align-items: start;
  }

  /* Moving Up and Down Float Animation */
  @keyframes cardBobWave {
    0%, 100% {
      transform: translateY(var(--base-y, 0px));
    }
    50% {
      transform: translateY(calc(var(--base-y, 0px) + 16px));
    }
  }

  /* Individual Process Step Card */
  .process-step-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(10, 50, 48, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    animation: cardBobWave 4.2s ease-in-out infinite;
    will-change: transform;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
  }

  .process-card-photo {
    width: 100%;
    aspect-ratio: 3 / 3.4;
    overflow: hidden;
    position: relative;
    background-color: #F1F5F4;
  }

  .process-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .process-card-footer {
    padding: 0.95rem 0.85rem 1.05rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFB 100%);
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .process-num {
    font-family: var(--font-numbers);
    font-size: 1.15rem;
    font-weight: 800;
    color: #E5A01A;
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
  }

  .process-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #103D39;
    line-height: 1.25;
    margin-bottom: 0.45rem;
    white-space: normal;
    word-break: normal;
    min-height: 2.5em;
  }

  .process-accent-bar {
    width: 22px;
    height: 2.5px;
    background-color: #E5A01A;
    border-radius: 2px;
    display: block;
  }

  /* Hover elevation */
  .process-step-card:hover {
    animation-play-state: paused;
    transform: translateY(calc(var(--base-y, 0px) - 8px)) scale(1.03) !important;
    box-shadow: 0 24px 50px rgba(13, 92, 88, 0.22);
    border-color: rgba(229, 160, 26, 0.45);
    z-index: 10;
  }

  .process-step-card:hover .process-card-photo img {
    transform: scale(1.06);
  }

  /* Undulating Staggered Heights (Wave Effect) with Staggered Delays */
  .step-pos-1 {
    --base-y: -22px;
    animation-delay: 0s;
  }

  .step-pos-2 {
    --base-y: 18px;
    animation-delay: 0.52s;
  }

  .step-pos-3 {
    --base-y: -14px;
    animation-delay: 1.05s;
  }

  .step-pos-4 {
    --base-y: 22px;
    animation-delay: 1.58s;
  }

  .step-pos-5 {
    --base-y: -10px;
    animation-delay: 2.1s;
  }

  .step-pos-6 {
    --base-y: 20px;
    animation-delay: 2.62s;
  }

  .step-pos-7 {
    --base-y: -22px;
    animation-delay: 3.15s;
  }

  .step-pos-8 {
    --base-y: 18px;
    animation-delay: 3.68s;
  }

  /* Responsive Handling */
  @media (max-width: 1200px) {
    .process-path-svg {
      display: none;
    }

    .process-cards-track {
      grid-template-columns: repeat(4, 1fr);
      gap: 1.15rem;
    }

    .step-pos-1,
    .step-pos-2,
    .step-pos-3,
    .step-pos-4,
    .step-pos-5,
    .step-pos-6,
    .step-pos-7,
    .step-pos-8 {
      --base-y: 0px;
    }

    .process-step-card:hover {
      transform: translateY(-6px) scale(1.02) !important;
    }
  }


  /* ==========================================================================
   Industries We Serve Section
   ========================================================================== */
  .industries-section {
    padding: 4.5rem 0 3.5rem;
    background-color: #FAFCFC;
    overflow: hidden;
    position: relative;
  }

  .industries-header {
    margin-bottom: 2.25rem;
  }

  .industries-section .section-tag {
    color: #1b635c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
  }

  .industries-section .section-title {
    color: #123d39;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0;
    max-width: 950px;
  }

  /* Infinite Marquee Track Wrapper */
  .industries-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0.75rem 0 1.25rem;
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%);
  }

  .industries-marquee-track {
    display: flex;
    width: max-content;
    user-select: none;
  }

  .industries-marquee-group {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-right: 1.5rem;
    flex-shrink: 0;
    animation: industriesMarqueeScroll 34s linear infinite;
    will-change: transform;
  }

  /* Pause scrolling on hover so users can examine or tap any card */
  .industries-marquee-wrapper:hover .industries-marquee-group {
    animation-play-state: paused;
  }

  @keyframes industriesMarqueeScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  /* Industry Card within Marquee */
  .industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 165px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .industry-card:hover {
    transform: translateY(-6px);
  }

  .industry-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(10, 50, 48, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background-color: #F1F5F4;
  }

  .industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }

  .industry-card:hover .industry-img {
    box-shadow: 0 12px 28px rgba(13, 92, 88, 0.22);
  }

  .industry-card:hover .industry-img img {
    transform: scale(1.08);
  }

  .industry-name {
    padding: 0;
    margin-top: 0.75rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #123d39;
    line-height: 1.3;
    text-align: center;
    transition: color var(--transition-fast);
  }

  .industry-card:hover .industry-name {
    color: #0b4e4a;
  }

  .industries-action {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
  }

  .btn-industries {
    background-color: #0b4e4a;
    color: #ffffff;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 4px 14px rgba(11, 78, 74, 0.22);
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .btn-industries:hover {
    background-color: #073835;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 78, 74, 0.32);
  }

  /* ==========================================================================
   Testimonials Section
   ========================================================================== */
  .testimonials-section {
    padding: 5rem 0;
    background-color: var(--bg-main);
    position: relative;
  }

  .testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .slider-btn-group {
    display: flex;
    gap: 0.5rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all var(--transition-fast);
  }

  .slider-arrow:hover {
    background-color: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
  }

  .testimonial-quote {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-alt);
    flex-shrink: 0;
  }

  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
  }

  .author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .dot.active {
    background-color: var(--accent-gold);
    width: 24px;
    border-radius: 4px;
  }

  /* ==========================================================================
   Contact & Discovery Form Section
   ========================================================================== */
  .contact-section {
    padding: 4.5rem 0 5rem;
    position: relative;
    background-color: #dbe4e2;
    background-image: url('../images/Businessman%20Overlooking%20Misty%20Mountain%20Sunrise.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    overflow: hidden;
  }

  .contact-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 0 25%;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 2.5rem;
    align-items: center;
  }

  .contact-info {
    padding-left: 0.5rem;
  }

  .contact-info .section-tag {
    color: #1b635c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    display: inline-block;
  }

  .contact-info h2 {
    color: #123d39;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    max-width: 460px;
  }

  .contact-info p {
    color: #2e4a46;
    font-size: 0.94rem;
    line-height: 1.58;
    max-width: 430px;
  }

  .form-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.6rem 1.85rem;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .form-card-header {
    margin-bottom: 1.1rem;
  }

  .form-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #123d39;
  }

  /* 2-Step Progress Indicator */
  .form-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f8f7;
    border: 1px solid #dce8e5;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.25rem;
  }

  .step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
    transition: all var(--transition-fast);
  }

  .step-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all var(--transition-fast);
  }

  .step-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    transition: color var(--transition-fast);
  }

  .step-pill.active .step-circle {
    background-color: #0b4e4a;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 78, 74, 0.18);
  }

  .step-pill.active .step-title {
    color: #0b4e4a;
    font-weight: 700;
  }

  .step-pill.completed .step-circle {
    background-color: #16a34a;
    color: #ffffff;
  }

  .step-pill.completed .step-title {
    color: #16a34a;
    font-weight: 700;
  }

  .step-connector {
    flex: 1;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 0.75rem;
    border-radius: 2px;
    transition: background-color var(--transition-fast);
  }

  .step-connector.active {
    background-color: #16a34a;
  }

  /* Step Panels */
  .form-step-panel {
    display: none;
  }

  .form-step-panel.active {
    display: block;
    animation: formStepFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes formStepFadeIn {
    from {
      opacity: 0;
      transform: translateY(4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.9rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
  }

  .form-control {
    width: 100%;
    padding: 0.48rem 0.7rem;
    border: 1px solid #dce4e3;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }

  .form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 92, 88, 0.1);
  }

  textarea.form-control {
    resize: vertical;
    height: 52px;
    min-height: 52px;
  }

  /* Step Action Rows */
  .form-actions-row {
    margin-top: 0.9rem;
  }

  .form-actions-row.single {
    display: flex;
    width: 100%;
  }

  .form-actions-row.dual {
    display: flex;
    gap: 0.65rem;
    align-items: center;
  }

  .next-step-btn,
  .submit-btn {
    padding: 0.72rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: #0b4e4a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 2px 6px rgba(11, 78, 74, 0.18);
  }

  .next-step-btn {
    width: 100%;
  }

  .form-actions-row.dual .submit-btn {
    flex: 1;
    margin-top: 0;
    grid-column: auto;
  }

  .back-step-btn {
    padding: 0.72rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    background-color: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
  }

  .back-step-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
  }

  .next-step-btn:hover,
  .submit-btn:hover {
    background-color: #083c39;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 78, 74, 0.28);
  }

  .submit-btn:disabled {
    opacity: 0.8;
    cursor: wait;
    transform: none;
    box-shadow: none;
  }

  /* Mail Dispatch Status Notice */
  .mail-status-notice {
    margin-bottom: 1.25rem;
    animation: fadeInNotice 0.3s ease-out;
  }

  @keyframes fadeInNotice {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mail-notice-card {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    color: #14532d;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08);
  }

  .mail-notice-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .mail-notice-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    margin-top: 2px;
  }

  .mail-notice-title {
    font-size: 1rem;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
  }

  .mail-notice-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #166534;
    margin: 0;
  }

  .mail-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #bbf7d0;
  }

  .btn-mail-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .btn-mail-action.primary-mail-btn {
    background-color: #0b4e4a;
    color: #ffffff;
    border: 1px solid #0b4e4a;
  }

  .btn-mail-action.primary-mail-btn:hover {
    background-color: #083c39;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(11, 78, 74, 0.25);
  }

  .btn-mail-action.gmail-btn {
    background-color: #ffffff;
    color: #c5221f;
    border: 1.5px solid #ea4335;
  }

  .btn-mail-action.gmail-btn:hover {
    background-color: #fef2f2;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(234, 67, 53, 0.2);
  }

  .btn-mail-action.copy-btn {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
  }

  .btn-mail-action.copy-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
  }

  .btn-mail-action.copy-btn.copied {
    background-color: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
  }

  .mail-notice-footer {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: #15803d;
  }

  /* ==========================================================================
   Footer
   ========================================================================== */
  .footer {
    background-color: #0A3230;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    font-size: 0.88rem;
  }

  .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-logo {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }

  .footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .footer-logo .logo-img {
    height: 46px;
  }

  .footer-nav {
    display: flex;
    gap: 2rem;
  }

  .footer-nav a:hover {
    color: var(--accent-gold);
  }

  .social-links {
    display: flex;
    gap: 1rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
  }

  .social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    letter-spacing: 0.01em;
  }

  .footer-crafted {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
  }

  .footer-crafted span {
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-crafted a {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
  }

  .footer-crafted a:hover {
    color: #ffffff;
    background-color: rgba(229, 160, 26, 0.18);
  }

  /* ==========================================================================
   Responsive Media Queries (Mobile & Tablet Optimization)
   ========================================================================== */

  /* Keyframe for mobile menu drawer animation */
  @keyframes slideDownDrawer {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* --- Tablet Landscape / Medium Laptops (<= 1024px) --- */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      padding: 3.5rem 0 2.5rem;
      min-height: auto;
    }

    .hero-content {
      max-width: 100%;
    }

    .hero-image-wrapper {
      position: relative;
      width: 100%;
      height: 340px;
      margin-top: 2.25rem;
      border-radius: var(--border-radius-lg);
    }

    .hero-image-wrapper::before {
      background: linear-gradient(to bottom,
          #fdfdf8 0%,
          rgba(253, 253, 248, 0.85) 15%,
          transparent 50%);
    }

    .hero-stats-row {
      flex-wrap: wrap;
    }

    .contact-container {
      padding: 0 1.5rem;
    }

    .hero-grid,
    .who-grid,
    .contact-grid {
      grid-template-columns: 1fr;
    }

    .who-showcase-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .who-showcase-content {
      padding-bottom: 0.5rem;
    }

    .founder-portrait-container {
      max-width: 360px;
    }

    .trusted-grid {
      flex-direction: column;
      align-items: stretch;
      gap: 2rem;
    }

    .trusted-label {
      text-align: center;
    }

    .logo-marquee-group {
      gap: 1.25rem;
      padding-right: 1.25rem;
      animation-duration: 22s;
    }

    .logo-item {
      height: 54px;
      min-width: 120px;
      padding: 0.4rem 1.1rem;
    }

    .logo-item img {
      max-height: 34px;
      max-width: 120px;
    }

    .metrics-row {
      justify-content: center;
      border-top: 1px solid #ECEEEA;
      padding-top: 1.5rem;
    }

    .metric-card:first-child {
      border-left: none;
    }

    .pillars-showcase {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .pillars-showcase-left {
      order: 2;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 1.25rem;
      width: 100%;
    }

    .pillars-showcase-right {
      order: 1;
    }

    .service-pillars {
      height: 290vh;
      padding: 0;
    }

    .service-pillars-sticky {
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
      padding: 1.5rem 0;
      z-index: 10;
    }

    .industries-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* --- Tablets & Large Phones (<= 768px) --- */
  @media (max-width: 768px) {

    /* Global layout */
    .container {
      padding: 0 1.25rem;
    }

    .section-title {
      font-size: 1.85rem;
      line-height: 1.24;
      margin-bottom: 0.75rem;
    }

    .section-subtitle {
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1.75rem;
    }

    /* Header & Navigation */
    .navbar .container {
      height: 68px;
    }

    .logo-img {
      height: 48px;
      max-width: 175px;
    }

    .nav-toggle {
      display: flex;
    }

    .nav-cta-btn .nav-cta-full {
      display: none;
    }

    .nav-cta-btn .nav-cta-compact {
      display: inline;
    }

    .nav-cta-btn {
      padding: 0.55rem 1.15rem;
      font-size: 0.85rem;
    }

    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      flex-direction: column;
      padding: 1.25rem 1.5rem 1.75rem;
      box-shadow: 0 16px 36px rgba(10, 50, 48, 0.12);
      border-bottom: 1px solid var(--border-color);
      gap: 0;
      z-index: 1000;
    }

    .nav-links.show {
      display: flex;
      animation: slideDownDrawer 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-link {
      font-size: 1.05rem;
      padding: 0.85rem 0;
      border-bottom: 1px solid rgba(226, 232, 240, 0.65);
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-link::after {
      display: none;
    }

    .nav-drawer-cta {
      display: block;
      margin-top: 1.25rem;
      width: 100%;
    }

    .btn-drawer {
      width: 100%;
      padding: 0.85rem 1.5rem;
      font-size: 0.95rem;
      text-align: center;
      border-radius: var(--border-radius-pill);
      box-shadow: 0 4px 14px rgba(229, 160, 26, 0.35);
    }

    /* Hero Section */
    .hero {
      padding: 2.75rem 0 2.25rem;
    }

    .hero-content h1 {
      font-size: 2.25rem;
      line-height: 1.18;
    }

    .hero-description {
      font-size: 0.95rem;
      line-height: 1.62;
      margin-bottom: 1.75rem;
    }

    .hero-actions {
      margin-bottom: 2rem;
    }

    .hero-stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.65rem;
      width: 100%;
    }

    .stat-badge {
      padding: 0.65rem 0.75rem;
      gap: 0.6rem;
    }

    .stat-badge-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
    }

    .stat-badge-icon svg {
      width: 18px;
      height: 18px;
    }

    .stat-badge-number {
      font-size: 1.15rem;
    }

    .stat-badge-label {
      font-size: 0.68rem;
      white-space: normal;
      line-height: 1.2;
    }

    .hero-image-wrapper {
      height: 280px;
      margin-top: 1.75rem;
    }

    /* Trusted Section */
    .trusted-section {
      padding: 2rem 0 1.75rem;
    }

    .metrics-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      width: 100%;
    }

    .metric-card {
      padding: 0.2rem 0.5rem;
    }

    .metric-num {
      font-size: 1.85rem;
    }

    .metric-desc {
      font-size: 0.72rem;
    }

    /* Who We Are */
    .who-we-are {
      padding: 2.5rem 0 2rem;
    }

    .who-title {
      font-size: 2rem;
    }

    .who-desc {
      font-size: 0.92rem;
    }

    .founder-portrait-container {
      max-width: 320px;
    }

    .founder-full-portrait {
      max-height: 440px;
    }

    /* Problem vs Solution */
    .problem-solution {
      padding: 3.5rem 0 4rem;
    }

    .solution-header-col {
      display: none;
    }

    .solution-banner-mobile {
      display: block;
      margin-top: 2.5rem;
      margin-bottom: 0.5rem;
    }

    .problem-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .problem-card {
      grid-template-columns: 1fr;
    }

    .problem-card-media {
      height: 200px;
    }

    .problem-card-media::after {
      top: auto;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60%;
      background: linear-gradient(to bottom, transparent, #151A1A 95%);
    }

    .problem-card-content {
      padding: 1.5rem 1.4rem 1.75rem;
    }

    .solution-card {
      padding: 1.65rem 1.4rem 1.85rem;
    }

    .solution-badge-banner {
      max-width: 100%;
      font-size: 0.95rem;
      padding: 0.75rem 1.15rem;
    }

    /* Service Pillars (What We Do) */
    .service-pillars {
      height: 290vh;
      padding: 0;
    }

    .service-pillars-sticky {
      position: sticky;
      top: 68px;
      height: calc(100vh - 68px);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
      padding: 0.75rem 0;
      z-index: 10;
    }

    .pillars-showcase {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      width: 100%;
    }

    .pillars-showcase-right {
      order: 1;
      text-align: left;
    }

    .showcase-tag {
      margin-bottom: 0.25rem;
      font-size: 0.72rem;
    }

    .showcase-title {
      font-size: 1.28rem;
      line-height: 1.22;
      margin-bottom: 0.35rem;
    }

    .showcase-subtitle {
      font-size: 0.84rem;
      line-height: 1.48;
      margin-bottom: 0;
      display: block;
      overflow: visible;
    }

    .pillars-showcase-left {
      order: 2;
      display: flex;
      flex-direction: row; /* Stepper on left, Card on right */
      align-items: center;
      gap: 0.75rem;
      width: 100%;
    }

    .stepper-track {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      height: 300px;
      padding: 6px 0;
      flex-shrink: 0;
      width: auto;
      max-width: none;
      margin: 0;
    }

    .stepper-line {
      position: absolute;
      top: 10px;
      bottom: 10px;
      left: 50%;
      right: auto;
      width: 2px;
      height: auto;
      transform: translateX(-50%);
      background: rgba(13, 92, 88, 0.14);
      border-radius: 2px;
      z-index: 1;
    }

    .stepper-progress {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0%;
      background: linear-gradient(180deg, var(--accent-gold), var(--primary-teal));
      border-radius: 2px;
      transition: height 0.2s ease;
    }

    .stepper-dots {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      width: auto;
    }

    .stepper-dot {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 4px;
      margin: 0;
      min-width: 28px;
      min-height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      outline: none;
    }

    .cards-deck-wrapper {
      flex: 1;
      position: relative;
      min-width: 0;
      padding-bottom: 16px;
    }

    .cards-deck-stage {
      min-height: 330px;
    }

    .deck-card {
      padding: 1.35rem 1.15rem 1.3rem;
      min-height: 330px;
      border-radius: 20px;
    }


    .deck-card-watermark {
      font-size: 5.5rem;
      top: 0.5rem;
      right: 1rem;
      opacity: 0.04;
    }

    .deck-card-title {
      font-size: 1.25rem;
      line-height: 1.35;
    }

    .deck-card-desc {
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    /* Framework Section (Marquee) */
    .framework-section {
      padding: 3.5rem 0 1rem;
    }

    .marquee-card {
      min-width: 245px;
      max-width: 285px;
      padding: 0.9rem 1.25rem;
      gap: 0.9rem;
      border-radius: 14px;
    }

    .marquee-node {
      width: 38px;
      height: 38px;
      font-size: 0.95rem;
    }

    .marquee-phase-title {
      font-size: 0.88rem;
      white-space: normal;
    }

    /* How We Work Section */
    .how-we-work {
      padding: 3.5rem 0 4.25rem;
    }

    .process-journey-wrapper {
      margin-top: 1.75rem;
      padding: 0;
    }

    .process-path-svg {
      display: none;
    }

    .process-cards-track {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.85rem;
    }

    .step-pos-1,
    .step-pos-2,
    .step-pos-3,
    .step-pos-4,
    .step-pos-5,
    .step-pos-6,
    .step-pos-7,
    .step-pos-8 {
      --base-y: 0px;
    }

    .process-step-card:hover {
      transform: translateY(-4px) !important;
    }

    .process-card-photo {
      aspect-ratio: 4 / 3;
    }

    .process-card-footer {
      padding: 0.8rem 0.75rem 0.9rem;
    }

    .process-num {
      font-size: 1.05rem;
    }

    .process-name {
      font-size: 0.82rem;
      line-height: 1.25;
      min-height: 2.4em;
    }

    /* Industries Section */
    .industries-section {
      padding: 3.25rem 0 2.5rem;
    }

    .industries-header {
      margin-bottom: 1.5rem;
    }

    .industry-card {
      width: 135px;
    }

    .industries-marquee-group {
      gap: 1.15rem;
      padding-right: 1.15rem;
      animation-duration: 26s;
    }

    .industry-img {
      border-radius: 14px;
    }

    .industry-name {
      font-size: 0.76rem;
      margin-top: 0.5rem;
    }

    /* Testimonials Section */
    .testimonials-section {
      padding: 3.5rem 0;
    }

    .testimonials-controls {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .slider-arrow {
      width: 44px;
      height: 44px;
    }

    .testimonials-grid {
      grid-template-columns: 1fr;
    }

    .testimonial-card {
      padding: 1.5rem 1.25rem;
    }

    .testimonial-quote {
      font-size: 0.94rem;
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    /* Contact & Form Section */
    .contact-section {
      padding: 3.75rem 0 4.25rem;
      background-position: center center;
    }

    .contact-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(220, 230, 228, 0.85);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: 1;
    }

    .contact-container {
      position: relative;
      z-index: 2;
      padding: 0 1.25rem;
    }

    .contact-info {
      padding-left: 0;
      margin-bottom: 2rem;
    }

    .contact-info h2 {
      font-size: 1.85rem;
      line-height: 1.24;
      max-width: 100%;
    }

    .contact-info p {
      font-size: 0.92rem;
      max-width: 100%;
    }

    .form-card {
      padding: 1.5rem 1.35rem;
    }

    .form-grid {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }

    .form-group.full-width {
      grid-column: span 1;
    }

    .form-control {
      font-size: 16px;
      /* Prevents iOS Safari auto-zoom on input focus */
      padding: 0.65rem 0.85rem;
    }

    .form-steps-indicator {
      padding: 0.45rem 0.65rem;
    }

    .step-title {
      font-size: 0.73rem;
    }

    .step-connector {
      margin: 0 0.5rem;
    }

    .form-actions-row.dual {
      flex-direction: column-reverse;
      gap: 0.6rem;
    }

    .form-actions-row.dual .back-step-btn,
    .form-actions-row.dual .submit-btn,
    .next-step-btn {
      width: 100%;
      padding: 0.85rem 1.25rem;
      font-size: 0.95rem;
    }

    /* Footer */
    .footer {
      padding: 2.75rem 0 1.75rem;
    }

    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.75rem;
    }

    .footer-nav {
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.85rem 1.5rem;
    }

    .social-links {
      justify-content: center;
    }

    .social-icon {
      width: 42px;
      height: 42px;
    }

    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 0.85rem;
      padding-top: 0.75rem;
    }
  }

  /* --- Mobile Phones (<= 480px) --- */
  @media (max-width: 480px) {
    .container {
      padding: 0 1rem;
    }

    .section-title {
      font-size: 1.65rem;
    }

    /* Header */
    .navbar .container {
      height: 64px;
    }

    .logo-img {
      height: 40px;
      max-width: 140px;
    }

    .nav-cta-btn {
      padding: 0.45rem 0.85rem;
      font-size: 0.78rem;
    }

    .nav-toggle {
      width: 38px;
      height: 38px;
    }

    /* Hero Section */
    .hero-content h1 {
      font-size: 1.95rem;
      line-height: 1.16;
    }

    .hero-actions {
      flex-direction: column;
      gap: 0.75rem;
      width: 100%;
    }

    .hero-actions .btn {
      width: 100%;
      text-align: center;
    }

    .hero-stats-row {
      grid-template-columns: 1fr;
      gap: 0.65rem;
    }

    .stat-badge {
      padding: 0.75rem 0.85rem;
    }

    .stat-badge-number {
      font-size: 1.25rem;
    }

    .hero-image-wrapper {
      height: 230px;
    }

    /* Trusted Section Marquee */
    .logo-marquee-group {
      gap: 1rem;
      padding-right: 1rem;
      animation-duration: 18s;
    }

    .logo-item {
      height: 48px;
      min-width: 100px;
      padding: 0.3rem 0.85rem;
    }

    .logo-item img {
      max-height: 28px;
      max-width: 100px;
    }

    .logo-wordmark {
      font-size: 0.86rem;
    }

    .metric-num {
      font-size: 1.65rem;
    }

    .metric-desc {
      font-size: 0.68rem;
    }

    /* Who We Are */
    .who-title {
      font-size: 1.75rem;
    }

    .who-mission-banner {
      flex-direction: column;
      gap: 0.25rem;
      padding: 0.75rem 0.85rem;
    }

    .mission-label {
      font-size: 1.05rem;
    }

    .mission-quote {
      font-size: 0.92rem;
    }

    .founder-portrait-container {
      max-width: 280px;
    }

    .founder-full-portrait {
      max-height: 380px;
    }

    /* Problem vs Solution */
    .problem-card-media {
      height: 180px;
    }

    .problem-card-content {
      padding: 1.25rem 1.15rem 1.5rem;
    }

    .problem-item-list li,
    .solution-item-list li {
      font-size: 0.82rem;
    }

    .solution-card {
      padding: 1.4rem 1.15rem 1.6rem;
    }

    /* Service Pillars */
    .deck-card {
      padding: 1.15rem 0.95rem 1.15rem;
      min-height: 320px;
      border-radius: 18px;
    }

    .deck-card-header {
      margin-bottom: 0.65rem;
    }

    .deck-card-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
    }

    .deck-card-icon svg {
      width: 18px;
      height: 18px;
    }

    .deck-card-badge {
      font-size: 0.64rem;
      padding: 0.2rem 0.55rem;
    }

    .deck-card-title {
      font-size: 1.2rem;
      margin-bottom: 0.25rem;
    }

    .deck-card-desc {
      font-size: 0.82rem;
      line-height: 1.4;
      margin-bottom: 0.5rem;
    }

    .deck-card-note {
      font-size: 0.72rem;
      padding: 0.4rem 0.6rem;
      margin-bottom: 0.5rem;
      line-height: 1.4;
    }

    .deck-card-deliverables {
      padding-top: 0.5rem;
    }

    .deliverables-label {
      font-size: 0.62rem;
      margin-bottom: 0.3rem;
    }

    .card-pill {
      font-size: 0.68rem;
      padding: 0.22rem 0.5rem;
    }

    .deck-card-watermark {
      font-size: 3.8rem;
      top: 0.2rem;
      right: 0.5rem;
    }


    /* How We Work */
    .process-cards-track {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.65rem;
    }

    .process-card-photo {
      aspect-ratio: 1 / 1;
    }

    .process-card-footer {
      padding: 0.7rem 0.6rem 0.8rem;
    }

    .process-num {
      font-size: 0.95rem;
    }

    .process-name {
      font-size: 0.78rem;
    }

    /* Industries */
    .industries-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem 0.45rem;
    }

    .industry-name {
      font-size: 0.68rem;
      line-height: 1.2;
    }

    /* Contact */
    .form-card {
      padding: 1.25rem 1rem;
    }

    .form-card-title {
      font-size: 1.15rem;
    }

    /* Footer */
    .footer-nav {
      gap: 0.75rem 1.15rem;
      font-size: 0.82rem;
    }
  }

  /* --- Ultra-compact Phones (<= 360px) --- */
  @media (max-width: 360px) {
    .logo-img {
      height: 36px;
      max-width: 125px;
    }

    /* Hide header CTA on tiny screens to prevent any chance of header overcrowding; drawer CTA is available */
    .nav-cta-btn {
      display: none;
    }

    .hero-content h1 {
      font-size: 1.75rem;
    }

    .industries-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem 0.5rem;
    }

    .metric-num {
      font-size: 1.45rem;
    }
  }

  /* ==========================================================================
   Section Arrival Scroll Animations (Bottom to Top)
   ========================================================================== */

  /* Bottom-to-top initial arrival state when JS is ready */
  body.reveal-animations-active .reveal-on-scroll {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  /* Revealed active state as section enters viewport */
  body.reveal-animations-active .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Release rendering resources after transition completes */
  body.reveal-animations-active .reveal-on-scroll.is-revealed.reveal-done {
    will-change: auto;
  }

  /* Hero Section Arrival Animation on Initial Page Load */
  body.reveal-animations-active .hero-content {
    animation: heroArrivalBottomTop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  }

  body.reveal-animations-active .hero-image-wrapper {
    animation: heroArrivalBottomTop 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
  }

  @keyframes heroArrivalBottomTop {
    from {
      opacity: 0;
      transform: translateY(38px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Accessibility: respect user preferences for reduced motion */
  @media (prefers-reduced-motion: reduce) {
    body.reveal-animations-active .reveal-on-scroll {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
      will-change: auto !important;
    }

    body.reveal-animations-active .hero-content,
    body.reveal-animations-active .hero-image-wrapper {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
    }
  }