html {
  font-size: 14px;
}

 
.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;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}

.section {
  width: 100%;
  margin: 0;
  padding: 0;
  margin-top: 5%;
}

.welcome {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  padding: 1rem 0;
}

.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;
  width: 90%;
}

.overlay-text h1 {
  margin: 0;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .overlay-text h1 {
    font-size: 3rem;
    font-weight: bold;
  }

}

@media (min-width: 768px) {
  .overlay-text h1 {
    font-size: 3rem;
    font-weight: bold;
  }
}

@media (min-width: 1200px) {
  .overlay-text h1 {
    font-size: 3.5rem;
    font-size: bold;
  }
}

.containers {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1rem;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

@media (min-width: 768px) {
  .containers {
    flex-direction: row; 
    align-content: center;
  }
}

.information-container {
  width: 100%;
  margin-top: 20px;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .information-container {
    width: 50%;
    margin-top: 50px;
  }
}

.information-text {
  color: #808080;
  font-weight: bold;
}
 
.distribution-container h2,
.commerce-container h2 {
  color: #C70C00;
  font-weight: bold;
}

.distribution-container p,
.commerce-container p {
  color: #808080;
  font-weight: bold;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10%;
  margin-top: 20px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .buttons {
    flex-direction: row;
  }
}

.btnCards {
  margin-left: 0;
}

@media (min-width: 768px) {
  .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;
}

.plus {
  align-items: end;
  overflow: hidden;
  margin-top: 50px;
  width: 100%;
  padding: 1rem;
  margin-top: 2rem;
}

.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 (min-width: 768px) {

  .plus img {
    height: 30%;
  }
}


/* ------------------------ ANIMACION DE LOGOS ------------------------ */

.carousel-container1, .carousel-container2 {
  width: 100%;
  max-width: 300px;
  height: 150px;
  overflow: hidden;
  position: relative;
  margin: auto;
  top: 20px;
}

.carousel1, .carrousel2 {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-image1, .carousel-image2 {
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  object-fit: cover;
}

.carousel-image1.active1, .carousel-image2.active2 {
  opacity: 1;
  z-index: 1;
}


