/* BODY */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f5;
}

/* NAVBAR (Bootstrap ya maneja responsiveness) */
.navbar {
  background-color: #1b7f5f !important; /* Verde institucional */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* HERO */
.hero {
  position: relative; /* Importante para overlay */
  background-image: url('https://picsum.photos/id/237/1200/600');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* overlay oscuro */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* Por encima del overlay */
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* SECCIÓN */
.section {
  padding: 60px 20px; /* padding adaptativo para móviles */
  background: white;
}

.section h2 {
  color: #1b7f5f;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.section p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* CARDS */
.row.g-4 .card {
  background: #ffffff;
  border-left: 5px solid #1b7f5f;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.row.g-4 .card:hover {
  transform: translateY(-5px);
}

.row.g-4 .card h3 {
  color: #1b7f5f;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #1b7f5f;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}
