  /* Custom styles for Speak Softly */

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

  /* Floating animation for hero cards */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  @keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }

  .animate-float {
    animation: float 4s ease-in-out infinite;
  }

  .animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  /* Navigation active state */
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
    margin-top: 2px;
  }

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

  /* Mobile menu transitions */
  #mobile-menu.open {
    max-height: 400px;
  }

  #mobile-menu.close {
    max-height: 0;
  }

  /* Menu line animation */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle.active .menu-line:nth-child(3) {
    width: 100%;
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Scroll reveal animations */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-hidden.delay-1 { transition-delay: 0.1s; }
    .reveal-hidden.delay-2 { transition-delay: 0.2s; }
    .reveal-hidden.delay-3 { transition-delay: 0.3s; }
  }

  /* Selection color */
  ::selection {
    background: #3a6149;
    color: #faf8f4;
  }

  /* Focus visible styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline: 2px solid #4a7a5c;
    outline-offset: 2px;
  }

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

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

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

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

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

  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #3a6149;
    transition: width 0.3s ease;
  }

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