body {
    margin: 0;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    padding-top: 80px; /* Ensure content isn't hidden under the header */
    /*overflow-x: hidden;*/
}

.cta-section {
  background-color: #e6f4f2;
  padding: 15px 10px;
}

.cta-container {
    
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.cta-block {
  flex: 1 1 20px;
}

.cta-block p {
  font-size: 16px;
  font-weight: 700; 
  margin-bottom: 10px;
  color: #155b60;
}

.cta-button {
  background-color: #155b60;
  color: white;
  padding: 6px 15px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 300;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #59979b;
  color: white;               
  text-decoration: none; 
}

@media (max-width: 900px) {

    .cta-container {
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
    }
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 20px;
    z-index: 1000; /* Asegura que el header esté por encima de otros elementos */
}

h1{
    font-size: 48px;
}

.subtitle {
    font-size: 24px;
    font-style: italic;
}

h3{
    font-size: 38px;

}

/* Logo y título del header */
.header-left img {
    height: 40px;
    margin-right: 15px; /* Separar los logos */
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*******************************************************/
/******************** Languages ************************/
/*******************************************************/

/* Contenedor del selector de idioma */
.language-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: 2px solid #175A68;
    border-radius: 20px;
    padding: 8px 20px; /* Ajuste de padding del botón */
    margin-left: 20px;
    overflow: visible; /* Asegurar que la lista no se corte */
}

/* Botón visible */
.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.dropdown-btn span {
    font-weight: bold;
}

/* Lista desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Asegurar que la lista aparezca justo debajo del botón */
    left: 0; /* Alinear la lista con el botón */
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #175A68;
    z-index: 1001; /* Asegurarse que la lista esté por encima del contenido */
    margin-top: 5px;
    width: 150px; /* Ajustar el ancho del menú desplegable */
    overflow: visible; /* Evitar que el contenido se corte */
}

.dropdown-content div {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-content div:hover {
    background-color: #ddd;
}

.dropdown-content img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Mostrar lista al hacer clic */
.language-dropdown.show .dropdown-content {
    display: block;
}

/*******************************************************/
/******************** Secciones ************************/
/*******************************************************/
.main-section {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.main-section .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.left-content {
    flex: 1;
    margin-left: 10%;
    text-align: left;
    max-width: 40%;
}

.left-content h1 {
    font-size: 48px;
    font-weight: 700; /* Bold */
}

.right-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.right-content img {
    max-width: 100%; /* Asegura que la imagen se ajuste al contenedor sin deformarse */
    height: auto; /* Mantiene la proporción de la imagen */
}

/*******************************************************************/

.description-section {
    background-color: #f0f0f0;
    padding: 50px 20px;
    text-align: left; /* Alinear el título a la izquierda */
}

.description-section .content {
    max-width: 70%;
    margin: 0 auto;
    text-align: left;
}

.description-section p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 50px;
    text-align: justify;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.logos img {
    height: 80px;
}

/*******************************************************************/

.section-gap {
    background-color: white; /* Fondo blanco */
    padding: 50px 20px; /* Espaciado interno para la sección */
    text-align: center; /* Centra el contenido */
}

.section-gap .content {
    max-width: 70%;
    margin: 0 auto; /* Centrar el contenido */
}

.section-gap h2 {
    font-size: 34px;
    color: #175A68; /* Mismo color que el título anterior */
    margin-bottom: 20px;
    text-align: left; /* Alinear el título a la izquierda */
    font-weight: 500; 
    padding-top: 10px;
    font-weight: 700; /* Bold */
}

.section-gap p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify; 
}

.section-gap img {
    max-width: 600px; /* Ancho máximo de 400px */
    width: 100%; /* Ocupará el 100% del contenedor hasta el máximo definido */
    height: auto; /* Mantener la proporción de la imagen */
    margin: 20px auto; /* Espaciado alrededor de la imagen */
    display: block; /* Asegura que la imagen esté centrada */
}

/*******************************************************************/

.section-relevant {
    display: flex; /* Crear un layout en dos columnas */
    padding: 0; /* Elimina los márgenes internos */
    width: 100%; /* Ocupa el ancho completo de la pantalla */
    background-color: #f0f0f0; /* Fondo gris claro para la sección */
    align-items: stretch; /* Asegura que ambas columnas tengan la misma altura */
}

.section-relevant .left-column {
    background-color: #175A68; /* Color de fondo azul para la primera columna */
    font-size: 18px;
    color: white; /* Color de texto blanco */
    width: 50%; /* Ocupa el 50% del ancho */
    display: flex; /* Usar flexbox para centrar el texto */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    padding: 50px 20px; /* Espaciado interno */
    text-align: center; /* Centrar el texto */
}

.section-relevant .right-column {
    width: 50%; /* Ocupa el 50% del ancho de la pantalla */
    padding: 50px 100px; /* Espaciado interno */
    text-align: left; /* Justificar el texto */
    background-color: #e7e7e7; /* Color gris claro de fondo */
    color: #555; /* Color del texto */
    display: flex;
    justify-content: center; /* Centrar el contenido dentro del contenedor */
    align-items: center; /* Asegura que el texto esté centrado verticalmente */
}

.section-relevant p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    text-align: left; /* Alinear el texto a la izquierda */
}

