  /* Custom styles for Duclos John E Medical & Health */

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

  /* Selection color */
  ::selection {
    background-color: rgba(74, 222, 128, 0.3);
    color: #ffffff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #050a14;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e3a6e;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
  }

  /* Hero orb animations */
  @media (prefers-reduced-motion: no-preference) {
    .hero-orb {
      animation: float 8s ease-in-out infinite;
    }
    .orb-1 {
      animation-delay: 0s;
      animation-duration: 10s;
    }
    .orb-2 {
      animation-delay: -3s;
      animation-duration: 12s;
    }
    .orb-3 {
      animation-delay: -5s;
      animation-duration: 14s;
    }
    .orb-4 {
      animation-delay: -2s;
      animation-duration: 11s;
    }
    .orb-5 {
      animation-delay: -6s;
      animation-duration: 13s;
    }
  }

  @keyframes float {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    25% {
      transform: translate(30px, -30px) scale(1.05);
    }
    50% {
      transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
      transform: translate(20px, 10px) scale(1.02);
    }
  }

  /* Reveal animations (progressive enhancement) */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Staggered reveal delays */
  .reveal:nth-child(1) { transition-delay: 0.1s; }
  .reveal:nth-child(2) { transition-delay: 0.2s; }
  .reveal:nth-child(3) { transition-delay: 0.3s; }
  .reveal:nth-child(4) { transition-delay: 0.4s; }
  .reveal:nth-child(5) { transition-delay: 0.5s; }
  .reveal:nth-child(6) { transition-delay: 0.6s; }

  /* Navbar scroll state */
  .navbar-scrolled {
    background: rgba(5, 10, 20, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Nav link underline effect */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    transition: width 0.3s ease;
    border-radius: 1px;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile menu transitions */
  .mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
  }

  /* Gold shimmer effect for accent elements */
  @media (prefers-reduced-motion: no-preference) {
    .gold-shimmer {
      background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(251, 191, 36, 0.15) 50%,
        transparent 60%
      );
      background-size: 200% 100%;
      animation: shimmer 3s ease-in-out infinite;
    }
  }

  @keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Focus visible for accessibility */
  *:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Image aspect ratio utilities */
  .aspect-card {
    aspect-ratio: 4 / 3;
  }

  /* Subtle glow effect for cards */
  .card-glow:hover {
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.08);
  }
