/* Estilos generales */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image:url('../images/index/Main3.webp');
    background-size: cover;
    height: 100vh;
    position: relative;
    color: white;
    overflow: hidden;
}
.header-text-container { 
    padding: 0 20px 20px 20px; 
    border-radius: 0 50px 0 50px; /* Forma ondulada en los bordes */
    margin-left: 0;
    margin-top: 380px; /* Inicia un poco debajo del logo */ 
    height: 100%;
    width: 100%; /* Más ancho */ 
    position: relative; 
    transition: background-color 0.5s ease, transform 0.5s ease; /* Transición suave */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 11.34%, rgba(0, 0, 0, 0.50) 68.37%);
    padding-left: 300px;
} 
.header-text{
    width: 30%;
    margin-left: 80px;
    min-width: 380px;
    justify-content: flex-end; /* Alinea el contenido hacia la derecha */
}
.header-title {
    text-align: left;
    font-size: 3.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); /* Sombra para mejorar legibilidad */
}
.header-text p{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); 
    line-height: 1.4;
    font-size: 18px;
}
.header-subtitle {
    text-align: left;
    font-size: 2rem;
    margin: 10px 0 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); 
}
.header-text button {
    display: block;
    z-index: 2;
    padding: 10px 10px;
    background-color: #febc00; /* Color inspirado en la energía caribeña */
    border: none;
    border-radius:25px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    margin-left: auto; /* Empuja el botón hacia la derecha */
    transition: background-color 0.3s;
}
.header-text button:hover {
    background-color: #ffa500; /* Tono más vibrante al pasar el cursor */
}

.logo {
    position: absolute;
    height: 130px;
    top: 20px;
    left: -5px;
}


.header-tools {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center; /* Centra verticalmente */
    gap: 30px; /* Espacio entre los elementos */
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 11.34%, rgba(0, 0, 0, 0.50) 68.37%);
}
.modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
.modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
.language-container {
    position: relative;
    width: 200px;
}

.selected-lang-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    justify-content: space-between;
}

.selected-lang-btn img {
    width: 15px;
    height: 20px;
    margin-right: 10px;
}

.selected-lang-btn span#toggleArrow {
    margin-left: auto;
}

.language-buttons {
    display: none; /* Oculta los botones por defecto */
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.language-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    justify-content: flex-start; /* Alinea el contenido del botón a la izquierda */
}

.language-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.language-btn:hover {
    background-color: #0056b3;
}


