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

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.40s; }
  }

  /* Fallback: ensure content is visible without JS */
  @media not all and (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
    }
  }

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f8fafc;
  }
  ::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Selection color */
  ::selection {
    background: #99f6e4;
    color: #042f2e;
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: slideDown 0.2s ease-out;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
