/* Update your sliding images CSS */
.sliding-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 12s infinite;
}

/* Ensure the hero section has enough height */
#home {
  min-height: 100vh;
  position: relative;
}

/* Add a semi-transparent overlay to make text more readable */
#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Ensure content appears above the overlay */
#home .container {
  position: relative;
  z-index: 2;
}
  .slide:nth-child(1) {
    background-image: url('../images/hero/slide-1.jpg');
    animation-delay: 0s;
  }

  .slide:nth-child(2) {
    background-image: url('../images/hero/slide-2.jpg');
    animation-delay: 4s;
  }

  .slide:nth-child(3) {
    background-image: url('../images/hero/slide-3.jpg');
    animation-delay: 8s;
  }

  @keyframes slideAnimation {
    0% {
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    33.33% {
      opacity: 1;
    }
    43.33% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }