/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  header {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
  }
  
  header .logo img {
    height: 40px;
  }
  
  header .nav-links {
    display: flex;
    gap: 15px;
  }
  
  header .nav-links a {
    width: 100%;
    text-align: center;   
    text-decoration: none;
    color: black;
    font-size: 16px;
    background-color: white;
    margin: 5px;
    padding: 10px;
    transition: 0.3s;
  }

  .nav-links a i {
    margin-right: 2px; /* Espacio entre el icono y el texto */
  }
  
  header .nav-links a:hover {
    background-color: #5dade2;
    color: white;
  }
  
  .menu-toggle {
    position: relative;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: none;
  }
  
  .menu-toggle input {
    display: none;
  }
  
  .menu-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  .menu-toggle span:nth-of-type(1) {
    top: 0;
    transform-origin: left center;
  }
  
  .menu-toggle span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
  }
  
  .menu-toggle span:nth-of-type(3) {
    top: 100%;
    transform: translateY(-100%);
    transform-origin: left center;
  }
  
  .menu-toggle input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0;
  }
  
  .menu-toggle input:checked ~ span:nth-of-type(2) {
    opacity: 0;
    width: 0;
  }
  
  .menu-toggle input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
  }
  
  /* Menú móvil */
  .mobile-menu {
     z-index: 999;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .menu-toggle input:checked ~ .mobile-menu {
    visibility: visible;
    opacity: 1;
  }
  
  .mobile-menu a {
    text-decoration: none;
    font-size: 20px;
    color: black;
  }
  
  /* Submenú debajo de 'Inicio' */
  .submenu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    width: 200px;
    z-index: 100;
  }
  
  .submenu a {
    text-decoration: none;
    font-size: 16px;
    color: black;
    padding: 10px;
    display: block;
    background-color: white;
    transition: background-color 0.3s ease;
  }

  /* Estilo de los iconos dentro del submenú */
.submenu a i {
  margin-right: 8px;            /* Espacio entre el icono y el texto */
}
  
  .submenu a:hover {
    background-color: #5dade2;
    color: white;
  }
  
  /* Mostrar el submenú cuando se hace clic en "Inicio" */
  nav .menu-item:focus + .submenu,
  nav .menu-item:hover + .submenu {
    display: block;
  }
  
  /* Aseguramos que el contenido principal no tape el footer */
  main {
    flex-grow: 1;
    margin-bottom: 80px; /* Ajusta para dar espacio al footer fijo */
  }
  
  @media (max-width: 768px) {
    header .nav-links {
      display: none;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .mobile-menu {
      top: 0;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .banner {
              position: relative;
              background-image: url('https://i.postimg.cc/bJnZjDqQ/Vision3.jpg');
              background-size: cover;
              background-position: center;
              height: 350px;
          }
  
          .banner:before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0, 0, 0, 0.7);
              z-index: 0;
          }
  
          .banner-content {
              position: absolute;
              bottom: 50px;
              left: 50%;
              transform: translateX(-50%);
              margin: 0;
              padding: 10px 20px;
              z-index: 1;
              text-align: center;
              width: 80%;
          }
  
          .banner-content .title {
              display: block;
              font-size: 48px;
              color: #00bfff; /* Celeste */
          }
  
          .banner-content .subtitle {
              display: block;
              font-size: 18px;
              color: white;
          }
  
          .content {
              padding: 20px;
          }
  
          .search-section {
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-bottom: 20px;
          }
  
          .search-section h2 {
              margin: 0;
              font-size: 24px;
              color: #5dade2;
          }
  
          .search-section input[type="text"] {
              width: 300px;
              padding: 10px;
              font-size: 16px;
              border: 1px solid #5dade2;
              border-radius: 5px;
          }
  
          .divider {
              height: 1px;
              background-color: #5dade2;
              margin: 20px 0;
          }
  
          .person-cards {
              display: grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 20px;
          }
  
          .person-card {
              background-color: #fff;
              border: 1px solid #ddd;
              border-radius: 8px;
              padding: 20px;
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
              text-align: left;
              transition: all 0.3s ease;
          }
  
          .person-card h3 {
              font-size: 24px;
              margin-bottom: 15px;
              color: #007ACC; /* Celeste */
          }
  
          .person-card p {
              font-size: 20px;
              line-height: 1.6;
              color: #3498db;
          }
  
          .person-card:hover {
              background-color: #007ACC; /* Fondo azul */
              color: #fff; /* Cambia el texto a blanco */
          }
  
          .person-card:hover h3,
          .person-card:hover p {
              color: #fff; /* Asegura que tanto el título como el texto sean blancos */
          }
  
          @media (max-width: 1014px) {
              .search-section {
                  flex-direction: column;
                  align-items: flex-start;
              }
  
              .search-section input[type="text"] {
                  width: 100%;
                  margin-top: 10px;
              }
  
              .banner-content .title {
                  font-size: 40px;
              }
  
              .person-cards {
                  grid-template-columns: 1fr;
              }
          }