.language-selector {

    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language-selector select {
    padding: 5px 5px 5px 50px; /* Espacio para el icono de la bandera */
    border-radius: 5px;
    border: 1px solid #ccc;
    background-image: url('../images/index/flags/en.png'); /* Bandera por defecto */
    background-repeat: no-repeat;
    background-position: 5px center; /* Posiciona el icono a la izquierda */
}

.language-selector select option {
    padding-left: 30px; /* Espacio para el icono de la bandera */
}
.login a {
    color: #FFBA03;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    text-decoration: none;
    transition: all 0.3s ease; /* Suaviza la interacción */
    
    cursor: pointer;
}

.menu-icon {  /* Ajusta según sea necesario */ cursor: pointer;  } 
.menu-icon img { width: 40px; /* Ajustar según tus necesidades */ height: 40px; /* Ajustar según tus necesidades */ } 

.dropdown-menu { 
    position: absolute; 
    top: 70px; 
    right: 0; background-color:#f8f9fa;; 
    border: 1px solid #ddd; /* Borde del menú */
    border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 10px; 
    display: none; 
    z-index: 3; width: 150px;} 
.dropdown-menu ul { list-style: none; padding: 0; margin: 0; } 
.dropdown-menu ul li { margin: 10px 0; } 
.dropdown-menu ul li a { text-decoration: none; 
    color: #333; font-weight: bold; 
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s; 
}
.dropdown-menu a:hover {
    background-color: #06177e; /* Color de fondo al pasar el cursor */
    color: #fff; /* Color de la letra al pasar el cursor */
}





.whatsapp-container { position: fixed;  right: 20px; z-index: 1000; min-width:140px;max-width:140px;max-height:31px;text-align: center;max-height:32px;
    transition: all 0.3s ease-in-out; /* Transición suave para hover */
} 
.whatsapp-button { 
    /*display: flex; justify-content: space-between; background-color: #25D366;padding: 5px; color: white; border-radius: 30px; text-decoration: none; margin-left: 5px;
margin-right: 5px;*/
display: flex; justify-content: space-between; align-items: center; /* Asegura que los elementos estén centrados verticalmente */ 
background-color: #25D366; padding: 5px; color: white; border-radius: 30px; text-decoration: none; margin-left: 5px; margin-right: 5px;

} 
.whatsapp-button img { width: 30px; height: 30px;  margin-left: 5px; border-radius: 50%; } 
.whatsapp-button span { font-size: 11.5px;margin-right: 5px;}
.whatsapp-container :hover {
    transform: scale(1.05); /* Escala el botón ligeramente */
    color: #262b6f;
}
/*.fixed-btn { 
    position: fixed; bottom: 20px; right: 20px; background-color: #febb00; color: #fff; border: none; height: 40px;font-size: 17px; font-weight: bold;
    padding: 10px 20px; cursor: pointer; border-radius: 5px; z-index: 1000; /* Asegurarse de que esté por encima de otros elementos 
} */
 #containerwpe{
    bottom: 20px;
 }

#containerwpi{
    bottom: 65px;
}

.fixed-btn {
    position: fixed;
    bottom: 102px;
    min-width:130px;
    max-width: 130px;
    max-height:40px;
    right: 25px;
    background-color: #262b6f;
    color: #fff;
    border: none;
    padding:5px 10px;
    cursor: pointer;
    border-radius: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    font-size: 11.5px;
    transition: width 0.3s ease-in-out; /* Duración y tipo de transición */
}

.fixed-btn .icon {
    width: 30px; /* Ajusta el tamaño del icono según tus necesidades */
    height: 30px; /* Ajusta el tamaño del icono según tus necesidades */
    margin-right: 10px; /* Espacio entre el icono y el texto */
    
}
.fixed-btn:hover {
    width: 200px; /* Aumenta el ancho al hacer hover */
    background-color: #3b45a3; /* Cambia el color de fondo */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Agrega sombra */
    transform: scale(1.05); /* Escala el botón ligeramente */
}
.form-container { position: absolute; right: 230px;} 
.form-container.side { right:20px; }

.hidden { display: none; } 
#contactForm { 
    position: fixed; bottom: 20px; /* Ajuste para que el formulario aparezca justo encima del botón */ 
    right: 20px; background-color: rgba(255, 255, 255, 0.9); width: 300px; /* Ajustar el ancho del formulario */ height: 400px;
    padding: 10px; border-radius: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); z-index: 1001; /* Asegurarse de que esté por encima del botón */ 
} 
#contactForm .form-header { 
    position: relative;
    width: 100%;
    background-color: #004c8c; /* Color de fondo */
    color: white; /* Color del texto */
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between; /* Espacia el título y el botón */
    align-items: center; /* Centra verticalmente los elementos */
    box-sizing: border-box; /* Incluye el padding dentro del ancho total */
    border-top-left-radius: 10px; /* Opcional: bordes redondeados en la parte superior */
    border-top-right-radius: 10px;
    margin-bottom: 10px;
}
#closeForm { 
    position: absolute; top: 5px; right: 5px; background: none; border: none; 
    color: #fff; font-size: 20px; cursor: pointer; 
} 
/*#contactForm label{
    margin-bottom: 3px;
}
#contactForm input, #contactForm textarea, #contacForm select{ 
    display: block; width: 100%; margin-bottom: 7px; height: 25px;border-radius: 5px;
} 
#contactForm textarea {
    height: 80px;
}*/
form label { font-weight: bold; margin-bottom: 5px; display: block; font-size: 14px; margin-top: 6px; } 
#contactForm input, #contactForm select, #contactForm textarea { 
    width: calc(100% - 20px);
     padding: 7px; margin-bottom: 5px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; 
    -webkit-appearance: none; -moz-appearance: none; appearance:none} 
