/* Custom CSS for additional animations */
.hover-grow {
  transition: transform 0.3s ease;
}
.hover-grow:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: transform 0.3s ease;
}
.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-shadow-lg {
  transition: box-shadow 0.3s ease;
}
.hover-shadow-lg:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-hover {
  transition: all 0.3s ease;
}
.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #f4050b;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.animate-delay-100 {
  animation-delay: 0.1s;
}
.animate-delay-200 {
  animation-delay: 0.2s;
}
.animate-delay-300 {
  animation-delay: 0.3s;
}
.animate-delay-400 {
  animation-delay: 0.4s;
}
.animate-delay-500 {
  animation-delay: 0.5s;
}
.animate-delay-600 {
  animation-delay: 0.6s;
}
.animate-delay-700 {
  animation-delay: 0.7s;
}
.animate-delay-800 {
  animation-delay: 0.8s;
}

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

/* Custom animation classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}
.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}
.animate-slide-down {
  animation: slideDown 0.8s ease-out;
}
.animate-slide-left {
  animation: slideLeft 0.8s ease-out;
}
.animate-slide-right {
  animation: slideRight 0.8s ease-out;
}
.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}
.animate-rotate-in {
  animation: rotateIn 0.8s ease-out;
}
.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* Timeline animation */
.timeline-item {
  position: relative;
  padding-left: 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #f4050b;
  transform: scale(0);
  transition: transform 0.3s ease;
}
.timeline-item.active::before {
  transform: scale(1);
  animation: pulse-slow 2s infinite;
}
.timeline-item.completed::before {
  transform: scale(1);
  background-color: #10b981;
}

/* Progress bar */
.progress-container {
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background-color: #f4050b;
  width: 0%;
}

/* Truck animation */
@keyframes truckMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(calc(100vw + 100%));
  }
}

.truck-animation {
  animation: truckMove 20s linear infinite;
}

.truck-animation:hover {
  animation-play-state: paused;
}

.truck-icon {
  transition: transform 0.3s ease;
}

.truck-animation:hover .truck-icon {
  transform: scale(1.2);
}
