/* ---- enhanced-hero-styles.css (merged) ---- */
/* Enhanced Hero Section Styles */
.hero-grid {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--dark-bg);
  padding-top: 50px;
}

/* Hero Video Background */
.hero-video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: var(--dark-bg);
  /* Ensure isolated compositing layer for video */
  isolation: isolate;
}

/* Only show poster image when video fails */
.hero-video-background.video-fallback {
  background-image: url("construction_table_scene.webp");
  background-size: cover;
  background-position: center;
}

/* Subtle overlay effect for text readability */
.hero-video-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
  pointer-events: none;
}

.hero-video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* GPU acceleration for smooth playback */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Performance optimization: hint browser to prioritize video rendering */
  contain: layout paint;
  /* Prevent flickering during playback */
  background-color: transparent;
}

/* Hero Overlay Content */
.hero-overlay {
  padding: 4rem 2rem 3rem;
  gap: 2.5rem;
  /* Use solid background instead of gradient to reduce render calculations */
  background: rgba(0, 0, 0, 0.03);
  /* Ensure overlay stays on its own compositing layer */
  isolation: isolate;
}

/* Hero Logo Styling */
.hero-logo {
  width: 340px;
  height: 340px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Soften the square logo with rounded corners and shadow */
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Add slight rounding to image edges */
  border-radius: 16px;
}

/* Hero Text Container */
.hero-text-content {
  max-width: 920px;
  width: min(95%, 920px);
  padding: 3.5rem 3rem 2.5rem;
  background: transparent;
  border-radius: 20px;
}

/* Ensure hero video fills viewport on mobile */
@media (max-width: 768px) {
  .hero,
  .hero-video-background,
  .hero-video-background video {
    min-height: 100vh;
    height: 100vh;
  }

  .hero-parallax-container {
    display: none;
  }

  .hero-text-content {
    max-width: 920px;
    width: min(95%, 920px);
    padding: 3.5rem 3rem 2.5rem;
    background: transparent;
    border-radius: 20px;
  }
}

/* Hero Headline - Animate In */
.hero-content__headline {
  font-size: clamp(5rem, 7vw, 9rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.75);
  line-height: 1.02;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 900px;
}

/* Hero Copy */
.hero-copy {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Hero CTA Button */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-button {
  padding: 1.3rem 3.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-base);
  pointer-events: auto;
}

.hero-button:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

.hero-button:active {
  transform: translateY(0);
}

/* Rating Card */
.hero-rating-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-rating-stars {
  color: var(--primary);
  font-size: 1rem;
}

.hero-rating-card p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Floating shapes for parallax background */
.parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Ensure parallax layer is isolated from video compositing */
  isolation: isolate;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  /* Animation removed for video playback performance */
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  bottom: 20%;
  left: -50px;
  /* Animation removed for video playback performance */
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--primary);
  top: 30%;
  right: 10%;
  /* Animation removed for video playback performance */
}

/* Floating shapes for parallax background - static for video performance */
/* Animations removed to prevent interference with video playback */
@media (max-width: 768px) {
  /* Mobile-only: immersive landing — hide navbar on hero until scroll */
  #navbar {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-6px) !important;
    transition:
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      background 0.3s ease,
      box-shadow 0.3s ease !important;
  }

  /* Reveal on any scroll — same behaviour as desktop */
  #navbar.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Solid background after 50 px scroll threshold */
  #navbar.scrolled {
    background: var(--dark-bg) !important;
    box-shadow: var(--shadow-md) !important;
  }

  #navbar .nav-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.25rem 0.5rem !important;
    gap: 0.25rem !important;
  }

  #navbar .nav-links li {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    text-align: center !important;
  }

  #navbar .nav-links a {
    min-width: max-content !important;
    padding: 0.5rem 0.5rem !important;
  }

  /* Mobile: reset desktop center wrapper and CTA button */
  #navbar .nav-center-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .nav-links a.nav-cta-btn {
    background: var(--gradient) !important;
    color: white !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-primary) !important;
    transition: all var(--transition-base) !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  .nav-links a.nav-cta-btn:hover {
    background: var(--gradient-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-primary-lg) !important;
  }

  .nav-links a.nav-cta-btn:active {
    background: var(--gradient) !important;
    transform: scale(0.97) !important;
    opacity: 0.88 !important;
  }

  /* Nav overlay — fully centered, immersive */
  .hero-overlay {
    padding: 0;
    gap: 1.25rem;
    background: transparent;
  }

  /* Hero logo — large and centered */
  .hero-logo {
    width: 240px;
    height: 240px;
    margin-bottom: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  }

  .hero-logo img {
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
    border-radius: 12px;
  }

  /* Hero text — slogan only, centered */
  .hero-text-content {
    padding: 0 1rem;
    background: transparent;
    width: 98%;
  }

  .hero-content__headline {
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(1.3rem, 4vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: heroFadeIn 0.8s ease-out 0.3s forwards;
  }

  .hero-copy {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-rating-card {
    padding: 0.8rem 1.5rem;
  }

  .hero-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Show hero CTA and rating card on mobile, same as desktop */
  .hero-cta-group {
    display: flex;
  }

  .hero-rating-card {
    display: inline-flex;
  }

  /* Hide sticky CTA - nav button and hero button both serve as CTA */
  .sticky-cta {
    display: none;
  }
}

/* ==========================================
    ANIMATED STAT COUNTERS
    ========================================== */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.stat-number.counted {
  color: var(--primary-light);
}

.stat-label {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}

/* Mobile-specific fixes for stat counters to prevent overlap */
@media (max-width: 768px) {
  .stat-item {
    padding: 0.5rem 0.25rem !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }

  .stat-number {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    line-height: 1.1 !important;
    padding: 0 0.25rem !important;
  }

  .stat-label {
    font-size: clamp(0.65rem, 2vw, 0.8rem) !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .stat-number {
    font-size: clamp(1.4rem, 7vw, 1.75rem);
  }

  .stat-label {
    font-size: 0.6rem;
  }
}

/* ==========================================
     STANDALONE STATS SECTION
     ========================================== */
.stats-section {
  padding: 3rem 1rem;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-600);
  border-bottom: 1px solid var(--dark-600);
  width: 100%;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stats-container .stat-item {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: 200px;
  padding: 1rem;
  text-align: center;
}

.stats-container .stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stats-container .stat-label {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile adjustments for stats section */
@media (max-width: 768px) {
  .stats-section {
    padding: 2rem 0.75rem;
  }

  .stats-container {
    gap: 1rem;
  }

  .stats-container .stat-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    padding: 0.75rem 0.25rem;
  }

  .stats-container .stat-number {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .stats-container .stat-label {
    font-size: clamp(0.6rem, 2vw, 0.75rem);
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .stats-container .stat-item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0.5rem;
  }

  .stats-container .stat-number {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }
}

/* Ensure testimonials section has proper spacing below stats */
@media (max-width: 768px) {
  .testimonials-slider {
    margin-bottom: 1rem !important;
  }

  .testimonial-stats {
    margin-bottom: 1.5rem !important;
  }
}

/* Fix testimonial stats container on mobile to prevent overflow */
@media (max-width: 768px) {
  .testimonial-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .testimonial-stats .stat-item {
    flex: 1 1 auto !important;
    min-width: calc(33.333% - 0.5rem) !important;
    max-width: calc(33.333% - 0.5rem) !important;
    padding: 0.25rem !important;
  }

  /* Fallback for older markup with div wrappers */
  .testimonial-stats div {
    flex: 1 1 auto !important;
    min-width: calc(33.333% - 0.5rem) !important;
    max-width: calc(33.333% - 0.5rem) !important;
    padding: 0.25rem !important;
  }
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.animating {
  animation: countUp 0.4s ease-out forwards;
}

/* ==========================================
    STICKY MOBILE GET FREE QUOTE CTA BAR
    ========================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-600);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

/* iOS safe area - prevent black bar at bottom */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sticky-cta {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  background: var(--gradient);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.sticky-cta__btn:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary-lg);
}

.sticky-cta__btn:active {
  transform: translateY(0);
}

/* ==========================================
   BREADCRUMB NAVIGATION
   ========================================== */
.breadcrumb-nav {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.breadcrumb-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--dark-400);
  margin: 0 0.25rem;
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .breadcrumb-nav {
    display: none;
  }

  .hero-copy {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Desktop: hide the sticky CTA bar */
@media (min-width: 769px) {
  .sticky-cta {
    display: none;
  }
}

/* Desktop navbar visibility - ensure navbar shows on desktop */
@media (min-width: 769px) {
  #navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #0a0a0a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    transition:
      background 0.3s ease,
      box-shadow 0.3s ease !important;
  }

  #navbar.scrolled {
    background: #0a0a0a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4) !important;
  }

  #navbar .nav-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0.75rem 2rem !important;
    gap: 3rem !important;
  }

  #navbar .nav-center-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3rem !important;
  }

  #navbar .nav-links {
    display: flex !important;
  }

  .nav-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }

  .nav-logo img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Hide nav content on initial page load; reveal on first scroll */
  #navbar .nav-links,
  #navbar .nav-logo {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
    transition:
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #navbar.visible .nav-links,
  #navbar.visible .nav-logo {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ==========================================
    FORM MICRO-INTERACTIONS
    ========================================== */