form select { height: 40px; } form textarea { height: 70px; resize: vertical; margin-bottom: 10px;}

#contactForm button[type="submit"] { 
    background-color: #262b6f; color: #fff; border: none; padding: 10px 20px; cursor: pointer; border-radius: 25px; height: 37px; width: 100%; font-size: 17px;font-weight: bold;
}

#infoCentral {
    text-align: center;
    margin: 40px 0;
}

.contenedores {
    display: flex;
    justify-content: space-between; /* Espacio entre los contenedores */
    flex-wrap: wrap; /* Permite que los contenedores se apilen si no hay suficiente espacio */
    margin: 0 auto; /* Centra el contenedor principal */
}

.contenedor {
    position: relative;
    width: 49.5%; /* Ajusta según sea necesario */
    height: 450px; /* Ajusta según sea necesario */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out; /* Suaviza cambios al redimensionar */
    
}

.contenedor img {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/*.contenedor .content {
    position: relative;
    width: 49%;
    top: 60px;
    height: 320px;
    padding: 20px;
    background-color: transparent; 
    z-index: 2;
}*/

.contenedor .content {
    position: absolute;
    left: 40px;
    width: 50%;
    top: 40px;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 300px;
    max-width: 370px;
    z-index: 2;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    
    overflow: hidden; /* Asegura que el contenido no se salga del contenedor */
}
.contenedor .content {
    line-height: 1.3;
}

.contenedor button {
    bottom: 30px; /* Ajusta según sea necesario */
    right: 20px;
    padding: 10px 20px;
    height: 32px;
    width: 160px;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #febc00;
    color: #fff;
    border: none;
    font-size: 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

#btn_acerca { align-self: flex-end; margin-top: auto; /* Empuja el botón hacia el final del contenedor */ }
#btn_offer { align-self: flex-end; margin-top: auto; border: 1px solid white; /* Borde amarillo */}

#infoOferta {
    margin-top: 10px;
}


.contenedor h1 {
    top: -5px;
    position: absolute;
    left: 10px; /* Ubica a 100px desde la parte izquierda */
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.contenedor p {
    position: absolute;
    top: 80px;
    left:10px; /* Alineado con el título */
    font-size: 1.2rem;
    color: #fff;
    z-index: 2;
}



.contenedor button:hover {
    background-color: #0056b3;
}

#infoCentral{
    height: 450px;
}
#infoCentral h1{
    margin-top: 80px;
    font-size: 50px;
    font-weight:bolder;
    margin-bottom: -10px;
    color: #333;
}
#infoCentral p{
    margin-bottom: 40px;
    font-size: 19px;
    font-weight:100;
}
#videoEscuela {
    text-align: center;
    position: relative;
    background-color: #f0f0f0;
    height: auto;
}
#videoEscuela iframe {
    width: 100%;
    height: 515px;
    top: -250px;
    max-width: 1060px; /* Limita el tamaño máximo del iframe */
    aspect-ratio: 16 / 9; /* Mantiene la relación de aspecto 16:9 */
    border: none;
    position: relative; 
}

#actividades {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    top: -100px;
    left: -60px;
    padding: 20px;
    gap: 20px; /* Espaciado entre los elementos */
}

