* {
  box-sizing: border-box;
}
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #022b4d;
  margin: 0;
  padding: 0;
  background-color: #e2e0e0;
}
header {
  background-color: #ffffff;
  padding: 1rem;
  text-align: left;
  margin-top: -1%;
}

.menu-toggle {
    display: none;
    background-color: #005599;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
  }
 
 

nav {
  background-color: #005599;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
     
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

section {
  padding: 2rem;
  border-bottom: 1px solid #ccc;
  padding-left: 15%;
  padding-right: 15%;
  text-align: justify;
}
.subsection-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.subsection {
  flex: 1 1 300px;
  background-color: #ecebeb;
  padding: 1rem;
  border-radius: 8px;
  opacity: 95%;
}
.subsection ul {
  padding-left: 20%;
}
select, input, textarea, button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  border: none;
}
button:hover {
  background-color: #005fa3;
}
.formulario {
  display: none;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 600px;
  margin-top: 20px;
}
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 500px) {
  .menu-toggle {
    display: block;
    margin: 0 auto;
    text-align: left;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    
    width: 100%;
    text-align: left;
  }

  .nav-links.active {
    display: flex;
    text-align: left;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0rem;
    padding: 0rem;
   
  }

  nav a {
    padding: 0 0;
    width: 100%;
    text-align: left;
    margin-left: 1rem;
  }
}


@media (max-width: 768px) {
    
  nav {
    /*flex-direction: column;
    align-items: center;*/
  }
  section {
    padding-left: 2%;
    padding-right: 2%;
  }
}
@media (max-width: 1600px) {
  #parrafo-inicio {
    font-size: 24px;
  }
}
@media (max-width: 1385px) {
  #parrafo-inicio {
    font-size: 21px;
    }
  #parrafo-ejecutivo {
      font-size: 18px;
    }
  #parrafo-masivo {
    font-size: 18px;
  }
  #parrafo-somos {
    font-size: 20px;
  }

}
@media (max-width: 1385px) {
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 500px; 
    max-height: 400px;
  }
}
@media (max-width: 1200px) {
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 400px; 
    max-height: 350px;
  }
  #parrafo-inicio {
    font-size: 18px;
  }
  #parrafo-ejecutivo {
    font-size: 16px;
  }
#parrafo-masivo {
  font-size: 16px;
}
#parrafo-somos {
  font-size: 16px;
}
.responsive-imgnos {
  width: 100%;
  height: auto;
  max-width: 350px;
  max-height: 320px;
}
}
@media (max-width: 1050px) {
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 350px; 
    max-height: 290px;
  }
  #parrafo-inicio {
    font-size: 16px;
  }
  #parrafo-somos {
    font-size: 14px;
  }
  .responsive-imgnos {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 270px;
  }
}
@media (max-width: 1000px) {
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 350; 
    max-height: 290px;
   margin-top: 2em;
  }
  
}
@media (max-width: 940px) {
  #img-mision {
    width: 100%;
    height: auto;
    max-width: 250px; 
    max-height: 250px;
  }
  #img-vision {
    width: 100%;
    height: auto;
    max-width: 250px; 
    max-height: 250px;
  }
  #img-mision {
    width: 100%;
    height: auto;
    max-width: 250px; 
    max-height: 250px;
 }
}
@media (max-width: 1437px) {
  #img-valores {
    width: 100%;
    height: auto;
    max-width: 250px; 
    max-height: 250px;
  }
 
}
@media (max-width: 900px) {
  
  section {
    padding-left: 4%;
    padding-right: 2%;
  }
  .responsive-imgnos {
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 230px;
  }
}
@media (max-width: 700px) {
  
  
  .responsive-img {
    width: 100%;
    height: auto;
    max-width: 320px; 
    max-height: 270px;
  }
  #parrafo-inicio {
    font-size: 15px;
  }

  .subsection {
    flex-direction: column !important;
    align-items: center !important;
    margin-right: 0 !important;

  }
  .responsive-img {
      margin-top: -1em;
   }


}