* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9fbf9;
    color: #222;
}

/* menu */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(15, 61, 46, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    color: white;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}
.logo {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #a5d6a7;
}

/* HERO */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0f3d2e, #1b5e20, #66bb6a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.7rem;
    margin: 15px 0;
    font-weight: 400;
}

.hero p {
    margin-bottom: 30px;
}

/* BOTONES */

.btn {
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    transition: 0.3s;
    display: inline-block;
    background: white;
    color: #1b5e20;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* SECCIONES */

section {
    padding: 100px 12%;
    text-align: center;
}

section h2 {
    margin-bottom: 40px;
    color: #1b5e20;
}

/* INTRO */

.introduccion p {
    max-width: 900px;
    margin: auto;
    text-align: justify;
}

/* REELS */

.video-container {
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 80%;
    max-width: 900px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nota {
    margin-top: 20px;
    color: gray;
}

/* CONCLUSIONES */

/* Fondo de la página */
body {
    background-color: #ffffff;
    font-family: 'Georgia', serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* Sección Conclusiones */
.conclusiones {
    padding: 50px 20px;
}

/* Título */
.conclusiones h2 {
    text-align: center;
    color: #1b5e20; /* Verde oscuro */
    font-size: 2em;
    margin-bottom: 30px;
}

/* Tarjeta */
.tarjeta-flotante {
    background-color: #f0f0f0; /* Gris claro */
    color: #333333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    max-width: 900px;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Efecto hover */
.tarjeta-flotante:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.tarjeta-flotante p {
    margin-bottom: 20px;
}


/* BIBLIOGRAFÍA */
.bibliografia {
    background-color: #f2f2f2; /* gris clarito */
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bibliografia h2 {
    color: #1b5e20; /* verde para el título */
    text-align: center;
    margin-bottom: 15px;
}

/* Marquee moderno */
.marquee {
    overflow: hidden;
    position: relative;
}

.marquee ul {
    display: flex;
    gap: 50px;
    animation: scrollBackForth 20s linear infinite alternate; /* va y vuelve */
    padding: 0;
    margin: 0;
}

.marquee li {
    list-style: none;
    white-space: nowrap;
    font-size: 16px;
    color: #333;
}

/* Animación va y vuelve */
@keyframes scrollBackForth {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* ajusta según el ancho del contenido */
}
/* FOOTER */

footer {
    background: #0f3d2e;
    color: white;
    text-align: center;
    padding: 25px;
}

/* miembros */
.miembros {
  padding: 60px 10%;
  background-color: #f7fafd;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.miembros h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 5px;
}

.miembros p {
  color: #666;
  margin-bottom: 40px;
  font-weight: 500;
}

.cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  max-width: 220px;
  padding: 15px 10px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.miembro-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #1b5e20;
}
/* INTRODUCCIÓN DOS COLUMNAS */

.intro-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-texto {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
    text-align: justify;
}

.intro-texto h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.intro-texto p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.intro-pdf {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.pdf-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 320px;
}

.pdf-card h3 {
    margin-bottom: 15px;
    color: #1b5e20;
}

.pdf-card p {
    margin-bottom: 25px;
    color: #555;
}

.btn-pdf {
    display: inline-block;
    padding: 12px 25px;
    background: #1b5e20;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-pdf:hover {
    background: #2e7d32;
    transform: translateY(-3px);
}