  /* Custom styles for Absolute Care Clinic */

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

  /* Selection color */
  ::selection {
    background-color: rgba(255, 98, 56, 0.3);
    color: #f6f6f7;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #23262c;
  }
  ::-webkit-scrollbar-thumb {
    background: #515660;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #71757e;
  }

  /* Hero animations */
  .hero-tagline {
    animation: slideUp 0.8s ease forwards;
  }
  .hero-headline {
    animation: slideUp 0.8s ease 0.1s forwards;
    opacity: 0;
  }
  .hero-subtitle {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    animation: slideUp 0.8s ease 0.3s forwards;
    opacity: 0;
  }
  .hero-image-wrapper {
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Service cards */
  .service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .service-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Patient steps */
  .patient-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .patient-step.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* About image */
  .about-image-wrapper {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .about-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(20, 22, 25, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  /* Mobile menu */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Mobile link animations */
  .mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }
  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

  /* Menu button animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
  }

  /* Nav links */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ff855e;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }
