/*For Mobile Phones: */
@media (max-width: 430px) {
  .fade-container {
    position: relative;
    width: 90%;
    height: 80vh;
    overflow: hidden;
  }

  .fade-slides {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
  }

  .fade-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .fade-slide { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  }

  .fade-slide.active {
    opacity: 1;
  }

  .fade-caption {
    display: flex;
    flex-direction: column;
    top: 0% !important; 
    left: 18px !important;
    right: 5%;
    color: white;
    z-index: 1; /* Ensure text is above images */
    position: absolute;
    height: 80vh;
  }

  #biggest-text { 
    color: #f3ecdc;
    font-size: 32px !important;
    font-family: "Poppins", sans-serif !important;
    line-height: 48px !important;
    text-align: left;
    font-weight: 900 !important;
    text-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
  }

  #subtitle-text {
    color: white; 
    font-size: 16px !important; 
    font-weight: 600;
    font-family: "Roboto", sans-serif; 
    text-transform: uppercase; 
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .button-container {
    width: 200px; 
    height: 40px; 
    padding: 20px; 
    font-size: 20px;
    background-color: #588157;
    display: inline-flex;
    justify-content: center; 
    align-items: center;
    gap: 13.33px; 
    cursor: pointer;
    margin-top: 30px !important;
    transition: background-color 0.3s ease; 
  }

  .button-container:hover {
    background-color: #2c5234; 
  }

  .button-container .text-xl {
    font-size: 1.25rem; 
    font-weight: 700; 
    font-family: "Roboto", sans-serif; 
    text-transform: uppercase; 
    color: white; 
  }

}

.fade-container {
  position: relative;
  width: 100%;
  height: 871px;
  overflow: hidden;
}

.fade-slides {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fade-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.fade-slide.active {
  opacity: 1;
}

.fade-caption {
  display: flex;
  flex-direction: column;
  top: -20px; 
  left: 10%; 
  color: white;
  z-index: 1; 
  justify-content: center;
  position: absolute;
  height: 100%;
}

#biggest-text {
  color: #f3ecdc;
  font-size: 60px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  text-align: left;
  text-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.3); 
}

#subtitle-text {
  width: 949.33px; 
  color: white; 
  font-size: 24px; 
  font-weight: 600; 
  font-family: "Roboto", sans-serif; 
  text-transform: uppercase; 
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.button-container {
  width: 200px; 
  height: 40px; 
  padding: 20px; 
  font-size: 20px;
  background-color: #588157;
  display: inline-flex;
  justify-content: center; 
  align-items: center; 
  gap: 13.33px; 
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease; 
}

.button-container:hover {
  background-color: #2c5234; 
}

.button-container .text-xl {
  font-size: 1.25rem; 
  font-weight: 700; 
  font-family: "Roboto", sans-serif; 
  text-transform: uppercase; 
  color: white;
}

