  /* Custom styles for Forest Periodontics */

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #061412;
  }
  ::-webkit-scrollbar-thumb {
    background: #d4a853;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #e8c97a;
  }

  /* Selection color */
  ::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fdfbf7;
  }

  /* Service card hover glow */
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 168, 83, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }
  .service-card:hover::before {
    opacity: 1;
  }

  /* Navbar blur on scroll */
  #navbar.scrolled {
    background: rgba(6, 20, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  }

  /* Mobile menu animation */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Select styling */
  select option {
    background: #061412;
    color: #faf5eb;
  }

  /* Reduce motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* Print styles */
  @media print {
    nav, #contact, .service-card {
      display: none;
    }
    body {
      background: white;
      color: black;
    }
  }
