.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.floating {
  margin: auto;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
  }
  25% { 
    transform: translateY(-15px) rotate(1deg); 
  }
  50% { 
    transform: translateY(-20px) rotate(0deg); 
  }
  75% { 
    transform: translateY(-15px) rotate(-1deg); 
  }
}

/* Smooth scroll reveal */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for CTA */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Gradient animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hover effects */
.content {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Stagger animation for list items - only when parent is visible */
section.visible ul li {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

section.visible ul li:nth-child(1) { animation-delay: 0.1s; }
section.visible ul li:nth-child(2) { animation-delay: 0.2s; }
section.visible ul li:nth-child(3) { animation-delay: 0.3s; }
section.visible ul li:nth-child(4) { animation-delay: 0.4s; }
section.visible ul li:nth-child(5) { animation-delay: 0.5s; }

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