:root {
    --azul-oscuro: #0d47a1;
    --azul-claro: #1976d2;
    --blanco: #ffffff;
    --gris-fondo: #f4f4f4;
    --sombra: 0 4px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--gris-fondo);
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(to right, var(--azul-oscuro), var(--azul-claro));
    color: var(--blanco);
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

nav {
    background-color: var(--azul-claro);
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #0d47a1;
}

section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
    background-color: transparent;
    margin-bottom: 30px;
    border-radius: 0;
    box-shadow: none;
}


section h2 {
    color: var(--azul-oscuro);
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: 6px solid var(--azul-oscuro);
    padding-left: 15px;
}

ul {
    list-style: disc;
    margin-left: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--sombra);
    object-fit: cover;
}

.contacto {
    background-color: #e3f2fd;
    padding: 30px;
    border-radius: 10px;
}

footer {
    background-color: var(--azul-oscuro);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 15px;
    }
}

.video-banner {
    margin-top: 40px;
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    max-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-banner .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
}

.video-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.video-banner p {
    font-size: 1.2rem;
    font-weight: 400;
}

.slider-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
        max-width: 100vw;
    left: 0;
    right: 0;
}

.slider-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-banner img.active {
    opacity: 1;
}

.slider-banner .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
}

.slider-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.slider-banner p {
    font-size: 1.2rem;
    font-weight: 400;
}

.content-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.content-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.content-section .subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.content-grid {
  display: flex;
  align-items: center; 
  gap: 40px;
  text-align: left;
}
@media (max-width: 768px) {
  .content-img1 {
    display: none;
  }
}

.content-img {
  flex: 1;
  max-width: 400px;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

.content-img1 {
  flex: 1;
  max-width: 4500px;
  height: 800px;
  overflow: hidden;
  border-radius: 12px;
}

.content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.content-text {
  flex: 2;
}

.content-text h4 {
  color: #0d47a1;
  font-size: 18px;
  margin-bottom: 10px;
}

.content-text h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.content-text .btn {
  display: inline-block;
  background: #0d47a1;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    text-align: center;
  }

  .content-img {
    width: 100%;
    height: 300px;
    max-width: none;
  }
}

.ayuda {
  text-align: center;
  padding: 60px 20px;
}

.ayuda h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #004c4c;
}

.ayuda-contenedor {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.ayuda-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
}

.ayuda-item img {
  max-width: 200px;
  margin-bottom: 20px;
}

.ayuda-item h3 {
  font-size: 20px;
  color: #004c4c;
  margin-bottom: 15px;
}

.ayuda-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #004c4c;
  color: #004c4c;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #004c4c;
  color: white;
}

/* Estilo de la sección de donaciones */
.donaciones-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
}

.donaciones-opciones {
  text-align: center;
  padding: 60px 20px;
}

.donaciones-opciones h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--azul-oscuro);
}

.donaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.donacion-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--sombra);
  text-align: center;
}

.donacion-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.donacion-item h3 {
  color: var(--azul-claro);
  font-size: 20px;
  margin-bottom: 10px;
}

.donacion-item p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

