.oculto {
  display: none;
}
.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;
  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: white;
  color: black;
  border-radius: 4px;
  text-decoration: none;
  font-size: 21px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s; /* Suaviza la transición */
}
.menu-idioma li a:hover {
  background-color: #4a90e2; /* Azul al pasar el mouse */
  color: white; /* Letras blancas */
}
/* Ocultar por defecto */
.oculto {
  display: none;
}

.icono-idioma,
.flecha {
  height: 25px;
  margin: 0px;
  padding: 0px;
}

header {
    background-color: #fff;
    padding: 40px 0px 40px 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 */
    

}
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;
}



body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 120px;
}

header img {
    margin-left: 140px;
}


.background-section {
    background-image: url('../img/Desktop/Banners/Banner\ principal.jpg');
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    padding: 30px 0px 30px 0px ;
    position: relative;
    width: 100%;

    
}

.background-section .content {
    position: relative;
    color: white;
}


.background-section p {
    font-size: 25px;
    font-weight: 300;
    line-height: 1.3;
    text-align: justify;
    margin-right: 100px;
    margin-left: 100px;
    max-width: 550px;
}

@media (min-width: 1400px) {

    .background-section {
        height: 350px;

    }
    .background-section p{
        font-size: 30px;
        font-weight: 300;
        line-height: 1.3;
        text-align: justify;
        margin-right: 100px;
        margin-left: 100px;
        max-width: 650px;

    }
  }


  #contacto {
    scroll-margin-top: 140px;
  }
  
  .contacto-wrapper {
    padding: 70px 135px 70px 100px;
  }
  
  #contacto h4 {
    margin: 0px 0px 35px 0px;
    font-size: 40px;
    font-weight: 300;
  }
  
  .contacto-container {
    display: flex;
    flex-wrap: nowrap; /* para que no se bajen en pantallas grandes */
    border-radius: 10px;
    overflow: hidden; /* para que el border-radius funcione correctamente */
  }
  
  .contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px;
    flex: 1; /* que todos midan lo mismo */
  }
  
  
  .contacto-item p {
    margin: 0;
    font-size: 16px;
    color: black;
  }
  
  .contacto-item a {
    color: black;
    text-decoration: none;
  }
  
  .contacto-item a:hover {
    text-decoration: underline;
  }

  .contacto-item img {
    width: 40px;
  }
  
  .contacto-item.direccion {
    background-color: #FAD2B9;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  
  .contacto-item.correo {
    background-color: #E4F1EB;
  }
  
  .contacto-item.telefono {
    background-color: #FAD2B9;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  @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 130px 40px 100px;
    }
  
    #contacto h4 {
      margin: 0px 0px 35px 0px;
      font-size: 30px;
    }
    
    
  }
  
  /*Fin de sección */





.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide la sección en dos columnas */
    gap: 60px; /* Espacio entre columnas */
    align-items: center; /* Alinea verticalmente */
    padding: 50px 130px 50px 100px;
}

/* Estilos generales de texto */
.mision {
    text-align: left;
    width: 100%;
    font-weight: 300;
}

.vision {
    text-align: left;
    max-width: 100%;
    font-weight: 300;
}

.mision h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 400;
}

.vision h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 400;
}

.mision p,
.vision p {
  font-size: 17px;
  line-height: 1.5;
  text-align: justify;
}

@media (min-width: 1400px) {
  .mision p,
  .vision p {
    font-size: 22px;
    text-align: justify;
  }

  .mision-vision {
    padding: 50px 130px 50px 100px;

  }


}

/* Estilos para las imágenes */
.mision-img img, .vision-img img {
    width: 100%; 
    border-radius: 8px; 
}


/* Estilo para la sección con imagen de fondo */
#world {
    background-image: url('../img/Desktop/Banners/Acerca\ de\ nosotros.jpg'); /* Asegúrate de que la imagen esté en la ruta correcta */
    background-size: cover;
    background-position: center;
    height: 250px; /* Ajusta la altura según necesites */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}



/* Contenedor de texto */
#world .overlay {
    position: relative;
    z-index: 1; /* Asegura que el texto esté encima */
    text-align: left;
    color: white;
    max-width: 100%;
    margin-left: 100px;
    font-size: 17px;
    margin-right: 100px;
    font-weight: 300;
}

/* Estilos del texto */
#world h4 {
    font-size: 30px;
    font-weight: 300;
    margin: 0;
}

@media (min-width: 1400px) {
    #world h4 {
        font-size: 40px;
        font-weight: 300;
    }
    #world .overlay {
        font-size: 22px;

    }
  }
  

