.navbar-brand{
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.carousel-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fade 12s infinite;
    opacity: 0;
}

.carousel-bg:nth-child(1) {
    animation-delay: 0s;
}

.carousel-bg:nth-child(2) {
    animation-delay: 4s;
}

.carousel-bg:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fade {
    0%, 100% {
        opacity: 0;
    }
    33%, 66% {
        opacity: 1;
    }
}

.carousel-text {
    position: relative;
    z-index: 2; /* Ensure it appears above the background */
    text-align: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 5rem; /* Push the text down */
}

.carousel-text h1 {
    font-size: 3rem;
    margin: 0;
}

.carousel-text p {
    font-size: 1.5rem;
    margin: 0;
    margin-top: 10px;
    opacity: 0.9;
}
/*new*/
/* Ensure the carousel container fits the screen */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background images full-cover */
.carousel-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: fade 12s infinite;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Animation keyframes */
@keyframes fade {
  0%, 33% {
    opacity: 1;
  }
  34%, 100% {
    opacity: 0;
  }
}

/* Responsive Text Content */
.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 0 15px;
}

/* Responsive typography */
#carousel-heading {
  font-size: 2rem;
}

#carousel-subtext {
  font-size: 1rem;
}

/* On small screens, reduce height slightly for better usability */
@media (max-width: 576px) {
  .carousel-container {
    height: 75vh;
  }

  #carousel-heading {
    font-size: 1.5rem;
  }

  #carousel-subtext {
    font-size: 0.9rem;
  }
}
.min{
    font-weight: bolder;
    color:orange;
    animation-name: color;
    animation-duration: 2s;
    animation-timing-function: ease-in;
    animation-delay: 0.2s;
    animation-iteration-count: infinite;
    
}


@keyframes color {
    0%{
        color: orange;
    }
    25%{
        color: blue;
    }
    50%{
       color: red;
    }
    75%{
       color: deeppink;
    }
    100%{
       color: cadetblue;
    }
}