.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(235, 146, 54, 0.15) !important;
  background-color: rgba(235, 146, 54, 0.03) !important;
  outline: none;
}

.form-group input.success,
.form-group select.success {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(235, 146, 54, 0.15) !important;
}

/* Floating label effect */
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  color: var(--primary);
}

/* Submit button hover lift */
#contactForm button[type="submit"] {
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

#contactForm button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

#contactForm button[type="submit"]:active {
  transform: translateY(0);
}

/* ==========================================
    SCROLL ANIMATION POLISH
    ========================================== */
section {
  opacity: 1;
}

.service-card,
.testimonial-slide,
.about-content,
.about-image,
.contact-info,
.contact-form {
  will-change: opacity, transform;
}


/* ---- site styles ---- */
      /* ==========================================
         DESIGN TOKENS - Carter Quality Construction
         ========================================== */
      *,
      *::before,
      *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      :root {
        /* Brand Colors - Preserved */
        --primary: #eb9236;
        --primary-light: #ffaa5a;
        --primary-dark: #d4863c;
        --primary-50: rgba(235, 146, 54, 0.05);
        --primary-100: rgba(235, 146, 54, 0.1);
        --primary-200: rgba(235, 146, 54, 0.2);
        --primary-300: rgba(235, 146, 54, 0.3);
        --primary-400: rgba(235, 146, 54, 0.4);

        /* Neutral Colors */
        --black: #000000;
        --dark-bg: #0a0a0a;
        --dark-800: #111111;
        --dark-700: #1a1a1a;
        --dark-600: #2a2a2a;
        --dark-500: #333333;
        --dark-400: #4a4a4a;
        --dark-300: #666666;

        /* Semantic Colors */
        --success: #10b981;
        --success-light: #34d399;
        --error: #ef4444;
        --error-light: #f87171;
        --warning: #f59e0b;

        /* Text Colors - WCAG 2.2 AA compliant */
        --text-primary: #ffffff;
        --text-secondary: #e5e5e5; /* 7.2:1 contrast ratio */
        --text-muted: #a3a3a3; /* 4.6:1 contrast ratio */
        --text-inverse: #0a0a0a;

        /* Gradients */
        --gradient: linear-gradient(135deg, #eb9236 0%, #d4863c 100%);
        --gradient-hover: linear-gradient(135deg, #ffaa5a 0%, #eb9236 100%);
        --gradient-overlay: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0) 0%,
          rgba(0, 0, 0, 0.7) 100%
        );

        /* Typography Scale */
        --text-xs: 0.75rem;
        --text-sm: 0.875rem;
        --text-base: 1rem;
        --text-lg: 1.125rem;
        --text-xl: 1.25rem;
        --text-2xl: 1.5rem;
        --text-3xl: 1.875rem;
        --text-4xl: 2.25rem;
        --text-5xl: 3rem;

        /* Spacing Scale - 4px grid */
        --space-1: 0.25rem;
        --space-2: 0.5rem;
        --space-3: 0.75rem;
        --space-4: 1rem;
        --space-5: 1.25rem;
        --space-6: 1.5rem;
        --space-8: 2rem;
        --space-10: 2.5rem;
        --space-12: 3rem;
        --space-16: 4rem;
        --space-20: 5rem;
        --space-24: 6rem;

        /* Border Radius */
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 12px;
        --radius-xl: 16px;
        --radius-2xl: 20px;
        --radius-3xl: 24px;
        --radius-full: 9999px;

        /* Shadows */
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
        --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.45);
        --shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.5);
        --shadow-primary: 0 8px 25px rgba(235, 146, 54, 0.3);
        --shadow-primary-lg: 0 15px 40px rgba(235, 146, 54, 0.4);

        /* Transitions */
        --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
        --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
        --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
        --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);

        /* Z-Index Scale */
        --z-base: 0;
        --z-dropdown: 100;
        --z-sticky: 200;
        --z-fixed: 300;
        --z-modal-backdrop: 400;
        --z-modal: 500;
        --z-tooltip: 700;

        /* Container */
        --container-xl: 1200px;
        --container-2xl: 1400px;

        /* Line Heights */
        --leading-tight: 1.2;
        --leading-snug: 1.375;
        --leading-normal: 1.5;
        --leading-relaxed: 1.625;

        /* Font Weights */
        --font-medium: 500;
        --font-semibold: 600;
        --font-bold: 700;
        --font-extrabold: 800;

        /* Letter Spacing */
        --tracking-wide: 0.025em;
        --tracking-wider: 0.05em;

        /* Focus Rings */
        --focus-ring: 0 0 0 3px rgba(235, 146, 54, 0.3);
        --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.3);
        --focus-ring-success: 0 0 0 3px rgba(16, 185, 129, 0.3);
      }

      /* Component Aliases */
      :root {
        --card-bg: var(--dark-800);
        --border-color: var(--dark-500);
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        font-family:
          "Inter",
          -apple-system,
          BlinkMacSystemFont,
          "Segoe UI",
          sans-serif;
        line-height: var(--leading-normal);
        color: var(--text-primary);
        background: var(--dark-bg);
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }

      /* Edge-to-edge immersive mobile */
      @media (max-width: 768px) {
        html,
        body {
          margin: 0 !important;
          padding: 0 !important;
          overflow-x: hidden !important;
          width: 100% !important;
          min-height: 100vh !important;
          min-height: -webkit-fill-available !important;
          background: var(--dark-bg) !important;
        }

        /* Remove any body padding that could cause bars */
        body {
          padding-bottom: 0 !important;
        }

        /* Ensure all sections are edge-to-edge */
        section,
        .hero,
        .services,
        .about,
        .contact {
          width: 100% !important;
          max-width: 100% !important;
          margin-left: 0 !important;
          margin-right: 0 !important;
          padding-left: 0 !important;
          padding-right: 0 !important;
        }
      }

      /* Screen Reader Only */
      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
      }

/* ── Navbar overrides (isolated) ────────────── */
/* Wipe all old desktop/mobile navbar media query overrides — replaced by clean r- classes */
@media (min-width: 769px) {
  #navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
  }
  #navbar .nav-container { display: none !important; }
  #navbar .nav-center-wrapper { display: none !important; }
  #navbar .logo { display: none !important; }
  #navbar .logo-icon { display: none !important; }
  #navbar .nav-cta { display: none !important; }
  #navbar .nav-logo { display: none !important; }
  #navbar .nav-links { display: none !important; }
}

