  /* Custom styles beyond Tailwind */

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

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

  /* Service card hover glow */
  .service-card:hover {
    box-shadow: 0 20px 60px -20px rgba(13, 148, 136, 0.15);
  }

  /* Fade-in animation */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
  .stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
  .stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
  .stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
  .stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

  .stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* Navbar solid background on scroll */
  #navbar.scrolled {
    background: rgba(8, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
  }

  /* Selection color */
  ::selection {
    background: rgba(13, 148, 136, 0.4);
    color: white;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0f172a;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

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

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

  /* Pulse animation for hero accent */
  @keyframes pulse-slow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
  }

  /* Reduce motion for accessibility */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up, .stagger-children > * {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .service-card { transition: none; }
    .service-card:hover { transform: none; }
  }
