  /* ========== CUSTOM STYLES ========== */

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

  /* Selection color */
  ::selection {
    background-color: rgba(5, 150, 105, 0.2);
    color: #064e3b;
  }

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

  /* ========== HEADER ========== */
  #site-header {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
  }

  #site-header.scrolled {
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
  }

  /* ========== FLOATING STAT CARDS ========== */
  .stat-card {
    animation: floatCard 6s ease-in-out infinite;
  }

  .stat-card > div:nth-child(1) {
    animation-delay: 0s;
  }
  .stat-card > div:nth-child(2) {
    animation-delay: -3s;
  }

  @keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* ========== SCROLL REVEAL ========== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
  .reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
  .reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
  .reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

  /* Hidden state — only applied via JS for progressive enhancement */
  .reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
  }

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

  .mobile-link {
    opacity: 1;
  }

  /* ========== BUTTON HOVER EFFECTS ========== */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* ========== IMAGE LOADING ========== */
  img {
    background-color: #efe5d3;
  }

  /* ========== FOCUS STYLES ========== */
  :focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ========== REDUCED MOTION ========== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
    .stat-card {
      animation: none;
    }
  }

  /* ========== MOBILE MENU LINKS ANIMATION ========== */
  #mobile-menu.open .mobile-link {
    animation: slideIn 0.4s ease forwards;
  }
  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 767px) {
    .stat-card {
      animation: none;
    }
  }
