/* ===================================
   Lali Green International - Animations CSS
   Version: 1.0
   Description: Advanced animations and keyframes
   =================================== */

/* ===================================
   1. Entrance Animations
   =================================== */

/* Fade Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Scale Animations */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleInBounce {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Rotate Animations */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: rotate(0);
  }
}

@keyframes rotateInUpLeft {
  from {
    transform-origin: left bottom;
    transform: rotate(45deg);
    opacity: 0;
  }
  to {
    transform-origin: left bottom;
    transform: rotate(0);
    opacity: 1;
  }
}

@keyframes rotateInUpRight {
  from {
    transform-origin: right bottom;
    transform: rotate(-45deg);
    opacity: 0;
  }
  to {
    transform-origin: right bottom;
    transform: rotate(0);
    opacity: 1;
  }
}

/* Slide Animations */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    visibility: visible;
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    visibility: visible;
  }
  to {
    transform: translateX(0);
  }
}

/* Zoom Animations */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes zoomInRotate {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-360deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ===================================
   2. Attention Seekers
   =================================== */

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translateY(0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translateY(-30px);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translateY(-15px);
  }
  90% {
    transform: translateY(-4px);
  }
}

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(68, 162, 57, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(68, 162, 57, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(68, 162, 57, 0);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes wobble {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-25px) rotate(-5deg);
  }
  30% {
    transform: translateX(20px) rotate(3deg);
  }
  45% {
    transform: translateX(-15px) rotate(-3deg);
  }
  60% {
    transform: translateX(10px) rotate(2deg);
  }
  75% {
    transform: translateX(-5px) rotate(-1deg);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes jello {
  0%, 11.1%, 100% {
    transform: skewX(0deg);
  }
  22.2% {
    transform: skewX(-12.5deg);
  }
  33.3% {
    transform: skewX(6.25deg);
  }
  44.4% {
    transform: skewX(-3.125deg);
  }
  55.5% {
    transform: skewX(1.5625deg);
  }
  66.6% {
    transform: skewX(-0.78125deg);
  }
  77.7% {
    transform: skewX(0.390625deg);
  }
  88.8% {
    transform: skewX(-0.1953125deg);
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@keyframes rubberBand {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

/* ===================================
   3. Background Animations
   =================================== */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientRotate {
  0% {
    background: linear-gradient(0deg, var(--primary-dark), var(--secondary-dark));
  }
  25% {
    background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
  }
  50% {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
  }
  75% {
    background: linear-gradient(270deg, var(--primary-dark), var(--secondary-dark));
  }
  100% {
    background: linear-gradient(360deg, var(--primary-dark), var(--secondary-dark));
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

@keyframes floatBubble {
  0% {
    transform: translateY(100vh) scale(0);
  }
  10% {
    transform: translateY(80vh) scale(0.5);
  }
  20% {
    transform: translateY(60vh) scale(0.6) translateX(20px);
  }
  40% {
    transform: translateY(40vh) scale(0.8) translateX(-20px);
  }
  60% {
    transform: translateY(20vh) scale(0.9) translateX(20px);
  }
  80% {
    transform: translateY(10vh) scale(1) translateX(-20px);
  }
  100% {
    transform: translateY(-10vh) scale(0.5) translateX(0);
  }
}

@keyframes waveAnimation {
  0% {
    transform: translateX(0) translateY(0) rotate(0);
  }
  25% {
    transform: translateX(-20px) translateY(-20px) rotate(1deg);
  }
  50% {
    transform: translateX(20px) translateY(-10px) rotate(-1deg);
  }
  75% {
    transform: translateX(-10px) translateY(-20px) rotate(1deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
  }
}

@keyframes lightBeam {
  0% {
    transform: translateX(-100%) skewX(-45deg);
  }
  100% {
    transform: translateX(200%) skewX(-45deg);
  }
}

/* ===================================
   4. Loading Animations
   =================================== */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes spinGrow {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes dots {
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes dotsScale {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes progressBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes skeletonWave {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===================================
   5. Text Animations
   =================================== */

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  0%, 50% {
    border-right-color: var(--brand-green);
  }
  51%, 100% {
    border-right-color: transparent;
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(68, 162, 57, 0.5),
                 0 0 20px rgba(68, 162, 57, 0.3),
                 0 0 30px rgba(68, 162, 57, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(68, 162, 57, 0.8),
                 0 0 30px rgba(68, 162, 57, 0.6),
                 0 0 40px rgba(68, 162, 57, 0.4);
  }
}

@keyframes textColorChange {
  0% {
    color: var(--white);
  }
  25% {
    color: var(--brand-green);
  }
  50% {
    color: var(--light-gray);
  }
  75% {
    color: var(--brand-green);
  }
  100% {
    color: var(--white);
  }
}

@keyframes letterSpacing {
  0%, 100% {
    letter-spacing: normal;
  }
  50% {
    letter-spacing: 0.2em;
  }
}

@keyframes textBlur {
  0% {
    filter: blur(0);
    opacity: 1;
  }
  50% {
    filter: blur(4px);
    opacity: 0.7;
  }
  100% {
    filter: blur(0);
    opacity: 1;
  }
}

/* ===================================
   6. Icon Animations
   =================================== */

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes iconRotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  75% {
    transform: translateY(5px);
  }
}

@keyframes iconFlip {
  0% {
    transform: perspective(400px) rotateY(0);
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}

@keyframes iconMorph {
  0%, 100% {
    border-radius: var(--radius-md);
    transform: rotate(0);
  }
  25% {
    border-radius: var(--radius-full);
    transform: rotate(90deg);
  }
  50% {
    border-radius: var(--radius-md);
    transform: rotate(180deg);
  }
  75% {
    border-radius: var(--radius-full);
    transform: rotate(270deg);
  }
}

/* ===================================
   7. Scroll Animations
   =================================== */

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

@keyframes scrollIndicator {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes parallaxFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(-10px);
  }
  75% {
    transform: translateY(20px) translateX(10px);
  }
}

/* ===================================
   8. Interactive Hover Effects
   =================================== */

@keyframes hoverPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(68, 162, 57, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(68, 162, 57, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(68, 162, 57, 0);
  }
}

@keyframes hoverShake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

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

@keyframes hoverSweep {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* ===================================
   9. Number Counter Animations
   =================================== */

@keyframes countUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes numberFlip {
  0% {
    transform: rotateX(0);
  }
  50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0);
  }
}

@keyframes odometer {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* ===================================
   10. Particle Effects
   =================================== */

@keyframes particle1 {
  0%, 100% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  5% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(150px, -200px) scale(0);
  }
}

@keyframes particle2 {
  0%, 100% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  5% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-150px, -200px) scale(0);
  }
}

@keyframes particle3 {
  0%, 100% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  5% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, -150px) scale(0);
  }
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===================================
   11. Special Effects
   =================================== */

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(-1px, -1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
}

@keyframes glitchText {
  0%, 100% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow: 0 0 4px #fff,
                 0 0 11px #fff,
                 0 0 19px #fff,
                 0 0 40px var(--brand-green),
                 0 0 80px var(--brand-green),
                 0 0 90px var(--brand-green),
                 0 0 100px var(--brand-green),
                 0 0 150px var(--brand-green);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* ===================================
   12. Animation Classes
   =================================== */

/* Entrance Classes */
.animate-fadeIn { animation: fadeIn 1s ease-out; }
.animate-fadeInUp { animation: fadeInUp 1s ease-out; }
.animate-fadeInDown { animation: fadeInDown 1s ease-out; }
.animate-fadeInLeft { animation: fadeInLeft 1s ease-out; }
.animate-fadeInRight { animation: fadeInRight 1s ease-out; }
.animate-scaleIn { animation: scaleIn 0.5s ease-out; }
.animate-scaleInBounce { animation: scaleInBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.animate-rotateIn { animation: rotateIn 0.6s ease-out; }
.animate-slideInUp { animation: slideInUp 0.5s ease-out; }
.animate-slideInDown { animation: slideInDown 0.5s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease-out; }
.animate-slideInRight { animation: slideInRight 0.5s ease-out; }
.animate-zoomIn { animation: zoomIn 0.5s ease-out; }
.animate-zoomInRotate { animation: zoomInRotate 0.8s ease-out; }

/* Attention Seekers */
.animate-bounce { animation: bounce 1s ease-in-out; }
.animate-pulse { animation: pulse 1.5s ease-in-out infinite; }
.animate-pulseGlow { animation: pulseGlow 2s infinite; }
.animate-shake { animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
.animate-swing { animation: swing 1s ease-out; }
.animate-wobble { animation: wobble 1s ease-in-out; }
.animate-jello { animation: jello 0.9s both; }
.animate-heartBeat { animation: heartBeat 1.3s ease-in-out; }
.animate-flash { animation: flash 0.8s; }
.animate-rubberBand { animation: rubberBand 1s; }

/* Background Animations */
.animate-gradientShift { 
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite; 
}
.animate-particleFloat { animation: particleFloat 20s linear infinite; }
.animate-floatBubble { animation: floatBubble 15s linear infinite; }
.animate-waveAnimation { animation: waveAnimation 8s ease-in-out infinite; }
.animate-lightBeam { animation: lightBeam 3s linear infinite; }

/* Loading Animations */
.animate-spin { animation: spin 1s linear infinite; }
.animate-spinReverse { animation: spinReverse 1s linear infinite; }
.animate-spinGrow { animation: spinGrow 1.5s linear infinite; }
.animate-dots { animation: dots 1.4s ease-in-out infinite; }
.animate-dotsScale { animation: dotsScale 1.4s ease-in-out infinite; }
.animate-progressBar { animation: progressBar 2s ease-out forwards; }
.animate-shimmer { 
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite; 
}

/* Text Animations */
.animate-typewriter { 
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--brand-green);
  animation: typewriter 3s steps(40, end), blinkCursor 0.75s step-end infinite;
}
.animate-textGlow { animation: textGlow 2s ease-in-out infinite; }
.animate-textColorChange { animation: textColorChange 4s linear infinite; }
.animate-letterSpacing { animation: letterSpacing 2s ease-in-out infinite; }
.animate-textBlur { animation: textBlur 2s ease-in-out infinite; }

/* Icon Animations */
.animate-iconFloat { animation: iconFloat 3s ease-in-out infinite; }
.animate-iconRotate { animation: iconRotate 2s linear infinite; }
.animate-iconBounce { animation: iconBounce 1.5s ease-in-out infinite; }
.animate-iconFlip { animation: iconFlip 2s ease-in-out infinite; }
.animate-iconMorph { animation: iconMorph 4s ease-in-out infinite; }

/* Scroll Animations */
.animate-scrollDown { animation: scrollDown 1.5s ease-in-out infinite; }
.animate-scrollIndicator { animation: scrollIndicator 2s ease-in-out infinite; }
.animate-parallaxFloat { animation: parallaxFloat 6s ease-in-out infinite; }

/* Hover Effects (activated on hover) */
.hover-pulse:hover { animation: pulse 1s ease-in-out infinite; }
.hover-shake:hover { animation: hoverShake 0.3s ease-in-out; }
.hover-grow:hover { animation: hoverGrow 0.5s ease-in-out; }
.hover-sweep::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(68, 162, 57, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
  z-index: -1;
}
.hover-sweep:hover::before {
  transform: scaleX(1);
}

/* Special Effects */
.animate-glitch { animation: glitch 0.3s infinite; }
.animate-glitchText { animation: glitchText 0.8s infinite; }
.animate-neonFlicker { animation: neonFlicker 1.5s infinite alternate; }
.animate-morphShape { animation: morphShape 8s ease-in-out infinite; }

/* Counter Animations */
.animate-countUp { animation: countUp 0.5s ease-out; }
.animate-numberFlip { animation: numberFlip 0.6s ease-in-out; }
.animate-odometer { animation: odometer 1s ease-out; }

/* Particle Effects */
.animate-particle1 { animation: particle1 2s ease-out infinite; }
.animate-particle2 { animation: particle2 2s ease-out infinite 0.2s; }
.animate-particle3 { animation: particle3 2s ease-out infinite 0.4s; }
.animate-starTwinkle { animation: starTwinkle 3s ease-in-out infinite; }

/* ===================================
   13. Animation Delays
   =================================== */

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }
.delay-1500 { animation-delay: 1.5s; }
.delay-2000 { animation-delay: 2s; }

/* ===================================
   14. Animation Durations
   =================================== */

.duration-fast { animation-duration: 0.3s; }
.duration-normal { animation-duration: 0.6s; }
.duration-slow { animation-duration: 1s; }
.duration-slower { animation-duration: 2s; }
.duration-slowest { animation-duration: 3s; }

/* ===================================
   15. Animation Fill Modes
   =================================== */

.fill-forwards { animation-fill-mode: forwards; }
.fill-backwards { animation-fill-mode: backwards; }
.fill-both { animation-fill-mode: both; }

/* ===================================
   16. Animation Timing Functions
   =================================== */

.ease-linear { animation-timing-function: linear; }
.ease-in { animation-timing-function: ease-in; }
.ease-out { animation-timing-function: ease-out; }
.ease-in-out { animation-timing-function: ease-in-out; }
.ease-bounce { animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.ease-elastic { animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22); }
.ease-back { animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* ===================================
   17. Scroll-Triggered Animations
   =================================== */

/* Elements that animate when scrolled into view */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.scroll-animate-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.scroll-animate-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.scroll-animate-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.scroll-animate-rotate {
  opacity: 0;
  transform: rotate(-10deg);
  transition: all 0.8s ease-out;
}

.scroll-animate-rotate.in-view {
  opacity: 1;
  transform: rotate(0);
}

/* ===================================
   18. Complex Animation Sequences
   =================================== */

/* Hero Title Animation Sequence */
@keyframes heroTitleSequence {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(10px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(25px) scale(0.95);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Card Reveal Sequence */
@keyframes cardRevealSequence {
  0% {
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
    transform-origin: top;
  }
  50% {
    opacity: 0.5;
    transform: translateY(50px) rotateX(-45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Logo Animation Sequence */
@keyframes logoSequence {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  25% {
    opacity: 0.25;
    transform: scale(0.5) rotate(-90deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75) rotate(0deg);
  }
  75% {
    opacity: 0.75;
    transform: scale(1.1) rotate(90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Navigation Menu Sequence */
@keyframes navMenuSequence {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    transform: translateX(10%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===================================
   19. Performance Optimized Animations
   =================================== */

/* Use GPU acceleration for smooth animations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Optimize for mobile devices */
@media (max-width: 768px) {
  /* Reduce animation complexity on mobile */
  .animate-particleFloat,
  .animate-floatBubble,
  .animate-waveAnimation,
  .animate-parallaxFloat {
    animation: none;
  }
  
  /* Simplify animations */
  .animate-fadeInUp {
    animation: fadeIn 0.5s ease-out;
  }
  
  .animate-scaleInBounce {
    animation: scaleIn 0.3s ease-out;
  }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Disable all animations */
  .animate-fadeIn,
  .animate-fadeInUp,
  .animate-fadeInDown,
  .animate-fadeInLeft,
  .animate-fadeInRight,
  .animate-scaleIn,
  .animate-bounce,
  .animate-pulse,
  .animate-shake,
  .animate-spin,
  .animate-gradientShift,
  .animate-particleFloat,
  .animate-typewriter,
  .animate-countUp {
    animation: none !important;
  }
}

/* ===================================
   20. Interactive Animation States
   =================================== */

/* Pause animations on hover */
.pause-on-hover:hover {
  animation-play-state: paused;
}

/* Play animation only on hover */
.play-on-hover {
  animation-play-state: paused;
}

.play-on-hover:hover {
  animation-play-state: running;
}

/* Reverse animation on hover */
.reverse-on-hover:hover {
  animation-direction: reverse;
}

/* Speed up animation on hover */
.speed-up-on-hover {
  animation-duration: 2s;
}

.speed-up-on-hover:hover {
  animation-duration: 0.5s;
}

/* ===================================
   21. Custom Cursor Animations
   =================================== */

@keyframes cursorBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

@keyframes cursorExpand {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Custom cursor styles */
.cursor-pointer {
  cursor: pointer;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing:active {
  cursor: grabbing;
}

.cursor-wait {
  cursor: wait;
}

.cursor-zoom-in {
  cursor: zoom-in;
}

.cursor-zoom-out {
  cursor: zoom-out;
}

/* ===================================
   22. Page Transition Animations
   =================================== */

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

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

@keyframes pageFadeTransition {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* Page transition classes */
.page-enter {
  animation: pageEnter 0.5s ease-out forwards;
}

.page-exit {
  animation: pageExit 0.5s ease-in forwards;
}

.page-fade-transition {
  animation: pageFadeTransition 0.8s ease-out forwards;
}

/* ===================================
   23. Advanced Hover Effects
   =================================== */

/* 3D Hover Effects */
.hover-3d {
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
}

.hover-3d:hover {
  transform: perspective(1000px) rotateY(10deg) rotateX(10deg) translateZ(50px);
}

/* Magnetic Hover Effect */
.hover-magnetic {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Liquid Hover Effect */
.hover-liquid {
  position: relative;
  overflow: hidden;
}

.hover-liquid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(68, 162, 57, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hover-liquid:hover::before {
  width: 300%;
  height: 300%;
}

/* ===================================
   24. Success Animation for Forms
   =================================== */

@keyframes successCheckmark {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes successCircle {
  0% {
    stroke-dashoffset: 280;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.success-animation {
  animation: scaleInBounce 0.5s ease-out;
}

.success-checkmark {
  stroke-dasharray: 100;
  animation: successCheckmark 0.5s ease-out 0.3s forwards;
}

.success-circle {
  stroke-dasharray: 280;
  animation: successCircle 0.5s ease-out forwards;
}