.section-relevant h2 {
    font-size: 34px;
    font-weight: 700; /* Bold */
}

/*******************************************************************/

.participatory-section {
    background-color: #f8f9fa; /* Light background color */
    padding: 50px 20px; /* Add spacing inside the section */
    text-align: center; /* Center the text in the section */
}

.participatory-section .content {
    max-width: 70%; /* Limit the width of the content */
    margin: 0 auto; /* Center the content */
}

.participatory-section h2 {
    font-size: 34px;
    color: #175A68; /* Color for the title */
    margin-bottom: 10px;
    text-align: left;
    font-weight: 700; /* Bold */
    padding-top: 30px;
}

.participatory-section p {
    font-size: 18px;
    color: #555; /* Text color */
    line-height: 1.6; /* Line height for better readability */
    margin-bottom: 20px;
    text-align: justify; /* Justify the text for cleaner alignment */
}

.participatory-img {
    max-width: 100%;
    height: auto; /* Ensure the image scales properly */
    margin-top: 0px; /* Add some space between the text and image */
}

/*******************************************************************/


.carousel-section {
    padding: 20px 0;
    background-color: #f8f9fa; /* Light gray background */
    text-align: center;
}

.carousel-section h2 {
    font-size: 32px;
    color: #175A68; /* Change the color as needed */
    margin-bottom: 30px;
    font-weight: 700; /* Bold */
    text-align: center;
}

.carousel-inner img {
    max-height: 600px; /* Control the height of the carousel images */
    object-fit: cover; /* Ensure the images cover the area without being stretched */
}

.carousel-caption h5 {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional shadow effect */
}

.carousel-caption p {
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Optional shadow effect */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(20%) brightness(50%); /* Cambia las flechas a gris oscuro */
    background-size: 50px 50px; /* Cambia el tamaño de las flechas */
    width: 50px;
    height: 50px;
}

/*******************************************************************/

.section-references {
    background-color: white; /* Fondo blanco */
    padding: 50px 20px; /* Espaciado interno */
    text-align: left; /* Centrar el texto en general */
}

.section-references .content {
    max-width: 70%;
    margin: 0 auto; /* Centrar el contenido */
}

.section-references h3 {
    font-size: 32px;
    color: #175A68; /* Color similar al del título anterior */
    margin-bottom: 20px;
    text-align: left; /* Centrar el título */
    font-weight: 700; /* Bold */
}

.section-references ul {
    list-style-type: disc; /* Muestra puntos en la lista */
    padding-left: 0; /* Eliminar el padding para que se centre mejor */
    text-align: left; /* Mantener el texto de la lista alineado a la izquierda */
    display: inline-block; /* Centrar la lista misma */
    margin: 0 auto; /* Centrar la lista */
}

.section-relevant p,
.section-references p,
.section-references li {
    font-size: 18px; /* Tamaño de la fuente */
    color: #555; /* Color del texto */
    line-height: 1.6; /* Altura de línea */
    margin-bottom: 30px; /* Margen inferior */
    text-align: justify; /* Alinear el texto a la izquierda */
}

.section-references li {
    margin-bottom: 15px; /* Espaciado entre elementos de la lista */
}

.section-references li strong {
    font-weight: bold; /* Resalta el título de las referencias */
}

