body, html {
    margin: 0;
    padding: 0;
    background-color: #0c2840;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1 0 auto;
}

footer, .contenedor-footer {
    margin-top: auto;
}

.sidebar{
    font-size: 0.8rem;
    width: auto;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    display: flex;
    align-items: center;
    background-color: #05233d;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar img{
    padding: 1px;
    padding-left: 50px;
    width: auto;
    height: 70px;
}

.sidebar ul{
    margin-bottom: 30px;
    padding-right: 100px;
}

.sidebar a{
    text-align: center;
    text-decoration: none;
    color: #d6d6d6;
}

.sidebar a:hover{ 
    color: #ffffff;
}

.sidebar li{
    font-size: 18px;
    padding-bottom: 10px;
    text-align: center;
    display: inline-block; 
    margin: 0 40px;
    font-family: 'Poppins';
}

.contenedor-info{
    margin: 10px auto;
    background-color: #0c2840;
    width: 90vw;
    max-width: 900px;
    border-radius: 18px;
    padding: 32px 24px;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
}

.subt-1 {
  margin: 0 0 18px 0;
  text-align: left;
  font-size: 28px;
  font-family: 'Poppins';
  color: #ffffff;
  font-weight: 600;
}

.info-text {
  margin: 0 0 18px 0;
  text-align: left;
  font-size: 17px;
  font-family: 'Poppins';
  color: #d6d6d6;
  line-height: 1.7;
}

.info-list {
  color: #d6d6d6;
  font-size: 17px;
  font-family: 'Poppins';
  margin-bottom: 18px;
  margin-left: 20px;
  line-height: 1.7;
}

.info-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  background-image: url('img/banner-2.png');
  margin-top: 100px;
}

.contenedor-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0;
  padding: 0;
}

.img-banner img {
  max-width: 600px;
  height: auto;
}

.texto-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.texto-banner h1{
    text-align: center;
    font-size: 80px;
    font-family:'Poppins';
    color: #0c2840;
    text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white;
}

.contenedor-footer {
  background: #05233d !important;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px 12px 40px;
  box-sizing: border-box;
}

.logo-footer {
  display: flex;
  align-items: center;
}

.logo-footer img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 16px 0 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.texto-footer {
  text-align: left;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

.contacto-footer {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-align: left;
  font-size: 15px;
}

.info {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.contenedor-info {
  flex: 1;
  min-width: 0;

}

.img-info {
  display: flex;
  align-items: stretch;
  height: 100%;
}

#img-ej1 {
  object-fit: cover;
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: block;
}

.valores-mision {
  width: 100%;
  background: #0c2840;
  padding: 40px 0 40px 0;
  display: flex;
  justify-content: center;
}
.valores-mision .contenedor-info {
  background: #0c2840;
  border-radius: 18px;
  padding: 32px 24px;
  max-width: 100%;
  width: 90vw;
  margin: 0 auto;
}
.valores-mision h2.subt-1 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 28px;
  color: #ffffff;
  text-align: left;
}
.valores-mision .info-text {
  color: #d6d6d6;
  font-size: 17px;
  text-align: left;
  margin-bottom: 10px;
}
.valores-mision .info-list {
  color: #d6d6d6;
  font-size: 17px;
  font-family: 'Poppins';
  margin-bottom: 18px;
  margin-left: 20px;
}
.valores-mision .info-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.info > .contenedor-info,
.info + .contenedor-info {
  background: #0c2840;
  border-radius: 18px;
  padding: 32px 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  display: block;
}

@media (max-width: 900px) {
  .sidebar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 0 0 0;
    width: 100vw;
    background-color: #0c2840;
    box-sizing: border-box;
  }
  .sidebar ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0;
    padding: 0 0 0 0;
    background-color: #0c2840;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
  }
  .sidebar li {
    display: inline-block;
    margin: 0 10px;
    font-size: 15px;
    padding-bottom: 0;
    color: #d6d6d6;
    background: none;
  }
  .sidebar img {
    padding-left: 0;
    height: 40px;
    margin-bottom: 8px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .sidebar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 0 0 0;
    width: 100vw;
    background-color: #0c2840;
    box-sizing: border-box;
  }
  .sidebar ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0;
    padding: 0 0 0 0;
    background-color: #0c2840;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
  }
  .sidebar li {
    display: inline-block;
    margin: 0 10px;
    font-size: 15px;
    padding-bottom: 0;
    color: #d6d6d6;
    background: none;
  }
  .sidebar img {
    padding-left: 0;
    height: 40px;
    margin-bottom: 8px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .contenedor-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px 12px 16px;
    gap: 10px;
  }
  .logo-footer {
    margin-bottom: 8px;
  }
  .contacto-footer {
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .contenedor-info {
    width: 90vw;
    min-width: unset;
    margin: 0 0 20px 0;
  }
  .img-info {
    width: 100%;
    justify-content: center;
    height: auto;
  }
  #img-ej1 {
    max-width: 90vw;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .subt-1 {
    font-size: 20px;
    margin: 0 0 10px 0;
  }
  .info-text, .info-list {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
  .contenedor-info {
    width: 98vw;
    margin: 0 0 10px 0;
  }
  #img-ej1 {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .valores-mision .contenedor-info {
    padding: 16px 5vw;
    max-width: 98vw;
  }
  .valores-mision h2.subt-1 {
    font-size: 20px;
    margin-top: 18px;
  }
  .valores-mision .info-text, .valores-mision .info-list {
    font-size: 14px;
  }
}
