body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: #f8f5eb;
}
.hojas-flotando {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hoja {
  position: absolute;
  font-size: 24px;
  opacity: 0.6;
  animation: flotar 10s linear infinite;
}

.hoja1 {
  left: 10%;
  animation-delay: 0s;
}
.hoja2 {
  left: 50%;
  animation-delay: 3s;
}
.hoja3 {
  left: 80%;
  animation-delay: 6s;
}

@keyframes flotar {
  0% {
    top: -10%;
    transform: rotate(0deg) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.5;
  }
  100% {
    top: 110%;
    transform: rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* ==========================
   HEADER
============================= */
.greenleaders-header {
  position: relative;
  width: 100%;
  height: 70px;
  background-color: #2e4639;
  border-bottom: 1px solid #d4a373;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  font-family: "Poppins", sans-serif;
  z-index: 1000;
}

/* Contenedor del logo y texto */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Añadido para centrar horizontalmente */
  gap: 1rem;
  width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
  max-width: 300px; /* Opcional: limita el ancho máximo para mejor aspecto */
  margin: 0 auto; /* Centra el contenedor horizontalmente en su contenedor padre */
}

/* Imagen del logo */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
/* Ícono de menú hamburguesa */
.menu-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Íconos del header */
.header-icons {
  position: absolute;
  top: 1rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-selector {
  display: flex;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.language-icon {
  display: flex;
  align-items: center;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  transition: background-color 0.3s ease;
}

.language-icon:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.language-icon.active {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

.language-icon span {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.login-icon {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.15);
  -webkit-transition: ease-out 0.4s;
  -moz-transition: ease-out 0.4s;
}

.login-icon:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.login-icon i {
  margin-right: 0.5rem;
}

.theme-icon {
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.theme-icon:hover {
  transform: rotate(180deg);
}
/* ==========================
   BARRA DE NAVEGACION
============================= */
.greenlead-nav {
  width: 100%;
  background-color: #2e4639;
  border-bottom: 1px solid #2e4639;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.green-list {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

.green-list li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease;
}

.green-list li a:hover {
  color: #b99119;
}
/* ==========================
   GALERIA
============================= */

.header-gallery {
  position: relative;
  height: 500px;
  overflow: hidden;
  width: 100%;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  transform: scale(1.1); /* Iniciar con un poco de zoom */
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1); /* Volver al tamaño normal cuando está activo */
  z-index: 1; /* Asegurar que el slide activo esté por encima */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  ); /* Gradiente para mejor visibilidad del texto */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 40px;
  color: white;
  z-index: 2;
}

.overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(50px); /* Iniciar fuera de la vista */
  opacity: 0;
  transition: transform 1s ease-out 0.5s, opacity 1s ease-out 0.5s;
}

.overlay p {
  font-size: 1.8rem;
  max-width: 600px;
  color: white;
  font-family: "Poppins", sans-serif;
  margin-bottom: 30px; /* Corregido: eliminado el % y el top innecesario */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  transform: translateY(50px); /* Iniciar fuera de la vista */
  opacity: 0;
  text-align: center;
  transition: transform 1s ease-out 0.7s, opacity 1s ease-out 0.7s;
}
.overlay.active h1,
.overlay.active p {
  transform: translateY(0);
  opacity: 1;
}

.gallery-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-dot:hover {
  transform: scale(1.2);
}

.gallery-dot.active {
  background-color: white;
  transform: scale(1.2);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.gallery-arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.prev {
  left: 20px;
}

.gallery-arrow.next {
  right: 20px;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.main-content h2 {
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.main-content p {
  margin-bottom: 20px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .header-gallery {
    height: 350px;
  }

  .overlay {
    padding: 40px 20px;
  }

  .overlay h1 {
    font-size: 2.5rem;
  }

  .overlay p {
    font-size: 1.2rem;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ==========================
   MARQUEE
============================= */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background-color: #7b6f58;
  border-color: #808000;
}

.marquee {
  display: inline-block;
  color: white;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee-content {
  display: inline-block;
  padding: 5px 0;
  font-family: "Poppins", sans-serif;
  font-size: 24px; /* Tamaño de fuente más grande */
  line-height: 1.5; /* Mejora la legibilidad */
  font-weight: bold;
}

.marquee-content i {
  margin-right: 10px;
  font-size: 1.5em; /* Tamaño del icono más grande */
}

/* barra de navegacion vertical----------------------------------------------------------------------------------*/
.subtitulo {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
/* Título del encabezado */
header h1 {
  margin-top: 10px;
  font-size: 3em;
  color: #808000; /* Puedes cambiar si tu fondo es muy claro */
  font-family: "Marko One", sans-serif;
  letter-spacing: 5px; /* Aumenta el espacio entre letras */
}
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra horizontalmente */
  padding: 15px;
  text-align: center; /* Asegura que el texto también quede centrado */
  font-family: "Poppins", sans-serif;
}

#profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  background-color: #ccc;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 255px;
  height: 100%;
  background-color: #685e4a;
  color: white;
  transition: 0.3s;
  padding-top: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow-y: auto; /*es para que sea mas para abajo */
}

.sidebar.active {
  left: 0;
}
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

/* Botón de cierre (tres puntos) */
.contenedor-close-boton {
  text-align: right;
  padding-right: 5px;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  color: white; /* Ícono en blanco */
  background-color: #685e4a; /* Fondo marrón */
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  display: inline-block;
}

.profile-section {
  text-align: center;
  padding: 15px;
}

#profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

#profile-upload {
  display: none; /* Oculta input real */
}

.upload-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #555;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.upload-btn:hover {
  background-color: #666;
}

#user-account {
  margin-top: 10px;
  font-size: 14px;
}

.sidebar-menu {
  list-style: none;
  padding: 10px 20px;
}

.sidebar-menu li {
  margin: 15px 0;
}

.sidebar-menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 8px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif; /*-------------------------------fuente de la barra lateral*/
}

.sidebar-menu a:hover {
  background-color: #444;
}
/*FRASE INICIAL*/

.intro-frase {
  background: white;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid #808000;
}

.contenedor-frase blockquote {
  font-family: "Poppins", sans-serif;
  font-size: 2em;
  font-weight: 500;
  color: #424202;
  margin: 0 auto 20px;
  max-width: 600px;
  line-height: 1.4;
}

.autor {
  font-size: 1em;
  color: #808000;
  font-style: italic;
  font-family: "Roboto", sans-serif;
}

/* fin de la barra de navegacion vertical----------------------------------------------------------------------------------*/
/* primera seccion-------------------------------------------------------------------------------------------------*/
.proposito {
  background-color: #d7d9ce; /* color de fonde del contenedor mas grande*/
  text-align: center;
  padding: 10px 10px;
}

.cajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.caja img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.caja p {
  font-size: 16px;
  color: #5b4a2f; /* color de las letras de los contenedores pequeños*/
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
}
.caja {
  background-color: #d7d9ce; /* color de los contenedores dentro del contenedor*/
  width: 250px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.caja:hover {
  transform: scale(1.05);
  background-color: #ffffff; /* Color suave para aparecer al pasar el mouse*/
  box-shadow: 0 4px 15px rgba(32, 68, 37, 0.3);
}

/* segunda seccion --------------------------------------------------------------------------------------------*/
.compromiso {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  gap: 20px;
}

.compromiso .texto {
  flex: 1;
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
  font-family: "Poppins", sans-serif;
  color: #5b4a2f;
}

.compromiso .imagen {
  flex: 1;
}

.compromiso .imagen img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}
.titulos {
  font-family: "Marko One", sans-serif;
  color: #424202; /*COLOR DE LOS TITULOS DENTRO DE LA PAGINA*/
  font-size: 30px;
  padding-left: 60px; /* Espacio desde el borde izquierdo */
}
.parrafos {
  text-align: justify;
  font-size: 20px;
  padding-left: 60px;
  padding-right: 60px;
  color: #4f4f4f;
  font-family: "Poppins", sans-serif;
}

/*Tercera seccion------------------------------------------------------------------------------------------------*/
.process-container {
  display: flex;
  flex-wrap: wrap; /* Permite que se acomoden si no caben en una línea */
  justify-content: center;
  gap: 20px;
}
.process-container p {
  font-family: "Poppins", sans-serif;
  color: #5b4a2f;
}
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: 300px; /* Tamaño fijo para que se vean como tarjetas */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.icon img {
  width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

h3 {
  color: #424202;
  margin-top: 20px;
  font-family: "Marko One", sans-serif;
}

.contenido {
  flex: 1;
  font-size: 16px;
  margin-top: 10px;
  text-align: center;
}

/* fin de la Tercera seccion-------------------------------------------------------------------------------------*/
/* seccion 4----------------------------------------------------------------------------------------------------*/
.seccion-hero-img {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("imagen10.jpg"); /* Reemplaza con la ruta de tu imagen */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.seccion-hero-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* efecto oscuro para resaltar el texto */
  z-index: 1;
}

.seccion-hero-contenido {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.seccion-hero-contenido h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: "Marko One", sans-serif;
}

.seccion-hero-contenido p {
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
}
/* seccion del footer----------------------------------------------------------------------------------------------*/
/* ==========================
   FOOTER
============================= */

/*inico del footer*/
/*dentro del html ya que esta seccion no lo leia*/
/*fin del footer*/

/*video uno--------------------------------------------------------------------------------------------------*/
.video-lateral {
  display: flex;
  flex-wrap: wrap; /* Para que en pantallas pequeñas se acomode en columna */
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #d0d3d0;
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.video-contenedor video {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.texto-contenedor {
  max-width: 500px;
}

.texto-contenedor h2 {
  font-size: 26px;
  color: #2e7d32;
  margin-bottom: 15px;
  font-weight: bolder;
  font-family: "Marko One", sans-serif;
}

.texto-contenedor p {
  font-size: 18px;
  color: #5b4a2f;
  line-height: 1.6;
  text-align: justify;
  font-family: "Poppins", sans-serif;
}
.video-lateral:hover {
  transform: scale(1.05);
  background-color: #d7d9ce; /* Color suave para aparecer al pasar el mouse*/
  box-shadow: 0 4px 15px rgba(32, 68, 37, 0.3);
}

/* fin del video uno-------------------------------------------------------------------------------------*/
/*seccion seis---------------------------------------------------------------------------------------------*/
.seccion6 {
  background-color: white;
  padding: 40px;
  text-align: center;
}

.titulo-s6 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #2e7d32;
  font-family: "Marko One", sans-serif;
}

.contenedor-s6 {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.item-s6 {
  background-color: white;
  width: 23%;
  height: 250px;
  border: 1px solid #ccc;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  box-sizing: border-box;
  padding: 5px; /* espacio interno para que no se pegue */
  border-radius: 10px; /* bordes redondeados opcionales */
}

.item-s6 img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* OJO: esto hace que no se recorte nada */
  display: block;
  border-radius: 10px; /* bordes igual que el contenedor */
  border: 2px solid #ddd; /* borde visual para que no se vea cortado */
  box-sizing: border-box;
}

.texto-s6 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-size: 14px;
  z-index: 1;
  box-sizing: border-box;
  max-height: 100%;
  overflow-y: auto;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.item-s6:hover .texto-s6 {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .item-s6 {
    width: 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .item-s6 {
    width: 100%;
  }
}

/*fin seccion seis---------------------------------------------------------------------------------------*/
/*imagen del medio------------------------------------------------------------------------------------------*/
.separador-fondo {
  background-image: url("imagen12.avif"); /* Reemplaza con la ruta imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px; /* Ajusta la altura según lo necesites */
  width: 100%;
  overflow-x: hidden;
}

.separador-fondo2 {
  background-image: url("fondo_2.jpg"); /* Reemplaza con la ruta imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px; /* Ajusta la altura según lo necesites */
  width: 100%;
  overflow-x: hidden;
}
/*fin de la imagen del medio------------------------------------------------------------------------------*/
/* Sección del gráfico ----------------------------------------------------------------------------------*/
.composicion-residuos {
  text-align: center;
  margin: 50px 0;
  padding: 0 20px;
}

.composicion-residuos h2 {
  font-size: 24px;
  color: #2e7d32;
  margin-bottom: 20px;
  font-family: "Marko One", sans-serif;
}

.contenido {
  display: flex;
  justify-content: center; /* Alineación horizontal en el centro */
  align-items: flex-start; /* Alineación vertical al inicio */
  gap: 20px; /* Espacio moderado entre los elementos */
}

.texto2 {
  width: 700px; /* Aumentamos el ancho para hacerlo más horizontal */
  min-height: 100px; /* Aseguramos que haya una altura mínima para que no se vea comprimido */
  text-align: left;
  font-size: 18px;
  color: #5b4a2f;
  font-family: "Poppins", sans-serif;
  padding: 15px;
  background-color: #d7d9ce;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  line-height: 1.5;
}

.texto2 p {
  margin: 10px 0;
}

.texto2 strong {
  color: #f44336;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}
/*ultima seccion---------------------------------------------------------------------------------------------*/
/* Sección de conclusión con imagen de fondo----------------------------------------------------------------- */
.seccion-conclusion {
  position: relative;
  background-image: url("imagen17.webp"); /* Sustituye 'ruta/a/tu/imagen.jpg' por la ruta de tu imagen */
  background-size: cover; /* La imagen cubre todo el área */
  background-position: center; /* Centra la imagen */
  background-attachment: fixed; /* Fija la imagen mientras se desplaza el contenido */
  height: 400px; /* Puedes ajustar la altura de la sección */
  color: white; /* Color del texto en blanco para que resalte sobre el fondo */
  display: flex;
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */
  padding: 20px;
  text-align: center;
}

.contenido-conclusion {
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Fondo semi-transparente para el texto */
  padding: 30px;
  border-radius: 10px; /* Bordes redondeados */
  max-width: 800px; /* Limita el ancho del contenedor */
}

.seccion-conclusion h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-family: "Marko One", sans-serif;
}

.seccion-conclusion p {
  font-size: 18px;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

/* Estilos base del chatbot----------------------------------------------------------------------------------------------- */

/* Botón flotante para abrir el chat */
#chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #c1c1c1;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Imagen dentro del botón flotante */
#chat-toggle img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

/* Contenedor del chatbot */
#chat-container {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 360px;
  height: 480px;
  background: white;
  border-radius: 20px;
  border: 2px solid #10b981;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Para que el contenedor quede debajo del botón */
}

/* Cabecera del chat */
#chat-header {
  background-color: #10b981;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

/* Área de mensajes */
#chat-messages {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 10px;
  background-color: #f0fdf4;
}

/* Entrada de texto */
#chat-input {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

#chat-input button {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

/* Estilo de burbujas de mensaje */
.message {
  position: relative;
  padding-left: 50px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 15px;
  max-width: 70%;
  word-wrap: break-word;
  /* Para que el texto quede bien alineado dentro de la burbuja */
  white-space: pre-wrap;
}

.bot {
  background-color: #bbf7d0;
  align-self: flex-start;
  text-align: left;
}

.user {
  background-color: #86efac;
  align-self: flex-end;
  text-align: right;
}

/* Que las imágenes dentro de los mensajes no sean gigantes */
.message img {
  position: absolute; /* La “saca” del flujo normal */
  top: -10px; /* Ajusta para que quede encima */
  left: -40px; /* O right, según dónde quieras que esté */
  width: 40px; /* Tamaño de la imagen */
  height: 40px;
  border-radius: 50%; /* Para que sea redonda */
  border: 2px solid white; /* Borde para destacar */
  background-color: white; /* Fondo para que se vea bien */
  z-index: 1100; /* Que esté arriba */
}

/* Contenedor de preguntas sugeridas */
#suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px;
  background-color: #f0fdf4;
  border-top: 1px solid #ccc;
}

/* Botones de preguntas sugeridas */
#suggestions button {
  background-color: #d1fae5;
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

#suggestions button:hover {
  background-color: #bbf7d0;
}
/*seccion de estilo de otras cosas entretenidas---------------------------------------------------------------------*/
.interactive-section {
  padding: 40px;
  background-color: #ffffff;
}

.interactive-title {
  text-align: center;
  font-size: 2em;
  color: #2e7d32;
  margin-bottom: 30px;
  font-family: "Marko One", sans-serif;
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.interactive-card {
  background: none;
  text-align: center;
  transition: transform 0.3s ease;
}

.interactive-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.interactive-card h3 {
  margin-top: 10px;
  color: #119d6e;
  font-size: 1.1em;
}

.interactive-card a {
  text-decoration: none;
}

.interactive-card p {
  font-size: 0.9em;
  color: #4f4f4f;
  font-family: "Poppins", sans-serif;
}
/**/
