/* Estilos Generales */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8fafc;
  color: #333;
}

/* Banner */
.banner {
  position: relative; /* Necesario para que los elementos dentro puedan usar z-index */
  background: url('banner.jpg') center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* Logo en primer plano */
.logo {
  position: absolute;
  top: 70px;  /* Mueve el logo 1 cm hacia arriba (aproximadamente 37px menos) */
  left: 195px;  /* Mueve el logo 5 cm a la derecha */
  z-index: 9999; /* Asegura que el logo esté en la capa más alta */
  width: 150px; /* Ajusta el tamaño del logo */
  height: auto; /* Mantiene la proporción del logo */
}

/* Overlay */
.banner .overlay {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 10px;
}

.banner h1 {
  font-size: 2.5rem;
  margin: 0;
}

.banner p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Estilos para los indicadores */
.indicadores {
  background-image: url("https://fcninosdejesus.org/resources/img/important/quienes-somos3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 1rem;
}

.indicadores .contenedor {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  flex: 1 1 280px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.valor {
  font-size: 3rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.unidad {
  font-size: 1.3rem;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 1rem;
}

.descripcion {
  font-size: 1rem;
  line-height: 1.4;
  color: #475569;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