.section-references ul li::marker {
    color: #00b794; /* Cambia el color de las viñetas */
}

/*******************************************************************/

.section-bar h2 {
    font-size: 32px;
    color: #175A68; /* Mismo color que el título anterior */
    text-align: center; /* Alinear el título a la izquierda */
    padding-top: 40px;
    padding-bottom: 30px;
    font-weight: 700; /* Bold */
}

.section-team {
    background-color: #e7f4f0;
    padding: 00px 20px;
    padding-bottom: 50px;
    text-align: center;
    margin-top: 30px;
    width: 100%; /* Asegura que ocupe todo el ancho del viewport */
    box-sizing: border-box; /* Incluye padding dentro del ancho */
}

.section-team h3 {
    font-size: 24px;
    color: #006080; /* Title color */
    margin-bottom: 30px;
    margin-top: 30px; /* Add some space between the bar and the team section */
}

.team-grid {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(150px, 1fr)); /* Tres columnas con un ancho mínimo reducido */
    column-gap: 20px; /* Espacio entre las columnas */
    row-gap: 50px; /* Espacio entre las filas */
    justify-content: center; /* Centrar las columnas */
    margin-top: 20px; /* Add space between the grid and the bar */
}

.team-member {
    text-align: center;
    max-width: 250px; /* Limitar el ancho máximo de cada miembro del equipo */
    margin: 0 auto; /* Centrar los elementos del equipo */
}

.team-member img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #ffffff; /* Agrega un borde de 5px con un color */
    border-radius: 50%; /* Hace que el borde sea circular */
}

.team-member h4 {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    font-weight: 700; /* Bold */
}

.team-member p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin: 5px 0;
}

/*******************************************************************/

.footer-content {
    text-align: center; /* Justificar el texto */
    padding:  10px;
}

.footer-content-title {
    font-weight: bold;
    font-size: 16px;
    color: #175A68;
}

.footer-content-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.section-project-sponsor{
    padding: 50px 20px;
  }
.section-project-sponsor .content{
    max-width: 70%;
    margin: 0 auto;
}
.section-project-sponsor img{
    max-height: 300px;
    margin: auto;
}



@media (max-width: 900px) {
    .section-project-sponsor img{
        max-height: 150px;
    }
    .header-right{
        padding-left: 0;
        flex-direction: row;
    }
    .left-content h1 {
        font-size: 40px;
        font-weight: 700; /* Bold */
        max-width: 100%;
    }

    .subtitle {
        font-size: 20px;
        font-style: italic;
    }

    .logos img {
        height: 50px;
    }
    
    .right-content img {
        display: none; /* Oculta la imagen en pantallas pequeñas */
    }

    .left-content {
        flex: 1;
        margin-left: 17%;
        text-align: left;
        max-width: 100%;
        padding-top: 13%;
        padding-bottom: 10%;
    }

    .team-grid {
        grid-template-columns: 1fr; /* Una sola columna en pantallas pequeñas */
    }

    .carousel-section h2 {
        font-size: 32px;
        color: #175A68; /* Change the color as needed */
        margin-bottom: 30px;
        font-weight: 700; /* Bold */
        text-align: center;
    }

    .carousel-caption {
        font-size: 14px; /* Smaller font for captions on mobile devices */
    }

    .carousel-inner img {
        max-height: 300px; /* Smaller height for images on mobile */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(20%) brightness(50%); /* Cambia las flechas a gris oscuro */
        background-size: 40px 40px; /* Cambia el tamaño de las flechas */
        width: 50px;
        height: 50px;
    }

    .section-relevant {
        flex-direction: column; /* Apilar las columnas en lugar de alinearlas en fila */
    }
    
    .section-relevant .left-column, 
    .section-relevant .right-column {
        width: 100%; /* Ambas columnas ocupan el 100% del ancho */
        padding: 20px; /* Ajustar el padding para pantallas pequeñas */
    }

    .section-relevant p {
        font-size: 18px;
        color: #555;
        line-height: 1.6;
        text-align: left;
        max-width: 70%;
    }
    
    .section-relevant h2 {
        font-size: 30px;
        font-weight: 700;
    }
    .section-relevant p,
    .section-references p,
    .section-references li {
    text-align: left; /* Alinear el texto a la izquierda */
}
}