.actividades-info {
    flex: 1 1 300px; /* Toma el ancho disponible pero no menos de 300px */
    max-width: 300px; /* Limita el tamaño máximo */
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.actividades-info p{
    font-size: 19px;
    font-weight:100;
}

.actividades-imagenes {
    flex: 1 1 300px; /* Toma el ancho disponible pero no menos de 300px */
    max-width: 600px; /* Limita el tamaño máximo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.diamond-collage {
    display: grid;
    grid-template-areas: 
        "left-top center-diamond right-top"
        "left-middle center-diamond right-middle"
        "left-bottom center-diamond right-bottom";
    gap: 10px;
}

.side-images {
    display: grid;
    gap: 10px;
}

.side-images .top-image,
.side-images .middle-image,
.side-images .bottom-image,
.center-diamond {
    position: relative;
}

.center-diamond {
    grid-area: center-diamond;
    width: 150px;
    height: 150px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    overflow: hidden;
}

.center-diamond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actividades-info button{
    bottom: -30px;
    height: 35px;
    width: 150px;
    background-color: #febc00;
    right: 1px;
    color: #fff;
    border: none;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 220px;
    font-size: 24px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer; 
}
.actividades-info button:hover {
    background-color: #0056b3;
}

  .top {
    display: grid;
    grid-template-columns: 57% 42%;
    gap: 5%;
    align-items: end; /* Alinea las imágenes al margen inferior */
  }
  
  .top img {
    width: 100%;
    object-fit: cover;
  }
  
  .left-img {
    height: 65%;
    width: 50%;
    align-self: end; /* Alinea la imagen al margen inferior */
  }
  
  .right-img {
    height: 95%;
    width: 46%;
    margin-right: 0px;
    align-self: end; /* Alinea la imagen al margen inferior */
    justify-self: end; /* Alinea la imagen al margen derecho */
  }
  .bottom {
    object-fit: cover;
    width:85%;
    right: 0px;
    background-color:white;
    border-radius: 25px; 
    height: 200px; /* Ajusta según sea necesario */
    align-self: end; /* Alinea la imagen al margen inferior */
    justify-self: end; /* Alinea la imagen al margen derecho */
    
  }
  .rectangular-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Asegura que la imagen ocupe todo el div sin distorsionarse */ 
  }

  .diamond-collage {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 50px;
    position: relative;
  }
  
  .side-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    position: relative;
  }
  
  .side-images .top-image {
    position: absolute;
    top: -90px;
    left: 110%;
    transform: translateX(-50%) rotate(-45deg);
  }
  
  .side-images .middle-image {
    position: relative;
    transform: translateX(-50%) rotate(45deg);
    left: 35%;
    z-index: 2;
  }
  
  .side-images .bottom-image {
    position: absolute;
    bottom: -90px;
    left: 110%;
    transform: translateX(-50%) rotate(45deg);
  }
  
  .side-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .center-diamond {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }
  
  .center-diamond .diamond-mask {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    position: relative;
    border-radius: 15px; /* Ajusta el valor para personalizar el redondeo */
    overflow: hidden; /* Asegura que el contenido respete el borde redondeado */
  }
  
  .diamond-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  #galeria {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Asegura que todos los elementos tengan la misma altura */
    flex-wrap: nowrap; /* Evita que las imágenes se envuelvan a una nueva línea */
    padding: 0;
    background-color: #fff;
    
    width: 100%;
    margin:0;
    overflow: hidden; /* Evita que el contenido sobresalga */
}

/* Estilos para la galería */
#galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    margin:0 auto;
    height: 50vh; /* Ajusta según sea necesario */
    position: relative; /* Asegura que los elementos hijos estén posicionados relativamente */
}

#galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 10px;
    padding-right: 10px;
    background-color: white; 
    height: 50vh;
    align-items: center;
    box-sizing: border-box;
}

#galeria img {
    width: 24%; /* Hace que cada imagen ocupe un cuarto del contenedor */
    min-height: 100%;
    height: 100%; /* Hace que la altura de la imagen sea igual a la del contenedor */
    object-fit: cover; /* Hace que la imagen cubra el contenedor manteniendo la proporción */
    
}

