  /* Custom styles for Allen Parish Fire District 6 */

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

  /* Selection color */
  ::selection {
    background-color: rgba(255, 107, 43, 0.3);
    color: #fff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

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

  /* Navbar glass effect */
  #navbar.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Hero text gradient shimmer */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  /* Pulse animation for the status dot */
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  /* Fade in animation for scroll reveal */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
  .stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
  .stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
  .stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
  .stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
  .stagger-children.revealed > *:nth-child(7) { transition-delay: 0.35s; }
  .stagger-children.revealed > *:nth-child(8) { transition-delay: 0.4s; }

  .stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* 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;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
    }
    .stagger-children > * {
      opacity: 1;
      transform: none;
    }
  }
