/* ======== VARIABLES ======== */
:root {
  --verde: #00ff88;
  --verde-oscuro: #00cc66;
  --negro: #0d0d0d;
  --gris: #eaeaea;
}

/* ======== BASE ======== */
body {
  margin: 0;
  background: var(--negro);
  color: var(--gris);
  font-family: "Courier New", monospace;
  scroll-behavior: smooth;
  padding-top: var(--header-height, 160px);
}

h1, h2, h3, p {
  margin: 0;
}
.titulo-nosotros {
  color: #00ff88; 
}

.service-icon {
  color: #00ff88; /* Verde */
  font-size: 2.5rem; /* Tamaño del ícono, puedes ajustar */
  display: inline-block;
  margin-bottom: 15px;
  transition: transform 0.3s, color 0.3s;
}

.service-icon:hover {
  color: #00cc66; /* Verde más oscuro al pasar el cursor */
  transform: scale(1.2); /* Pequeña animación de zoom */
}

/* ======== HEADER ======== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 80%, rgba(0,0,0,0.4));
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.header.scrolled {
  background: rgba(0,0,0,0.95);
  box-shadow: 0 0 10px var(--verde);
  padding: 8px 0;
}

/* Logo */
.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 5px var(--verde));
  margin-bottom: 5px;
}

/* Título */
.titulo {
  color: var(--verde);
  font-size: 2rem;
  text-shadow: 0 0 10px var(--verde);
  text-align: center;
}

/* ======== NAV ======== */
.nav {
  position: relative;
  margin-top: 8px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.menu li a {
  text-decoration: none;
  color: var(--gris);
  font-weight: bold;
  transition: 0.2s;
}

.menu li a:hover {
  color: var(--verde);
  text-shadow: 0 0 8px var(--verde);
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--verde);
  color: var(--verde);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ======== SECCIONES ======== */
section {
  text-align: center;
  padding: 100px 20px 60px;
}

.programa {
  border: 1px solid #222;
  background: #111;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.programa:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px var(--verde);
}

.descargar, .boton-donar {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: var(--verde);
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}
.descargar:hover, .boton-donar:hover {
  background: var(--verde-oscuro);
}

/* ======== TYPING EFFECT ======== */
.typing {
  color: var(--verde);
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 0 0 8px var(--verde);
  display: inline-block;
  border-right: 3px solid var(--verde);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* ======== FOOTER ======== */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #222;
  color: #777;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .titulo {
    font-size: 1.6rem;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
    display: none;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 0;
    border-radius: 10px;
    width: 180px;
    box-shadow: 0 0 10px var(--verde);
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    margin-top: 10px;
  }

  section {
    padding: 120px 15px 60px;
  }

  .programa {
    width: 90%;
  }

  .typing {
    font-size: 1.3rem;
  }

  .descargar, .boton-donar {
    width: 80%;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .titulo {
    font-size: 1.4rem;
  }
  .logo img {
    height: 40px;
  }
}
