/* Estilos generales */
html {
  font-size: 14px;
}

  body {
    font-family: 'Arial', sans-serif;
  }
 
.animate-on-scroll,
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


.sections {
  align-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.overlay-text h1 {
  font-weight: bold;
  color: #FDFDFD;
}


.text-center {
  text-align: center;
}

.welcome {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center;
  margin-top: 5%;
}

.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;
  font-weight: bold;
}

.overlay-text h1 {
  font-size: 3.5rem;
  margin: 0;
}

/* Estilos para la primera sección */
.first-container {
  padding: 20px;
  text-align: center;
}

.first-container h2 {
  font-size: 2rem;
  color: #c70c00;
  font-weight: bold;
}

.title-text {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #313131;
}

/* Estilos para las tarjetas */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 2%;
  margin: 10px 0;
  flex-wrap: wrap;
}

.card-1, .card-2 {
  width: 45%;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
}

.card-1 h3, .card-2 h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #313131;
}

.card-1 ul, .card-2 ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 20px;
  font-size: 1rem;
}

.card-1 ul li, .card-2 ul li {
  margin: 5px 0;
}

.card-1, .card-2  {
  color: #808080;
  font-weight: bold;
}

.btnCards {
  text-align: center;
  margin-top: 20px;
}

/* 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;
}

/* Estilos para la segunda sección */
.second-section {
  background-color: #fdfdfd;
  padding: 40px 20px;
}

.title-second-section {
  font-size: 2rem;
  color: #C70C00;
  font-weight: bold;
  margin-bottom: 30px;
}

.section-container {
  display: flex;
  justify-content: space-between;
  gap: 10%;
  flex-wrap: wrap;
}

.list {
  width: 45%;
  padding: 20px;
}

.list ul {
  list-style-type: none;
  padding: 0;
}

.list ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #808080;
  font-weight: bold;
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  gap: 2%;
}

.bkCertificado, .bkCTA {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.bkCertificado {
  background-color: #fdfdfd;
  color: #808080;
  transition: background-color 0.3s ease;
}

.bkCertificado:hover {
  background-color: #C70C00;
  color: #fdfdfd;
}

.plus {
  width: 45%;
  text-align: start;
  padding: 20px;
}

.plus img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.plus h2 {
  font-size: 1.5rem;
  color: #313131;
  font-weight: bold;
}

.plus p {
  font-size: 1rem;
  color: #808080;
  line-height: 1.5;
  font-weight: bold;
}

@media (max-width: 768px) {
  .first-container h2 {
    font-size: 1.5rem;
  }

  .title-text {
    font-size: 2rem;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card-1, .card-2 {
    width: 80%;
    margin-bottom: 20px;
  }

  .plus {
    width: 100%;
    margin-top: 30px;
  }

  .plus img {
    height: 60%;
  }

  .list {
    width: 100%;
  }

  .bkCertificado, .bkCTA {
    width: 100%;
    font-size: 1.2rem;
    padding: 12px 0;
  }
}
