header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8); /* Color de fondo blanco transparente */
    border-bottom: 4px solid #08266c; /* Orilla color azul */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para el header */
    border-radius: 16px; /* Ajusta el valor según el redondeo deseado */
    padding: 15px 30px; /* Aumenta el padding para hacer el contenedor más grande */
    height: 100px; /* Ajusta la altura del contenedor según sea necesario */
}

.fixed-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
}

/* Estilo para centrar el contenido de .nav-links y alinearlo a la derecha */
.nav-links {
    display: flex;
    justify-content: flex-end; /* Alinea los enlaces a la derecha */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

/* Estilo para centrar los enlaces verticalmente */
.nav-links li {
    margin: 0 15px;
}

/* Estilo para los enlaces */
.nav-links a {
    display: block;
    text-decoration: none;
    color: #020940f6; /* Color del texto de los enlaces */
    font-weight: 250;
    padding: 16px 15px; /* Aumenta el padding para bajar el texto */
    font-family: 'Baloo 2', sans-serif; /* Fuente redondeada y negrita */
    font-weight: 700; /* Negritas */
    border-radius: 8px; /* Bordes redondeados */
    padding: 5px; /* Añade un poco de padding para que los bordes redondeados sean visibles */
    text-decoration: none; /* Opcional: elimina el subrayado de los enlaces */
    font-size: 20px; /* Aumenta el tamaño de la fuente */
    letter-spacing: 0.5px; /* Espaciado entre letras */
    text-transform: uppercase; /* Texto en mayúsculas */
    position: relative;
    text-align: center; /* Centra el texto en los enlaces */
    line-height: 1.5; /* Ajusta la altura de línea para centrar el texto verticalmente */
    transition: background 0.3s, color 0.3s, text-shadow 0.3s;
}


/* Estilo para los enlaces al pasar el ratón */
.nav-links a:hover {
    background: #04124de5; /* Color de fondo al pasar el ratón */
    color: #fff; /* Color del texto al pasar el ratón */
    border-radius: 5px; /* Bordes redondeados */
}

/* Estilo para las líneas decorativas en los enlaces */
.nav-links a::before, .nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #08266c; /* Color de las líneas */
    transition: width 0.3s, left 0.3s;
}

.nav-links a::before {
    bottom: -5px; /* Ajusta la posición de la primera línea */
}

.nav-links a::after {
    bottom: -8px; /* Ajusta la posición de la segunda línea */
}

/* Estilo para las líneas al seleccionar o al pasar el ratón */
.nav-links a:active::before, .nav-links a:active::after,
.nav-links a:hover::before, .nav-links a:hover::after {
    width: 80%; /* Ancho de las líneas al seleccionar o al pasar el ratón */
    left: 10%;
}


.logo {
    display: flex;
    align-items: center; /* Centra la imagen verticalmente */
    width: auto; /* Ajusta el ancho del contenedor según sea necesario */
    height: 100%; /* Asegura que ocupe toda la altura del header */
    margin-right: auto; /* Empuja la imagen hacia la esquina izquierda */
}

.logo img {
    width: 100px; /* Ajusta el ancho de la imagen */
    background: none; /* Elimina cualquier fondo */
    margin: 0; /* Ajusta el margen según sea necesario */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .fixed-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}
.logo img {
    width: 100px; /* Ajusta el ancho de la imagen */
    background: none; /* Elimina cualquier fondo */
    margin: 0; /* Ajusta el margen según sea necesario */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 780px; /* Altura del contenedor de video */
    overflow: hidden;
    margin-top: 10px;
}

.video-container video {
    width: 100%;
    height: 100%; /* Ajusta la altura del video al contenedor */
    object-fit: cover;
    display: block; /* Elimina el espacio adicional debajo del video */
    margin: 0 auto; /* Centra el video horizontalmente */
    border-radius: 8px; /* Bordes redondeados */
}

