/* ============================================
   VALLMARK & CRONEBERG - ULTRA-PREMIUM CORPORATE WEBSITE
   Following exact specifications for €800/hour aesthetic
   ============================================ */

/* ============================================
   I. COLOR SYSTEM - RESTRAINT AS POWER
   ============================================ */
:root {
  /* Brand Primary - Deep Navy (chosen for authority) */
  --brand-primary: #1A2332;
  --brand-primary-dark: #0F1620;
  --brand-primary-light: #2B3E50;
  
  /* Neutral Palette */
  --neutral-black: #1A1A1A;
  --neutral-dark: #2A2A2A;
  --neutral-medium: #666666;
  --neutral-light: #E0E0E0;
  
  /* Backgrounds */
  --background-primary: #FFFFFF;
  --background-secondary: #F7F7F7;
  --background-tertiary: #F2F2F2;
  
  /* Spacing System (Base: 8px) */
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-xxxl: 96px;
  --space-ultra: 120px;
  
  /* Typography Scale */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   II. RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.8;
  color: #2A2A2A;
  background: var(--background-primary);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================
   III. TYPOGRAPHY - INTIMIDATION THROUGH HIERARCHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--neutral-black);
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: 82px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2.5px;
}

h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

p {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--neutral-dark);
  max-width: 680px;
  margin-bottom: var(--space-m);
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   IV. CONTAINER & LAYOUT SYSTEM
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

section {
  padding: 160px 0;
}

/* ============================================
   IV. NAVIGATION - UNIQUE BOTTOM START
   ============================================ */
.navbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(15, 22, 32, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  will-change: transform;
}

.navbar.following {
  position: fixed;
  bottom: 0;
  top: auto;
}

.navbar.snapped {
  position: fixed;
  top: 0;
  bottom: auto;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: background 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  transition: color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
}

.navbar.snapped .nav-logo {
  color: var(--neutral-black);
}

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFFFFF;
  transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

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

.nav-link:hover::after {
  width: 100%;
  opacity: 1;
}

.navbar.snapped .nav-link {
  color: var(--neutral-dark);
}

.navbar.snapped .nav-link::after {
  background: var(--brand-primary);
}

.navbar.snapped .nav-link:hover {
  color: var(--brand-primary);
}

/* Contact page navbar - always at top */
.navbar-contact {
  position: fixed;
  top: 0;
  bottom: auto;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.navbar-contact .nav-logo {
  color: var(--neutral-black);
}

.navbar-contact .nav-link {
  color: var(--neutral-dark);
}

.navbar-contact .nav-link::after {
  background: var(--brand-primary);
}

.navbar-contact .nav-link:hover {
  color: var(--brand-primary);
}

.navbar-contact .nav-link.active {
  color: var(--brand-primary);
}

.navbar-contact .nav-link.active::after {
  background: var(--brand-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  width: 28px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10000;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: center;
}

.navbar.snapped .mobile-menu-toggle span {
  background: var(--neutral-black);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--background-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 9998;
}

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

.mobile-nav-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--brand-primary);
}

/* ============================================
   VI. BUTTON SYSTEM
   ============================================ */
.btn-primary {
  background: #FFFFFF;
  color: var(--brand-primary);
  padding: 18px 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
              color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-family);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.navbar.snapped .btn-primary,
.navbar-contact .btn-primary {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.3);
}

.navbar.snapped .btn-primary:hover,
.navbar-contact .btn-primary:hover {
  background: #0F1620;
  transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  padding: 16px 46px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-family);
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ============================================
   VII. HERO SECTION - FULL VIEWPORT IMPACT
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #F8F8F8 100%);
  position: relative;
  padding: 0;
}

.hero > .container {
  display: flex;
  justify-content: flex-end;
  padding-right: 180px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 35, 50, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 580px;
  z-index: 2;
  position: relative;
  text-align: left;
  padding-right: 40px;
}

.hero-headline {
  font-size: 88px;
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 28px;
  color: #0A0A0A;
  letter-spacing: -3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-subheadline {
  font-size: 23px;
  line-height: 1.55;
  color: #4A4A4A;
  margin-bottom: 52px;
  max-width: 560px;
  font-weight: 500;
}

.hero-cta {
  margin-top: 48px;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.4) 0%, rgba(15, 22, 32, 0.6) 100%);
  z-index: 2;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 30%, transparent 70%);
  z-index: 3;
}

/* ============================================
   VIII. SECTION LABEL COMPONENT
   ============================================ */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1A2332;
  margin-bottom: 20px;
  opacity: 1;
}

/* ============================================
   IX. SPLIT SECTIONS - ASYMMETRY AS STATUS
   ============================================ */
.section-split {
  padding: 160px 0;
  background: var(--background-primary);
}

.split-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 80px;
  align-items: center;
}

.split-text {
  max-width: 600px;
}

.split-text h2 {
  margin-bottom: 32px;
}

.split-text p {
  margin-bottom: 24px;
}

.split-image {
  width: 100%;
  height: 100%;
  min-height: 550px;
  position: relative;
}

.split-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 35, 50, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1000&q=90') center/cover;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.15) 0%, rgba(15, 22, 32, 0.25) 100%);
  z-index: 1;
}

