  /* Base styles and custom overrides */
  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #ecfdf5;
  }
  ::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }

  /* Selection color */
  ::selection {
    background: #a7f3d0;
    color: #064e3b;
  }

  /* Mobile menu button animations */
  .bar.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .bar.active:nth-child(2) {
    opacity: 0;
  }
  .bar.active:nth-child(3) {
    width: 24px;
    margin-left: 0;
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile menu transitions */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
  }
  #mobile-menu.open {
    max-height: 400px;
    opacity: 1;
  }

  /* Navbar glass effect when scrolled */
  #navbar.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 150, 105, 0.08);
  }

  /* Menu card stagger animation (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .menu-card {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease, -webkit-transform 0.6s ease;
    }
    .menu-card.reveal {
      opacity: 0;
      transform: translateY(30px);
    }
    .menu-card.reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .menu-card {
      transition: none;
    }
    img {
      transition: none;
    }
  }

  /* Focus styles for accessibility */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Smooth image loading */
  img {
    background: linear-gradient(135deg, #d1fae5 0%, #fefce8 100%);
    min-height: 4px;
  }
