
/* MCS-Logo */
#McsImgLogo {
  height: 69px;
  width: 106px;
}

/* MegaMenu Settings */
.dropdown-menu{
    border-radius: 0;
    border: none;
    padding: .5em;
    box-shadow: 0 3px 6px rgb(0, 0, 0,.23);
    width: 725px;
    /* justify-content: center; */
  }

  .dropdown-menu ul{
    list-style: none;
    padding: 0;
    justify-content: center;
  }

  .dropdown-menu.show{
    display: flex;
  }
  .dropdown-menu li a{
    color: gray;
    padding: .2em 1em;
  }

  .dropdown-menu li:first-child a {
  font-weight: bold;
  font-size: 1.2em;
  color: #002e57;
  }

  /* Collapsed navbar (below xl / 1200px): keep dropdowns inside the viewport */
  @media (max-width: 1199.98px) {
    .navbar-collapse .dropdown-menu {
      width: 100%;
      max-width: 100%;
      max-height: 60vh;
      overflow-y: auto;
      overflow-x: hidden;
      padding-left: 0;
      padding-right: 0;
    }
    .navbar-collapse .dropdown-menu.show {
      display: block;
    }
    /* Cancel Bootstrap row negative margins that would peek past the dropdown */
    .navbar-collapse .dropdown-menu .row {
      margin-left: 0;
      margin-right: 0;
      --bs-gutter-x: 0;
    }
    .navbar-collapse .dropdown-menu .row > [class*="col-"] {
      padding-left: .5rem;
      padding-right: .5rem;
    }
    /* Long labels must wrap, not force horizontal scroll */
    .navbar-collapse .dropdown-item,
    .navbar-collapse .dropdown-menu li a {
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    /* Search input can't push the collapsed panel wider than the viewport */
    .navbar-collapse .d-flex,
    .navbar-collapse form.d-flex {
      max-width: 100%;
    }
    .navbar-collapse .mcs-search-input {
      max-width: 100%;
    }
  }

  /* Mobile safety net: prevent the collapsed nav from introducing horizontal scroll.
     Desktop must NOT clip — the floating 725px mega-menu can extend past the nav box. */
  @media (max-width: 1199.98px) {
    .navbar.fixed-top {
      max-width: 100vw;
      overflow-x: clip;
    }
  }

  .jjn{
  background-image: url('images/Building_with_Gate.png'); /* Replace with your image URL */
  background-size: cover;
  background-position: center;
  color: white; /* Optional: for text readability */
}

/* ============================================================
   Breadcrumb bar (sits directly under the main fixed nav).
   Scrolls with the page. Overrides Bootstrap's default .breadcrumb.
   ============================================================ */
.breadcrumb {
    display: block;
    background: #002e57;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #4dabf7 0%, #0d6efd 50%, #0a58ca 100%) 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    border-radius: 0;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.breadcrumb-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 0.2px;
}

.breadcrumb-star {
    color: #ffc107;
    margin-right: 0.5rem;
    text-shadow: 0 0 6px rgba(255, 193, 7, 0.5);
}

.breadcrumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumb-inner a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.breadcrumb-inner a:hover,
.breadcrumb-inner a:focus {
    color: #4dabf7;
    text-decoration: underline;
}

.breadcrumb-trail span {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    user-select: none;
}

/* Last link in the trail = highlighted (still clickable) */
.breadcrumb-trail a:last-child {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .breadcrumb-inner {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

