/* Sección body */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 170px;
}
/* Sección fin del body */


/* Sección header */
.texto-mobile {
  display: none;
}
.idioma-dropdown {
  position: relative;
  cursor: pointer;
}

.selector-idioma {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-idioma {
  position: absolute;
  top: 100%;
  left: 0;
  background: transparent;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 999;
}

.menu-idioma li {
  margin-top: 8px;
}

.menu-idioma li a {
  display: inline-block;
  padding: 3px 20px;
  background-color: #4a90e2; /* Azul claro */
  color: white;
  border-radius: 4px; /* Estilo de pill */
  text-decoration: none;
  font-size: 21px;
  font-weight: bold;
}

/* Ocultar por defecto */
.oculto {
  display: none;
}

.icono-idioma,
.flecha {
  height: 25px;
  margin: 0px;
  padding: 0px;
}
header {
    background-color: #fff;
    padding: 40px 0px 20px 0px;
    color: white;
    position:fixed;
    top: 0; /* Lo coloca en la parte superior */
    left: 0;
    width: 100%; /* Ocupa todo el ancho */
    z-index: 1000; /* Lo pone por encima del contenido */
    

}

html {
    scroll-behavior: smooth;
  }
header .container {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    display: flex;
}
header nav {
    flex-grow: 1;
    display: flex;
    justify-content: right;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding-right: 120px;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px; 
    font-size: 1.5rem; 
}

nav ul li a {
    color: #666;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease; 
}

nav ul li a:hover {
    color: black;
}

nav ul li:nth-child(2n) {
    color: #4CAF50; 
    font-weight: bold;
}


header img.logo {
    width: 300px; /* Ajusta el tamaño del logo */
    height: auto;
    margin-left: 140px;
}

@media (max-width: 1400px) {

    header img.logo {
        width: 250px; /* Ajusta el tamaño del logo */
        margin-left: 100px;
    }
}



/* Sección fin header */


/*Seccion después del header*/

.background-section {
    background-image: url('../img/Desktop/Hero.png');
    background-size: cover;
    height: 430px;
    display: flex;
    align-items: end;
    padding: 0px 0px 70px 0px ;
    position: relative;
    width: 100%;

    
}

.background-section .content {
    position: relative;
    color: white;
}

.background-section p {
    font-size: 35px;
    font-weight: 300;
    line-height: 1.3;
    text-align: justify;
    max-width: 630px;
    margin-left: 140px;
}

@media (max-width: 1400px) {
    .background-section {
        height: 350px;
    }

    .background-section p {
        font-size: 30px;
        margin-left: 100px;
    }
}

/*Fin de sección */

/*Inicio de la sección contacto*/

#contacto {
  scroll-margin-top: 140px;
  background-color: #e9ebed; /* Fondo gris claro */
}

.contacto-wrapper {
  padding: 40px 250px 40px 140px;
}

#contacto h4 {
  margin: 0px 0px 35px 0px;
  font-size: 30px;
  font-weight: 400;
  color: #093958;
}

.contacto-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contacto-item img {
  width: 30px;
}

.contacto-item p {
  margin: 0;
  font-size: 16px;
  color: #093958;
}

.contacto-item a {
  color: #093958;
  text-decoration: none;
}

.contacto-item a:hover {
  text-decoration: underline;
}

.contacto-item.direccion img {
  width: 25px;
}
@media (max-width: 1400px) {
  #contacto{
    scroll-margin-top: 130px;
  }

  .contacto-item p {
    font-size: 14px;
  }

  .contacto-item.direccion img {
    width: 20px;
  }
  .contacto-item img {
    width: 20px;
  }

  .contacto-wrapper {
    padding: 40px 200px 40px 100px;
  }

  #contacto h4 {
    margin: 0px 0px 35px 0px;
    font-size: 25px;
  }
  
  
}

/*Fin de sección */


/*Sección nosotros */
#descripcion {
    margin-top: 70px;
    scroll-margin-top: 180px;
    margin-bottom: 70px;
    margin-left: 140px;
    margin-right: 130px;
    text-align: justify;
  }
  
  #descripcion .content p {
    font-size: 35px;
    font-weight: 300;
    line-height: 1.4;
  }

  @media (max-width: 1400px) {
   
    #descripcion {
        margin-left: 100px;
        margin-right: 130px;

    }
    #descripcion .content p {
        font-size: 30px;

    }
}
/*Fin de la sección*/

/* Sección Nuestos Valores */

#valores {
margin-left: 140px;

}

#valores h4{
    font-size: 30px;
    font-weight: 400;
    color: #093958;
}

@media (max-width: 1400px) {

    #valores {
        margin-left: 100px;
        
        }

        #valores h4{
            font-size: 25px;
        
        }

}
/* Fin de la sección nuestos valores */

/* Sección valores lista */