footer {
    background-color: #020422;
    color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.562);
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-content .logo img {
    max-width: 150px;
    border-radius: 50%;
}

.footer-content .location {
    flex: 1;
    min-width: 300px;
}

.footer-content .location h3,
.footer-content .location p {
    color: #ffffffaf;
}

.footer-content .map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.social-icons h3 {
    color: #ffffff;
}

.social-icons a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.social-icons a.facebook {
    background-color: #3b5998;
}

.social-icons a.whatsapp {
    background-color: #25D366;
}

.social-icons a:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.footer-bottom p {
    text-align: center;
    color: #ffffff;
}

.footer-content .location h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #ffffffaf; /* Línea decorativa */
    padding-bottom: 5px; /* Espaciado debajo del texto */
}

.footer-content .location p {
    font-size: 1em;
    margin-bottom: 10px;
    color: #ffffffaf;
    line-height: 1.5;
    text-align: justify;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    .fixed-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .video-container {
        height: 50vh; /* Reduce la altura del video en pantallas pequeñas */
    }

    footer {
        padding: 10px;
    }
}

body{
    background-color: #0e2a6d;
}
header {
    width: 95%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8); /* Color de fondo blanco transparente */
    border-bottom: 4px solid #08266c; /* Orilla color azul */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra para el header */
    border-radius: 16px; /* Ajusta el valor según el redondeo deseado */
    padding: 15px 30px; /* Aumenta el padding para hacer el contenedor más grande */
    height: 100px; /* Ajusta la altura del contenedor según sea necesario */
}

.fixed-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
}

/* Estilo para centrar el contenido de .nav-links y alinearlo a la derecha */
.nav-links {
    display: flex;
    justify-content: flex-end; /* Alinea los enlaces a la derecha */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

/* Estilo para centrar los enlaces verticalmente */
.nav-links li {
    margin: 0 15px;
}

/* Estilo para los enlaces */
.nav-links a {
    display: block;
    text-decoration: none;
    color: #020940f6; /* Color del texto de los enlaces */
    font-weight: 250;
    padding: 16px 15px; /* Aumenta el padding para bajar el texto */
    font-family: 'Baloo 2', sans-serif; /* Fuente redondeada y negrita */
    font-weight: 700; /* Negritas */
    border-radius: 8px; /* Bordes redondeados */
    padding: 5px; /* Añade un poco de padding para que los bordes redondeados sean visibles */
    text-decoration: none; /* Opcional: elimina el subrayado de los enlaces */
    font-size: 20px; /* Aumenta el tamaño de la fuente */
    letter-spacing: 0.5px; /* Espaciado entre letras */
    text-transform: uppercase; /* Texto en mayúsculas */
    position: relative;
    text-align: center; /* Centra el texto en los enlaces */
    line-height: 1.5; /* Ajusta la altura de línea para centrar el texto verticalmente */
    transition: background 0.3s, color 0.3s, text-shadow 0.3s;
}


/* Estilo para los enlaces al pasar el ratón */
.nav-links a:hover {
    background: #04124de5; /* Color de fondo al pasar el ratón */
    color: #fff; /* Color del texto al pasar el ratón */
    border-radius: 5px; /* Bordes redondeados */
}

/* Estilo para las líneas decorativas en los enlaces */
.nav-links a::before, .nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #08266c; /* Color de las líneas */
    transition: width 0.3s, left 0.3s;
}

.nav-links a::before {
    bottom: -5px; /* Ajusta la posición de la primera línea */
}

.nav-links a::after {
    bottom: -8px; /* Ajusta la posición de la segunda línea */
}

/* Estilo para las líneas al seleccionar o al pasar el ratón */
.nav-links a:active::before, .nav-links a:active::after,
.nav-links a:hover::before, .nav-links a:hover::after {
    width: 80%; /* Ancho de las líneas al seleccionar o al pasar el ratón */
    left: 10%;
}


