  /* ===== Custom Styles for Milestone Pool Service ===== */

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

  /* Selection color */
  ::selection {
    background-color: #d4a832;
    color: #0a1628;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
  ::-webkit-scrollbar-thumb {
    background: #1a3a6b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #0f2140;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
  }

  /* Service card hover lift */
  .service-card {
    transform: translateY(0);
  }
  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Testimonial card hover */
  .testimonial-card {
    transform: translateY(0);
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
  }

  /* Fade-in animations (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .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; }
  }

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

  /* Form 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='%2364748b' 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 12px center;
    padding-right: 36px;
  }

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

  /* Print styles */
  @media print {
    nav, #contact-form, .cta-section { display: none; }
    body { color: #000; background: #fff; }
  }
