/* BODY */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* NAVBAR (fijo y transparente al inicio) */
.navbar {
  background-color: rgba(27, 127, 95, 0.95) !important; /* Verde institucional */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.navbar-transparent {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 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;
}

/* STATS */
.stat-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid #1b7f5f;
}

.stat-number {
  color: #c0392b;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

.section-title {
  color: #1b7f5f;
  font-weight: 700;
  margin-bottom: 16px;
}

/* DONATION CTA */
.donation-cta {
  flex: 1 0 auto;
  background: linear-gradient(135deg, #1b7f5f 0%, #115c44 100%);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
}

.donation-cta h2 {
  font-weight: 800;
}

/* 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 {
  color: white;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}
