/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.fade-in-delay {
  animation: fadeIn 1s ease-in-out 0.3s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-in-out 0.6s forwards;
  opacity: 0;
}

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

/* Hover Animation */
.business-card:hover .business-icon {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Scroll animations */
.timeline-item {
  opacity: 0;
  transition: all 1s;
}

.timeline-item.animate-left {
  transform: translateX(-100px);
}

.timeline-item.animate-right {
  transform: translateX(100px);
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

/* Social card hover animation */
.social-card {
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.social-card:hover::before {
  transform: translateX(0);
}

/* Menu animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Section animation */
.section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.section-header.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stats counter animation */
.stat-number {
  display: inline-block;
  opacity: 0;
}

.stat-number.animated {
  opacity: 1;
}

/* Button hover effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}