  /* ===== Custom Styles for Midwest Foot and Ankle Clinic ===== */

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

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1c1c20;
  }
  ::-webkit-scrollbar-thumb {
    background: #5a5a63;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ff6c2e;
  }

  /* Service card hover effects */
  .service-card {
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6c2e, #f5501a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  .service-card:hover::after {
    transform: scaleX(1);
  }

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

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

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

  /* Reduced motion preference */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .service-card::after {
      transition: none;
      transform: scaleX(1);
    }
    * {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
    }
  }

  /* Tablet adjustments */
  @media (max-width: 640px) {
    .font-serif {
      font-size: 1.75rem;
    }
  }

  /* Print styles */
  @media print {
    #navbar,
    #contact-form,
    #form-success,
    .service-card::after {
      display: none !important;
    }
    body {
      color: #000;
      background: #fff;
    }
    a {
      color: #000;
    }
  }
