html, body {
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
    width: 100%; /* Asegura que no crezca más allá del viewport */
}

nav {
    display: flex;
    gap: 20px;  /* Espacio entre los elementos del menú */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #FFD700;
}
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 10px;
}
.nav a:hover {
    color: #FFD700;
}
.logo img {
    width: 100%;
    height: 50px;
    border-radius: 7px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
}


.logo img {
    width: 100%;
    height: 50px;
    border-radius: 7px;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
}
header {
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    box-sizing: border-box;  /* Evita que el padding aumente el tamaño */
    overflow: hidden;        /* Previene que los elementos internos lo desborden */
}

body {
    margin: 0;        /* Elimina márgenes que puedan afectar el diseño */
    padding-top: 80px; /* Evita que el contenido quede oculto debajo del menú */
}



.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 6px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 20px;
}


.intro img {
    width: 200px;
    height: 200px;
    border-radius: 10px;

    transition: transform 0.3s ease-in-out;
}

.intro img:hover {
    transform: scale(1.1);
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    position: relative;
    bottom: 0;
    width: 100%;
}
.mision-vision {
    background-color: #e0e0e0; /* Fondo gris claro */
    padding: 30px;
    border-radius: 10px;
    margin: 40px auto;
    width: 80%;
}

.contenedor  {
    display: flex; /* Mision y vision*/
    justify-content: space-between;
    gap: 20px;
}

.mision, .vision {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 48%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.mision:hover, .vision:hover {
    transform: scale(1.05);
}

h3 {
    font-style: italic;
    border: 2px solid black;
    padding: 5px;
    text-align: center;
}
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;  /* Se mantiene por encima de todo */
}

.whatsapp img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;  /* Indica que es clickeable */
}

.whatsapp img:hover {
    transform: scale(1.2);
}

.sedes-mapa {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Hace que ambos contenedores tengan la misma altura */
    padding: 40px;
    gap: 30px;
    flex-wrap: wrap;
}

.sedes, .mapa {
    flex: 1; /* Ambos ocupan el mismo ancho */
    max-width: 600px; /* Limita el tamaño para que no crezca demasiado en pantallas grandes */
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alinea el contenido verticalmente */
    transition: transform 0.3s ease-in-out;
}

.sedes:hover {
    transform: scale(1.02);
}

.sedes h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #081420;
}

.sedes ul {
    list-style-type: none;
    padding: 0;
    flex-grow: 1; /* Permite que la lista ocupe todo el espacio disponible */
}

.sedes li {
    font-size: 18px;
    padding: 8px;
    border-bottom: 1px solid #000000;
    transition: color 0.3s ease-in-out;
}

.sedes li:hover {
    color: #1a0d8a;
    cursor: pointer;
}

.mapa {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mapa iframe {
    width: 100%;
    height: 100%; /* Ocupa toda la altura del contenedor */
    border-radius: 15px;
}

@media (max-width: 768px) {
    .sedes-mapa {
        flex-direction: column;
        align-items: center;
    }
    
    .sedes, .mapa {
        width: 90%;
        max-width: none;
    }

    .mapa iframe {
        height: 400px; /* Altura fija en móviles */
    }
}
footer {
    background-color: #003366; /* Color oscuro */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 800px;
    margin: auto;
}

.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-section hr {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.brand-section h2 {
    font-size: 20px;
    margin: 10px 0 5px;
}

.brand-section p {
    font-size: 14px;
    opacity: 0.8;
}

.legal-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.legal-section a:hover {
    text-decoration: underline;
}
.container {
    text-align: center;
    padding: 15px;
}
.container .fleet-title {
    justify-content: center;
    text-align: center;
    display: flex;
}
.container h3 {
    text-align: center;
    display: flex;
    justify-content: center;
}




.fleet-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
}

.fleet-item p {
    font-size: 14px;
    color: #555;
}
.fleet-title {
    background: #ffffff; 
    color: #000; 
    padding: 5px;
    border-radius: 5px;
    font-style: italic;
    display: inline-block;
    width: 100%; 
    justify-content: center;
    text-align: center;
}
body {
    font-family: 'Poppins', sans-serif;
    color: black;
    
}
body h2 {
    font-weight: 6000; /* Hace los títulos más llamativos */
    font-size: 2.2em;
}

.footer-container h2 {
    font-weight: 600; /* Hace los títulos más llamativos */
    font-size: 1.2em;
}
.footer-container p, 
.footer-container a {
    font-weight: 300; /* Hace los textos más ligeros */
    font-size: 1em;
}
.footer-container {
    font-family: 'Poppins', sans-serif;
    color: white; /* Mantén el contraste con el fondo */
}
.fleet-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.fleet-item-firstf {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 4px solid #fbff00; 
    justify-content: center;
    margin: 15px;
}
.fleet-item-firstff {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #12e43f; 
    margin: 15px;
}
.fleet-item-firstfff {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #181086; 
    margin: 15px;
}
.fleet-item-seconds {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 4px solid #fbff00b9; 
    margin: 15px;
}
.fleet-item-secondss {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #12e4407e; 
    margin: 15px;
}
.fleet-item-secondsss {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #1810867c; 
    margin: 15px;
}
.fleet-item-thirdt {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 4px solid #fbff004f; 
    margin: 15px;
}
.fleet-item-thirdtt {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #12e44034; 
    margin: 15px;
}
.fleet-item-thirdttt {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    border: 2px solid rgba(0, 26, 255, 0.151);
    margin: 15px;
}

.fleet-item-firstf {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-firstf h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-firstf p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}

.fleet-item-firstff {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-firstff h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-firstff p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}

.fleet-item-firstfff {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-firstfff h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-firstfff p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}

.fleet-item-seconds {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-seconds h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-seconds p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}

.fleet-item-secondss {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-secondss h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-secondss p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}
.fleet-item-secondsss {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-secondsss h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-secondsss p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}
.fleet-item-thirdt {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-thirdt h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-thirdt p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}
.fleet-item-thirdtt {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-thirdtt h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-thirdtt p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}
.fleet-item-thirdttt {
    position: relative;
    padding-top: 50px; /* Aumentamos el espacio entre el título y el texto */
}

.fleet-item-thirdttt h3 {
    font-weight: bold;
    font-style: italic;
    border: 2px solid black;
    padding: 8px 1px;
    display: inline-block;
    text-align: center;
    background: white;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    width: 90%;
}

.fleet-item-thirdttt p {
    margin-top: 20px; /* Agrega espacio entre el título y el texto */
}
.flota {
    margin: 55px;
    height: auto;
    display: inline-block;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
  }
  
  /* Contenedor del contenido del modal */
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px; /* límite de ancho */
    max-height: 80vh; /* límite de alto relativo a la ventana */
    overflow-y: auto; /* activa scroll vertical cuando sea necesario */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
  }
  
  /* Botón de cerrar */
  .modal-content .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }
  .modal-content h2 {
    color: #003366;
  }
  .modal-content p {
    color: black;
  }
  .modal-content .close:hover {
    color: #003366;
  }
  .modal-content::-webkit-scrollbar {
    display: none;
  }