body {
  padding-top: 0px; /* or height of your navbar */
}

.navbar-wrapper {
  margin: 10px 30px 0 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

  border-radius: 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* keep it above other content */
}

/* Remove default navbar full width & fixed top behavior */
.navbar.fixed-top {
  position: static !important; /* override Bootstrap’s fixed-top */
  border-radius: 20px;
}

/* Optional: add transition on hover or scroll */
.navbar-wrapper:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}
.navbar {
  border-bottom: 1px solid #bbbbbb;
  background-color: #ffffff;
}

.navbar-toggler {
  border: none;
}

/* Nav links */
.nav-link {
  font-weight: 500;
  font-size: 16px;
  color: #032f4e;
  padding: 15px 0;
  margin: 0 10px;
  position: relative;
  opacity: 0.85;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  opacity: 1;
}

/* Active link */
.active-link {
  color: #032f4e;
  font-weight: bold;
}

/* Hover underline effect */
.nav-link::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 50%; /* half underline */
  left: 25%; /* center the line */
  bottom: 5px;
  background-color: #032f4e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.footer {
  text-align: center;
  font-size: 1rem;
  color: #f4f4f4;
  padding: 20px;
  background-color: #032f4e;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer p {
  margin: 0;
}
/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader img {
  width: 400px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 767px) {
  #loader img {
    width: 300px;
    animation: pulse 2s infinite ease-in-out;
  }
}

body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}
