.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease; /* suaviza el efecto */
}

.card:hover {
  transform: translateY(-10px) scale(1.03); /* se levanta un poco */
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);   /* sombra más marcada */
}

.navbar a {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeIn 0.5s forwards;
}

.navbar a:nth-child(1) { animation-delay: 0.2s; }
.navbar a:nth-child(2) { animation-delay: 0.4s; }
.navbar a:nth-child(3) { animation-delay: 0.6s; }
.navbar a:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}