/* Estilos generales */
body {
    font-family: Open Sans, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    margin: auto;
}

/*********************************** Navbar ************************************/
nav {
    background-color: #6670f7;
    color: white;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav a.logo img {
    height: 55px;
    width: auto;
}

nav a.logo {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #0009;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
}

nav ul li a:hover{
    font-weight: bold;
}

.ImageLogo{
    width: 150px;
}

/* Icono del menú móvil */
#mobile_nav_bar {
    display: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 30px;
}

#mobile_nav_bar i{
    font-size: 22px;
    color: black;
    cursor: pointer;
}


/* Estilo para el menú móvil */
.mobile-menu {
    display: none;
    background-color: #6670f7;
    width: 100%;
    position: absolute;
    right: 0;
    text-align: center;
    padding: 2%;
    border-top: 3px solid #000000;
    transform: translateY(-100%);
    opacity: 0; 
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 1s ease-out; 
    z-index: 2;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    color: #ffffff;
    padding: 5px 5%;
    display: block;
}

/* Secciones */
section {
    padding: 60px 0;
}

h2 {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Gallery styles for images */
.gallery {
    display: flex;
    gap: 10px;
}

.gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.service-image, .modal-content {
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

.content-buton{
    text-align: center;
    margin-top: 20px;
}

.buton-inicio{
    display: inline-block;
    padding: 15px 40px;
    background-color: #6670f7;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 40px;
    box-shadow: 0 4px 6px rgba(206, 206, 206, 0.377);
    transition: transform 0.2s, box-shadow 0.2s;
}


/*********************** Sección Sobre Nosotros ************************/
#about {
    background-image: url('images/Nosotros.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Opacidad de 40% */
    z-index: 1;
}

#about .container {
    z-index: 2;
    text-align: center;
    color: white;
}

#about h2 {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 90px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-shadow: 0.08em 0.08em 0.26em rgba(0, 0, 0, 0.927);
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px; /* Altura de la línea */
    background-color: #6670f7;
}

#about p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-shadow: 0.08em 0.08em 0.26em rgba(0, 0, 0, 0.927);
}


/*********************** Sección Nosostros ************************/
#we {
    color: rgb(0, 0, 0);
    background-color:   rgb(245, 245, 245,1);
    padding: 50px 0;
}

#we h2 {
    font-size: 50px;
    font-weight: 700;
}

#we h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6670f7;
    margin-top: 10px;
}

#we p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
}

.we-list {
    list-style-type: decimal;
    font-size: 18px;
}

.we-list li {
    margin-bottom: 10px;
}


.containerwe {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    flex-wrap: nowrap;
}

.containerwe img {
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.51);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.navigation-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    z-index: 1;
}

.tab-button {
    background-color: white;
    color: #333;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: transparent;
    display: none;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #6670f7;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tab-button.active::after {
    display: block;
    background-color: #6670f7;
    color: white;
}

.tab-button svg{
    display: flex;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.content-section {
    display: none;
    width: 90%;
    max-width: 1000px;
    /*background-color: rgba(0, 0, 0, 0.51);  Contenedor casi transparente */
    padding: 60px;
    border-radius: 12px;
    /*box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); */
    display: flex;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    justify-content: space-between;
    align-items: flex-start;
}

.content-section.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.content-image-container {
    width: 40%;
    min-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-text h2 {
    font-size: 32px;
    margin-top: 0;
}

.content-text p {
    line-height: 1.6;
    font-size: 16px;
}

/*********************** Sección Servicios ************************/
#services {
    color: rgb(0, 0, 0);
    background-color:   rgb(245, 245, 245,1);
    padding: 50px 0;
}

.services-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#services h2 {
    font-size: 50px;
    font-weight: 700;
}

#services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6670f7;
    margin-top: 10px;
}

#services p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
}

.services-list {
    list-style-type: decimal;
    font-size: 18px;
}

.services-list li {
    margin-bottom: 10px;
}

.image-container {
    width: 40%;
}

/*********************** Sección Servicios ************************/
#experience{
    background-color: #f5f5f5;
    padding: 50px 0;
}

#experience h2 {
    color: #333;
    font-size: 50px;
    margin-bottom: 30px;
}

