
.animate-on-scroll,
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* Estilos generales */
.section {
  width: 100%;
  margin: 0;
  padding: 0;
  margin-top: 5%;
}

.welcome {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.welcome img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 1;
  text-align: center;
  font-weight: bold;
}

.overlay-text h1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: bold;
}

.containers {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-left: auto;
  margin-right: auto;
  gap: 10%;
  overflow: hidden;
  width: 80%;
  max-width: 1200px;
}

.information-container {
  align-items: start;
  width: 45%;
  height: 100%;
}

.information-container h2 {
  color: #C70C00;
  font-weight: bold;
}

.information-container p {
  color: #808080;
  font-weight: bold;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 5%;
}

.btnCards {
  margin-left: 30%;
}

.btnCTA, .btnCertificado {
  bottom: 0;
}



/* Botón CTA */

.txtCTA {
    text-decoration: none;
}

.bkCTA {
    padding: 12px 24px;
    background: #C70C00;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bkCTA:hover {
    background: #9f0b01;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.bkCTA:active {
    transform: translateY(0);
}

.bkCertificado {
    padding: 12px 24px;
    background: #fdfdfd;
    color: #808080;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bkCertificado:hover {
    background: #9f0b01;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #FDFDFD;
}

.lists {
  color: #808080;
  font-weight: bold;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5%;
}

.plus {
  align-items: end;
  width: 45%;
  height: 80vh;
  margin-top: 10%;
  margin-bottom: 10%;
}

.plus p {
  color: #808080;
  font-weight: bold;
}

.plus h2 {
  font-weight: bold;
}

.plus img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  object-position: center;
}

/* Media Queries para dispositivos móviles y pantallas pequeñas */

@media (max-width: 1200px) {
  .containers {
    flex-direction: column;
    height: auto;
  }

  .information-container,
  .plus {
    width: 80%;
    margin: 10px 0;
  }

  .information-container h2,
  .information-container p {
    font-size: 1.2rem;
  }

  .btnCards {
    margin-left: 0;
    margin-top: 10px;
  }

  .bkCertificado, .bkCTA {
    width: 130px;
    height: 35px;
    font-size: 1rem;
  }

  .overlay-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .welcome {
    height: 250px;
  }

  .overlay-text h1 {
    font-size: 2rem;
  }

  .containers {
    flex-direction: column;
    gap: 5%;
  }

  .information-container,
  .plus {
    width: 100%;
  }

  .plus img {
    height: 60%;
  }

  .btnCards {
    margin-left: 0;
    margin-top: 15px;
  }

  .bkCertificado, .bkCTA {
    width: 100px;
    height: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .overlay-text h1 {
    font-size: 1.5rem;
  }

  .information-container h2,
  .information-container p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btnCards {
    margin-left: 0;
    margin-top: 10px;
  }

  .plus img {
    height: 70%;
  }

  .bkCertificado, .bkCTA {
    width: 90px;
    height: 25px;
    font-size: 0.7rem;
  }

  .plus p {
    font-size: 0.9rem;
  }
}