.section-split-reverse .image-placeholder {
  background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1000&q=90') center/cover;
}

/* Reversed Split (45/55) */
.section-split-reverse .split-content {
  grid-template-columns: 45% 55%;
}

.section-split-reverse .split-text {
  order: 2;
  max-width: 650px;
}

.section-split-reverse .split-image {
  order: 1;
}

/* ============================================
   X. CENTERED SECTIONS
   ============================================ */
.section-centered {
  text-align: center;
  padding: 160px 0;
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
  position: relative;
}

.section-centered::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--brand-primary), transparent);
  opacity: 0.3;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0A0A0A;
  letter-spacing: -1.5px;
}

.section-header p {
  font-size: 18px;
  color: var(--neutral-medium);
  margin: 0 auto;
}

/* ============================================
   XI. CARD SYSTEM
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  background: var(--background-primary);
  padding: 48px 40px;
  border-radius: 12px;
  border: 1px solid #E8E8E8;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 35, 50, 0.03), transparent);
  transition: left 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 20px 50px rgba(26, 35, 50, 0.12);
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--brand-primary);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: drop-shadow(0 2px 8px rgba(26, 35, 50, 0.1));
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 16px rgba(26, 35, 50, 0.2));
}

.card-title {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0A0A0A;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: var(--brand-primary);
}

.card-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-medium);
  margin: 0;
}

/* ============================================
   XII. CTA SECTION - SERIOUS & PROFESSIONAL
   ============================================ */
.section-cta {
  padding: 140px 0;
  background: #FAFAFA;
  position: relative;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000000;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #3A3A3A;
  margin-bottom: 40px;
  font-weight: 500;
}

.cta-content .btn-primary {
  background: var(--brand-primary);
  color: #FFFFFF;
  padding: 18px 48px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.15);
}

.cta-content .btn-primary:hover {
  background: #0F1620;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 35, 50, 0.25);
}

/* ============================================
   XIII. FOOTER - COMPLETE REDESIGN WITH REVEAL
   ============================================ */