#galeria img {
    width: 100%; /* Ocupa todo el ancho de la celda */
    height: 100%; /* Ocupa toda la altura de la celda */
    object-fit: cover; /* Asegura que la imagen se ajuste sin deformarse */

}

.galeria-info {
    width: 100%;
    height: 100%; /* Altura igual a la del contenedor */
    background-color:transparent; /* Fondo semitransparente */
    padding: 15px;

    z-index: 2; /* Asegura que el texto esté por encima de las imágenes */
    top: 0; /* Inicia desde la parte superior del contenedor */
    display: flex;
    flex-direction: column; /* Organiza el contenido en columnas */
    justify-content: center; /* Centra verticalmente el contenido */
    align-items: left; /* Centra horizontalmente el contenido */
    text-align:justify;
    position: relative;
}

.galeria-info h1 {
    font-size: 2.5rem;
    margin-left: 30px;
    color:black;
    margin-top:-80px;
    margin-bottom: 10px; /* Espacio debajo del título */
}

.galeria-info p {
    font-size: 1.2rem;
    color: #333;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px; /* Espacio debajo del párrafo */
}

.galeria-info button {
    position: absolute;
    padding: 10px 20px;
    background-color: #febc00;
    color: #fff;
    border: none;
    width: 220px;
    right: 40px;
    text-align: center;
    bottom: 60px;
    height: 35px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Añade sombra al texto del botón */
}

.galeria-info button:hover {
    background-color: #0056b3;
}

#testimonios-slider {
    position: relative;
    overflow: hidden;
    
    padding: 20px;
    background-color: white;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    margin-top: 40px;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
}

.testimonios-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 20px;
    background-color:transparent; /* Fondo gris suave */
}

.testimonio {
    box-sizing: border-box;
    padding: 15px;
    height: 550px; /* Ajusta la altura según lo necesario */
    flex: 0 0 calc(98% / 3); /* Por defecto, mostrar 3 testimonios */
    text-align: center;
    border: 1px solid #ddd; /* Borde de cada testimonio */
    border-radius: 10px; /* Bordes suaves */
    background: linear-gradient(145deg, #ffffff, #f3f3f3); /* Fondo con un efecto sutil */
    /*box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.7);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Evita que la imagen salga del contenedor */
    position: relative; /* Posiciona el contenedor para manejar capas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para un efecto elegante */
}
.testimonio:hover {
    transform: translateY(-10px); /* Eleva la tarjeta al pasar el cursor */
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2), -6px -6px 12px rgba(255, 255, 255, 0.8);
}

/* Imagen dentro del testimonio 
.testimonio img {
    width: 80px;
    height: 80px;
    border-radius: 50%; 
    margin-bottom: 10px;
    border: 3px solid #febc00; 
    transition: transform 0.3s ease-in-out;
}*/

.testimonio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el div */
    z-index: 1; /* Coloca la imagen en el fondo */
    filter: brightness(120%); /* Oscurece la imagen ligeramente para resaltar el texto */
}

/* Zoom en la imagen solo cuando el testimonio se activa con hover */
.testimonio:hover img {
    transform: scale(1.25); /* Aumenta el tamaño de la imagen */
}
/*
blockquote {
    font-size: 1.1em;
    font-style: italic;
    margin: 10px 0;
    color: #555; 
}

p {
    margin-top: 5px;
    color: #333; 
    font-weight: bold;
}
*/
.testimonio blockquote,
.testimonio p {
    position: absolute;
    
    z-index: 2; /* Coloca el texto delante de la imagen */
    color: white;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente para resaltar el texto */
    padding: 10px;
    border-radius: 5px;
    text-align: center; /* Centra el texto horizontalmente */
    left: 50%;
    transform: translateX(-50%); /* Centra el elemento horizontalmente respecto al contenedor */
}

