  /* Custom styles for Dr. Ajay Patel website */

  :root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

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

  body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .font-playfair {
    font-family: var(--font-serif);
  }

  .font-inter {
    font-family: var(--font-sans);
  }

  /* Scroll-reveal animations (progressive enhancement — hidden by default, revealed via JS) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 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; }
    .reveal-delay-6 { transition-delay: 0.6s; }
  }

  /* Navbar transition */
  #navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f7f8fa;
  }
  ::-webkit-scrollbar-thumb {
    background: #b4becf;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #8a97ad;
  }

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

  /* Selection color */
  ::selection {
    background: #f05a42;
    color: white;
  }

  /* Print styles */
  @media print {
    header, footer, #contactForm, .reveal { display: none; }
    body { color: #1a1f28; background: white; }
    a { color: #1a1f28; }
  }
