  /* Custom styles for Harry E Winn & Sons Inc */

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
  }

  #navbar.scrolled .font-serif,
  #navbar.scrolled .text-navy-700 {
    color: #1e3a5f;
  }

  /* Service card hover effects */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

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

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

  .mobile-link {
    position: relative;
  }

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

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

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

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

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

  ::-webkit-scrollbar-thumb:hover {
    background: #8faecf;
  }

  /* Selection color */
  ::selection {
    background: #d4a843;
    color: #0a1828;
  }
