  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Scroll reveal base — content is visible by default */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Only apply hidden state when JS adds the class */
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* Navbar shadow on scroll */
  #navbar.scrolled {
    box-shadow: 0 1px 12px rgba(4, 120, 87, 0.08);
  }

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #mobile-menu.open {
    max-height: 400px;
  }

  /* Custom selection color */
  ::selection {
    background-color: #a7f3d0;
    color: #047857;
  }

  /* Focus visible styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
  }

  /* Subtle grid pattern for hero area */
  #hero {
    background-image: radial-gradient(circle, rgba(4, 120, 87, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
  }
