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.3s ease, transform 0.3s 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: 3.0em;
  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----------------------------------------------------------------------------------*/
/* Sección de conclusión con imagen de fondo----------------------------------------------------------------- */
.seccion-conclusion {
  position: relative;
  background-image: url("imagenultima.jpg"); /* 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%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.interactive-card h3 {
  margin-top: 10px;
  color: #10b981;
  font-size: 1.1em;
}

.interactive-card a {
  text-decoration: none;
}

.interactive-card p {
  font-size: 0.9em;
  color: #4f4f4f;
  font-family: "Poppins", sans-serif;
}
/**/

/* --- Secciones --- */
.hero-section {
    position: relative;
    width: 100vw; /* asegurar ancho total de la ventana */
    height: 80vh; /* altura deseada */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;      /* eliminar márgenes externos */
    padding: 0;     /* eliminar padding */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;  /* ancho total del viewport */
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* oscurece la imagen para resaltar el texto */
    z-index: 1;    /* debajo del texto */
}

.hero-overlay {
    position: relative; /* relativo para que el texto quede sobre la imagen */
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 0 20px; /* para no tocar bordes en pantallas pequeñas */
    animation: fadeInDown 1s ease forwards;
}

.hero-overlay h1 {
    font-size: 4rem;
    font-family: "Marko One", sans-serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
}

/* Animación de entrada */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}


section {
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
    min-height: 80vh;
    box-sizing: border-box;
}

.intro-section {
    flex-direction: column;
    text-align: center;
}

.intro-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #5b4a2f;
    font-family: "Marko One", sans-serif;
}

.intro-section .descripcion {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.intro-section .imagen img {
    width: 80%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- Info secciones --- */
.info-section {
    background-color: #ebe5d2;
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    gap: 30px;
}

.info-section:nth-child(even) {
    flex-direction: row-reverse;
}

.info-section .texto {
    flex: 1;
    min-width: 300px;
}

.info-section .texto h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #5b4a2f;
    font-family: "Marko One", sans-serif;
}

.info-section .texto p, .info-section .texto ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.info-section .texto ul {
    padding-left: 20px;
}

.info-section .imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.info-section .imagen img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.5s;
}
.info-section .imagen img:hover {
    transform: scale(1.05);
}

/* --- Sección de tecnologías / carrusel --- */
.devs-section {
    background-color: #f8f5eb;
    padding: 80px 20px;
    text-align: center;
}

.devs-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #5b4a2f;
    font-family: "Marko One", sans-serif;
}

.carousel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: visible; /* antes estaba hidden, ahora permite ver los bordes */
    width: 100%;
    margin: 0 auto;
}

.carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.card {
    flex: 0 0 200px; /* puedes ajustar más ancho si quieres */
    padding-bottom: 40px; /* espacio extra para captions */
}

.card img {
    width: 100%;
    height: 200px; /* altura menor para que quepa el texto */
    object-fit: cover;
}

.card.center {
    transform: scale(1.2);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.card.left,
.card.right {
    opacity: 0.5;
    z-index: 2;
    filter: blur(1.5px);
}
.card .caption {
    position: absolute;
    bottom: 10px; /* siempre visible */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    width: 90%;
    text-align: center;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 5;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.5);
}
.nav.left { left: -40px; }
.nav.right { right: -40px; }

/* --- Responsivo --- */
@media (max-width: 1024px){
    section {
        flex-direction: column;
        text-align: center;
    }
    .info-section:nth-child(even) {
        flex-direction: column;
    }
    .info-section .imagen img {
        max-width: 90%;
    }
}

