@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

* {
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

}

body {
font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
text-decoration: none;
  color: inherit;
}

ul {
list-style: none;
}

header {
background-color: #fff;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-container img {
width: 42px;
  height: 42px;
}

.logo-text {
font-size: 1.6rem;
  font-weight: bold;
  color: white;
}

.logo-subtext {
font-size: 0.85rem;
  color: white !important;
  margin-top: -5px;
  font-weight: 600;
}

nav a {
margin-left: 1rem;
  margin-right: auto;
  font-weight: 500;
  font-size: 1rem;
  color: #444;
  text-decoration: none;
}


.btn-donar {
color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 23px;
  font-weight: 600;
}

section.hero {
display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 4rem 5%;
}

.hero-text {
flex: 1;
  min-width: 300px;
}

.hero-text h1 {
font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text .gradient-text {
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text .blue-text {
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text p {
font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
}

.hero-image {
flex: 1;
  min-width: 300px;
}

.hero-image img {
width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  animation: floatImage 4s ease-in-out infinite;
}

.btn {
display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  margin-right: 1rem;
}

.btn-primary {
background-color: #2962ff;
  color: #fff;
}

.btn-primary:hover {
background-color: #0039cb;
}

.btn-secondary {
background-color: #ec407a;
  color: #fff;
}

.btn-secondary:hover {
background-color: #ad1457;
}

@keyframes floatImage {
0% { transform: translateY(0);
}

50% {
transform: translateY(-10px);
}

100% {
transform: translateY(0);
}

}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 4rem 5%;
  text-align: center;
  background-color: #fef6ea; /* fondo pastel beige claro (paleta) */
}

.stat {
  flex: 1 1 220px;
  margin: 1rem;
  padding: 2rem 1.5rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat i {
  font-size: 2.2rem;
  color: #3f51b5; /* azul fuerte de tu botón DONAR AHORA */
  margin-bottom: 1rem;
}

.stat h3 {
  font-size: 1.8rem;
  color: #d81b60; /* rosa fuerte para destacar */
  margin: 0.5rem 0;
}

.stat p {
  color: #444;
  font-size: 1rem;
}
.stats img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.stat .stat-icon{
  font-size: 60px;
  margin-bottom: 10px;
  display: inline-block;
}

/* Sección: Conoce Nuestra Asociación Civil */
section.about {
  padding: 2rem 5% 4rem; /* Reducido el espacio superior */
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.inline-heading {
  margin-top: 0;         /* Asegura que no haya margen extra */
  margin-bottom: 0.5rem; /* Puedes ajustar si quieres más separación con el párrafo */
}

.text-conoce {
  color: #f28b82;
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;       /* Menor espacio vertical */
}

.text-ac {
  color: #e53935;
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;       /* Igual que arriba */
}

.about p {
  font-size: 1.15rem;
  color: #444;
  margin-top: 1rem;       /* Menor espacio debajo del título */
  line-height: 1.1;
}


.impact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.impact-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.impact-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.impact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.impact-text p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

blockquote.quote {
  font-style: italic;
  font-weight: 600;
  background-color: #f28b82;
  border-left: 5px solid #0a0a0a;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}



section.about .gradient-text {
font-size: 2.8rem;
}

.values-section {
  background-color: #ebebf5;
  padding: 4rem 2rem;
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 1300px;
}


.values-container {
display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.value-card {
flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
transform: translateY(-6px);
}


.value-card h3 {
font-size: 1.2rem;
  color: #2962ff;
  margin-bottom: 1rem;
}

.value-card p {
font-size: 0.95rem;
  color: #444;
}

.programs {
padding: 4rem 5%;
  background: #f5fff7;
  text-align: center;
}

.gradient-title {
font-size: 2.8rem;
  font-weight: 800;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.gradient-title span {
display: block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.programs-subtext {
font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.programs-container {
display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.program-card {
flex: 1 1 300px;
  max-width: 330px;
  background: white;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.07);
  text-align: left;
  border-top: 6px solid transparent;
  transition: transform 0.3s ease;
}

.program-card:hover {
transform: translateY(-8px);
}

.program-icon {
background-color: #e3f2fd;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #2962ff;
  margin-bottom: 1rem;
}

.program-card h3 {
font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.program-card p {
font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.program-card ul {
list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.program-card ul li {
font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #444;
}

.blue-border {
border-top-color: #2962ff;
}

.pink-border {
border-top-color: #e91e63;
}

.green-border {
border-top-color: #4caf50;
}

.nuestros-gradient {
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.programas-gradient {
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === OPTIMIZED STYLES === */

/* Gradient heading styles */
.gradient-title, .nuestros-gradient, .programas-gradient {
font-size: 3rem;
  font-weight: 800;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* Improve section layout for heading and subheading */
.programs h2.gradient-title {
margin-bottom: 0.5rem;
}

.programs h2.gradient-title span {
display: block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About section gradient fix */
.about h2 {
font-size: 3rem;
  margin-bottom: 1rem;
}

.about h2 .gradient-text {
display: block;
}

/* Ensure headings are centered properly */
.about h2, .programs h2, .about p, .programs-subtext {
text-align: center;
}

/* Improve spacing between section elements */
section.about, section.programs {
padding-top: 4rem;
  padding-bottom: 4rem;
}

body {
font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.logo-center img {
  height: 80px;           /* ⬆️ más grande visualmente */
  object-fit: contain;
  display: block;
  transform: scale(4);  /* 🔍 extra tamaño visual sin romper diseño */
}


.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 200px;
  transform: translate(20px, 10px); /* ⬅️ Mueve el logo 20px a la derecha y 10px hacia abajo */
}



h2.inline-heading {
text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

section.about, section.programs {
padding: 4rem 5%;
  text-align: center;
}

.navbar {
background-color: #ae69db;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow-x: hidden;
}


.navbar-inner {
display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
}

/* Quitar márgenes generales del body y html */
html, body {
margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Navbar sin espacios laterales ni superiores */
header {
margin: 0;
  padding: 0;
  width: 100%;
}

/* Navbar completo */
.navbar {
background-color: #ae69db;
  width: 100%;
  height: 120px; /* altura fija */
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilo global para todos los enlaces del navbar */
.navbar a {
color: white !important;
  font-weight: 700; /* bold */
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Botón de donación también en blanco bold, pero con fondo */
.btn-donar {
white-space: nowrap;            /* ❗ Evita el salto de línea */
  padding: 0.4rem 1.3rem;         /* ❗ Aumenta un poco el ancho interno */
  font-size: 1rem;                /* ❗ Asegura que el texto quepa */
  min-width: 160px;               /* ❗ Espacio mínimo para una sola línea */
  text-align: center;
}

/* Logo texto debajo en blanco */
.logo-text {
font-size: 1.6rem;
  font-weight: 700;
  color: white !important;
}

.nav-left {
display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 40px; /* espacio entre botones y logo */
}

.btn-donar {
  background: linear-gradient(to right, #3f51b5, #3f51b5);
  color: white !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(223, 224, 224, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 160px;
  text-align: center;
}

.btn-donar:hover {
  background: linear-gradient(to right, #3f51b5, #1976d2);
  transform: translateY(-2px);
}

.text-construyendo {
  color: #02679d; /* rojo sólido vibrante */
  font-weight: 800;
}

.text-brillantes {
  color: #0288d1; /* azul brillante sólido */
  font-weight: 800;
}

.text-programas-1 {
  color: #81c784;  /* Verde pastel suave */
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.text-programas-2 {
  color: #388e3c;  /* Verde más fuerte, sólido */
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.logo-container a {
  display: block;
  height: 100%;
}

.logo-container a img {
  display: block;
  height: 42px; /* o el tamaño que tenías definido */
  width: auto;
  object-fit: contain;
}

/* CHECAR */


.accordion-header {
  font-size: 1.2rem;
  color: #2962ff;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 1rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 1000px;
  opacity: 1;
}


.text-historias {
  color: lavanda;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.text-transformacion {
  color: lavanda;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.nav-center {
  position: absolute;
  left: 60%;
  transform: translateX(-180%);
  font-weight: 600;
  color: white;
  text-transform: uppercase;
}
.transparency {
  background-color: #fff6ee;
  color: #333;
  padding: 40px 20px;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.transparency-card {
  background-color: #fff6ee;
  padding: 20px;
  border-left: 10px solid #ae69db;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
  align-items: flex-start;
}

.title-red {
  color: #a6224f;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.title-blue {
  color: #167387;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.btn-transparency {
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-transparency.red {
  background-color: #d0385e;
}

.btn-transparency.blue {
  background-color: #157188;
}

.btn-transparency:hover {
  opacity: 0.9;
}

.our-goal {
  background-color: #a6224f;
  color: #fff;
  padding: 60px 20px;
}

.goal-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.goal-title {
  font-family: 'Segoe UI', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  flex: 1;
  min-width: 240px;
}

.goal-content p {
  flex: 2;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fbeaea;
  min-width: 280px;
}
.text-acerca {
  color: #a18262;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.text-pasitos {
  color: #7c6853;  
  font-weight: 800;
  font-size: 2.6rem;
  display: block;
  line-height: 1.1;
}

.galeria {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.galeria h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.imagenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.imagenes img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.imagenes img:hover {
  transform: scale(1.05);
}

.title-media {
  color: #689090;  
  font-weight: 800;
  font-size: 2.6rem; 
  display: block;
  line-height: 1.1;
  text-align: center;

}

.title-rollo {
  color: #475858;  
  font-weight: 800;
  font-size: 2.6rem; 
  display: block;
  line-height: 1.1;
  text-align: center;

}

/* Parche para forzar interacción */
.toggle-type__btn,
.amount,
.custom-amount input,
.pay-option,

#btnDonar {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

/* Si algún pseudo-elemento cubriera el panel, ignora eventos */
.donate-panel::before,
.donate-panel::after {
  pointer-events: none !important;
}

/* ===== Navbar móvil: SOLO < 900px ===== */
@media (max-width: 899.98px){

  /* botón visible en móvil */
  .menu-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#ec407a;
    color:#fff;
    border:0;
    padding:.6rem .9rem;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
  }

  /* permite que los bloques bajen a nuevas filas */
  .navbar .navbar-inner{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:8px 12px;
    padding:10px 12px;
  }

  /* el logo centrado y sin translate en móvil */
  .logo-center{
    order:1;
    width:100%;
    transform:none !important;
    display:flex;
    justify-content:center;
    margin:6px 0 2px;
  }
  .logo-center img{ max-width:160px; height:auto; }

  /* menús ocultos inicialmente en móvil */
  .nav-left, .nav-right{
    display:none;
    width:100%;
    order:2;
    flex-direction:column;
    align-items:center;
    gap:8px;
  }
  /* enlaces grandes y fáciles de pulsar */
  .nav-left a, .nav-right a{
    display:block;
    width:100%;
    text-align:center;
    padding:12px 6px;
    font-weight:700;
  }

  /* === Estado abierto === */
  .navbar.open{
    position:fixed;           /* panel sobre el contenido */
    top:0; left:0; right:0;
    background:#0e1621;       /* color de tu barra */
    z-index:9999;
  }
  .navbar.open .nav-left,
  .navbar.open .nav-right{
    display:flex;
    background:#7c4dff;       /* el morado que muestras */
    padding:12px 14px;
    border-radius:12px;
    /* ocupa la altura disponible y permite scroll si hay muchos enlaces */
    max-height:calc(100vh - 120px);
    max-height:calc(100dvh - 120px);
    overflow:auto;
  }

  /* bloquea el scroll del contenido cuando el menú esté abierto */
  body.menu-open{ overflow:hidden; }
}

/* Oculta el botón en desktop; no cambia nada en tu diseño actual */
@media (min-width: 900px){
  .menu-toggle{ display:none; }
}








