  /* Custom styles for Dr. Mari-Paule Thiet Medical Practice */

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

  /* Selection color */
  ::selection {
    background-color: #d4a017;
    color: #102a43;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f0f4f8;
  }
  ::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #627d98;
  }

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

  /* Fallback: ensure content is always visible even without JS */
  .reveal {
    opacity: 1;
    transform: none;
  }

  /* Navbar active state */
  .navbar-scrolled {
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
  }

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

  /* Button hover animation */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  }

  /* Gradient text utility (if needed) */
  .text-gradient-gold {
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Subtle pattern for decorative elements */
  .pattern-dots {
    background-image: radial-gradient(circle, #d4a017 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.1;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Floating card animation */
  @media (prefers-reduced-motion: no-preference) {
    .floating-card {
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-8px); }
    }
  }

  /* Ensure contrast for all text blocks */
  .bg-navy-800, .bg-navy-900 {
    color-scheme: dark;
  }

  /* Print styles */
  @media print {
    nav, #contact, #mobile-toggle, #mobile-menu {
      display: none !important;
    }
    body {
      color: #000;
      background: #fff;
    }
    .bg-navy-800, .bg-navy-900 {
      background: #102a43 !important;
      color: #fff !important;
    }
  }
