  /* Custom styles for Donde Le Duele Yakima */

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

  /* Floating animation for hero cards */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  .floating-card {
    animation: float 4s ease-in-out infinite;
  }

  .floating-card:nth-child(2) {
    animation-delay: -1.3s;
  }

  .floating-card:nth-child(3) {
    animation-delay: -2.6s;
  }

  /* Scroll reveal animations */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s 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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
  }

  /* Service card hover */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Gallery hover */
  .gallery-item {
    cursor: pointer;
  }

  /* Navbar scroll state */
  nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  }

  /* 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;
  }

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

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

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

  /* Testimonial card hover */
  .testimonial-card {
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
  }

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

  /* Select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }
