/* General Navbar Styling */
.navbar {
    position: relative;
    z-index: 1000;
}

/* Dropdown Positioning */
.navbar-nav .dropdown {
    position: relative;
}

/* Full-Screen Dropdown Styling */
.navbar-nav .dropdown-menu {
    display: block !important;
    position: fixed !important; /* Fixed to cover the full viewport */
    top: 15vh !important; /* Start from the top */
    left: 0 !important; /* Stick to the left */
    width: 100vw !important; /* Always full width */
    height: 85vh !important; /* Always full height */
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    padding: 50px; /* Space inside */
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%); 
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Show the dropdown menu on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

/* Style dropdown items */
.navbar-nav .dropdown-menu .dropdown-item {
    color: var(--light-color);
    padding: 1rem .5rem ;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
/*    transform: scale(1.1);*/
    color: var(--dark-color);
    background: var(--secondary-color);
}

/* Mobile Optimization (Not Needed Since It's Full Width) */
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu {
/*        padding: 30px; /* Reduce padding for smaller screens */*/
    }
    
    .navbar-nav .dropdown-menu .dropdown-item {
      /*  font-size: 1.5rem;
        padding: 15px;*/
    }
}


.carousel-item {
  height: 100vh; /* Full-screen height */
  background: no-repeat center center scroll;
  background-size: cover;
  position: relative;
  padding: 3rem 2rem;
}
.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  bottom:0 !important;
  /*transform: translate(-50%, -50%);*/
  text-align: center;
  /*display: flex;*/
  /*align-items:center;*/
  /*justify-content:center;*/
  width: 100%;
  padding:3rem;
  padding-top:30vh !important;
  background: rgba(0,0,0,0.6);
}

@media (max-width: 769px) {
  .carousel-caption {
      position: absolute;
      top: 0;
      left: 0;
      bottom:0 !important;
      /*transform: translate(-50%, -50%);*/
      text-align: center;
      /*display: flex;*/
      /*align-items:center;*/
      /*justify-content:center;*/
      width: 100%;
      padding:2rem;
      padding-top:3vh !important;
      background: rgba(0,0,0,0.6);
    }  
}

.carousel-caption h5 {
  font-size: 2em; /* Larger text */
  font-weight: 900; /* Bold text */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Text shadow for better readability */
  color: #fff;
  margin-bottom: 1rem;
}
.carousel-caption p {
  font-size: 1em;
  font-weight: 500;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  color: #fff;
  margin-bottom: 2rem;
}
.carousel-caption .btn {
  font-size: 1em;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  text-transform: uppercase;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}
.carousel-indicators .active {
  background-color: #fff;
}
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}




