@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1a202c;
    color: white;
    padding: 1rem;
}

/* Header para pantallas grandes */
.header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-desktop .logo-link {
    position: absolute;
    top: 10px; /* Ajusta este valor para bajar el logo */
    left: 20px;
}

.header-desktop .logo {
    height: 100px; /* Aumenta el tamaño del logo */
}

.header-desktop .logo-nav-container {
    display: flex;
    align-items: center;
    margin-left: 140px; /* Ajusta este valor según sea necesario para el espaciado */
    flex-grow: 1;
}

.header-desktop .nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

.header-desktop .nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.header-desktop .nav-list li {
    display: inline;
    position: relative;
}

.header-desktop .nav-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px; /* Ajusta la distancia horizontal del separador */
    transform: translateY(-50%);
    width: 1px;
    height: 20px; /* Ajusta la altura del separador */
    background-color: #38a169; /* Color del separador */
}

.header-desktop .nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.header-desktop .nav-list a:hover {
    color: #a0aec0;
}

.header-desktop .btn-success {
    background-color: #38a169; /* Color de fondo del botón */
    border-color: #38a169; /* Borde del botón */
    color: white;
    margin-left: 20px; /* Añade margen izquierdo para separar el botón del menú */
}

/* Header para dispositivos móviles */
.header-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
}

.header-mobile .logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-mobile .logo {
    height: 60px; /* Ajusta el tamaño del logo para móviles */
}

.header-mobile .menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.header-mobile .nav-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #1a202c;
    width: 100%;
}

.header-mobile .nav-mobile .nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0;
}

.header-mobile .nav-mobile .nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.header-mobile .nav-mobile .nav-list a:hover {
    color: #a0aec0;
}

.header-mobile .nav-mobile .btn-success {
    width: 100%;
    text-align: center;
}

/* Mostrar/ocultar headers según el tamaño de la pantalla */
@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: flex;
    }
    .header-mobile .nav-mobile {
        display: flex;
    }
}

@media (min-width: 769px) {
    .header-desktop {
        display: flex;
    }
    .header-mobile {
        display: none;
    }
}

/* Otros estilos... */

.hero-section {
    position: relative;
    text-align: center;
    color: white;
}

.hero-image-container {
    position: relative;
    min-height: 400px; /* Ajusta la altura mínima según sea necesario */
}

.hero-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(57, 94, 76, 0.7)); /* Degradado */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra */
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Asegura que la imagen también tenga bordes redondeados */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem;
    box-sizing: border-box;
    z-index: 2; /* Asegura que el texto esté por encima de la máscara */
    color: #ffffff; /* Color del texto */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra del texto */
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.5rem;
    margin: 0;
    color: #38a169; /* Color verde */
}

.hero-subtext {
    color: #38a169; /* Color verde */
}

section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.about-section,
.iot-section,
.clients-section,
.efficiency-section {
    background-color: #f7fafc;
}

.services-section,
.technologies-section,
.contact-section {
    background-color: white;
}

.services-container,
.technologies-container,
.iot-container,
.efficiency-container,
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service,
.technology,
.iot,
.efficiency {
    text-align: center;
    max-width: 300px;
    cursor: pointer;
}

.service i,
.technology i,
.iot i,
.efficiency i {
    font-size: 3rem;
    color: #38a169;
    margin-bottom: 1rem;
}

.clients-logos .client-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin: 1rem;
}

form {
    flex: 1 1 300px;
    max-width: 600px;
    margin: 0; /* Asegura que no haya margen alrededor del formulario */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.25rem;
}

.form-group textarea {
    height: 150px; /* Aumenta el tamaño del campo de mensaje */
}

button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #38a169;
    color: white;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #2f855a;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra el contenido */
    align-items: flex-start; /* Alinea los elementos al inicio */
    gap: 0.5rem; /* Reduce aún más el espacio entre los elementos */
    text-align: center; /* Centra el texto */
    max-width: 800px; /* Reducir el tamaño máximo del contenedor */
    margin: 0 auto; /* Centrar el contenedor */
}

.contact-info {
    flex: 1 1 300px;
    padding: 1rem;
    box-sizing: border-box;
    margin: 0; /* Asegura que no haya margen alrededor de la información de contacto */
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #1a202c;
}

.contact-info .office {
    margin-bottom: 1rem;
}

.contact-info .office h4 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.contact-info .office p {
    margin: 0.25rem 0;
    color: #4a5568;
}

