.contenedor-primero {
  display: flex;
  height: 80vh;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.nosotros-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.main-title {
  font-size: 2rem;
  margin-bottom: 8px;
  text-align: center;
  block-size: auto;
  animation: cambiarColor 6s infinite ease-in-out;
}
#Ecoss-historia {
  scroll-margin-top: 200px;
}
#Ecoss-aliado {
  scroll-margin-top: 200px;
}
#Ecoss-Politicas {
  scroll-margin-top: 150px;
}
#Ecoss-PQRSF {
  scroll-margin-top: 150px;

}
@keyframes cambiarColor {
  0%   { color: #0c0380; }
  33%  { color: #007BFF; }
  66%  { color: #616161; }
  100% { color: #242424; }
}
.parrafo-texto {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin: 0 auto 1rem auto;
  text-align: left;
  max-width: 800px;
  padding: 0 1rem;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-azul {
  display: inline-block;
  background: #C9E165 ;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-azul:hover {
  background:#9aad4e ;
  transform: translateY(-2px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    
}

.certificacion-img {
  width: 100%;
  height: auto;
  text-align: center;
}

.certificacion-img img {
  width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
}
.left-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 400px;
}

.text-container {
    text-align: center;
}

.changing-text {
    font-size: 2rem;
    color: #0c0380;
    transition: all 0.5s ease;
    opacity: 1;
}

.center-section {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.changing-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.right-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    display: flex;
    align-items: center;
}

.content-box {
    width: 100%;
}

.changing-subtitle {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.changing-description {
    color: #8d7f7f;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.left-section:hover .changing-text {
    transform: scale(1.05);
}

.center-section:hover .changing-image {
    transform: scale(1.03);
}
.right-section {
    transition: box-shadow 0.3s ease;
}

.right-section.paused {
    box-shadow: 0 0 0 2px #0085B8;
}
.contenedor-padre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  max-width: 700px;
  margin: auto;
  flex-wrap: wrap;
}

.contenedor-imagen {
  flex: 1 1 10%;
  text-align: center;
}

.contenedor-imagen img {
  max-width: 80%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contenedor-texto {
  flex: 1 1 50%;
  color: #003366;
}

.contenedor-texto h2 {
  font-size: 18px;
  color: #005fcb;
}

.contenedor-texto p {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
}

  .contenedor-padreDos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
  }

  .contenedor-textoDos {
    flex: 1 1 50%;
    order: 1;
  }

  .contenedor-imagenDos {
    flex: 1 1 40%;
    text-align: center;
    order: 2;
  }

  .contenedor-imagenDos img {
    max-width: 60%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .contenedor-textoDos h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #005fcb;
  }

  .contenedor-textoDos p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #003366;
    text-align: justify;
  }

  @media (max-width: 768px) {
    .contenedor-padreDos {
      flex-direction: column;
    }

    .contenedor-textoDos,
    .contenedor-imagenDos {
      flex: 1 1 100%;
      order: unset;
    }
  }



@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .left-section, .center-section, .right-section {
        min-height: 300px;
    }
    
    .main-title {
        font-size: 2rem;
    }

    
}



.contenedor-principal {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  flex-wrap: wrap;
}

.contenedor-izquierda {
  flex: 1 1 30%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.tarjeta {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(11, 150, 175, 0.822);
}

.tarjeta img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #f9f9f9;
}

.tarjeta-subtitulo {
  font-size: 0.9rem;
  color: #0c0c0c;
  margin: 8px 0;
}
.tarjeta-subtitulo:hover {
  font-size: 1rem;
  color:   rgba(11, 150, 175, 0.822);
}


.contenedor-derecha {
  flex: 1 1 65%;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contenedor-derecha img {
  max-width: 10%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.contenedor-derecha h2 {
  color: #0d47a1;
  margin-bottom: 15px;
}

.contenedor-derecha p {
  color: #444;
  line-height: 1.6;
}
.detalle {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: auto;
  text-align: center;
}

#detalle-titulo {
  font-size: 2rem;
  font-weight: 700;
  color: #0c0380;
  margin-bottom: 0.8rem;
}

#detalle-texto {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  text-align: left;
}

#detalle-subtitulo2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 0.3rem;
}

#detalle-texto2 {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}
#detalle-subtitulo3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 0.3rem;
}

#detalle-texto3 {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

#detalle-imagen {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  margin-top: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .contenedor-principal {
    flex-direction: column;
  }

  .contenedor-izquierda {
    grid-template-columns: repeat(3, 1fr);
  }

  .contenedor-derecha {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .contenedor-izquierda {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-descargar {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #035280;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin: 0.3rem 0;
}

.btn-descargar:hover {
  background-color: #1f4c9f;
}


.presencia-section {
  text-align: center;
  padding: 2rem 1rem;
}


.texto-presencia {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.tarj-presencia {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.tarj {
  flex: 0 0 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease;
  position: relative;
}

.tarj:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(11, 150, 175, 0.822);
}

.tarj-imagen img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tarj-info {
  display: none;
  padding: 1rem;
  text-align: left;
}

.tarj-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0c0380;
}

.tarj-info p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.btn-whatsapp {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: #1f4c9f;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background:  rgba(11, 150, 175, 0.822);
}

@media (max-width: 768px) {
  .tarjetas-presencia {
    flex-wrap: wrap;
    justify-content: center;
  }
  .tarjeta {
    flex: 1 1 100%;
    max-width: 300px;
  }
}


.capacitacion {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 1rem;
  flex-wrap: wrap;
}

.capacitacion-texto {
  flex: 1 1 55%;
}

.capacitacion-texto h2 {
  font-size: 2rem;
  color: #0c0380;
  margin-bottom: 1rem;
  text-align: left;
}

.tema {
  border-bottom: 1px solid #ddd;
  padding: 0.8rem 0;
  cursor: pointer;
}

.tema h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  transition: color 0.3s;
}

.tema h3 .icono {
  margin-right: 8px;
  font-weight: bold;
  color:#0c0380;;
  transition: color 0.3s ease, transform 0.3s ease;
}

.tema.activo h3 .icono {
  color: #555;
  transform: rotate(180deg);
  font-weight: bold;
}

.tema:hover h3 {
  color: #005fcb;
}

.tema .contenido {
  display: none;
  margin-top: 0.5rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
  
}

.capacitacion-imagen {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capacitacion-imagen img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
  .capacitacion {
    flex-direction: column;
  }
  .capacitacion-texto {
    flex: 1 1 100%;
  }
  .capacitacion-imagen {
    flex: 1 1 100%;
    margin-top: 1rem;
  }
}



.aliados {
  padding: 2rem 1rem;
  text-align: center;
}

.aliados h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0c0380;
}