/* Estilos del Footer */
footer {
    background-color: #555; /* Color de fondo gris oscuro */
    color: white;
    padding: 10px 30px;
    text-align: center;
}

/* Contenedor principal del footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinea los elementos hacia arriba */
    flex-wrap: wrap;
    width: 100%;
}

/* Derechos reservados en la parte derecha */
.footer-rights {
    text-align: left;
    font-size: 15px;
    font-weight: 300;

}

#nosotros {
  scroll-margin-top: 140px; /* Ajusta según la altura de tu header */
}


@media (min-width: 1400px) {
    footer {
        background-color: #555; /* Color de fondo gris oscuro */
        color: white;
        padding: 10px 120px;
        text-align: center;
        line-height: 1.5;
    }
    
    /* Contenedor principal del footer */
    .footer-container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;   
        width: 100%;
        gap: 30px;
    
    }
        
    /* Derechos reservados en la parte derecha */
    .footer-rights {
        text-align: left;
        font-size: 17px;
        font-weight: 300;
    }
    
   
}

/* 📱 Estilos para móviles (pantallas menores a 768px) */
@media screen and (max-width: 730px) {
  .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 {
    width: 20px;
    margin: 0px;
    padding: 0px;
  }

    header {
        background-color: #fff;
        padding: 30px 0px ;
        color: black;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        display: flex;
        justify-content: center;
    }

    header .container {
        width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 20px; 
   }
    header nav {
        display: flex;
        justify-content: flex-start; 
    }

    header img {
        width: 250px; 
        height: auto;
        margin-left: 15px;
    }

    nav ul {
        display: flex; /* Sigue siendo horizontal */
        flex-direction: row;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0 6px; 
        font-size: 1.2rem; 
    }
    
    nav ul li a {
        color: #666;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease; 
    }
    .background-section {
        background-image: url('../img/Mobile/Banners/Banner\ principal.jpg');
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: left;
        text-align: left;
        padding: 0px 0px 0px 0px ;
        position: relative;
        width: 100%;
        margin-top: 30px;
    
        
    }
    .background-section .content {
        position: relative;
        color: white;
    }
    .background-section h2 {
        font-size: 30px; 
        font-weight: 200;
        margin-bottom: 10px;
        margin-left: 30px;
    }
    .background-section p {
        font-size: 20px;
        font-weight: 200;
        line-height: 1.5;
        text-align: justify;
        margin-right: 40px;
        margin-left: 30px;
    }

    .mision-vision {
        display: flex;
    flex-direction: column;
        padding: 5px 30px 30px 30px;
        gap: 30px;
    }
/* Estilos generales de texto */
.mision {
    text-align: left;
    width: 100%;
    font-weight: 300;
}

.vision {
    text-align: left;
    max-width: 100%;
    font-weight: 300;
}

.vision {
    order: 1; /* Primero el texto */
  }

  .vision-img {
    order: 2; /* Después la imagen */
  }


.mision h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 450;
}

.vision h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 400;
}

.mision p,
.vision p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
}

/* Estilos para las imágenes */
.mision-img img, .vision-img img {
    width: 100%; /* Asegura que las imágenes se ajusten */
    border-radius: 8px; /* Bordes redondeados como en la imagen */
 
}


/* Estilo para la sección con imagen de fondo */
#world {
    background-image: url('../img/Mobile/Banners/Acerca\ de\ nosotros.jpg'); /* Asegúrate de que la imagen esté en la ruta correcta */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 0px;

}



#world .overlay {
    position: relative;
    z-index: 1; /* Asegura que el texto esté encima */
    text-align: justify;
    color: white;
    max-width: 100%;
    margin: 0px 30px 0px 30px;
    line-height: 1.5;

}

/* Estilos del texto */
#world h4 {
    font-size: 27px;
    font-weight: 300;
}



#nosotros {
    scroll-margin-top: 120px; /* Ajusta según la altura de tu header */
}


.contacto-wrapper {
    padding: 40px 30px;
  }

  .contacto-container {
    flex-direction: column;
    border-radius: 10px;
  }

  .contacto-item {
    flex: none;
    width: 100%;
    justify-content: flex-start;
    border-radius: 0 !important;
  }

  .contacto-item.direccion img {
    width: 28px;
}
.contacto-item img {
    width: 25px;
}

  .contacto-item.direccion {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .contacto-item.telefono {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .contacto-item p {
    width: 300px;
}
   
}