

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

. {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
}

.carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  /* Ensure it stays above the overlay */
}

.header2 {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.header2.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  transition: color 0.3s ease;
}




.header2 {
  z-index: 999;
  position: sticky;
  top: 0;
}

#headerr2,.heade {
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  z-index: 999;
}


@media (max-width:998px) {
  .nav-link {
    color: #000;
  }

}