  /* Custom styles for Florida Home Health Sebring */

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

  /* Prevent content flash on load */
  body {
    opacity: 1;
  }

  /* Scroll reveal base - visible by default for progressive enhancement */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Scroll reveal - hidden state applied via JS only */
  @media (prefers-reduced-motion: no-preference) {
    .reveal.reveal-hidden {
      opacity: 0;
      transform: translateY(24px);
    }
    .reveal.reveal-visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  #navbar.scrolled .nav-logo-text {
    color: #0f172a;
  }

  /* Nav link hover underline animation */
  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile nav links */
  .mobile-nav-link {
    position: relative;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Selection color */
  ::selection {
    background: #99f6e4;
    color: #042f2e;
  }

  /* Form focus styles */
  input:focus,
  textarea:focus {
    outline: none;
  }

  /* Subtle gradient text effect for hero */
  @media (min-width: 768px) {
    #hero h1 {
      text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
    }
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Service card hover image effect */
  .reveal img {
    transition: transform 0.5s ease;
  }

  /* Print styles */
  @media print {
    #navbar,
    #mobile-menu,
    .animate-bounce {
      display: none !important;
    }
    body {
      color: #000;
      background: #fff;
    }
  }
