  /* Base & Utilities */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background-color: rgba(6, 95, 70, 0.15);
    color: #064e3b;
  }

  /* Scroll Reveal Animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal,
    .group:hover img,
    a:hover {
      transition: none;
    }
    .group:hover img {
      transform: none;
    }
  }

  /* Navbar styles */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.06), 0 4px 20px rgba(6, 95, 70, 0.04);
  }

  #navbar.scrolled .menu-line {
    background-color: #064e3b;
  }

  /* Mobile menu */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Hamburger animation */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  #menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
  }

  /* Smooth image loading */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

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

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

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

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

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

  /* Gradient text utility */
  .text-gradient {
    background: linear-gradient(135deg, #065f46, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Subtle pattern overlay */
  .pattern-dots {
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
  }