@media (max-width: 768px) {
  #navbar { position: fixed !important; }
  #navbar .nav-container { display: none !important; }
  #navbar .nav-center-wrapper { display: none !important; }
  #navbar .nav-hero-content { display: none !important; }
  #navbar .nav-cta { display: none !important; }
  #navbar .nav-logo { display: none !important; }
  #navbar .logo { display: none !important; }
  #navbar .logo-icon { display: none !important; }
  #navbar .nav-links { display: none !important; }
  #navbar .mobile-menu { display: none !important; }
}

      /* Navigation */
      /* nav {} type selector — replaced by #navbar + r- classes below */

        /* ==========================================
           MOBILE HERO VIDEO SECTION
           ========================================== */
        .hero {
          display: block;
          position: relative;
          width: 100%;
          height: 100vh;
          min-height: 100vh;
          overflow: hidden;
          background: var(--dark-bg);
        }

        /* Mobile hero video background */
        .hero-video-background {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          overflow: hidden;
          z-index: 0;
          background-color: var(--dark-bg);
          background-image: url("construction_table_scene.webp");
          background-size: cover;
          background-position: center;
        }

        .hero-video-background video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center center;
          z-index: 0;
        }

        /* Mobile overlay for text contrast */
        .hero-video-background::after {
          content: "";
          position: absolute;
          inset: 0;
          z-index: 1;
          background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.65) 100%
          );
          pointer-events: none;
        }
        .hero-video-background::before {
          display: none;
        }

        /* Hide parallax elements on mobile for performance */
        .hero-parallax-container {
          display: none;
        }

        /* Hero overlay wrapper - Full screen design */
        .hero-overlay {
          position: absolute;
          inset: 0;
          z-index: 2;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          text-align: center;
          padding: 3rem 1.5rem 2rem;
          pointer-events: none;
          gap: 2rem;
          background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.12) 100%
          );
          backdrop-filter: none;
          -webkit-backdrop-filter: none;
        }

        .hero-overlay > * {
          pointer-events: auto;
        }

        /* Ensure all elements are fully visible */
        .hero-content__headline,
        .hero-subtitle,
        .hero-copy,
        .hero-cta-group,
        .hero-rating-card {
          position: relative;
          z-index: 3;
        }

        .hero-text-content {
          max-width: 920px;
          width: min(95%, 920px);
          padding: 2.75rem 2.5rem 2rem;
          background: rgba(0, 0, 0, 0.08);
          border-radius: 24px;
          box-shadow: none;
          backdrop-filter: none;
          -webkit-backdrop-filter: none;
          border: none;
        }

        .hero-content__accent {
          width: 72px;
          height: 2px;
          margin: 0 auto 1rem;
          display: block;
          border-radius: var(--radius-full);
          background: var(--gradient);
          box-shadow: 0 6px 20px rgba(235, 146, 54, 0.2);
        }

        .hero-content__headline {
          font-size: clamp(1.6rem, 6vw, 2.8rem);
          font-weight: 800;
          line-height: 1.1;
          letter-spacing: 0.06em;
          text-transform: uppercase;
          max-width: 100%;
          word-break: break-word;
          overflow-wrap: break-word;
          hyphens: auto;
        }

        .hero-subtitle {
          font-size: clamp(1.5rem, 3vw, 2.2rem);
          font-weight: 700;
          margin: 0;
          color: var(--primary);
          letter-spacing: 0.12em;
          text-transform: uppercase;
          text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
        }

        /* Optimize layout for seamless integration */
        .hero-content {
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 100%;
        }

        .hero-cta-group {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          justify-content: center;
          margin-top: 1.5rem;
        }

        .hero-copy {
          font-size: clamp(0.9rem, 2.5vw, 1.1rem);
          color: var(--text-secondary);
          margin: 1rem auto 0;
          line-height: 1.5;
          max-width: 95%;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
        }

        .hero-cta-group {
          display: flex;
          justify-content: center;
          margin-top: 2rem;
        }

        .hero-button {
          padding: 1.1rem 2.4rem;
          font-size: 1.05rem;
          border-radius: 999px;
          box-shadow: 0 14px 40px rgba(235, 146, 54, 0.35);
          background: var(--gradient);
        }

        .hero-rating-card {
          margin: 1.5rem auto 0;
          display: inline-flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 0.4rem;
          padding: 1rem 1.75rem;
          border-radius: 24px;
          background: rgba(255, 255, 255, 0.18);
          border: 1px solid rgba(255, 255, 255, 0.22);
          box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
          backdrop-filter: none;
          color: var(--text-primary);
        }

        .hero-rating-stars {
          font-size: 1.1rem;
          letter-spacing: 0.18em;
          color: var(--primary);
          text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
        }

        .hero-rating-card p {
          margin: 0;
          font-size: 0.95rem;
          font-weight: 600;
          color: var(--text-secondary);
        }

        .hero-content__cta:hover {
          transform: translateY(-3px) scale(1.02);
          box-shadow:
            0 6px 20px rgba(235, 146, 54, 0.45),
            0 12px 40px rgba(235, 146, 54, 0.25);
          background: var(--gradient-hover);
        }

        .hero-content__cta:active {
          transform: translateY(-1px) scale(0.98);
        }

        /* Subtle shine effect on CTA */
        .hero-content__cta::before {
          content: "";
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
          );
          transition: left 0.5s ease;
        }

        .hero-content__cta:hover::before,
        .hero-content__cta:focus-visible::before {
          left: 100%;
        }

        .hero-content__cta:hover,
        .hero-content__cta:focus-visible {
          transform: translateY(-3px) scale(1.02);
          box-shadow:
            0 6px 20px rgba(235, 146, 54, 0.45),
            0 12px 40px rgba(235, 146, 54, 0.25);
          background: var(--gradient-hover);
        }

        .hero-content__cta:active {
          transform: translateY(-1px) scale(0.98);
        }

        /* Arrow icon inside CTA */
        .hero-content__cta-icon {
          width: 18px;
          height: 18px;
          transition: transform var(--transition-base);
        }

        .hero-content__cta:hover .hero-content__cta-icon {
          transform: translateX(3px);
        }

        .hero-content__rating {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 0.5rem;
          background: rgba(255, 255, 255, 0.08);
          backdrop-filter: blur(16px);
          -webkit-backdrop-filter: blur(16px);
          padding: 0.875rem 1.5rem;
          border-radius: var(--radius-xl);
          border: 1px solid rgba(255, 255, 255, 0.15);
          box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
          animation: fadeInUp 0.6s ease-out 0.65s both;
          min-width: 160px;
        }

        .hero-content__stars {
          display: flex;
          gap: 4px;
        }

        .hero-content__stars svg {
          width: 22px;
          height: 22px;
          fill: #ffffff;
          filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
          transition: transform var(--transition-base);
        }

        .hero-content__stars svg:focus-visible {
          outline: 2px solid var(--primary);
          outline-offset: 2px;
        }

        .hero-content__trust {
          font-size: 0.8125rem;
          color: rgba(255, 255, 255, 0.95);
          font-weight: 500;
          letter-spacing: 0.02em;
          line-height: 1.4;
          text-align: center;
        }

        @keyframes logoFadeIn {
          from {
            opacity: 0;
            transform: scale(0.8);
          }
          to {
            opacity: 1;
            transform: scale(1);
          }
        }

        /* Mobile CTA Button */
        .mobile-cta-btn {
          display: flex;
          align-items: center;
          justify-content: center;
          position: fixed;
          bottom: 0;
          left: 0;
          right: 0;
          padding: 1rem;
          background: var(--gradient);
          color: white;
          text-decoration: none;
          font-weight: 700;
          font-size: 1.05rem;
          border: none;
          box-shadow: 0 -4px 20px rgba(235, 146, 54, 0.4);
          z-index: 9999;
          transition: all 0.3s ease;
          animation: slideUpMobile 0.5s ease-out;
        }

        .mobile-cta-btn:hover {
          transform: translateY(-2px);
          box-shadow: 0 -6px 25px rgba(235, 146, 54, 0.5);
        }

        .mobile-cta-btn:active {
          transform: translateY(0);
        }

        @keyframes slideUpMobile {
          from {
            transform: translateY(100%);
            opacity: 0;
          }
          to {
            transform: translateY(0);
            opacity: 1;
          }
        }

        /* Remove padding-bottom for immersive experience */
        body {
          padding-bottom: 0 !important;
        }

        /* Adjust for safe area on iOS - ensure no black bar */
        @supports (padding-bottom: env(safe-area-inset-bottom)) {
          body {
            padding-bottom: 0 !important;
          }

          .mobile-cta-btn {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
          }
        }
      }

      .nav-hero-content h1 {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
      }

      .nav-hero-content .tagline {
        font-size: clamp(1rem, 2vw, 1.5rem);
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.75rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }

      .nav-hero-content p {
        font-size: 0.9rem;
        color: var(--text-secondary);
        margin-bottom: 0.75rem;
      }

      .nav-cta-group {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
      }

      .nav-cta-group .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
      }

      .logo {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        font-weight: 800;
        color: var(--primary);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .logo img {
        width: 240px;
        height: 240px;
        object-fit: contain;
      }

      .logo-icon {
        width: 240px;
        height: 240px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(10, 10, 10, 0.95);
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
      }

      .logo-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        background: transparent !important;
      }

      /* FIX: Prevent massive white logo overlay on mobile scroll */
      @media (max-width: 768px) {
        .logo-icon {
          overflow: hidden !important;
          max-width: 120px !important;
          max-height: 120px !important;
        }

        /* Hide navbar logo until scrolled to prevent initial white flash */
        #navbar .logo-icon {
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        #navbar.scrolled .logo-icon {
          opacity: 1;
        }
      }

      .nav-links a {
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: var(--font-medium);
        transition: color var(--transition-slow);
        position: relative;
        padding: var(--space-2) 0;
      }

      .nav-links a:hover,
      .nav-links a:focus-visible {
        color: var(--primary);
      }

      .nav-links a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient);
        transition: width var(--transition-slow);
      }

      .nav-links a:hover::after,
      .nav-links a:focus-visible::after {
        width: 100%;
      }

      .nav-links a[aria-current="page"] {
        color: var(--primary);
      }

      .nav-links a[aria-current="page"]::after {
        width: 100%;
      }

      /* Desktop-only: orange Free Quote button styling */
      @media (min-width: 769px) {
        .nav-cta-btn {
          background: var(--gradient) !important;
          color: white !important;
          padding: 0.6rem 1.4rem !important;
          border-radius: 999px !important;
          font-weight: 600 !important;
          box-shadow: var(--shadow-primary) !important;
          transition: all var(--transition-base) !important;
        }

        .nav-cta-btn:hover {
          background: var(--gradient-hover) !important;
          transform: translateY(-2px) !important;
          box-shadow: var(--shadow-primary-lg) !important;
        }

        .nav-cta-btn::after {
          display: none !important;
        }
      }

      /* ==========================================
         HERO SECTION - Optimized Video Implementation
         ========================================== */
      .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
        background: transparent;
        contain: layout paint;
      }

      @media (min-width: 768px) {
        .hero {
          height: 100vh;
        }
      }

      @media (min-width: 1024px) {
        .hero {
          height: 100vh;
        }
      }

      @media (min-width: 1440px) {
        .hero {
          height: 100vh;
        }
      }

      /* Video Container - fills entire hero section */
      .hero-video-background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
      }

      /* Video Element - fills container with object-fit: cover */
      .hero-video-background video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* GPU acceleration for smooth playback */
        will-change: transform;
        /* Performance optimization */
        contain: layout paint;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
      }

      /* Mobile: adjust video position for better framing */
      @media (max-width: 767px) {
        .hero-video-background video {
          object-position: center center;
        }
      }

      /* Gradient Overlay System - Removed for full video visibility */
      .hero-video-background::after,
      .hero-video-background::before {
        display: none;
      }

      /* High contrast mode support */
      @media (prefers-contrast: high) {
        .hero-video-background::after,
        .hero-video-background::before {
          display: none;
        }
      }

      /* Reduced motion - hide video, show poster */
      @media (prefers-reduced-motion: reduce) {
        .hero-video-background video {
          display: none;
        }

        .hero-video-background {
          background-image: url("construction_table_scene.webp");
          background-size: cover;
          background-position: center;
        }

        .hero-video-background::after,
        .hero-video-background::before {
          display: none;
        }
      }

      /* Video fallback state - shown when video fails to load */
      .hero-video-background.video-fallback video {
        display: none;
      }

      .hero-video-background.video-fallback {
        background-image: url("construction_table_scene.webp");
        background-size: cover;
        background-position: center;
      }

      /* Ensure hero overlay is interactive and above video */
      .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3rem 1.5rem 2rem;
        gap: 2rem;
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.12) 0%,
          rgba(0, 0, 0, 0.28) 100%
        );
      }

      /* Show hero overlay on all screen sizes */
      @media (min-width: 769px) {
        .hero-overlay {
          gap: 2rem;
        }
      }

      /* Desktop styles for hero overlay */
      @media (min-width: 768px) {
        .hero-overlay {
          gap: 2rem;
        }

        .hero-text-content h1 {
          font-size: clamp(2.5rem, 4vw, 4rem);
        }

        .hero-text-content .tagline {
          font-size: clamp(1.5rem, 2.5vw, 2.5rem);
        }

        .hero-text-content p {
          font-size: 1.2rem;
        }

        .hero-cta-group .btn {
          padding: 1rem 2rem;
          font-size: 1.1rem;
          min-width: 180px;
        }
      }

      /* Apply mobile hero layout to desktop screens */
      .hero {
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
      }

      .hero-video-background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        background-color: var(--dark-bg);
      }

      .hero-video-background video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        will-change: transform;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
      }

      .hero-video-background::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.35) 0%,
          rgba(0, 0, 0, 0.45) 50%,
          rgba(0, 0, 0, 0.55) 100%
        );
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: none;
      }

      /* Mobile premium overlay - disabled */
      .hero-video-background::before {
        display: none;
      }

      .hero-video-background::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: radial-gradient(
          circle at center,
          rgba(235, 146, 54, 0.1) 0%,
          transparent 70%
        );
        pointer-events: none;
      }

      .hero-parallax-container {
        display: none;
      }

      .hero-overlay {
        pointer-events: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3rem 1.5rem 2rem;
        gap: 2rem;
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.2) 0%,
          rgba(0, 0, 0, 0.42) 100%
        );
      }

      .hero-overlay > * {
        pointer-events: auto;
      }

      .hero-text-content {
        max-width: 920px;
        width: min(95%, 920px);
        padding: 2.5rem 2rem 1.75rem;
        background: transparent;
        border-radius: 20px;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
      }

      .hero-content__headline,
      .hero-text-content h1 {
        font-size: clamp(2rem, 4vw, 4.5rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        max-width: 900px;
        word-break: break-word;
        overflow-wrap: break-word;
      }

      .hero-copy {
        font-size: clamp(0.95rem, 2vw, 1.15rem);
        line-height: 1.6;
        color: var(--text-secondary);
        margin: 1rem auto 0;
        max-width: 640px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
      }

      .hero-cta-group {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
      }

      .hero-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        border-radius: 999px;
        box-shadow: 0 8px 25px rgba(235, 146, 54, 0.2);
        background: var(--gradient);
        transition: all var(--transition-base);
      }

      .hero-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 30px rgba(235, 146, 54, 0.25);
      }

      .hero-rating-card {
        margin: 1rem auto 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.8rem 1.5rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: var(--text-primary);
      }

      .hero-rating-stars {
        font-size: 1.1rem;
        letter-spacing: 0.18em;
        color: var(--primary);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
      }

      .hero-rating-card p {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-secondary);
      }

      .hero-content__cta:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow:
          0 6px 20px rgba(235, 146, 54, 0.45),
          0 12px 40px rgba(235, 146, 54, 0.25);
        background: var(--gradient-hover);
      }

      .hero-content__cta:active {
        transform: translateY(-1px) scale(0.98);
      }

      .hero-content__cta::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.2),
          transparent
        );
        transition: left 0.5s ease;
      }

      .hero-content__cta:hover::before,
      .hero-content__cta:focus-visible::before {
        left: 100%;
      }

      .hero-button:hover,
      .hero-button:focus-visible {
        transform: translateY(-3px) scale(1.02);
        box-shadow:
          0 6px 20px rgba(235, 146, 54, 0.45),
          0 12px 40px rgba(235, 146, 54, 0.25);
        background: var(--gradient-hover);
      }

      .hero-button:active {
        transform: translateY(-1px) scale(0.98);
      }

      .hero-content__cta-icon {
        width: 18px;
        height: 18px;
        transition: transform var(--transition-base);
      }

      .hero-content__cta:hover .hero-content__cta-icon {
        transform: translateX(3px);
      }

      .hero-content__rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0.875rem 1.5rem;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow:
          0 4px 16px rgba(0, 0, 0, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.1);
        animation: fadeInUp 0.6s ease-out 0.65s both;
        min-width: 160px;
      }

      .hero-content__stars {
        display: flex;
        gap: 4px;
      }

      .hero-content__stars svg {
        width: 22px;
        height: 22px;
        fill: #ffffff;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
        transition: transform var(--transition-base);
      }

      .hero-content__stars svg:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
      }

      .hero-content__trust {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.4;
        text-align: center;
      }

      @keyframes logoFadeIn {
        from {
          opacity: 0;
          transform: scale(0.8);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }

      /* Moved to hero-overlay */

      /* CTA group moved to hero-cta-group */

      .btn {
        padding: var(--space-4) var(--space-8);
        border-radius: var(--radius-lg);
        font-weight: var(--font-semibold);
        text-decoration: none;
        transition:
          transform var(--transition-slow),
          box-shadow var(--transition-slow),
          background var(--transition-slow);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        border: none;
        cursor: pointer;
        font-size: var(--text-base);
        position: relative;
        overflow: hidden;
        white-space: nowrap;
      }

      .btn:focus-visible {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
      }

      /* Shine effect on hover */
      .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.2),
          transparent
        );
        transition: left var(--transition-slower);
      }

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

      .btn-primary {
        background: var(--gradient);
        color: white;
        box-shadow: var(--shadow-primary);
      }

      .btn-primary:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-primary-lg);
        background: var(--gradient-hover);
      }

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

      .nav-cta {
        padding: 0.85rem 1.6rem;
        font-size: 0.95rem;
      }

      .nav-cta:hover {
        transform: translateY(-3px);
      }

      .btn-secondary {
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary);
        box-shadow: none;
      }

      .btn-secondary:hover {
        background: var(--primary);
        color: var(--black);
        transform: translateY(-4px);
        box-shadow: var(--shadow-primary);
      }

      .btn-secondary:active {
        transform: translateY(-2px);
      }

      /* Services Section */
      .services {
        padding: var(--space-24) var(--space-4);
        background: var(--dark-bg);
      }

      @media (min-width: 768px) {
        .services {
          padding: var(--space-20) var(--space-6);
        }
      }

      @media (min-width: 1024px) {
        .services {
          padding: var(--space-24) var(--space-8);
        }
      }

      .section-header {
        text-align: center;
        max-width: 700px;
        margin: 0 auto var(--space-16);
      }

      .section-header h2 {
        font-size: clamp(1.5rem, 4vw, var(--text-5xl));
        font-weight: var(--font-extrabold);
        margin-bottom: var(--space-4);
        color: var(--text-primary);
        line-height: var(--leading-tight);
      }

      .section-header .section-tagline {
        font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
        font-weight: var(--font-semibold);
        color: var(--primary);
        margin-bottom: var(--space-6);
        letter-spacing: var(--tracking-wide);
        text-transform: uppercase;
      }

      .section-header p {
        font-size: var(--text-lg);
        color: var(--text-secondary);
        line-height: var(--leading-relaxed);
      }

      .services-grid {
        max-width: var(--container-xl);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-6);
      }

      @media (min-width: 640px) {
        .services-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 1024px) {
        .services-grid {
          grid-template-columns: repeat(3, 1fr);
        }
      }

      @media (min-width: 1280px) {
        .services-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      .service-card {
        background: var(--card-bg);
        padding: var(--space-8);
        border-radius: var(--radius-2xl);
        transition:
          transform var(--transition-slow),
          box-shadow var(--transition-slow);
        position: relative;
        overflow: hidden;
        border: 1px solid var(--border-color);
        will-change: transform;
      }

      .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--gradient);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--transition-slow);
      }

      .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-2xl);
      }

      .service-card:hover::before {
        transform: scaleX(1);
      }

      .service-card:active {
        transform: translateY(-4px);
      }

      /* Scroll-triggered orange highlight when card comes into view */
      .service-card.in-viewport {
        border-color: var(--primary);
      }

      .service-card.in-viewport::before {
        transform: scaleX(1);
      }

      .service-card.in-viewport .service-icon {
        border-color: var(--primary);
      }

      .service-icon {
        width: 70px;
        height: 70px;
        background: var(--dark-700);
        border-radius: var(--radius-xl);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: var(--space-6);
        transition:
          transform var(--transition-slow),
          border-color var(--transition-slow),
          background var(--transition-slow);
        color: var(--primary);
        border: 1px solid var(--border-color);
      }

      .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
        background: var(--dark-600);
        border-color: var(--primary);
      }

      .service-image {
        width: 100%;
        height: 200px;
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-6);
        overflow: hidden;
        background: var(--dark-700);
      }

      .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-slow);
      }

      .service-card:hover .service-image img {
        transform: scale(1.05);
      }

      .service-card h3 {
        font-size: var(--text-xl);
        font-weight: var(--font-bold);
        margin-bottom: var(--space-4);
        color: var(--text-primary);
        line-height: var(--leading-snug);
      }

      .service-card p {
        font-size: var(--text-base);
        color: var(--text-secondary);
        line-height: var(--leading-relaxed);
      }

      /* About Section */
      .about {
        padding: var(--space-24) var(--space-4);
        background: var(--dark-bg);
      }

      @media (min-width: 768px) {
        .about {
          padding: var(--space-20) var(--space-6);
        }
      }

      @media (min-width: 1024px) {
        .about {
          padding: var(--space-24) var(--space-8);
        }
      }

      .about-container {
        max-width: var(--container-xl);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-12);
        align-items: center;
      }

      @media (min-width: 1024px) {
        .about-container {
          grid-template-columns: 1fr 1fr;
          gap: var(--space-16);
        }
      }

      .about-content h2 {
        font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
        font-weight: var(--font-extrabold);
        margin-bottom: var(--space-6);
        color: var(--text-primary);
        line-height: var(--leading-tight);
        text-align: center;
      }

      @media (min-width: 768px) {
        .about-content h2 {
          text-align: left;
        }
      }

      .about-content p {
        font-size: var(--text-lg);
        color: var(--text-secondary);
        margin-bottom: var(--space-6);
        line-height: var(--leading-relaxed);
      }

      .about-sub {
        font-size: var(--text-sm) !important;
        color: var(--text-muted, rgba(255,255,255,0.4)) !important;
        letter-spacing: 0.04em;
        margin-bottom: var(--space-8) !important;
      }

      /* Veteran badge */
      .about-veteran-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(235,146,54,0.1);
        border: 1px solid rgba(235,146,54,0.35);
        color: var(--primary);
        font-family: var(--font-display);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        padding: 0.4rem 0.9rem;
        border-radius: 4px;
        margin-bottom: var(--space-5);
      }

      /* Value pillars */
      .about-pillars {
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
        margin-top: var(--space-2);
      }

      .about-pillar {
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-5);
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.07);
        border-left: 3px solid var(--primary);
        border-radius: 0 8px 8px 0;
        transition: background 0.2s;
      }

      .about-pillar:hover {
        background: rgba(235,146,54,0.05);
      }

      .about-pillar-icon {
        width: 44px;
        height: 44px;
        background: rgba(235,146,54,0.12);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        flex-shrink: 0;
      }

      .about-pillar-text h3 {
        font-family: var(--font-display);
        font-size: var(--text-base);
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.25rem;
      }

      .about-pillar-text p {
        font-size: var(--text-sm);
        color: var(--text-secondary);
        margin-bottom: 0 !important;
        line-height: var(--leading-relaxed);
      }

      /* Photo caption overlay */
      .about-photo-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 1.25rem 1.5rem;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
      }

      .about-caption-name {
        font-family: var(--font-display);
        font-size: var(--text-lg);
        font-weight: 700;
        color: #ffffff;
      }

      .about-caption-title {
        font-size: 0.7rem;
        color: var(--primary);
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-weight: 600;
      }

      .about-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-8);
      }

      @media (min-width: 640px) {
        .about-features {
          grid-template-columns: 1fr 1fr;
        }
      }

      .feature {
        display: flex;
        align-items: center;
        gap: var(--space-3);
      }

      .feature-icon {
        width: 40px;
        height: 40px;
        background: var(--dark-700);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: var(--text-lg);
        flex-shrink: 0;
        transition: all var(--transition-slow);
        border: 1px solid var(--border-color);
      }

      .feature-icon:hover {
        background: var(--dark-600);
        border-color: var(--primary);
        transform: scale(1.05);
      }

      .feature span {
        font-size: var(--text-base);
        font-weight: var(--font-medium);
        color: var(--text-primary);
      }

      .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .about-graphic {
        width: 100%;
        max-width: 450px;
        border-radius: 24px;
        box-shadow: 0 30px 60px rgba(235, 146, 54, 0.2);
        position: relative;
        overflow: hidden;
      }

      .about-graphic img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        object-position: top center;
        display: block;
      }

      .about-graphic-placeholder {
        width: 100%;
        height: 100%;
        background: var(--card-bg);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        font-size: 1.2rem;
        text-align: center;
        padding: 2rem;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--border-color);
      }

      .about-graphic-content {
        text-align: center;
        color: var(--text-primary);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        z-index: 1;
      }

      .about-graphic-content h3 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
      }

      .about-graphic-content p {
        font-size: 1.2rem;
        opacity: 0.9;
      }

      /* Contact Section */
      .contact {
        padding: 4rem 1.5rem;
        background: var(--dark-bg);
      }

      @media (min-width: 768px) {
        .contact {
          padding: var(--space-20) var(--space-8);
        }
      }

      @media (min-width: 1024px) {
        .contact {
          padding: var(--space-24) var(--space-8);
        }
      }

      .contact-container {
        max-width: var(--container-xl);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-12);
      }

      @media (min-width: 1024px) {
        .contact-container {
          grid-template-columns: 1fr 1fr;
          gap: var(--space-16);
        }
      }

      .contact-info h2 {
        font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
        font-weight: var(--font-extrabold);
        margin-bottom: var(--space-6);
        color: var(--text-primary);
        line-height: var(--leading-tight);
        text-align: center;
      }

      .contact-info p {
        font-size: var(--text-lg);
        color: var(--text-secondary);
        margin-bottom: var(--space-8);
        line-height: var(--leading-relaxed);
        text-align: center;
      }

      .contact-details {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
      }

      .contact-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
      }

      .contact-icon {
        width: 50px;
        height: 50px;
        background: var(--dark-700);
        border-radius: var(--radius-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--primary);
        transition: all var(--transition-slow);
        border: 1px solid var(--border-color);
      }

      .contact-icon:hover {
        background: var(--dark-600);
        border-color: var(--primary);
        transform: translateY(-2px);
      }

      .contact-icon:active {
        transform: translateY(0);
        border-color: var(--primary);
      }

      .contact-item h4 {
        font-size: var(--text-base);
        font-weight: var(--font-semibold);
        margin-bottom: var(--space-1);
        color: var(--text-primary);
      }

      .contact-item p,
      .contact-item a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color var(--transition-slow);
      }

      .contact-item a:hover,
      .contact-item a:focus-visible {
        color: var(--primary);
      }

      .contact-form {
        background: var(--card-bg);
        padding: var(--space-10);
        border-radius: var(--radius-3xl);
        transition: all var(--transition-slow);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
      }

      @media (min-width: 768px) {
        .contact-form {
          padding: var(--space-12);
        }
      }

      @media (max-width: 767px) {
        .contact-details {
          gap: var(--space-3);
        }
        .contact-item {
          gap: var(--space-3);
        }
        .contact-icon {
          width: 40px;
          height: 40px;
        }
        .contact-item h4 {
          font-size: var(--text-sm);
        }
      }

      .contact-form:focus-within {
        border-color: var(--primary-300);
        box-shadow: 0 15px 50px var(--primary-100);
      }

      .contact-form h3 {
        font-size: var(--text-xl);
        font-weight: var(--font-bold);
        margin-bottom: var(--space-6);
        color: var(--text-primary);
      }

      .form-group {
        margin-bottom: var(--space-6);
      }

      .form-group label {
        display: block;
        margin-bottom: var(--space-2);
        font-weight: var(--font-medium);
        color: var(--text-primary);
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
        width: 100%;
        padding: var(--space-4);
        border-radius: var(--radius-lg);
        background: var(--dark-700);
        font-family: inherit;
        font-size: 16px; /* Prevents iOS zoom */
        transition:
          border-color var(--transition-base),
          box-shadow var(--transition-base);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
      }

      .form-group select option {
        background: #1f1f1f;
        color: #ffffff;
      }

      .form-group input:focus,
      .form-group textarea:focus,
      .form-group select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: var(--focus-ring);
      }

      .form-group input.error,
      .form-group textarea.error,
      .form-group select.error {
        border-color: var(--error);
        box-shadow: var(--focus-ring-error);
      }

      .form-group input.success,
      .form-group textarea.success,
      .form-group select.success {
        border-color: var(--primary);
        box-shadow: var(--focus-ring);
      }

      .error-message {
        color: var(--error);
        font-size: var(--text-sm);
        margin-top: var(--space-2);
        display: none;
        animation: slideIn var(--transition-base) ease;
      }

      .form-group input.error ~ .error-message,
      .form-group textarea.error ~ .error-message,
      .form-group select.error ~ .error-message {
        display: block;
      }

      @keyframes slideIn {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

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

      .form-group input::placeholder,
      .form-group textarea::placeholder {
        color: var(--text-muted);
        opacity: 0.7;
      }

      .submit-btn {
        width: 100%;
        padding: var(--space-4) var(--space-8);
        background: var(--gradient);
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: var(--text-base);
        font-weight: 700;
        cursor: pointer;
        transition:
          transform var(--transition-slow),
          box-shadow var(--transition-slow);
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
      }

      .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary-lg);
      }

      .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
      }

      .submit-btn.loading {
        pointer-events: none;
      }

      .submit-btn.loading::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: var(--text-primary);
        border-radius: var(--radius-full);
        animation: spin 0.8s linear infinite;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      /* Testimonials Section */
      .testimonials {
        padding: 4rem 2rem;
        background: var(--dark-bg);
      }

      .testimonials-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 2rem;
      }

      .testimonials-header h2 {
        font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
        font-weight: 800;
        margin-bottom: 1.5rem;
        color: var(--text-primary);
      }

      .testimonials-header p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
      }

      .testimonials-slider {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        height: auto;
        box-sizing: border-box;
      }

      @media (max-width: 768px) {
        .testimonials-slider {
          height: auto;
        }
      }

      .testimonial-slide {
        display: none;
        padding: 1.5rem 1.5rem 2rem;
        background: var(--card-bg);
        border-radius: 16px;
        text-align: center;
        transition: opacity 0.4s ease;
        opacity: 0;
        border: 1px solid var(--border-color);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
      }

      @media (max-width: 768px) {
        .testimonial-slide {
          position: relative;
          height: auto;
          padding: 1rem 0.75rem 1.5rem;
        }
      }

      .testimonial-slide.active {
        display: block;
        opacity: 1;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
      }

      @media (max-width: 768px) {
        .testimonial-slide.active {
          position: relative;
        }
      }

      @keyframes slideFadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .testimonial-content {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-secondary);
        font-style: italic;
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        overflow-wrap: break-word;
        word-break: break-word;
      }

      .testimonial-content p::before,
      .testimonial-content p::after {
        content: '"';
        font-size: 2.5rem;
        color: var(--primary);
        opacity: 0.3;
        position: absolute;
        font-family: serif;
      }

      .testimonial-content p::before {
        top: -5px;
        left: -5px;
      }

      .testimonial-content p::after {
        bottom: -5px;
        right: -5px;
        transform: rotate(180deg);
      }

      .testimonial-author {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
      }

      .testimonial-author h4 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
      }

      .testimonial-author .title {
        font-size: 0.875rem;
        color: var(--text-muted);
        font-weight: 500;
      }

      .testimonial-rating {
        display: flex;
        justify-content: center;
        gap: 0.15rem;
        margin: 0.5rem 0;
      }

      .testimonial-rating .star {
        color: #fbbf24;
        font-size: 0.9rem;
      }

      .testimonial-rating .star.empty {
        color: #e5e7eb;
      }

      .testimonial-rating {
        margin: 0.3rem 0;
      }

      .testimonial-stats {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 0.85rem;
        color: var(--text-secondary);
      }

      .testimonial-stats div {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .testimonial-stats div span:first-child {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--primary);
      }

      .slider-nav {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.6rem;
        z-index: 20;
        width: 100%;
        justify-content: center;
        pointer-events: none;
      }

      .slider-nav .slider-dot {
        pointer-events: auto;
      }

      .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid var(--text-primary);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
      }

      .slider-dot.active {
        background: var(--primary);
        border-color: var(--primary);
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(235, 146, 54, 0.4);
      }

      .slider-dot:hover:not(.active) {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--primary-light);
        transform: scale(1.1);
      }

      .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: var(--card-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.25rem;
        color: var(--text-primary);
        border: 2px solid var(--primary);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
        z-index: 10;
      }

      .slider-arrow:hover {
        background: var(--primary);
        color: var(--black);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 12px 30px rgba(235, 146, 54, 0.4);
      }

      .slider-arrow.prev {
        left: 1.5rem;
      }

      .slider-arrow.next {
        right: 1.5rem;
      }

      @media (max-width: 768px) {
        .testimonials {
          padding: 3rem 1rem;
        }

        .testimonial-slide {
          padding: 1.5rem 1rem 4rem;
        }

        /* slider-nav position adjusted below */

        .slider-dot {
          width: 14px;
          height: 14px;
        }

        .testimonial-content p {
          font-size: clamp(0.875rem, 2.5vw, 1rem);
          padding: 0;
          max-width: 100%;
          overflow-wrap: break-word;
          word-break: break-word;
          line-height: 1.55;
        }

        .testimonial-content {
          margin-bottom: 1rem;
        }

        .testimonial-author h4 {
          font-size: 1rem;
        }

        .testimonial-author .title {
          font-size: 0.8rem;
        }

        .testimonial-author {
          gap: 0.5rem;
          margin-top: 0.75rem;
        }

        .testimonial-stats {
          flex-direction: column;
          gap: 1rem;
          font-size: 0.8rem;
          padding: 0;
          width: 100%;
          max-width: 100%;
          box-sizing: border-box;
          margin-bottom: 1.5rem;
        }

        .testimonial-stats div {
          flex-direction: column;
          gap: 0.25rem;
          align-items: stretch;
          text-align: center;
          width: 100%;
          min-width: 0;
        }

        .testimonial-stats div span:first-child {
          font-size: 1.25rem;
          font-weight: 700;
          color: var(--primary);
        }

        .testimonial-stats div span:last-child {
          word-break: break-word;
          hyphens: auto;
          line-height: 1.4;
          max-width: 100%;
          overflow-wrap: break-word;
          white-space: normal;
          display: block;
        }

        .slider-arrow {
          width: 44px;
          height: 44px;
          font-size: 1.25rem;
        }

        .slider-arrow.prev {
          left: 0.75rem;
        }

        .slider-arrow.next {
          right: 0.75rem;
        }

        .slider-nav {
          bottom: 1rem;
        }

        .slider-dot {
          width: 12px;
          height: 12px;
        }
      }

      /* Footer */
      footer {
        background: var(--black);
        color: var(--text-primary);
        padding: 3rem 2rem 1.5rem;
        text-align: center;
        border-top: 1px solid var(--border-color);
      }

      .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
      }

      .footer-section h3 {
        font-size: var(--text-lg);
        margin-bottom: 1rem;
        color: var(--text-primary);
      }

      .footer-section p,
      .footer-section a {
        color: var(--text-secondary);
        text-decoration: none;
        line-height: 1.8;
        transition: color 0.3s ease;
      }

      .footer-section .footer-tagline {
        font-size: var(--text-lg);
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }

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

      /* Social Media Buttons */
      .social-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
      }

      .social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        min-width: 140px;
      }

      .social-btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
      }

      .social-btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition:
          width 0.6s,
          height 0.6s;
      }

      .social-btn:active::before {
        width: 300px;
        height: 300px;
      }

      .social-btn.google {
        background: #ffffff;
        color: #5f6368;
        border: 2px solid #dadce0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }

      .social-btn.google:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        border-color: #4285f4;
      }

      .social-btn.google:active {
        transform: translateY(-2px);
      }

      .social-btn.facebook {
        background: #1877f2;
        color: white;
        box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
      }

      .social-btn.facebook:hover {
        background: #166fe5;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
      }

      .social-btn.facebook:active {
        background: #0e5ccb;
        transform: translateY(-2px);
      }

      @media (max-width: 480px) {
        .social-btn {
          width: 100%;
          justify-content: center;
        }
      }

      .footer-bottom {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
        color: var(--text-muted);
        font-size: var(--text-sm);
      }

      /* Responsive Design */
      @media (max-width: 968px) {
        .hero-container,
        .about-container,
        .contact-container {
          grid-template-columns: 1fr;
          gap: 3rem;
        }

        .about-graphic {
          height: 350px;
          max-width: 400px;
        }
      }

      @media (max-width: 768px) {
        /* Horizontal nav already handled in earlier media query */
        .nav-links {
          display: flex !important;
        }

        .mobile-menu {
          display: none !important;
        }

        /* Mobile hero adjustments - fully immersive */
        .hero {
          padding-top: 0;
          height: 100vh !important;
          min-height: 100vh !important;
          max-height: 100vh !important;
        }

        .hero-video-background {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          overflow: hidden;
          z-index: 0;
        }

        /* Mobile video background - disabled overlays for full video visibility */
        .hero-video-background::after,
        .hero-video-background::before {
          display: none;
        }

        .hero-video-background video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center center;
          z-index: 0;
        }

        .hero-content h1 {
          text-align: center;
        }

        .hero-content p {
          margin: 0 auto 2rem;
        }

        .cta-group {
          justify-content: center;
        }

        .about-features {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 480px) {
        .nav-container {
          padding: 0.5rem;
        }

        .hero-container,
        .about-container,
        .contact-container {
          padding: 1rem;
        }

        .testimonial-slide {
          padding: 1rem 0.5rem 2.5rem;
        }

        .testimonial-slide .slider-nav {
          bottom: 0.5rem;
        }

        .testimonial-stats {
          padding: 0 0.25rem;
        }

        .slider-nav {
          bottom: 1rem;
        }

        .testimonial-stats div span:last-child {
          font-size: 0.9rem;
        }

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

        .cta-group {
          flex-direction: column;
        }

        .contact-form {
          padding: 1.5rem;
        }
      }

      /* Animations */
      .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      }

      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }

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

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

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

      .fade-in.delay-4 {
        transition-delay: 0.4s;
      }

      .fade-in.delay-5 {
        transition-delay: 0.5s;
      }

      /* Making Dreams Come True Section */
      .making-dreams {
        background: var(--card-bg);
        padding: 4rem 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
      }

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

      .making-dreams .section-header h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        margin-bottom: 1.5rem;
        color: var(--text-primary);
      }

      .making-dreams .section-header p {
        font-size: 1.125rem;
        color: var(--text-secondary);
        line-height: 1.6;
      }

      /* Smooth scroll offset for fixed nav */
      section {
        scroll-margin-top: 100px;
      }

      /* Additional animations for modal */
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      @keyframes slideUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Floating action button group */
      #fab-group {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
      }

      #fab-group.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      #floatingCTA {
        background: var(--gradient);
        color: #fff;
        text-decoration: none;
        padding: 0 1.25rem;
        height: 50px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        font-family: var(--font-display, sans-serif);
        font-weight: 700;
        font-size: 0.875rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
        box-shadow: 0 8px 25px rgba(235, 146, 54, 0.3);
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
      }

      #floatingCTA:hover {
        box-shadow: 0 12px 30px rgba(235, 146, 54, 0.45);
        transform: translateY(-2px);
      }

      #backToTop {
        width: 50px;
        height: 50px;
        background: var(--gradient);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 25px rgba(235, 146, 54, 0.3);
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
      }

      #backToTop:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(235, 146, 54, 0.4);
      }

      #backToTop:focus, #floatingCTA:focus {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
      }

      @media (max-width: 768px) {
        #fab-group {
          bottom: 1rem;
          right: 1rem;
          gap: 0.5rem;
        }
        #backToTop {
          width: 45px;
          height: 45px;
        }
        #floatingCTA {
          height: 45px;
          padding: 0 1rem;
          font-size: 0.8125rem;
        }
      }
      /* ==========================================
       PERFORMANCE-OPTIMIZED SCROLL ANIMATIONS
       ========================================== */

      /* Parallax Layers */
      .parallax-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        will-change: transform;
        transition: transform 0.1s linear;
      }

      .parallax-bg {
        z-index: 0;
        opacity: 0.15;
      }

      .parallax-mid {
        z-index: 1;
        opacity: 0.25;
      }

      .parallax-front {
        z-index: 2;
        opacity: 0.1;
      }

      /* Decorative floating elements for parallax */
      .floating-shape {
        position: absolute;
        border-radius: 50%;
        background: var(--gradient);
        opacity: 0.1;
        filter: none;
        will-change: transform;
      }

      .floating-shape.shape-1 {
        width: 300px;
        height: 300px;
        top: 10%;
        left: -100px;
      }

      .floating-shape.shape-2 {
        width: 200px;
        height: 200px;
        top: 60%;
        right: -80px;
      }

      .floating-shape.shape-3 {
        width: 150px;
        height: 150px;
        top: 30%;
        right: 10%;
      }

      /* Staggered reveal animations */
      .stagger-reveal {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
      }

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

      /* Stagger delays - applied via JS */
      .stagger-delay-0 {
        transition-delay: 0ms;
      }
      .stagger-delay-1 {
        transition-delay: 100ms;
      }
      .stagger-delay-2 {
        transition-delay: 200ms;
      }
      .stagger-delay-3 {
        transition-delay: 300ms;
      }
      .stagger-delay-4 {
        transition-delay: 400ms;
      }
      .stagger-delay-5 {
        transition-delay: 500ms;
      }
      .stagger-delay-6 {
        transition-delay: 600ms;
      }
      .stagger-delay-7 {
        transition-delay: 700ms;
      }
      .stagger-delay-8 {
        transition-delay: 800ms;
      }
      .stagger-delay-9 {
        transition-delay: 900ms;
      }

      /* Restore service-card hover transition timing */
      .service-card:hover {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }

      /* Scale-in animation for cards */
      .scale-in {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
        transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
      }

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

      /* Slide-in from sides */
      .slide-in-left {
        opacity: 0;
        transform: translateX(-80px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
      }

      .slide-in-right {
        opacity: 0;
        transform: translateX(80px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
      }

      .slide-in-left.visible,
      .slide-in-right.visible {
        opacity: 1;
        transform: translateX(0);
      }

      /* Counter animation for stats */
      .counter-number {
        display: inline-block;
        font-variant-numeric: tabular-nums;
      }

      /* Progress bar animation */
      .progress-fill {
        height: 3px;
        background: var(--gradient);
        width: 0;
        transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: width;
      }

      .progress-fill.animate {
        width: 100%;
      }

      /* Magnetic button effect */
      .magnetic-btn {
        position: relative;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }

      /* Ripple effect enhancement */
      .btn::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        transform: scale(0);
        animation: ripple 0.6s ease-out;
        pointer-events: none;
      }

      @keyframes ripple {
        to {
          transform: scale(4);
          opacity: 0;
        }
      }

      /* Touch feedback for mobile */
      @media (hover: none) and (pointer: coarse) {
        .btn:active {
          transform: scale(0.98) !important;
          transition: transform 0.1s ease;
        }

        .service-card:active {
          transform: translateY(-8px) scale(1.01) !important;
        }

        .service-card:active .service-icon {
          transform: scale(1.1) rotate(5deg) !important;
          background: var(--dark-600) !important;
          border-color: var(--primary) !important;
        }
      }

      /* Smooth scroll behavior with reduced motion support */
      @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;
        }

        .parallax-layer,
        .floating-shape,
        .stagger-reveal,
        .scale-in,
        .slide-in-left,
        .slide-in-right {
          transition: none !important;
          transform: none !important;
          opacity: 1 !important;
        }

        /* Mobile-specific reduced motion overrides */
        .mobile-section-divider,
        .mobile-card-glow,
        .mobile-text-shimmer {
          animation: none !important;
          opacity: 1 !important;
        }
      }

      /* ==========================================
       MOBILE ENHANCEMENTS - Post-Hero Sections
       ========================================== */
      @media (max-width: 768px) {
        /* Section divider with animated gradient */
        .mobile-section-divider {
          height: 2px;
          background: linear-gradient(
            90deg,
            transparent 0%,
            var(--primary) 50%,
            transparent 100%
          );
          margin: 0 auto;
          width: 80%;
          opacity: 0.6;
          position: relative;
          overflow: hidden;
        }

        .mobile-section-divider::after {
          content: "";
          position: absolute;
          top: 0;
          left: -100%;
          width: 50%;
          height: 100%;
          background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
          );
          animation: mobileDividerShine 3s ease-in-out infinite;
        }

        @keyframes mobileDividerShine {
          0%,
          100% {
            left: -100%;
          }
          50% {
            left: 150%;
          }
        }

        /* Enhanced section spacing system */
        .services,
        .about,
        .testimonials,
        .contact,
        .making-dreams {
          padding-top: var(--space-16);
          padding-bottom: var(--space-16);
          position: relative;
        }

        /* Subtle background color transitions between sections */
        .services {
          background: linear-gradient(
            180deg,
            var(--dark-bg) 0%,
            var(--dark-800) 100%
          );
        }

        .about {
          background: linear-gradient(
            180deg,
            var(--dark-800) 0%,
            var(--dark-bg) 100%
          );
        }

        .testimonials {
          background: linear-gradient(
            180deg,
            var(--dark-bg) 0%,
            var(--dark-800) 50%,
            var(--dark-bg) 100%
          );
        }

        /* Mobile card glow effect on scroll reveal */
        .mobile-card-glow {
          position: relative;
        }

        .mobile-card-glow::before {
          content: "";
          position: absolute;
          inset: -2px;
          border-radius: inherit;
          background: var(--gradient);
          opacity: 0;
          z-index: -1;
          filter: none;
          transition: opacity 0.6s ease;
        }

        .mobile-card-glow.in-viewport::before {
          opacity: 0.15;
        }

        /* Fluid typography scaling for mobile sections */
        .section-header h2 {
          font-size: clamp(1.5rem, 5vw + 0.5rem, 2.25rem);
          line-height: 1.2;
          letter-spacing: -0.02em;
        }

        .section-header p {
          font-size: clamp(0.9375rem, 3vw + 0.25rem, 1.0625rem);
          line-height: 1.6;
        }

        /* Feature item micro-interaction */
        .feature {
          padding: var(--space-3) var(--space-4);
          border-radius: var(--radius-lg);
          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          position: relative;
          overflow: hidden;
        }

        .feature::before {
          content: "";
          position: absolute;
          inset: 0;
          background: var(--primary-100);
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .feature:active::before {
          opacity: 1;
        }

        .feature:active {
          transform: scale(0.97);
        }

        .feature-icon {
          position: relative;
          z-index: 1;
          transition: transform 0.3s ease;
        }

        .feature:active .feature-icon {
          transform: scale(1.1) rotate(10deg);
        }

        .feature span {
          position: relative;
          z-index: 1;
        }

        /* Contact item micro-interaction */
        .contact-item {
          padding: var(--space-4);
          border-radius: var(--radius-lg);
          transition: all 0.3s ease;
          position: relative;
        }

        .contact-item:active {
          background: var(--primary-50);
          transform: translateX(4px);
        }

        .contact-item:active .contact-icon {
          transform: scale(1.15);
          border-color: var(--primary);
        }

        /* Testimonial slide mobile enhancements */
        .testimonial-slide {
          padding: var(--space-4) var(--space-4) var(--space-6);
        }

        .testimonial-content p {
          font-size: clamp(0.875rem, 3vw, 1rem);
          line-height: 1.5;
        }

        /* Form field focus enhancement */
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
          transform: translateY(-2px);
          box-shadow:
            var(--focus-ring),
            0 4px 12px rgba(235, 146, 54, 0.15);
        }

        /* Submit button micro-interaction */
        .submit-btn {
          position: relative;
          overflow: hidden;
        }

        .submit-btn::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 50%;
          width: 0;
          height: 0;
          border-radius: 50%;
          background: rgba(255, 255, 255, 0.2);
          transform: translate(-50%, -50%);
          transition:
            width 0.6s ease,
            height 0.6s ease;
        }

        .submit-btn:active::before {
          width: 300px;
          height: 300px;
        }

        /* About image reveal animation */
        .about-graphic {
          position: relative;
          overflow: hidden;
        }

        .about-graphic::after {
          content: "";
          position: absolute;
          inset: 0;
          background: var(--gradient);
          transform: scaleX(1);
          transform-origin: right;
          transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .about-graphic.revealed::after {
          transform: scaleX(0);
        }

        /* Making dreams section mobile enhancement */
        .making-dreams {
          position: relative;
          overflow: hidden;
        }

        .making-dreams::before {
          content: "";
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: radial-gradient(
            circle at center,
            var(--primary-100) 0%,
            transparent 70%
          );
          opacity: 0.3;
          animation: mobilePulse 8s ease-in-out infinite;
          pointer-events: none;
        }

        @keyframes mobilePulse {
          0%,
          100% {
            transform: scale(1);
            opacity: 0.3;
          }
          50% {
            transform: scale(1.1);
            opacity: 0.2;
          }
        }

        /* Text shimmer effect for headings */
        .mobile-text-shimmer {
          background: linear-gradient(
            90deg,
            var(--text-primary) 0%,
            var(--primary-light) 50%,
            var(--text-primary) 100%
          );
          background-size: 200% auto;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          animation: textShimmer 4s linear infinite;
        }

        @keyframes textShimmer {
          0% {
            background-position: 0% 0%;
          }
          100% {
            background-position: 200% 0%;
          }
        }

        .stagger-reveal-container {
          gap: var(--space-4);
        }

        /* Section header mobile spacing */
        .section-header {
          margin-bottom: var(--space-10);
          padding: 0 var(--space-4);
        }

        /* About features grid mobile spacing */
        .about-features {
          gap: var(--space-3);
        }

        /* Contact form mobile padding */
        .contact-form {
          padding: var(--space-6);
        }

        /* Footer mobile spacing */
        .footer-section {
          padding: var(--space-6) 0;
        }
      }

      /* Enhanced hero parallax */
      .hero-parallax-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120%;
        z-index: 0;
        overflow: hidden;
      }

      /* Section reveal with progress indicator */
      .section-reveal {
        position: relative;
        overflow: hidden;
      }

      .section-reveal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--gradient);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }

      .section-reveal.in-viewport::before {
        transform: scaleX(1);
      }

      /* Card hover lift with shadow */
      .hover-lift {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        will-change: transform, box-shadow;
      }

      .hover-lift:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
      }

      /* Image reveal with clip-path */
      .image-reveal {
        position: relative;
        overflow: hidden;
      }

      .image-reveal::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--card-bg);
        transform: scaleX(1);
        transform-origin: right;
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }

      .image-reveal.visible::after {
        transform: scaleX(0);
      }

      /* Text character animation */
      .char-animate {
        display: inline-block;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .char-animate.visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* Loading skeleton for images */
      .skeleton {
        background: linear-gradient(
          90deg,
          var(--card-bg) 0%,
          var(--border-color) 50%,
          var(--card-bg) 100%
        );
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite;
      }

      @keyframes skeleton-loading {
        0% {
          background-position: 200% 0;
        }
        100% {
          background-position: -200% 0;
        }
      }

      /* Performance: Use transform3d for GPU acceleration */
      .gpu-accelerated {
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        perspective: 1000px;
      }

      /* Mobile-specific optimizations */
      @media (max-width: 768px) {
        .parallax-layer {
          display: none; /* Disable parallax on mobile for performance */
        }

        .stagger-reveal {
          transform: translateY(40px) scale(0.98);
        }

        .slide-in-left,
        .slide-in-right {
          transform: translateX(40px);
        }
      }

      /* ==========================================
       CROSS-BROWSER COMPATIBILITY FIXES
       ========================================== */

      /* Safari backdrop-filter support */
      @supports (-webkit-backdrop-filter: none) {
        nav {
          -webkit-backdrop-filter: blur(10px);
        }
      }

      /* Firefox scrollbar styling */
      @supports (scrollbar-width: thin) {
        * {
          scrollbar-width: thin;
          scrollbar-color: var(--primary) var(--dark-800);
        }
      }

      /* Chrome/Safari scrollbar styling */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: var(--dark-800);
      }

      ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: var(--radius-full);
      }

      /* iOS input zoom prevention */
      @supports (-webkit-touch-callout: none) {
        input,
        textarea,
        select {
          font-size: 16px !important;
        }
      }

      /* Fallback for browsers without backdrop-filter */
      @supports not (backdrop-filter: blur(10px)) {
        nav {
          background: #040809;
        }
      }

      /* High contrast mode support */
      @media (forced-colors: active) {
        .btn {
          border: 2px solid ButtonText;
        }

        .service-card {
          border: 1px solid CanvasText;
        }

        .nav-links a::after {
          background: Highlight;
        }
      }

      /* Print styles */
      @media print {
        nav,
        .mobile-cta-btn,
        #fab-group,
        .hero-video-background,
        .testimonials-slider {
          display: none !important;
        }

        body {
          background: white;
          color: black;
        }

        a {
          color: black;
          text-decoration: underline;
        }

        .service-card,
        .contact-form {
          border: 1px solid #ccc;
          break-inside: avoid;
        }
      }

      /* Google Rating Summary */
      .google-rating-summary {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #ffffff;
        border-radius: 12px;
        padding: 20px 28px;
        margin: 0 auto 32px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.04);
        max-width: 600px;
      }

      .google-logo-icon {
        display: flex;
        align-items: center;
      }

      .rating-content {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }

      .rating-number {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1a1a2e;
      }

      .google-rating-summary .stars {
        font-size: 1.2rem;
        letter-spacing: 2px;
        color: #fbbc05;
      }

      .review-count {
        color: #5f6368;
        font-size: 0.95rem;
      }

      /* Google Reviews Carousel */
      .google-reviews-carousel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 40px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
      }

      @media (max-width: 900px) {
        .google-reviews-carousel {
          grid-template-columns: 1fr;
        }
      }

      .google-review-card {
        position: relative;
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: box-shadow 0.3s ease, transform 0.3s ease;
      }

      .google-review-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
      }

      .google-review-card .review-stars {
        color: #fbbc05;
        font-size: 1rem;
        letter-spacing: 1px;
      }

      .google-review-card .review-text {
        color: #1a1a2e;
        font-size: 0.95rem;
        line-height: 1.6;
        flex: 1;
      }

      .google-review-card .reviewer {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
        padding-right: 32px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
      }

      .reviewer-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #eb9236;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        flex-shrink: 0;
      }

      .reviewer-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
      }

      .reviewer-name {
        font-weight: 600;
        color: #1a1a2e;
        font-size: 0.9rem;
      }

      .verified-badge {
        color: #34a853;
        font-size: 0.75rem;
        font-weight: 500;
      }

      .review-time {
        color: #5f6368;
        font-size: 0.8rem;
        margin-left: auto;
      }

      .google-g-icon {
        position: absolute;
        bottom: 16px;
        right: 16px;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
      }

      /* Testimonials Section */
      .testimonials {
        padding: 4rem 2rem;
        background: var(--dark-bg);
      }

      .testimonials-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 2rem;
      }

      .testimonials-header h2 {
        font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
        font-weight: 800;
        margin-bottom: 1.5rem;
        color: var(--text-primary);
      }

      .testimonials-header p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
      }
