/* Optimization for smooth, non-laggy scrolling across all viewports */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS devices */
}

/* Optimize rendering and reduce layout thrashing on heavy elements */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force hardware acceleration on standard parallax or animated elements without breaking layout */
.elementor-section, .elementor-column, .elementor-widget {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Improve performance on scroll-heavy containers */
.elementor-background-overlay {
  will-change: opacity;
}