.aliados-descripcion {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin: 0 auto 1rem auto;
  text-align: left;
  max-width: 1000px;
  padding: 0 1rem;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#info-texto ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}
#info-texto li {
  margin-bottom: 8px;
}

.aliados-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.aliados-imagen img {
  max-width: 640px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.aliados-boton {
  position: relative;
}

.aliados-boton button {
  background: #999999;
  font-weight: bold;
  color: #0c0380;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.aliados-boton button:hover {
  background: #C9E165 ;
  transform: scale(1.05);
  color: #0c0c0c;
  font-weight: bold;
}

.opciones-tecnologia {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}


.opciones-tecnologia li {
  background: #f4f4f4;
  padding: 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.3s, background 0.3s;
  animation: pulse 2s infinite;
}

.opciones-tecnologia li:hover {
  background: #def77c ;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% {
    transform: scale(1.07); background: #aeaaaa; color: #0c0380;  }
  100% { transform: scale(1); }
}

.info-tecnologia {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
  background: #fafafa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-tecnologia h3 {
  color: #0c0380;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .aliados-contenedor {
    flex-direction: column;
  }
}


.pqrsf-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.contenedor-atencion {
  flex: 1 1 45%;
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contenedor-atencion h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2f4f2f;
  animation: cambiarColor 6s infinite ease-in-out;
  border-bottom: 2px solid #3e9afd;
  display: inline-block;
  padding-bottom: 6px;
}

#mensaje-dinamico {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #444;
  transition: opacity 0.5s ease;
}

.botones-asunto {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.botones-asunto button {
  background: #3e9afd;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 80%;
  max-width: 250px;
}

.botones-asunto button:hover {
  background: #014fa2;
  transform: translateY(-2px);
}

.columna-formulario {
  flex: 1 1 50%;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.form-title2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #2e2e2e;
  border-bottom: 2px solid #3e9afd;
  padding-bottom: 8px;
}

.columna-formulario label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.columna-formulario input,
.columna-formulario select,
.columna-formulario textarea {
  width: 100%;
  padding: 8px 8px;
  margin-bottom: 16px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  outline: none;
}

.columna-formulario input:focus,
.columna-formulario select:focus,
.columna-formulario textarea:focus {
  border-color: #3e9afd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(145,163,71,0.2);
}

.columna-formulario button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #3e9afd;
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.columna-formulario button:hover {
  background: #014fa2;
  transform: scale(1.03);
}

@media (max-width: 740px) {
  .pqrsf-contenedor {
    flex-direction: column;
  }

  .contenedor-atencion,
  .columna-formulario {
    flex: 1 1 100%;
  }

  .botones-asunto button {
    width: 100%;
  }
}


