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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 230, 118, 0.4);
  }
}

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

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

@keyframes blink {
  0%, 100% {
    border-right-color: var(--verde-neon);
  }
  50% {
    border-right-color: transparent;
  }
}

.glow-anim {
  animation: glow 3s infinite;
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--verde-neon);
  animation: typewriter 2s steps(30) 1s forwards, blink 0.8s step-end infinite;
  max-width: 0;
}

/* Service card stagger */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.4s; }

/* Gallery stagger */
.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.15s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.2s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.25s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.3s; }
.gallery-grid .gallery-item:nth-child(7) { transition-delay: 0.35s; }
.gallery-grid .gallery-item:nth-child(8) { transition-delay: 0.4s; }