/* Animación de parpadeo para los botones */
@keyframes parpadeo {
  0%, 100% { box-shadow: 0 0 10px #d4a373; }
  50% { box-shadow: 0 0 25px #d4a373; }
}

.boton-cuadrado {
  animation: parpadeo 1.5s infinite;
  border-radius: 0; /* Bordes cuadrados */
}

/* Sombra interna para resaltar contenedor */
.shadow-inner {
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}
/*seccion con imagen de fondo*/
.green-hero {
  background-image: url('a.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.green-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.green-text h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: "Marko One", sans-serif;
}

.green-text p {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.green-cta {
  background-color: #4CAF50;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 8px;
}

/*seccion de video de fondo de quienes somos*/
.info-section-video {
  position: relative;
  height: 80vh; /* altura de la sección */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px;
}

.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ajusta el video al contenedor */
  z-index: -1; /* enviar el video atrás del texto */
}

.contenido {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.contenido h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Marko One", sans-serif;
}

.contenido p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.highlight {
  color: #4CAF50; /* resalta palabras clave */
  font-weight: bold;
}


/*seccion de impacto*/
.impacto-fondo {
  position: relative;
  background-image: url('impacto_fondo.png'); /* reemplaza con tu imagen */
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  justify-content: flex-end; /* mantiene el texto hacia la derecha */
  align-items: center;
  padding-right: 150px; /* espacio desde el borde derecho */
  padding-bottom: 200px;
}

.contenido-impacto {
  max-width: 600px;
  text-align: right;
  margin-right: 40px; /* desplazamiento adicional hacia la izquierda */
}

.contenido-impacto h2 {
  font-size: 3rem; /* más grande y llamativo */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* para mejor legibilidad */
  font-family: "Marko One", sans-serif;
}

.contenido-impacto p {
  font-size: 1.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* mejora la lectura sobre la imagen */
}

.highlight {
  color: #4CAF50; /* resalta palabras clave */
  font-weight: bold;
}

/*mison vision*/
/* Imagen fija y uniforme */
.imagen-fija {
  width: 100%;       /* ocupa todo el ancho del contenedor */
  max-width: 400px;  /* ancho máximo igual para ambas */
  height: 300px;     /* altura fija */
  object-fit: cover; /* ajusta la imagen recortando si es necesario */
  border-radius: 8px; /* opcional: bordes redondeados */
}


 /*inico del footer*/
 .footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%; /* altura del degradado */
  background: linear-gradient(to bottom, rgba(87, 75, 41, 0.6), transparent);
  z-index: 1;
}

.footer {
  background: url('nueva3.png');
  background-size: cover; /* Asegura que cubra todo el espacio */
  color: white;
  position: relative; /* ¡No uses fixed aquí si hay contenido arriba! */
  overflow: hidden;
  min-height: 50px; /* Puedes ajustar según tu imagen */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

 
.footer-top-curve {
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: start; /* alinea todo al inicio (izquierda) */
  flex-wrap: wrap;
  max-width: 800px;
  margin-left: 50px; /* ajusta a tu gusto */
  margin-right: auto;
  z-index: 2;
  position: relative;
  padding-top: 90px;
}

.footer-column {
  flex: 1 1 250px;
  margin: 10px;
}
.footer-column h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: rgb(255, 255, 255); /* color de los títulos */
  font-family: "Marko One", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* sombra suave */
}

 
.footer-column ul {
  list-style: none;
  padding: 0;
}
 
.footer-column ul li {
  margin-bottom: 8px;
}
 
.footer-column ul li a {
  color: rgb(247, 247, 247);
  text-decoration: none;
  font-size: 0.75em; /*letras de los enlaces*/
  font-family: 'Poppins', sans-serif;

}
 
.footer-column ul li a:hover {
  text-decoration: underline;
}
 
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8em;
  color: #18301b;/*color de las letras de abajo*/
}
 
.footer-bottom a {
  display: block;
  margin-top: 10px;
  color: none;
  text-decoration: none;
}
.footer-legal {
  background-color: #18301b; /* tono oscuro compatible con el footer */
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* línea sutil */
}
/*fin del footer*/
  #scrollToTopBtn {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 235px;
    right: 15px;
    background-color: #3333338a; /* Gris oscuro */
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px; /* Un poco redondeado */
    cursor: pointer;
    z-index: 1000;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
  }

  #scrollToTopBtn:hover {
    background-color: #555;
  }
/* Secciones de parrafos con el estilo de fuente */
.text-lg {
  font-family: 'Poppins', sans-serif;
}
.contenido {
      font-family: 'Poppins', sans-serif;
    }
.highlight {
      font-family: 'Poppins', sans-serif;
    }
 p {
      font-family: 'Poppins', sans-serif;
    }
 .descripcion {
      font-family: 'Poppins', sans-serif;
    }
.text-3xl {
  font-family: "Marko One", sans-serif;
}