/* Contact page-only styles */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hover-lift:hover,
.hover-lift:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift {
    transition: none;
  }
  .hover-lift:hover,
  .hover-lift:focus-within {
    transform: none;
  }
}

.gradient-border {
  position: relative;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(45deg, #0000ff, #00d4ff) border-box;
  border: 2px solid transparent;
}

.dark .gradient-border {
  background: linear-gradient(#15152e, #15152e) padding-box,
    linear-gradient(45deg, #0000ff, #00d4ff) border-box;
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid #0000ff;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out both;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out both;
}

.animate-slide-down {
  animation: slideDown 0.6s ease-out both;
}

.animate-pulse-slow {
  animation: pulse 3s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

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

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

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

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

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

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #0000ff;
  }
}
