  /* Custom styles beyond Tailwind */

  html {
    scroll-behavior: smooth;
  }

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

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(74, 25, 66, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }

  /* Service card hover */
  .service-card {
    will-change: transform, box-shadow;
  }

  /* Area card overlay */
  .area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 25, 66, 0.9) 0%, transparent 60%);
    border-radius: 0.75rem;
    pointer-events: none;
  }

  /* Testimonial card subtle lift */
  .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(74, 25, 66, 0.12);
  }

  /* Scroll reveal (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .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; }
  }

  /* Mobile menu animation */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

  /* Input focus styles */
  input:focus, select:focus, textarea:focus {
    outline: none;
  }

  /* Selection color */
  ::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #4a1942;
  }

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

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

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

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
