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

  /* Selection color */
  ::selection {
    background-color: rgba(22, 101, 52, 0.2);
    color: #166534;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f7faf2;
  }
  ::-webkit-scrollbar-thumb {
    background: #88c794;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #5aad6e;
  }

  /* Hero blob animations */
  @keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
  }

  @keyframes float-medium {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(1.03); }
    66% { transform: translate(15px, -15px) scale(0.97); }
  }

  @keyframes float-fast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
  }

  .hero-blob {
    animation: float-slow 12s ease-in-out infinite;
  }

  .blob-2 {
    animation: float-medium 16s ease-in-out infinite;
  }

  .blob-3 {
    animation: float-fast 8s ease-in-out infinite;
  }

  /* Scroll reveal — progressive enhancement via JS */
  .scroll-reveal {
    /* Default: visible (no JS = still readable) */
    opacity: 1;
    transform: none;
  }

  /* Only animate when JS is enabled and user prefers motion */
  .js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  /* Stagger delays */
  .js-enabled .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
  .js-enabled .scroll-reveal:nth-child(2) { transition-delay: 0.12s; }
  .js-enabled .scroll-reveal:nth-child(3) { transition-delay: 0.19s; }
  .js-enabled .scroll-reveal:nth-child(4) { transition-delay: 0.26s; }
  .js-enabled .scroll-reveal:nth-child(5) { transition-delay: 0.33s; }
  .js-enabled .scroll-reveal:nth-child(6) { transition-delay: 0.40s; }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
    .hero-blob {
      animation: none;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    opacity: 0;
  }

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

  /* Navbar glass effect on scroll */
  .navbar-scrolled {
    background: rgba(252, 253, 249, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(22, 101, 52, 0.08);
  }

  /* Select dropdown arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23166534'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
  }