.logo {
    display: flex;
    align-items: center; /* Centra la imagen verticalmente */
    width: auto; /* Ajusta el ancho del contenedor según sea necesario */
    height: 100%; /* Asegura que ocupe toda la altura del header */
    margin-right: auto; /* Empuja la imagen hacia la esquina izquierda */
}

.logo img {
    width: 100px; /* Ajusta el ancho de la imagen */
    background: none; /* Elimina cualquier fondo */
    margin: 0; /* Ajusta el margen según sea necesario */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .fixed-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}


.background-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 450px;
    display: block;
    opacity: 0.5; /* Ajusta la opacidad aquí */
    z-index: 1; /* Asegura que la imagen esté en el fondo */
}


.Nosotres {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(1, 3, 59);
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.Nosotres h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700; /* Negrita */
    color: #ffffff;
    box-shadow: 0 4px 8px rgb(255, 255, 255);
    font-weight: bold;
}

.service-grid {
    background-color: #fff;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan */
    justify-content: center;
    gap: 20px; /* Espacio entre elementos */
}

.service-grid {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('i5.jpeg'); /* Ruta a tu imagen */
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Ajusta la opacidad según tus necesidades */
    z-index: 1;
}

.service-section {
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    background-color: rgba(160, 162, 182, 0.554); /* Fondo blanco con transparencia */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2; /* Asegura que los elementos estén por encima del fondo */
}

.service-section h2 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.service-section h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: -1;
}

.service-info {
    display: block; /* Cambia a block para mostrar la información por defecto */
    margin-top: 15px;
    font-size: 16px;
    color: #000000;
    text-align: justify;
    transition: opacity 0.3s ease;
}

.service-info img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-section:hover img {
    transform: scale(1.05);
}

.service-section:hover h2 {
    color: #d4e0f7;
}




footer {
    background-color: #020422;
     color: #ffffff;
     padding: 20px;
     border-radius: 15px;
     width: 100%;
     box-shadow: 0 4px 8px rgba(255, 255, 255, 0.562);
     box-sizing: border-box;
 }
 
 .footer-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 20px;
     flex-wrap: wrap;
 }
 
 .footer-content .logo img {
     max-width: 150px;
     border-radius: 50%;
 }
 
 .footer-content .location {
     flex: 1;
     min-width: 300px;
 }
 
 .footer-content .location h3,
 .footer-content .location p {
     color: #ffffffaf;
 }
 
 .footer-content .map {
     width: 100%;
     height: 200px;
     border-radius: 10px;
 }
 
 .social-icons {
     display: flex;
     flex-direction: column;
     align-items: flex-start;
     gap: 10px;
 }
 
 .social-icons h3 {
     color: #ffffff;
 }
 
 .social-icons a {
     color: #ffffff;
     text-decoration: none;
     font-size: 1em;
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 10px 20px;
     border-radius: 30px;
     transition: background-color 0.3s;
 }
 
 .social-icons a.facebook {
     background-color: #3b5998;
 }
 
 .social-icons a.whatsapp {
     background-color: #25D366;
 }
 
 .social-icons a:hover {
     opacity: 0.8;
 }
 
 .footer-bottom {
     display: flex;
     justify-content: center;
     align-items: center;
     padding-top: 20px;
 }
 
 .footer-bottom p {
     text-align: center;
     color: #ffffff;
 }
 .footer-content .location h3 {
     font-size: 1.5em;
     margin-bottom: 10px;
     color: #ffffff;
     font-weight: bold;
     text-transform: uppercase;
     border-bottom: 2px solid #ffffffaf; /* Línea decorativa */
     padding-bottom: 5px; /* Espaciado debajo del texto */
 }
 
 .footer-content .location p {
     font-size: 1em;
     margin-bottom: 10px;
     color: #ffffffaf;
     line-height: 1.5;
     text-align: justify;
 }

 .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    text-align: center;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}
