@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

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

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-slide-up {
  animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.loader {
  border: 4px solid rgba(14, 15, 94, 0.1);
  border-radius: 50%;
  border-top: 4px solid #0E0F5E;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
}

/* Card styles */
.card-container {
  perspective: 1000px;
}

.card {
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(14, 15, 94, 0.15);
}

/* Button styles */
.btn-primary {
  background-color: #0E0F5E;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0a0b4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 15, 94, 0.3);
}

/* Input focus */
.input-field:focus {
  border-color: #0E0F5E;
  box-shadow: 0 0 0 3px rgba(14, 15, 94, 0.2);
}

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

/* Background styles */
body {
  background-image: url('img/fondo_web.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Enhance card visibility against the background */
.bg-white {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

/* Footer transparency */
/* Footer styles */
footer {
  background-color: #0E0F5E !important;
  backdrop-filter: blur(5px);
  box-shadow: 0 -4px 12px rgba(14, 15, 94, 0.2);
  transition: all 0.3s ease;
}

footer:hover {
  background-color: #0a0b4a !important;
}

footer .container {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}