.valores-lista {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 70px;
    margin-right: 140px;
    margin-left: 140px;
  }
  
  .valor {
    text-align: left;
    max-width: 250px;
  }
  
  .valor-header {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin-bottom: 10px;
  }


  
  .valor h5 {
    font-size: 25px;
    font-weight: 500;
    margin: 0;
  }
  
  .valor p {
    text-align: justify;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
  }

  @media (max-width: 1400px) {
    .valor {
      max-width: 200px;
    }
    .valores-lista {
        margin-left: 100px;
        margin-right: 140px;
      }

      .valor p {
        font-size: 14px;
        line-height: 1.3;
      }

      .valor h5 {
        font-size: 20px;
      }
      
    
  }
  
  /*Fin de la sección valores lista*/


  /*Sección misión y visión */

  .mision-vision {
    margin-top: 70px;
  }
  
  .bloque {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 130px 60px 140px;
    color: white;
    gap: 100px;
    
  }
  
  .mision-bloque {
    background-color: #2236A4; /* Azul fuerte */
  }
  
  .vision-bloque {
    background-color: #0EA54D; /* Verde intenso */
  }
  
  .bloque .texto {
    flex: 1 1 50%;
  }
  
  .bloque .texto h3 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 300;

  }
  
  .bloque .texto p {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 300;
    text-align: justify;
  }
  
  .bloque .imagen {
    display: flex;
    justify-content: center;
  }
  
  .bloque .imagen img {
    width: 100%;
    border-radius: 15px;
  }

  @media (max-width: 1400px) {

    .bloque {
        padding: 60px 130px 60px 100px;
        
      }
      
    .bloque .texto p {
        font-size: 17px;
        line-height: 1.4;
      }

      .bloque .texto h3 {
        font-size: 25px;
        margin-bottom: 10px;
    
      }
      
  }
  
  /*Fin de la sección misión y visión*/

/*Sección misión y visión */

  footer {
    background-color: #e9ebed;
    padding: 40px 140px 20px 140px;
    color: #093958;
    font-size: 15px;
  }
  
  .footer-item img{
    width: 35px;
  }

  .footer-item p {
    margin: 0;
    color: #093958;
    line-height: 1.2;
  }
  

  
  @media (max-width: 1400px) {

    .footer-item img{
        width: 30px;
      }

      footer {
        padding-left: 100px;
        font-size: 13px;
      }
    
  }
  /*Fin de la sección misión y visión */


  /*Estilos para mobile*/
  @media screen and (max-width: 768px) {
    .texto-desktop {
      display: none;
    }

    .menu-idioma li a {
      display: inline-block;
      padding: 2px 15px;
      background-color: #4a90e2;
      color: white;
      border-radius: 4px;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
  }
  
    .texto-mobile {
      display: inline;
    }
    .icono-idioma,
    .flecha {
      height: 20px;
      margin: 0px;
      padding: 0px;
    }

    body {
        padding-top: 140px;
    }
    header {
        background-color: #fff;
        padding: 30px 0px 0px 0px;
        color: black;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        justify-content: center;
    }

    header .container {
        width: 100%;
        padding: 0px 20px 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px; /* Espacio entre logo y nav */
    }
    header nav {
        display: flex;
        justify-content: flex-start; 
    }

    header img.logo {
        width: 120px; 
        height: auto;
        margin-left: 15px;
    }

    nav ul {
        display: flex; 
        flex-direction: row;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0 6px; 
        font-size: 1.1rem; 
    }
    
    nav ul li a {
        color: #666;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease; 
    }


    .background-section {
      background-image: url('../img/Mobile/Hero\ 1.jpg');
      height: 300px;          
    }

    
    .background-section p {
        font-size: 20px;
        max-width: 250px;
        margin-left: 40px;
    }

     
    #descripcion {
        margin-left: 40px;
        margin-right: 40px;

    }
    #descripcion .content p {
        font-size: 20px;

    }
    #valores {
        margin-left: 40px;
        
        }

    #valores h4{
        font-size: 18px;
        
    }

    
    .valores-lista {
        margin-left: 40px;
        margin-right: 30px;
        flex-wrap: wrap;
        justify-content: flex-start;
        display: flex;
        gap: 30px;
      }

      @media screen and (max-width: 400px) {
        #valores {
            margin-left: 30px;
            
            }
        .valores-lista {
        margin-left: 30px;
        margin-right: 10px;
        gap: 20px;
        }

      }
    
      .valor {
        max-width: 150px;
      }
    
      .valor-header {
        gap: 12px;
      }
    
      .valor h5 {
        font-size: 15px;
      }
    
      .valor p {
        font-size: 10px;
        line-height: 1.3;
      }


    .bloque {
        padding: 30px 40px 30px 40px;
        gap: 40px;
        
      }
      
    .bloque .texto p {
        font-size: 15px;
        line-height: 1.4;
      }

      .bloque .texto h3 {
        font-size: 20px;
        margin-bottom: 10px;
    
      }
      
        .mision-bloque {
            flex-direction: column;
        }
        
        .vision-bloque {
            flex-direction: column;
            flex-direction: column-reverse; /* Invierte imagen y texto */

        }
        
        footer {
            margin-left: 0px;
            margin-right: 0px;
            font-size: 11px;
          }
        
          .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;                
          }
        
          .footer-item {
            display: flex;
            align-items: center;
            gap: 10px;               
          }
        
          .footer-item p {
            margin: 0;
          }

          .footer-item.direccion {
            align-items: flex-start; 
          }
          
          .footer-item.direccion p {
            max-width: 140px; 
          }

          #contacto{
            scroll-margin-top: 120px;
          }

          .contacto-wrapper {
            padding: 40px 35px 40px 40px;
        }

        .contacto-item {
          display: flex;
          align-items: center;
          gap: 10px;  
      }
      .contacto-item.direccion img {
        width: 15px;
    }
      .contacto-item p {
        max-width: 300px; 
        font-size: 12px;

    }

    #contacto h4 {
      margin: 0px 0px 30px 0px;
      font-size: 18px;
  }

    .contacto-container {
      margin-left: 30px;
      display: flex;
      flex-direction: column;
      align-items: left;
      gap: 30px;   
  }
   

  }
  /*Fin de los estilos mobile*/

  
  