.testimonio blockquote {
    bottom: 55px; /* Asegura que el texto quede en la parte inferior */
    font-size: 18px;
    font-style: italic;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    width: 80%; /* Ajusta el ancho del blockquote */
}
.estrella {
    color: #FFD700; /* Amarillo dorado para las estrellitas */
    font-size: 24px; /* Aumenta un poco el tamaño de las estrellitas */
    padding: 5px;
}
.testimonio p {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    width: auto; 
    bottom: 3px; /* Asegura que el texto quede en la parte inferior */
}
#tit_testimonial{
    font-size: 2.5rem;
}
/* Fondo semitransparente detrás del texto para mejorar la legibilidad */
.testimonio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    z-index: 1; /* Coloca el fondo semitransparente por delante de la imagen pero detrás del texto */
}

button.prev, button.next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: #febc00;
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button:hover {
    background: #0056b3;
}



.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#info-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    padding-left: 100px;
    padding-right: 100px;
    background-color: #f9f9f9;
}

.image-container {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 50%;
    height: auto;
    margin:0 auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-container {
    flex: 0 0 70%; /* La información ocupa el 60% del ancho */
    display: flex;
    flex-direction: column; /* Los elementos estarán uno al lado del otro */
    gap: 20px; /* Espacio entre el título y el párrafo */
}

.info-container h1 {
    font-size: 40px;
    color: #333;
    flex-shrink: 0; /* Asegura que el título no se reduzca */
}

.info-container p {
    font-size: 1rem;
    line-height: 1.6;
    
    color: #555;
    margin: 0; /* Elimina márgenes para un diseño limpio */
    text-align: justify;
}

    

.aliados {
    height: 180px;
    display: grid; grid-template-columns: repeat(4, 1fr); /* 4 columnas para pantallas grandes */ gap: 10px; /* Espacio entre los logos */
    align-items: center; /* Centra los elementos verticalmente */ justify-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
    margin-left: auto;
    margin-right:auto;
}

.logo_aliado { 
    border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra en la parte inferior */ padding: 10px; text-align: center; /* Centrar el contenido dentro del logo */
    border-bottom-left-radius: 20px; /* Ajusta el valor según tus necesidades */ border-bottom-right-radius: 20px; min-height: 110px;max-height: 150px;
    min-width: 300px;max-width: 200px;align-items: center;
    padding: 0;
 }

.logo_aliado img {
    width: 100%; 
     height: auto; 
     max-height: 150px;
      object-fit: cover; 
      display: block; 
      border-bottom-left-radius: 10px;
       border-bottom-right-radius: 10px;
    
}


.footer { background-color: #f0f0f0;; color: gray; text-align: center; padding: 20px 0; } 
.social-media { margin-bottom: 10px; } 
.social-media a { margin: 0 10px; display: inline-block; } 
.social-media img { width: 30px; height: 30px; } 
.footer p { margin: 0; }
@media (max-width: 1350px) {
    .contenedor .content {
        max-height: 400px;

    }

    .contenedor h1{
        font-size: 1.8rem;
        left: 10px; /* Ajusta la posición */
    }
   
    .galeria-info {
        padding: 2px;
        min-height: 95%;
    }
    .galeria-info p{
        margin-left: 15px;
        margin-right: 15px;
        font-size: 1rem;
    }
 
    
   

    .galeria-info button{
        bottom: 30px;
    }
    #actividades {
        gap: 5px;
    }
    .header-text-container { 
        margin-top: 240px;
    }
    .aliados{
        display: flex;
       flex-wrap: wrap;
       justify-content: center;
        gap: 5px;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-left: 10px;
        margin-right: 10px;
           height: 320px;
    }
}
/* Responsividad */
@media (max-width: 1024px) {
    .testimonio {
        flex: 0 0 45%; /* Dos testimonios por fila */
    }
    .header-text-container { 
        margin-left: -250px;
    }
    .galeria-info button{
        right: 10px;
        width: 180px;
        font-size: 1.2rem;
    }
    .contenedor{
        padding: 0px;
    }
    

    #actividades {
        top: -150px;
        display: block; /* Apila los elementos verticalmente */
    }

    .actividades-info, 
    .actividades-imagenes {
        position: relative;
  
        width: 100%; /* Ocupan todo el ancho */
        max-width: 100%; /* Desactiva el límite de ancho */
        margin: 0 auto;
        margin-bottom: 40px; /* Añade separación entre los bloques */
        text-align: center; /* Centra el texto en pantallas pequeñas */
    }
    .actividades-info{
        left: 40px;
    }
    .diamond-collage {
        grid-template-areas: 
            "center-diamond"
            "left-top"
            "left-middle"
            "left-bottom"
            "right-top"
            "right-middle"
            "right-bottom";
    }

    .center-diamond {
        margin: 0 auto;
    }
    #galeria{
        height: 100vh;
        grid-template-columns: repeat(2, 1fr);
    }
    #galeria img{
        height: 50vh;
    }

    .testimonio {
        flex: 0 0 calc(100% / 2); /* Mostrar 2 testimonios */
    }

    
    .contenedor .content{
        min-width: 280px;
    }
    .contenedor p{
        line-height: 1.2;
    }
    #info-section {
        padding-left: 30px;
        padding-right: 30px;
       
    }
    #info-section img{
        min-width: 200px;
        min-height: 200px;
    }
    
 
}
@media screen and (max-width: 767px) {
    header {
        background-image:url('../images/slider/Main3-768x1200.jpg');
        height: auto; /* Ajusta la altura automáticamente según el contenido */
       
    }
    .testimonio {
        flex: 0 0 100%; /* Mostrar 1 testimonio */
    }
    #info-section{
        flex-direction: column;
        justify-content: center;
    }
    .galeria-info{
        min-width: 240px;
    }
    p {
        font-size: 0.9rem; /* Ajusta el tamaño del texto */
    }
    .fixed-btn .whatsapp-container{
        right: 0;
    }

    .contenedor {
        width: 100%; /* Toma el 100% del ancho disponible en pantallas pequeñas */
        height: 420px; /* Ajusta la altura automáticamente */
        gap: 5px;
    }

    .contenedor .content{
        top: 20px;
        min-height: 350px;
    }
    .contenedor h1 {
       position: relative;
       top: 20px;
       left: 2px;
    }

    .contenedor p {
        position: relative;
        left: 2px;
        top: 10px;
    }
    .contenedor button{
        position: relative;
        bottom: 20px;
        right: 20px;
    }
    .header-tools{
        top: 5px;
    }
    .logo{
        top:70px;
    }
    .logo img{
        max-height: 90%;
        min-width: 70%;
    }
    .header-text{
        margin-left: 2px;
       
    }
    .header-title{
        font-size: 2.2rem;
        line-height: 0.9;
        top: 20px;
    }
    .header-text h4{
        font-size: 1.3rem;
    }
    .header-text p{
        font-size: 0.9rem;
        line-height: 0.9;
    }
}
@media (max-width: 480px) {
    .header-text{
    min-width: 320px;
    }
    .header-text-container .showFormButton{
        display: none;
    }
    .footer { text-align:left ; padding: 10px; } 
}
/* Responsividad 
@media screen and (max-width: 767px) {
    .whatsapp-container {
        bottom: 15px; 
        left: auto;   
        right: 15px; 
    }

    .whatsapp-button {
        padding: 8px; 
        border-radius: 50px; 
    }

    .whatsapp-button img {
        width: 25px;
        height: 25px;
    }

    .whatsapp-button span {
        font-size: 14px; 
    }
    
    #galeria {
        flex-wrap: wrap;
        gap: 10px;
    }

    #galeria > * {
        flex: 1 1 100%; 
        min-width: 100%;
        height: auto; 
    }

    .galeria-info h1 {
        font-size: 1.8rem;
    }

    .galeria-info p {
        font-size: 0.9rem;
    }

    .galeria-info button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    .testimonio {
        flex: 0 0 100%; 
    }
    

}*/