body {
  background: linear-gradient(to right, #075786,#078640, #8ef14c);
  color: #333;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.25);
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.navbar .logo {
  width: 80px;
  height: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #075786;
}

/* Hero */
.hero {
  text-align: center;
  color: white;
  padding: 100px 20px;
  background: linear-gradient(to right, rgba(7,87,134,0.8), rgba(7,134,64,0.8)), url('../img/foto-cpem.jpg') center/cover no-repeat;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-primary-custom {
  background: #f9e547;
  color: #075786;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: #fff;
  color: #078640;
}

/* Secciones */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: aliceblue;
  margin-bottom: 20px;
}

.img-fluid {
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: rgba(255,255,255,0.15);
  color: #2b2a2a;
  text-align: center;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.social-links a {
  color: #fff;
  font-size: 2rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f9e547;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .navbar ul { justify-content: center; }
  .logo { width: 60px; }
}