footer {
    background-color: #1a202c;
    color: white;
    padding: 1rem;
    text-align: center;
}

.social-media {
    margin-top: 1rem;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
}

.social-media a:hover {
    color: #a0aec0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-section {
    margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo {
        height: 80px; /* Reduce el tamaño del logo en pantallas más pequeñas */
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-list li {
        display: block;
    }

    .nav-list li:not(:last-child)::after {
        display: none; /* Elimina los separadores en pantallas más pequeñas */
    }

    .logo-nav-container {
        margin-left: 0;
        justify-content: center; /* Centra el contenido en dispositivos móviles */
    }

    .btn-success {
        margin-top: 1rem;
        margin-left: 0; /* Elimina el margen izquierdo en dispositivos móviles */
        width: 100%; /* Hacer que el botón ocupe todo el ancho disponible */
        max-width: 200px; /* Ajustar el ancho máximo del botón */
        align-self: center; /* Centra el botón en dispositivos móviles */
    }

    .services-container,
    .technologies-container,
    .iot-container,
    .efficiency-container,
    .clients-logos {
        flex-direction: column;
    }

    .service,
    .technology,
    .iot,
    .efficiency,
    .client-logo {
        width: 100%;
        max-width: none;
    }

    .contact-container {
        flex-direction: column;
        text-align: center; /* Centra el texto en dispositivos móviles */
    }

    .contact-info {
        max-width: none;
        width: 100%;
    }

    .hero-image-container {
        min-height: 500px; /* Aumenta la altura mínima en dispositivos móviles */
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text {
        padding: 0 1rem;
    }

    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .btn-success {
        width: 100%; /* Hacer que el botón ocupe todo el ancho disponible */
        max-width: 200px; /* Ajustar el ancho máximo del botón */
    }

    .hero-image-container {
        min-height: 600px; /* Aumenta la altura mínima en pantallas más pequeñas */
    }
}

.nav-mobile.show {
    display: flex;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: none; /* Oculto por defecto */
}

.cookie-banner-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cookie-banner-content p {
    flex: 1;
    margin: 0;
    padding: 0 1rem;
}

.cookie-banner-content a {
    color: #38a169;
    text-decoration: underline;
}

.cookie-banner-content .btn {
    margin-left: 1rem;
    background-color: #38a169;
    border-color: #38a169;
    color: white;
}

.cookie-banner-content .btn:hover {
    background-color: #2f855a;
    border-color: #2f855a;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1a202c;
    color: white;
    padding: 1rem;
}

.header .logo-link {
    position: absolute;
    top: 10px;
    left: 20px;
}

.header .logo {
    height: 100px;
}

.header .logo-nav-container {
    display: flex;
    align-items: center;
    margin-left: 140px;
    flex-grow: 1;
}

.header .nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

.header .nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.header .nav-list li {
    display: inline;
    position: relative;
}

.header .nav-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #38a169;
}

.header .nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.header .nav-list a:hover {
    color: #a0aec0;
}

.header .btn-success {
    background-color: #38a169;
    border-color: #38a169;
    color: white;
    margin-left: 20px;
}

main {
    padding: 2rem 1rem;
    background-color: #f7fafc;
}

.privacy-policy-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.privacy-policy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

.privacy-policy-section h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-top: 1.5rem;
}

.privacy-policy-section p, 
.privacy-policy-section ul, 
.privacy-policy-section address {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-policy-section ul {
    list-style: disc;
    margin-left: 2rem;
}

.privacy-policy-section address {
    font-style: normal;
}

footer {
    background-color: #1a202c;
    color: white;
    padding: 1rem;
    text-align: center;
}

footer .social-media {
    margin-top: 1rem;
}

footer .social-media a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
}

footer .social-media a:hover {
    color: #a0aec0;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo {
        height: 80px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-nav-container {
        margin-left: 0;
        justify-content: center;
    }

    .btn-success {
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
        align-self: center;
    }

    .privacy-policy-section {
        padding: 1rem;
    }

    .privacy-policy-section h2 {
        font-size: 2rem;
    }

    .privacy-policy-section h3 {
        font-size: 1.2rem;
    }

    .privacy-policy-section p, 
    .privacy-policy-section ul, 
    .privacy-policy-section address {
        font-size: 1rem;
    }
}
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-color: #f7fafc;
}

.login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.25rem;
}

.btn-success {
    background-color: #38a169;
    border-color: #38a169;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-success:hover {
    background-color: #2f855a;
}

.form-footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4a5568;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
