html {
  scroll-behavior: smooth;
}

body {
  background-color: whitesmoke;
}


main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
}

.hero-banner-container {
  display: flex;
  position: relative;
  max-height: 990px;
  height: 100vh;
  width: 100%;
}

.hero-text {
  height: 100%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  color: rgb(255, 253, 242);
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 30px;
  flex-direction: column;
}

.hero-apply-button {
  padding: 14px 40px;
  font-size: 14px;
  color: #333;
  background-color: rgb(254, 254, 183);
  border-radius: 50px;
  border: solid rgba(199, 199, 158, 0) 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 30px;
  margin-bottom: -40px;
  transition: 0.5s ease;
}

.hero-apply-button:hover {
  box-shadow: 0px 0px 20px rgba(255, 255, 212, 0.518),
    0px 0px 20px rgba(255, 255, 212, 0.817),
    0px 0px 40px rgba(255, 255, 212, 0.842),
    0px 0px 80px rgb(255, 255, 212);
  border: solid rgba(255, 255, 180, 0.495) 1.5px;
  background-color: rgb(255, 255, 148);
}

.hero-text p {
  width: 100%;
}


.hero-banner {
  position: absolute;
  inset: 0px;
  z-index: -1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}


/* Carousel container */
.carousel-container {
  position: relative;
  max-height: 720px;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #333;
}

/* Carousel inner that holds all slides */
.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  /* Start with the first real slide (offset by 100% since slide[0] is a clone) */
  will-change: transform;
  transform: translateX(-100%) translateZ(0);
}

/* Each slide styling */
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Background image for each slide */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(90%);
}

/* Slide content overlay */
.slide-content {
  position: relative;
  z-index: 1;
  height: 100%;
}


/* Dot navigation container and style */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #fffd8c;
}

/* Timer Progress Bar at the bottom */
.carousel-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 29;
}

.timer-bar {
  height: 100%;
  background: linear-gradient(to right, #fffd8c, #ffcf4c);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 0px 5px 5px 0px;
}




.three-column-container {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 30px;
  background-color: whitesmoke;
}


.three-column {
  width: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  aspect-ratio: 16 / 9;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  position: relative;
  padding: 0px 0px 10px 0px;
}

.three-column:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.three-column-image {
  height: 210px;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 10px 10px 0px 0px;
  border-bottom: solid whitesmoke 1px;
}


.three-column-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 15px;
  padding: 10px 20px;
  color: rgb(93, 93, 93);
  transition: 0.35s ease;
}

.three-column-title {
  font-size: 22px;
  padding: 0px 20px;
  margin-bottom: 20px;
  color: rgb(77, 77, 77);
}



@media (max-width: 768px) {
  .slide-bg {
    display: none;
  }

  .sub-registration-container {
    max-width: 100%;
    flex-direction: column;
    padding: 20px 10px;
    margin: 10px 15px 40px 15px;
  }

  .sub-registration-image-container {
    display: none;
  }

  .sub-registration-text-container {
    padding: 10px 5px 20px 5px;
    font-size: 17px;
  }

  .sub-registration-title {
    font-size: 2.7rem;
  }

  .sub-registration-buttons-container {
    width: 100%;
    gap: 20px;
  }

  .sub-registration-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-text {
    font-size: 3rem;
    padding-inline: 20px;
    padding-top: 150px;
  }

}

@media (min-width: 768px) {
  .sub-registration-container {
    max-width: 1440px;
    padding: 20px 30px;
    margin: 10px 35px 40px 35px;
    min-height: 530px;
  }

  .sub-registration-text-container {
    padding: 20px 30px;
    font-size: 18px;
  }

  .sub-registration-title {
    font-size: 3.3rem;
  }

  .sub-registration-buttons-container {
    gap: 20px;
  }

  .sub-registration-button {
    padding: 13px 50px;
    font-size: 15px;
  }

  .hero-text {
    font-size: 4rem;
    justify-content: center;
    padding-inline: 10vw;
    padding-top: 90px;
  }
}



.sub-registration-container {
  display: flex;
  align-items: center;
  background-color: white;
  /* box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); */
  border-radius: 15px;
  flex-wrap: wrap;
}

.sub-registration-image-container {
  flex: 1;
  height: 100%;
}

.sub-registration-image-container img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}


.sub-registration-text-container {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #666;
}

.sub-registration-title {
  font-weight: bold;
  margin-bottom: 40px;
  color: #444;
}

.sub-registration-buttons-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  /*  border: solid rgba(0, 0, 0, 0.1) 1px; */
  border-radius: 50px;
  background-color: white;
  flex-wrap: wrap;
}

.sub-registration-buttons-container-gradient {
  background: linear-gradient(to right, rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0.01), rgba(51, 51, 51, 0.01), rgba(51, 51, 51, 0.2));
  border-radius: 50px;
  padding: 1px;
  margin-top: 25px;
}

.sub-registration-button {
  border-radius: 50px;
  border: solid rgba(0, 0, 0, 0.3) 1px;
  background-color: rgb(255, 238, 140);
  cursor: pointer;
  color: #4e4e4e;
  transition: 0.3s ease;
  text-decoration: none;
  flex: 1;
}

.sub-registration-button:hover {
  background-color: rgb(239, 221, 120);
}

.sub-registration-buttons-container span {
  color: #0000003e;
  font-size: 15px;
  text-align: center;
  flex: 1;
}