* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(1, 4, 64, 25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1a3a52;
}

header.scrolled .logo {
  color: #1a3a52;
}

nav a {
  color: white;
  margin-left: 30px;
  text-decoration: none;
  transition: color 0.3s;
}

header.scrolled nav a {
  color: #ffffff;
}

header.scrolled nav a:hover {
  color: #01BB4F;
}

nav a:hover {
  color: #01BB4F;
}

/* Hero Banner */
.hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  url(../assets/img/hero-banner.jpg) center/cover no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0 50px;
  color: white;
}

.hero-content {
  max-width: 600px;
  animation: aparecer 0.8s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  background: #01BB4F;
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #020F59;
  color: #ffffff;
}

/* Sabía qué Section */
.sabia-que {
  padding: 80px 50px;
  text-align: center;
  background: #020F59;
}

.sabia-que h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #04BF45;
}

.sabia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.sabia-item {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sabia-item:hover {
  background: #04BF45;
  color: white;
  transition: background-color 0.3s;
  transform: scale(1.05);
  h3 {
    color: #ffffff;
  }
}

.feature-item h3 {
  color: #113059;
  margin: 15px 0;
}

.circle-item {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  overflow: hidden;
  display: inline flow-root list-item;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.circle-item:hover {
  transform: translateY(-10px);
}

.circle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Misión y Valores */
.mision-valores {
  padding: 80px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.mision-valores h2 {
  color: #01BB4F;
  font-size: 32px;
  margin-bottom: 20px;
}

.mision-valores h3 {
  color: #03A678;
  margin-top: 30px;
  margin-bottom: 15px;
}

.mision-valores p {
  color: #555;
  line-height: 1.8;
}

/* Únete a Nuestro Equipo */
.equipo {
  padding: 80px 50px;
  background: #020F59;
}

.equipo h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #01BB4F;
}

.equipo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.equipo-list {
  list-style: none;
}

.equipo-list li {
  padding: 15px 0;
  padding-left: 30px;
  position: relative;
  color: #ffffff;
}

.equipo-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #01BB4F;
  font-weight: bold;
  font-size: 18px;
}

/* Contacto */
.contacto {
  padding: 80px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contacto-titulo {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 30px;
}

.contacto-titulo h2 {
  font-size: 36px;
  color: #01BB4F;
  margin-bottom: 10px;
}

.ubicacion h3,
.formulario h3 {
  color: #03A678;
  margin-bottom: 20px;
}

.ubicacion-info {
  background: #020F59;
  padding: 30px;
  border-radius: 5px;
  color: #ffffff;
}

.ubicacion-info p {
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #020F59;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 5px rgba(255, 152, 0, 0.3);
}

.submit-btn {
  background: #020F59;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: #01BB4F;
  color: #ffffff;
}

/* Footer */
footer {
  background: #1a3a52;
  color: white;
  text-align: center;
  padding: 30px 50px;
  margin-top: 50px;
}

footer p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero,
  .mision-valores,
  .equipo-container,
  .contacto {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  header {
    padding: 15px 20px;
  }

  nav a {
    margin-left: 15px;
    font-size: 14px;
  }

  .sabia-que,
  .equipo,
  .contacto {
    padding: 50px 20px;
  }
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}