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

/* Estilo de los iconos dentro del submenú */
.submenu a i {
  margin-right: 8px;            /* Espacio entre el icono y el texto */
}

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

.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 {
            display: flex;
            flex-direction: row;
            height: 100vh;
            position: relative;
        }

        .banner .image {
            flex: 1;
            background: url('https://i.postimg.cc/bJnZjDqQ/Vision3.jpg') no-repeat center center/cover;
            position: relative;
        }

        .banner .image:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 0;
        }

        .banner .blue-block {
            flex: 1;
            background-color: #1a5276;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            z-index: 1;
            position: relative;
        }

        .blue-block h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .blue-block .separator-1 {
            width: 80%;
            height: 2px;
            background-color: white;
            margin: 20px 0;
        }

        .blue-block .logo {
            width: 140px;
        }

        .scroll-button {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background-color: #f4f4f4;
            border: none;
            border-radius: 10px 10px 0 0;
            width: 150px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-button:hover {
            background-color: transparent;
            border: 2px solid white;
        }

        .scroll-button i {
            border: solid black;
            border-width: 0 2px 2px 0;
            display: inline-block;
            padding: 10px;
            transform: rotate(45deg);
            transition: all 0.3s ease;
        }

        .scroll-button:hover i {
            border-color: white;
        }

        @media (max-width: 768px) {
            .banner {
                flex-direction: column;

            }

            .banner .image {
                flex: none;
                width: 100%;
                height: 100%;

            }

            .banner .blue-block {

                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                z-index: 1;
            }
        }

        .content {
            height: 800px;
            background: #f4f4f4;
          
        }
      
      .container {
        
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
             margin: 0 auto; /* Centra el contenedor horizontalmente */
    margin-top: 100px; /* Ajusta el valor según tus necesidades */
    padding-top: 70px; 
        
        }

        .block {
            padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
  
        }

        .block:first-child {
            background-color: #fbfcfc;
            color: #2874a6;
            flex: 1;
        }

        .block:nth-child(2) {
            background-color: #fbfcfc;
            color: #2874a6;
            flex: 1;
        }

        .block:nth-child(3) {
            background-color: #fbfcfc;
            color: #2874a6;
            flex: 1 1 100%;
        }

        .separator {
            border-bottom: 2px solid rgba(0, 104, 178, 0.5);
            width: 75%;
        }

      
        .button {
            display: block;
            margin: 20px auto 0;
            padding: 10px 20px;
            text-decoration: none;
            border: transparent;
            background-color: #2874a6;
            color: #fff;
            border-radius: 4px;
            font-weight: bold;
            text-align: center;
            transition: all 0.3s ease;
        }

        .button:hover {
            border: 2px solid #333;
            background-color: transparent;
            color: #2874a6;
            border-color: #2874a6;
        }

        .active-service {
            color: #2e86c1;
            font-weight: bold;
        }
      
      .block strong {
    font-size: 1.3rem; /* Tamaño de fuente más grande */
    font-weight: bold;
}
     
 .block ul {
    margin-left: 20px; /* Ajuste para mover ligeramente a la derecha */
}

.block ul li {
    margin-bottom: 10px;
}

        .table {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 10px;
        }

        .table div {
            padding: 10px;
            background-color: #f1f1f1;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .table .header-cell {
            font-weight: bold;
            background-color: #d6eaf8;
            color: #2874a6;
        }

        @media (max-width: 800px) {
          
          .content {
            height: 1300px;
            background: #f4f4f4;
        }
            .container {
                flex-direction: column; /* Cambiar flex-direction a column para que los bloques se apilen verticalmente */
            }
            .block {
                flex-basis: 100%; /* Asegura que cada bloque ocupe el 100% del ancho */
            }
        }