body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.impact-section {
  background-image: url('../images/headercc-07.jpg'); /* Reemplaza con tu fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 220px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.impact-content {
  max-width: 750px;
}

.impact-content h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: bold;
}

.impact-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f5f5f5;
}

.impact-button {
  text-decoration: none;     
  color: white;               
  background-color: #C52829;   
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  font-family: 'Lato', sans-serif;
}

.impact-button:hover {
  background-color: #a41f1f;
}

.featured-blocks {
  text-align: center;
  padding: 60px 20px;
    background-color: #0B1E3C;
  color: #fff;
}

.featured-blocks h2 {
  font-size: 40px;
  margin-bottom: 40px;
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* por defecto en desktop: 2 columnas */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}


.card {
  background-color: #6E7385;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-text {
  text-align: left;
  padding: 15px;
  color: #fff;
}

.card-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.card-text p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
}
.video-hero {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.video-hero video {
  width: 100%;
  height: auto;
  object-fit: contain; 
  display: block;
  background-color: #000;
}
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr; 
  }

  .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    width: 100%;
    height: auto;
  }

  .card-text {
    padding: 15px;
  }

  .card-text h3 {
    font-size: 18px;
  }

  .card-text p {
    font-size: 14px;
  }
  .video-hero {
    aspect-ratio: 16 / 9;
  }

  .video-hero video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
  }
}