.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 220px;
  height: 160px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card .titulo {
  padding: 10px;
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 16px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
   color: #333; /* Color neutro elegante */
}

.card .body {
  padding: 12px;
  font-size: 14px;
  color: #555;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

.card .footer {
  height: 8px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: #565f86;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  background-color: #f5faff; /* Color suave al hacer hover */
}

.card:hover .titulo {
  background-color: #2a4b6e; /* Color azul al hacer hover */
  color: white;
}

.card:hover .footer {
  background-color: #557ca7;
}