#experience h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6670f7;
    margin-top: 10px;
}

#experience p{
    color: #333;
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.experience-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.experience-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 23%;
}

.experience-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
}

/*********************** Sección Nuestros Clientes ************************/
#clients {
    background-color: #4b4b4b; 
    padding: 50px 0;
}

#clients h2 {
    color: white;
    font-size: 50px;
    margin-bottom: 30px;
}

#clients h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6670f7;
    margin-top: 10px;
}

.clients-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre las imágenes */
}

.client-image {
    width: 23%;
    height: auto;
}

.client-image img {
    width: 100%;
    height: auto;
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.client-image img:hover {
    transform: scale(1.05);
}

/*********************** Sección Contactos ************************/
#contact {
    background-color: #000000; 
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding: 80px 50px;
}

.contact-form-container {
    width: 50%;
    max-width: 600px;
    color: white;
}

.contact-form-container h2 {
    font-size: 50px;
    margin-bottom: 30px;
}

/* Estilos de la línea debajo del título */
.contact-form-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6670f7;
    margin-top: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    color: #c0c0c0;
    margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #6670f7;
    outline: none;
}

/*.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 10px;
}*/

/*.phone-input .country-code {
    color: #333;
    font-size: 16px;
    margin-right: 5px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}*/

.phone-input input {
    border: none;
    padding: 12px 0;
}

.checkbox-group {
    display: flex;
    gap: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 8px;
}

.submit-button {
    background-color: #6670f7; /* Amarillo */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: #2b36d7;
    transform: translateY(-2px);
}

/* Contenedor de preguntas frecuentes (FAQ) */
.faq-container {
    width: 50%;
    max-width: 600px;
    padding-top: 60px; /* Alinea con la línea amarilla del título */
    color: #333;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    cursor: pointer;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.faq-question p {
    margin: 0;
    line-height: 1.4;
}

.faq-icon {
    font-size: 24px;
    color: #6670f7;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg); /* Gira el ícono al estar activo */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    font-weight: normal;
    margin-top: 0;
    font-size: 14px;
    color: #666;
}

.faq-answer p {
    padding-top: 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Un valor alto para mostrar el contenido */
}

#contact p {
    font-family: 'Fira Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: white;
    margin: 10px 0;
}

#contact i {
    margin-right: 10px;
    color: white;
}

/*#contact ul {
    list-style: none;
    padding-left: 0;
}

#contact ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

#contact ul li a:hover {
    color: #007bff;
    text-decoration: underline;
}*/


/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    /* Mostrar el icono del menú móvil */
    #mobile_nav_bar {
        display: flex;
    }

    .mobile-menu.open {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    #about h2 {
        font-weight: 500;
        font-size: 50px;
        margin-bottom: 30px;
        position: relative;
    }

    #about p {
        font-size: 14px;
    }

        .navigation-tabs {
                gap: 4px;
        }

        .tab-button {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 10px;
        }

        .tab-button svg{
            display: none;
        }


    #we h2 {
        font-size: 25px;
        width: 100vh;
    }

    #we p{
        width: 50vh;
    }

    #we li{
        width: 50vh;
        font-size: 12px;
    }

    .containerwe img{
        display: none;
    }
    
    #services h2{
    font-size: 25px;
    }

    .services-list {
    font-size: 14px;
    }

    #clients h2{
    font-size: 25px;
    }

    #experience h2{
    font-size: 25px;    
    }

    #experience p{
        font-size: 14px;
    }

    .Trabajo4{
        display: none;
    }

    #contact p{
        font-size: 14px;
    }

    .contact-form-container h2 {
        font-size: 25px;
    }

    #contact ul li a{
        font-size: 14px;
    }

    footer p {
        font-size: 12px;
    }

    .content-section.active {
    flex-direction: column;
    flex-wrap: nowrap;
    }

    #Experiencia-Trabajo {
        display: none;
    }
}

/* Footer */
footer {
    background-color: #6670f7;
    color: white;
    padding: 2px 0;
    text-align: center;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('path/to/fira-sans.woff2') format('woff2'),
         url('path/to/fira-sans.woff') format('woff');
}
