  /* Custom overrides and enhancements */
  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Scroll reveal animations — progressive enhancement */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Nav scroll state */
  #nav.scrolled {
    background: rgba(6, 26, 46, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile link hover */
  .mobile-link {
    display: block;
    transition: color 0.2s ease;
  }

  /* Custom date input styling */
  input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(130deg);
    cursor: pointer;
  }

  /* Subtle selection color */
  ::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #f0fdf9;
  }

  /* Smooth image loading */
  img {
    image-rendering: auto;
    will-change: transform;
  }

  /* Focus visible for accessibility */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: slideDown 0.3s ease forwards;
  }

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

  /* Counter animation */
  .stat-number {
    display: inline-block;
  }