.footer {
  background: linear-gradient(180deg, #0F1620 0%, #1A2332 100%);
  color: #E0E0E0;
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer.visible::before {
  transform: scaleX(1);
}

.footer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(43, 62, 80, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none;
}


.footer.visible::after {
  opacity: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  position: relative;
}

.footer-column {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer.visible .footer-column {
  opacity: 1;
  transform: translateY(0);
}

.footer.visible .footer-column:nth-child(1) {
  transition-delay: 0.1s;
}

.footer.visible .footer-column:nth-child(2) {
  transition-delay: 0.2s;
}

.footer.visible .footer-column:nth-child(3) {
  transition-delay: 0.3s;
}

.footer.visible .footer-column:nth-child(4) {
  transition-delay: 0.4s;
}

.footer-column:first-child {
  padding-right: 40px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 16px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary-light);
  transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer.visible .footer-column:nth-child(1) .footer-heading::after {
  width: 40px;
  transition-delay: 0.3s;
}

.footer.visible .footer-column:nth-child(2) .footer-heading::after {
  width: 40px;
  transition-delay: 0.4s;
}

.footer.visible .footer-column:nth-child(3) .footer-heading::after {
  width: 40px;
  transition-delay: 0.5s;
}

.footer.visible .footer-column:nth-child(4) .footer-heading::after {
  width: 40px;
  transition-delay: 0.6s;
}

.footer-text {
  font-size: 15px;
  line-height: 1.8;
  color: #B0B0B0;
  margin-bottom: 24px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
}

.footer.visible .footer-column:nth-child(1) .footer-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.35s,
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.35s;
}

.footer-address {
  font-size: 15px;
  line-height: 1.9;
  color: #C0C0C0;
  font-style: normal;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px);
}

.footer.visible .footer-column:nth-child(1) .footer-address {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.45s,
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.45s;
}

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

.footer-links li {
  margin-bottom: 16px;
}

.footer-links {
  opacity: 0;
  transform: translateX(-20px);
}

.footer.visible .footer-links {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer.visible .footer-column:nth-child(1) .footer-links {
  transition-delay: 0.4s;
}

.footer.visible .footer-column:nth-child(2) .footer-links {
  transition-delay: 0.5s;
}

.footer.visible .footer-column:nth-child(3) .footer-links {
  transition-delay: 0.6s;
}

.footer.visible .footer-column:nth-child(4) .footer-links {
  transition-delay: 0.7s;
}

.footer-links a {
  font-size: 15px;
  color: #B0B0B0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--brand-primary-light);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(8px);
}

.footer-links a:hover::before {
  width: 8px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #B0B0B0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scale(0.8);
}

.footer.visible .footer-social a {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.7s,
              transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.7s,
              background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
  background: var(--brand-primary-light);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1);
  box-shadow: 0 8px 20px rgba(43, 62, 80, 0.4);
  border-color: var(--brand-primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s,
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
}

.footer.visible .footer-bottom {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.vav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.vav-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vav-badge:hover::before {
  opacity: 1;
}

.vav-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vav-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #909090;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.vav-badge:hover .vav-text {
  color: #FFFFFF;
}

.footer-copyright {
  font-size: 14px;
  color: #808080;
  letter-spacing: 0.3px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 40px;
}

.footer-legal a {
  font-size: 14px;
  color: #909090;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #FFFFFF;
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

.footer-legal a:hover::after {
  width: 100%;
}

/* ============================================
   XIV. SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger animation for cards */
.card-grid .card:nth-child(1) { transition-delay: 0ms; }
.card-grid .card:nth-child(2) { transition-delay: 100ms; }
.card-grid .card:nth-child(3) { transition-delay: 200ms; }
.card-grid .card:nth-child(4) { transition-delay: 300ms; }
.card-grid .card:nth-child(5) { transition-delay: 400ms; }
.card-grid .card:nth-child(6) { transition-delay: 500ms; }

/* ============================================
   XV. RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
  /* Page Hero */
  .page-hero {
    min-height: 70vh;
    padding: 120px 24px 80px;
  }
  
  .page-hero-title {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  
  .page-hero-subtitle {
    font-size: 18px;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-tagline {
    font-size: 22px;
  }
  
  .stats-bar-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stat-bar-number {
    font-size: 42px;
  }
  
  .stat-bar-suffix {
    font-size: 42px;
  }
  
  .service-metrics {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 44px 32px;
  }
  
  .service-number {
    font-size: 56px;
    top: 24px;
    right: 24px;
  }
  
  /* About Page - New Scroll Animations */
  .about-story-scroll {
    padding: 80px 0;
  }
  
  .story-scroll-wrapper {
    margin-bottom: 120px;
  }
  
  .year-large {
    font-size: 80px;
    letter-spacing: -3px;
  }
  
  .story-reveal-title {
    font-size: 32px;
  }
  
  .story-reveal-text {
    font-size: 16px;
  }
  
  .story-reveal-text-large {
    font-size: 24px;
  }
  
  .story-image-reveal {
    height: 300px;
  }
  
  .about-values-parallax {
    padding: 80px 0;
  }
  
  .values-header h2 {
    font-size: 36px;
  }
  
  .values-scroll-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .value-card-scroll {
    padding: 36px 28px;
  }
  
  .value-card-scroll h3 {
    font-size: 24px;
  }
  
  .about-team-slide {
    padding: 80px 0;
  }
  
  .team-slide-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .team-text-slide h2 {
    font-size: 32px;
  }
  
  .team-text-slide p {
    font-size: 16px;
  }
  
  .team-image-slide .image-placeholder {
    height: 400px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .stat-number {
    font-size: 48px;
    line-height: 1.2;
  }
  
  .stat-suffix {
    font-size: 48px;
    line-height: 1.2;
  }
  
  /* Contact Page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-form-wrapper h2,
  .contact-info-wrapper h2 {
    font-size: 28px;
  }
  
  .contact-form-premium {
    padding: 32px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info-wrapper {
    position: relative;
    top: 0;
  }
  
  .contact-info-block {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }
  

  /* Typography Scale Reduction (35-40%) */
  h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 0.95;
  }
  
  h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
  }
  
  h3 {
    font-size: 26px;
    font-weight: 700;
  }
  
  p {
    font-size: 16px;
  }
  
  /* Container & Spacing */
  .container {
    padding: 0 24px;
  }
  
  section {
    padding: 80px 0;
  }
  
  /* Navigation */
  .navbar {
    height: 70px;
  }
  
  .nav-container {
    padding: 0 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-logo {
    opacity: 0;
    font-size: 18px;
    transition: opacity 0.3s ease;
  }
  
  .navbar.snapped .nav-logo {
    opacity: 1;
    color: var(--neutral-black);
  }
  
  /* Hero - Mobile: Text overlaid on video */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 0;
    min-height: 100vh;
    position: relative;
  }
  
  .hero > .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 24px;
    justify-content: center;
    z-index: 10;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    padding-right: 0;
  }
  
  .hero-headline {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  }
  
  .hero-subheadline {
    font-size: 17px;
    max-width: 100%;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }
  
  .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
  }
  
  .hero-image::before {
    background: rgba(0, 0, 0, 0.25);
  }
  
  .hero-image::after {
    display: none;
  }
  
  /* Split Sections */
  .split-content,
  .section-split-reverse .split-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .section-split-reverse .split-text {
    order: 1;
  }
  
  .section-split-reverse .split-image {
    order: 2;
  }
  
  .split-image {
    min-height: 350px;
  }
  
  .split-image::after {
    display: none;
  }
  
  /* Cards */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .card {
    padding: 44px 36px;
  }
  
  .card-title {
    font-size: 23px;
    font-weight: 800;
  }
  
  .card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  
  /* Section Headers */
  .section-header {
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 36px;
    font-weight: 800;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  /* CTA Section */
  .section-cta {
    padding: 100px 0;
  }
  
  .section-cta::before {
    width: 400px;
    height: 400px;
  }
  
  .cta-content h2 {
    font-size: 32px;
    font-weight: 800;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  /* Footer */
  .footer {
    padding: 80px 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
  }
  
  .footer-column:first-child {
    padding-right: 0;
  }
  
  .footer-heading::after {
    width: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-bottom-left {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Buttons */
  .btn-primary {
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 700;
  }
  
  .navbar.snapped .btn-primary {
    background: var(--brand-primary);
    color: #FFFFFF;
  }
  
  .hero .btn-primary,
  .cta-content .btn-primary {
    width: 100%;
    padding: 18px 40px;
    font-size: 14px;
  }
  
  .btn-secondary {
    width: 100%;
    padding: 16px 32px;
  }
  
  /* ===== MOBILE OVERFLOW & TEXT FIXES ===== */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  * {
    box-sizing: border-box;
  }
  
  h1, h2, h3, h4, h5, h6, p, span, a, li, label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }
  
  section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  /* Page Hero */
  .page-hero {
    overflow: hidden;
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .page-hero-content {
    width: 100%;
    max-width: 100%;
  }
  
  .page-hero-title {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  .page-hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
  }
  
  .section-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  
  /* Services Page */
  .services-grid-section {
    overflow: hidden;
    padding: 60px 0;
  }
  
  .services-intro {
    margin-bottom: 40px;
  }
  
  .services-tagline {
    font-size: 17px;
    line-height: 1.4;
    max-width: 100%;
  }
  
  .services-grid {
    gap: 24px;
  }
  
  .service-card {
    width: 100%;
    max-width: 100%;
    padding: 28px 24px;
    margin: 0;
    overflow: hidden;
    position: relative;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
  
  .service-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .service-number {
    font-size: 36px;
    top: 16px;
    right: 16px;
    opacity: 0.1;
  }
  
  .service-title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 12px;
    padding-right: 50px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .service-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-right: 10px;
  }
  
  .service-list {
    margin: 16px 0;
    padding-left: 16px;
  }
  
  .service-list li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  
  .service-expand {
    font-size: 12px;
    padding-top: 16px;
    margin-top: 16px;
  }
  
  .service-details p {
    font-size: 13px;
    padding: 16px;
    line-height: 1.6;
  }
  
  .service-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }
  
  .metric-item {
    padding: 16px 12px;
  }
  
  .metric-value {
    font-size: 22px;
  }
  
  .metric-label {
    font-size: 9px;
  }
  
  /* Stats Bar */
  .services-stats-bar {
    overflow: hidden;
    padding: 50px 0;
  }
  
  .stats-bar-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  
  .stat-bar-item {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .stat-bar-number {
    font-size: 36px;
    display: inline-block;
    min-width: auto;
  }
  
  .stat-bar-suffix {
    font-size: 24px;
    display: inline-block;
    margin-left: 2px;
  }
  
  .stat-bar-label {
    font-size: 11px;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
  }
  
  /* About Page */
  .about-story-scroll {
    overflow: hidden;
    padding: 60px 0;
  }
  
  .story-scroll-wrapper {
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
  }
  
  .year-large {
    font-size: 48px;
    letter-spacing: -1px;
  }
  
  .story-content-block {
    max-width: 100%;
    padding: 0;
    width: 100%;
  }
  
  .story-reveal-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .story-reveal-text {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .story-reveal-text-large {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .about-values-parallax {
    overflow: hidden;
    padding: 60px 0;
  }
  
  .values-header h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  
  .values-scroll-grid {
    gap: 20px;
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  
  .value-card-scroll {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .value-card-scroll h3 {
    font-size: 18px;
    margin-bottom: 10px;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  .value-card-scroll p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .about-team-slide {
    overflow: hidden;
    padding: 60px 0;
  }
  
  .team-slide-content {
    gap: 32px;
  }
  
  .team-text-slide h2 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 16px;
  }
  
  .team-text-slide p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .quote-block {
    padding: 24px 20px;
  }
  
  .quote-block p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .stat-number {
    font-size: 32px;
    display: inline-block;
  }
  
  .stat-suffix {
    font-size: 32px;
    display: inline-block;
    margin-left: 2px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  /* Contact Page */
  .contact-section-premium {
    overflow: hidden;
    padding: 60px 0;
  }
  
  .contact-grid {
    gap: 40px;
  }
  
  .contact-form-wrapper h2,
  .contact-info-wrapper h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .contact-form-premium {
    padding: 24px 20px;
    width: 100%;
  }
  
  .form-row {
    gap: 16px;
    margin-bottom: 16px;
  }
  
  .form-group {
    width: 100%;
    margin-bottom: 16px;
  }
  
  .form-group label {
    font-size: 10px;
    margin-bottom: 6px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }
  
  .contact-info-block h3 {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .contact-info-block p,
  .contact-info-block a {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* CTA Section */
  .section-cta {
    padding: 60px 0;
    overflow: hidden;
  }
  
  .cta-content h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .cta-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  /* Footer */
  .footer {
    overflow: hidden;
    padding: 60px 0 0;
  }
  
  .footer-content {
    gap: 32px;
    margin-bottom: 40px;
  }
  
  .footer-heading {
    font-size: 15px;
    margin-bottom: 16px;
  }
  
  .footer-text,
  .footer-address {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .footer-copyright {
    font-size: 11px;
    line-height: 1.5;
  }
  
  .footer-legal {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-legal a {
    font-size: 11px;
  }
  
  /* Index Page */
  .hero-headline {
    font-size: 36px;
    line-height: 1.1;
  }
  
  .hero-subheadline {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .card {
    padding: 28px 24px;
  }
  
  .card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .card-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .split-text h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  
  .split-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  .section-header h2 {
    font-size: 26px;
    margin-bottom: 12px;
    max-width: 100%;
  }
  
  .section-header p {
    font-size: 14px;
    max-width: 100%;
  }
  
  /* Fix quote block text breaking */
  .quote-block {
    max-width: 100%;
    padding: 32px 24px;
    overflow: hidden;
  }
  
  .quote-block blockquote {
    max-width: 100%;
  }
  
  .quote-block p {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .quote-block cite {
    max-width: 100%;
    word-wrap: break-word;
    display: block;
  }
  
  /* Fix stats grid cutoff */
  .stats-grid {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-item {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .stat-item .stat-number,
  .stat-item .stat-suffix {
    display: inline;
  }
  
  .stat-item .stat-label {
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
  }
  
  /* Fix hero section on index */
  .hero {
    overflow: hidden;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .hero-headline {
    max-width: 100%;
  }
  
  .hero-subheadline {
    max-width: 100%;
  }
  
  /* Remove tap highlights */
  button,
  a,
  input,
  textarea {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  /* ===== ADDITIONAL COMPREHENSIVE MOBILE FIXES ===== */
  
  /* Fix mini-stat numbers in about page */
  .mini-stat {
    padding: 16px;
    overflow: hidden;
  }
  
  .mini-stat-number {
    font-size: 36px;
    letter-spacing: -1px;
    word-wrap: normal;
  }
  
  .mini-stat-label {
    font-size: 11px;
    word-wrap: break-word;
    max-width: 100%;
  }
  
  .story-stats-mini {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
  
  /* Fix quote block in about page */
  .quote-icon {
    width: 48px;
    height: 48px;
    top: 20px;
    left: 20px;
  }
  
  /* Fix all text elements to prevent cutoff */
  .page-hero-title,
  .story-reveal-title,
  .service-title,
  .value-card-scroll h3,
  .team-text-slide h2 {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  
  /* Ensure all stat suffixes display properly */
  .stat-suffix,
  .stat-bar-suffix {
    display: inline;
    white-space: nowrap;
  }
  
  /* Fix service card layout on mobile */
  .services-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  /* Ensure proper spacing for numbers with suffixes */
  .stat-item,
  .stat-bar-item {
    min-height: 80px;
  }
  
  /* Fix year display */
  .year-large {
    font-size: 64px;
    letter-spacing: -2px;
    overflow: visible;
  }
  
  /* Prevent horizontal scroll on all sections */
  .page-hero,
  .services-grid-section,
  .about-story-scroll,
  .about-values-parallax,
  .about-team-slide,
  .stats-section,
  .services-stats-bar {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Fix value cards grid - keep all 3 visible */
  .values-scroll-grid {
    grid-template-columns: 1fr;
    width: 100%;
    display: block;
  }
  
  .value-card-scroll {
    margin-bottom: 20px;
  }
  
  .value-card-scroll:last-child {
    margin-bottom: 0;
  }
  
  /* Fix team slide content */
  .team-slide-content {
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  /* Ensure all headings wrap properly */
  h1, h2, h3 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  
  /* Fix metric items */
  .metric-item {
    min-width: 0;
    overflow: hidden;
  }
  
  .metric-value,
  .metric-label {
    word-wrap: break-word;
    max-width: 100%;
  }
  
  /* Additional stat grid fixes */
  .stats-section {
    padding: 60px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }
  
  /* Fix story content blocks */
  .story-content-block {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  /* Ensure proper text wrapping in all contexts */
  p, span, div, a, li {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  /* Fix service expand button */
  .service-expand {
    width: 100%;
    justify-content: center;
  }
  
  /* Fix contact form on mobile */
  .contact-form-premium {
    width: 100%;
    max-width: 100%;
  }
  
  /* Ensure buttons don't overflow */
  .btn-primary,
  .btn-secondary {
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  section {
    padding: 120px 0;
  }
  
  h1 {
    font-size: 64px;
  }
  
  h2 {
    font-size: 40px;
  }
  
  .split-content {
    gap: 60px;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================
   XVI. ACCESSIBILITY & REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus States for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

/* ============================================
   XVII. PAGE TRANSITIONS
   ============================================ */
.page-transition {
  display: none;
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.3);
  z-index: 9998;
}

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

.back-to-top:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 35, 50, 0.4);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   XVIII. PAGE HERO SECTIONS
   ============================================ */
.page-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 60px 100px;
  position: relative;
  background: #FFFFFF;
  text-align: center;
}

.page-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 32px;
  color: #0A0A0A;
  letter-spacing: -2.5px;
}

.page-hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  color: #4A4A4A;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
}

.scroll-indicator span {
  display: none;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--brand-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* ============================================
   XIX. FADE IN UP ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.1s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
/* ============================================
   XXI. SERVICES PAGE STYLES
   ============================================ */
.services-stats-bar {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1620 100%);
  position: relative;
  overflow: hidden;
}

.services-stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-bar-item {
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-bar-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-bar-item:nth-child(1).visible {
  transition-delay: 0.2s;
}

.stat-bar-item:nth-child(2).visible {
  transition-delay: 0.3s;
}

.stat-bar-item:nth-child(3).visible {
  transition-delay: 0.4s;
}

.stat-bar-number {
  font-size: 56px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
  display: inline-block;
}

.stat-bar-suffix {
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  display: inline-block;
  vertical-align: top;
  margin-left: 2px;
}

.stat-bar-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
  width: 100%;
}

.stat-bar-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-top: 16px;
}

.stat-bar-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.services-grid-section {
  padding: 160px 0 120px;
  background: var(--background-primary);
}

.services-intro {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-intro.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-tagline {
  font-size: 28px;
  font-weight: 600;
  color: #2A2A2A;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.service-card {
  background: var(--background-primary);
  padding: 50px 44px;
  border-radius: 12px;
  border: 1px solid #E8E8E8;
  position: relative;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 35, 50, 0.02), transparent);
  transition: left 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card.visible::before {
  left: 100%;
}

.service-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.03) 0%, rgba(15, 22, 32, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover .service-hover-overlay {
  opacity: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  color: #0F1620;
}

.service-card:hover .service-number {
  color: rgba(26, 35, 50, 0.2);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.08);
  border-color: var(--brand-primary);
}

.service-number {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(26, 35, 50, 0.12);
  line-height: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--brand-primary);
  margin-bottom: 32px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0A0A0A;
  letter-spacing: -0.5px;
}

.service-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-medium);
  margin-bottom: 28px;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  font-size: 15px;
  color: var(--neutral-dark);
  padding-left: 24px;
  margin-bottom: 12px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.service-expand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E8E8E8;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-expand:hover {
  gap: 12px;
  color: #0F1620;
}

.service-expand svg {
  transition: transform 0.3s ease;
}

.service-card.expanded .service-expand svg {
  transform: rotate(180deg);
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-top: 0;
}

.service-card.expanded .service-details {
  max-height: 500px;
  margin-top: 20px;
}

.service-details p {
  font-size: 15px;
  line-height: 1.7;
  color: #4A4A4A;
  padding: 20px;
  background: #F8F8F8;
  border-left: 3px solid var(--brand-primary);
  margin-bottom: 20px;
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  margin-top: 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 8px;
  letter-spacing: -1px;
  line-height: 1;
}

.metric-label {
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* ============================================
   XXII. ABOUT PAGE STYLES - SCROLL REVEAL & ANIMATIONS
   ============================================ */

/* Story Section with Progressive Text Reveal */
.about-story-scroll {
  padding: 160px 0;
  background: #FFFFFF;
  position: relative;
  overflow: visible;
}

.story-scroll-wrapper {
  margin-bottom: 200px;
  position: relative;
}

.story-scroll-wrapper:last-child {
  margin-bottom: 0;
}

.story-year-marker {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-year-marker.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.year-large {
  font-size: 140px;
  font-weight: 900;
  color: rgba(26, 35, 50, 0.15);
  line-height: 1;
  letter-spacing: -6px;
  display: block;
  position: relative;
}

.story-content-block {
  max-width: 800px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-content-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.story-content-wide {
  max-width: 1000px;
}

.story-reveal-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #000000;
  letter-spacing: -1.5px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.story-content-block.revealed .story-reveal-title {
  opacity: 1;
  transform: translateX(0);
}

.story-reveal-text {
  font-size: 18px;
  line-height: 1.8;
  color: #2A2A2A;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s;
}

.story-content-block.revealed .story-reveal-text {
  opacity: 1;
  transform: translateX(0);
}

.story-reveal-text-large {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

.story-content-block.revealed .story-reveal-text-large {
  opacity: 1;
  transform: translateY(0);
}

.story-image-reveal {
  width: 100%;
  height: 500px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
}

.story-content-block.revealed .story-image-reveal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.story-image-reveal .image-placeholder {
  height: 100%;
  transition: transform 0.6s ease;
}

.story-image-reveal:hover .image-placeholder {
  transform: scale(1.05);
}

/* Story Mini Stats */
.story-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding: 48px;
  background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%);
  border-radius: 8px;
  border: 1px solid #E8E8E8;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
}

.story-content-block.revealed .story-stats-mini {
  opacity: 1;
  transform: translateY(0);
}

.mini-stat {
  text-align: center;
  padding: 24px;
  background: var(--background-primary);
  border-radius: 6px;
  border: 1px solid #E8E8E8;
}

.mini-stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 12px;
  letter-spacing: -2px;
  line-height: 1;
}

.mini-stat-label {
  font-size: 13px;
  color: #4A4A4A;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Team Quote Block */
.team-quote-slide {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-quote-slide.revealed {
  opacity: 1;
  transform: translateX(0);
}

.quote-block {
  padding: 60px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1620 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 20px 60px rgba(26, 35, 50, 0.2);
}

.quote-icon {
  position: absolute;
  top: 40px;
  left: 40px;
  color: rgba(255, 255, 255, 0.15);
  width: 80px;
  height: 80px;
}

.quote-block blockquote {
  margin: 0;
  position: relative;
  z-index: 2;
}

.quote-block p {
  font-size: 24px;
  line-height: 1.6;
  color: #FFFFFF;
  font-weight: 500;
  margin-bottom: 32px;
  font-style: italic;
}

.quote-block cite {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Values Section with Parallax Background */
.about-values-parallax {
  padding: 160px 0;
  background: #F8F8F8;
  position: relative;
  overflow: visible;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(26, 35, 50, 0.03) 0%, transparent 50%);
  transform: translateY(0);
  will-change: transform;
}

.values-header {
  text-align: center;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.values-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.values-header h2 {
  font-size: 52px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -1.5px;
  margin-top: 16px;
}

.values-scroll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.value-card-scroll {
  background: var(--background-primary);
  padding: 48px 40px;
  border-radius: 8px;
  border: 1px solid #E8E8E8;
  position: relative;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.value-card-scroll.revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.value-card-scroll:nth-child(1).revealed {
  transition-delay: 0.1s;
}

.value-card-scroll:nth-child(2).revealed {
  transition-delay: 0.2s;
}

.value-card-scroll:nth-child(3).revealed {
  transition-delay: 0.3s;
}

.value-card-scroll:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(26, 35, 50, 0.15);
  border-color: var(--brand-primary);
}

.value-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: block;
}

.value-icon {
  width: 56px;
  height: 56px;
  color: var(--brand-primary);
  margin-bottom: 28px;
  transition: all 0.4s ease;
}

.value-card-scroll:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
}

.value-card-scroll h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #000000;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.value-card-scroll:hover h3 {
  color: var(--brand-primary);
}

.value-card-scroll p {
  font-size: 16px;
  line-height: 1.7;
  color: #4A4A4A;
  margin: 0;
}

/* Team Section with Slide-in Animation */
.about-team-slide {
  padding: 160px 0;
  background: #FFFFFF;
}

.team-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.team-text-slide {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-text-slide.revealed {
  opacity: 1;
  transform: translateX(0);
}

.team-text-slide h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 28px;
  color: #000000;
  letter-spacing: -1.5px;
}

.team-text-slide p {
  font-size: 18px;
  line-height: 1.8;
  color: #2A2A2A;
  margin-bottom: 24px;
}

.team-highlight {
  font-weight: 600;
  color: var(--brand-primary);
  padding: 24px;
  background: rgba(26, 35, 50, 0.04);
  border-left: 4px solid var(--brand-primary);
  margin-top: 32px;
}

.team-image-slide {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-image-slide.revealed {
  opacity: 1;
  transform: translateX(0);
}

.team-image-slide .image-placeholder {
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease;
}

.team-image-slide:hover .image-placeholder {
  transform: scale(1.02);
}

/* Story Section with Sticky Title */
.story-section-new {
  position: relative;
  padding: 200px 0;
  background: var(--background-primary);
}

.sticky-title-wrapper {
  position: relative;
  margin-bottom: 100px;
  height: auto;
  padding: 40px 0;
}

.sticky-title-wrapper.stuck {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 70%, transparent 100%);
  padding: 40px 0 60px;
}

.sticky-title-wrapper.stopped {
  position: absolute;
  top: 800px;
  left: 0;
  right: 0;
  z-index: 10;
}

.sticky-title {
  font-size: 120px;
  font-weight: 900;
  color: rgba(10, 10, 10, 0.18);
  letter-spacing: -4px;
  line-height: 1;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sticky-title.scrolled {
  color: rgba(10, 10, 10, 0.35);
  transform: scale(0.7);
}

.story-blocks {
  display: flex;
  flex-direction: column;
  gap: 200px;
  max-width: 900px;
  margin: 0 auto;
}

.story-block {
  position: relative;
  opacity: 0;
  transform: translateY(120px) scale(0.95);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-block.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-image-grounded {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 40px 0 0;
  overflow: hidden;
  border: 1px solid #D0D0D0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-block.visible .story-image-grounded {
  opacity: 1;
  transform: translateY(0);
}

.story-image-grounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  display: block;
}

.story-text-large {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.5px;
}

.year-badge {
  position: absolute;
  top: -40px;
  left: -80px;
  font-size: 120px;
  font-weight: 900;
  color: #2B5F9E;
  opacity: 0.3;
  line-height: 1;
  z-index: -1;
  letter-spacing: -4px;
}


/* Values Section with Sticky Title */
.values-section-new {
  position: relative;
  padding: 120px 0;
  background: var(--background-secondary);
  overflow: hidden;
}

.sticky-section-wrapper {
  position: relative;
}

.sticky-values-title {
  text-align: center;
  margin-bottom: 60px;
}

.sticky-values-title .section-label {
  color: #1A2332;
  opacity: 0.8;
  font-weight: 700;
}

.sticky-values-title h2 {
  color: #000000;
  font-weight: 800;
  font-size: 42px;
}

.values-horizontal-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-slide {
  position: relative;
  padding: 40px 32px;
  background: var(--background-primary);
  border: 1px solid #E0E0E0;
  border-left: 3px solid var(--brand-primary);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 280px;
}

.value-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.1);
  border-left-width: 4px;
}

.value-number-large {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.value-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #000000;
  letter-spacing: -0.5px;
}

.value-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4A4A4A;
  font-weight: 400;
}

.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0F1620 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  font-size: 64px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 12px;
  display: inline-block;
}

.stat-suffix {
  display: inline-block;
  font-size: 64px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin-left: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ============================================
   XXIII. CONTACT PAGE STYLES - PREMIUM
   ============================================ */
.contact-section-premium {
  padding: 120px 0;
  background: var(--background-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #000000;
  letter-spacing: -1px;
}

.form-intro {
  font-size: 16px;
  color: #4A4A4A;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form-premium {
  background: var(--background-secondary);
  padding: 48px;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
}

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

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.5;
  background: #FFFFFF;
  border: 2px solid #D8D8D8;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  color: #1A1A1A;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(26, 35, 50, 0.08);
}

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

.btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 18px;
  font-size: 14px;
  background: var(--brand-primary);
  color: #FFFFFF;
}

.btn-submit:hover {
  background: #0F1620;
}

.contact-info-wrapper {
  position: sticky;
  top: 140px;
}

.contact-info-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #E8E8E8;
}

.contact-info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-block h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-info-block p {
  font-size: 16px;
  color: #2A2A2A;
  line-height: 1.8;
  margin: 0;
}

.contact-info-block a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-info-block a:hover {
  color: var(--brand-primary);
}

/* ============================================
   XXIV. ACTIVE NAV LINK STATE
   ============================================ */
.nav-link.active {
  color: #FFFFFF;
}

.navbar.snapped .nav-link.active {
  color: var(--brand-primary);
}

.nav-link.active::after {
  width: 100%;
  opacity: 1;
  background: #FFFFFF;
}

.navbar.snapped .nav-link.active::after {
  background: var(--brand-primary);
}

/* ============================================
   XXV. UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-s); }
.mt-3 { margin-top: var(--space-m); }
.mt-4 { margin-top: var(--space-l); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }

/* ============================================
   XXVI. PREMIUM SERVICES PAGE ENHANCEMENTS
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, #2B5F9E 50%, var(--brand-primary) 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(43, 95, 158, 0.5);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced Service Card with 3D Transform */
.service-card {
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent 0%, rgba(43, 95, 158, 0.3) 50%, transparent 100%);
  border-radius: 14px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: borderGlow 4s ease infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service-card:hover::after {
  opacity: 1;
}

/* Staggered Reveal Animation */
.service-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-grid .service-card:nth-child(1).revealed { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2).revealed { transition-delay: 100ms; }
.services-grid .service-card:nth-child(3).revealed { transition-delay: 200ms; }
.services-grid .service-card:nth-child(4).revealed { transition-delay: 300ms; }
.services-grid .service-card:nth-child(5).revealed { transition-delay: 400ms; }
.services-grid .service-card:nth-child(6).revealed { transition-delay: 500ms; }

/* Glassmorphism Stats Bar Enhancement */
.services-stats-bar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-bar-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-bar-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Service Icon Animation */
.service-icon {
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(43, 95, 158, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-icon::before {
  opacity: 1;
  transform: scale(1.5);
}

/* Service Number Parallax Effect */
.service-number {
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: top right;
}

.service-card:hover .service-number {
  transform: scale(1.1) translateX(-10px);
  color: rgba(43, 95, 158, 0.15);
}

/* Premium Hover Overlay with Gradient */
.service-hover-overlay {
  transition: opacity 0.3s ease, background 0.1s ease;
  pointer-events: none;
}

/* Magnetic Button Transition */
.btn-primary,
.service-expand {
  transition: transform 0.15s ease-out, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Service List Item Micro-animations */
.service-list li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-list li {
  transform: translateX(4px);
}

.service-card:hover .service-list li:nth-child(1) { transition-delay: 0ms; }
.service-card:hover .service-list li:nth-child(2) { transition-delay: 50ms; }
.service-card:hover .service-list li:nth-child(3) { transition-delay: 100ms; }
.service-card:hover .service-list li:nth-child(4) { transition-delay: 150ms; }

/* Service List Bullet Animation */
.service-list li::before {
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-list li::before {
  transform: scale(1.3);
  background: #2B5F9E;
}

/* Enhanced Service Title */
.service-title {
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--brand-primary);
  transform: translateX(4px);
}

/* Stats Bar Number Glow */
.stat-bar-number {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transition: text-shadow 0.4s ease;
}

.stat-bar-item:hover .stat-bar-number {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

/* Services Intro Animation */
.services-intro {
  position: relative;
}

.services-intro::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s, width 0.6s ease 0.3s;
}

.services-intro.visible::after {
  opacity: 1;
  width: 120px;
}
.mb-2 { margin-bottom: var(--space-s); }
.mb-3 { margin-bottom: var(--space-m); }
.mb-4 { margin-bottom: var(--space-l); }
.mb-5 { margin-bottom: var(--space-xl); }
