

  .navbrandTextStyle {
      font-family: 'poppins';
  }

  .dropdown-toggle::after {
      display: none !important;
      content: "" !important;
  }

  .customfontstyle {
      font-family: 'poppins';
  }

  .navbar {
      background-color: #fff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      padding: 10px 0;
      transition: all 0.3s ease;
  }

  .navbar.sticky {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
  }

  /* Centered navbar content */
  .navbar-content {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      gap: 2rem;
  }

  .navbar-brand {
      font-weight: bold;
      color: #145476;
      margin: 0;
      flex-shrink: 0;
      /* margin-right: 15rem; */
  }

  @media (min-width:1439px) {
      .navbar-brand {
          font-weight: bold;
          color: #145476;
          margin: 0;
          flex-shrink: 0;
          margin-right: 15rem;
      }
  }

  .navbar-nav {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 0;
  }

  .nav-item {
      position: relative;
  }

  .nav-link {
      color: #333 !important;
      transition: color 0.3s ease;
      position: relative;
      padding: 0.5rem 0.8rem !important;
      font-size: 18px;
      font-family: 'poppins', sans-serif;
  }

  .nav-link:hover {
      color: #1B75BC !important;
  }

  .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: #1B75BC;
      transition: width 0.3s ease;
  }

  .nav-link:hover::after,
  .nav-item.active .nav-link::after {
      width: 100%;
  }

  .dropdown-menu {
      display: none;
      border: none;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      perspective: 1000px;
      margin-top: 0;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      min-width: 200px;
      padding: 0.5rem 0;
      border-radius: 8px;
  }

  .dropdown:hover .dropdown-menu {
      display: block;
  }

  .dropdown-item {
      padding: 10px 20px;
      transition: all 0.3s ease;
      color: #333;
      font-size: 14px;
      /* font-family: 'poppins'; */
  }

  .dropdown-item:hover {
      background-color: #1B75BC;
      color: white;
  }

  .flip-animation {
      transform-origin: top center;
      animation: flipAnimation 0.4s ease-out forwards;
  }

  @keyframes flipAnimation {
      0% {
          transform: translateX(-50%) rotateX(-90deg);
          opacity: 0;
      }

      100% {
          transform: translateX(-50%) rotateX(0deg);
          opacity: 1;
      }
  }

  .logo-bg {
      position: relative;
      display: inline-block;
      overflow: visible;
  }

  .logo-bg::after {
      content: "";
      position: absolute;
      bottom: -100px;
      left: 100%;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      transform: translateX(-50%);
  }

  .logo-bg img {
      position: relative;
      z-index: 1;
      width: 160px;
      height: 28px;
  }

  /* Mobile navbar layout: Logo left, Toggle right */
  .navbar-toggler {
      border: none;
      padding: 4px 8px;
  }

  .navbar-toggler:focus {
      box-shadow: none;
  }

  /* Mobile responsive */
  @media (max-width: 1199.98px) {
      /* Mobile top bar: Logo left, Toggle right */
      /* .container-fluid {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 1rem;
            } */

      /* Mobile collapsed menu */
      .navbar-content {
          flex-direction: column;
          gap: 1rem;
          padding-top: 1rem;
      }

      .navbar-nav {
          flex-direction: column;
          width: 100%;
          text-align: center;
      }

      .dropdown-menu {
          position: static;
          transform: none;
          width: 100%;
          margin-top: 0.5rem;
      }

      .flip-animation {
          animation: flipAnimationMobile 0.4s ease-out forwards;
      }

      @keyframes flipAnimationMobile {
          0% {
              transform: rotateX(-90deg);
              opacity: 0;
          }

          100% {
              transform: rotateX(0deg);
              opacity: 1;
          }
      }

      .nav-link {
          font-size: 18px;
      }
  }

  @media (max-width: 768px) {
      .navbar-content {
          padding: 0 1rem;
      }

      .nav-link {
          font-size: 16px;
          padding: 0.4rem 0.6rem !important;
      }

      .logo-bg img {
          width: 140px;
          height: 25px;
      }
  }

  @media (max-width: 576px) {
      .navbar-content {
          padding: 0 0.5rem;
      }

      .nav-link {
          font-size: 14px;
      }

      .logo-bg img {
          width: 120px;
          height: 22px;
      }
  }

  /* Large screens */
  @media (min-width: 1400px) {
      .navbar-content {
          max-width: 1400px;
          gap: 3rem;
      }
  }

  @media (min-width: 1920px) {
      .navbar-content {
          max-width: 1600px;
          gap: 4rem;
      }
  }



  /* Navbar specific styles */

/* Basic navbar item styles */
.navstyles {
    color: #000;
}

.navstyles:hover {
    background-color: #1a4a6e;
    color: rgb(249, 245, 245);
    border-radius: 10px;
}

.nav-link {
    margin-inline-end: 10px;
}

/* Dropdown menu positioning */
.nav-item.dropdown .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
}

/* Active page navigation styles */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

/* Active page underline effect */
.navbar-nav .nav-link.active {
    color: #1B75BC !important;
    padding: 3px;
    background-color: #3b82f61a;
    border-radius: 5px;
    border: 1px #1B75BC !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1B75BC;
    transform: scaleX(1);
    transition: transform 0.3s ease;
    display: none !important;
}

/* Hover effect for non-active links */
.navbar-nav .nav-link:not(.active):hover {
    color: #1B75BC;
}

.navbar-nav .nav-link:not(.active):hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1B75BC;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1B75BC;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Dropdown parent active state */
.navbar-nav .nav-item.dropdown.active > .nav-link {
    color: #1B75BC !important;
}

.navbar-nav .nav-item.dropdown.active > .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1B75BC;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

/* Active dropdown item */
.dropdown-menu .dropdown-item.active {
    background-color: #1B75BC;
    color: white !important;
}

/* Mobile responsive adjustments for navbar */
@media (max-width: 1199px) {
    .navbar-nav .nav-link::after,
    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        bottom: 0;
        height: 1px;
        display: none !important;
    }
}