  /* Custom styles beyond Tailwind */

  html {
    scroll-behavior: smooth;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
  }

  #navbar.scrolled .nav-logo-text {
    color: #065f46;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.2s ease-out;
  }

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

  /* Scroll reveal animations */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

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

  /* Custom select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Date input styling */
  input[type="date"] {
    color-scheme: light;
  }

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

  /* Selection color */
  ::selection {
    background-color: rgba(6, 95, 70, 0.15);
    color: #065f46;
  }

  /* Smooth image loading */
  img {
    loading: lazy;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f5f0e8;
  }

  ::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }
