/* Estilo general */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fbfc;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

/* Grid responsive */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Imagen */
.icono-img {
  max-height: 80px;
  margin: 0 auto;
  display: block;
  padding: 30px;
  background-color: #e8f3fb;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Card efecto hover completo */
.card.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 100%;
}

.card.hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card.hover-effect h3 {
  color: #003c63;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 10px 5px;
}

.card.hover-effect p {
  text-align: center;
  font-size: 0.95rem;
  color: #333;
  padding: 0 20px 30px;
  margin: 0;
}

/* Scroll animation */
.card.oculto {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: #003c63;
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 60px;
}

footer a {
  color: #80d3ff;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
