  /* Base styles & custom properties */
  :root {
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-slate-800: #1e293b;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  /* Scroll reveal animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* Hero animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
  }

  .animate-slide-up {
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
  }

  .animate-slide-up-delay {
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
  }

  .animate-slide-up-delay-2 {
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
  }

  /* Navbar scrolled state */
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }

  #navbar.scrolled .nav-link {
    color: #334155;
  }

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

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

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

  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

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

  /* Selection color */
  ::selection {
    background: #99f6e4;
    color: #134e4a;
  }

  /* Mobile menu transitions */
  #mobileMenu {
    animation: slideDown 0.3s ease;
  }

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

  /* Service card hover effect */
  .group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
  }

  /* Subtle pattern for CTA */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
    }

    html {
      scroll-behavior: auto;
    }

    .animate-fade-in,
    .animate-slide-up,
    .animate-slide-up-delay,
    .animate-slide-up-delay-2 {
      opacity: 1;
      animation: none;
    }

    .animate-bounce {
      animation: none;
    }
  }
