/* Animation Library for UVP Foundation Website */

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Slide Up Animation */
@keyframes slideUp {
  from { 
    transform: translateY(50px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* Slide In From Left */
@keyframes slideInLeft {
  from { 
    transform: translateX(-100px); 
    opacity: 0; 
  }
  to { 
    transform: translateX(0); 
    opacity: 1; 
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

/* Slide In From Right */
@keyframes slideInRight {
  from { 
    transform: translateX(100px); 
    opacity: 0; 
  }
  to { 
    transform: translateX(0); 
    opacity: 1; 
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Scale Up Animation */
@keyframes scaleUp {
  from { 
    transform: scale(0.8); 
    opacity: 0; 
  }
  to { 
    transform: scale(1); 
    opacity: 1; 
  }
}

.scale-up {
  animation: scaleUp 0.8s ease forwards;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-20px);}
  60% {transform: translateY(-10px);}
}

.bounce {
  animation: bounce 1s;
}

/* Pulse Animation */
@keyframes pulse {
  0% {transform: scale(1);}
  50% {transform: scale(1.05);}
  100% {transform: scale(1);}
}

.pulse {
  animation: pulse 1.5s infinite;
}

/* Reveal Text Animation */
@keyframes revealText {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.reveal-text {
  animation: revealText 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

/* Staggered Animation Delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.7s;
}

.delay-5 {
  animation-delay: 0.9s;
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.active {
  opacity: 1;
}

/* Button Hover Animation */
.btn-hover-effect {
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-hover-effect:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-hover-effect:hover:after {
  height: 100%;
} 