/* ----- NAVBAR BASE STYLE ----- */

.navbar {
  background: rgb(225, 218, 218) !important;
  border-bottom: 1px solid #ddd;
  height: 100px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1050;
  display: flex;
}
.navbar > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar-nav {

  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
}


/* This rule applies the same styles to BOTH the hover state AND the active link */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #61424c !important;
  transform: scale(1.1);
  text-decoration: underline;
}

/* This rule applies ONLY to the active link */
.navbar-nav .nav-link.active {
  font-weight: bold;
}
/* ----- LOGO STYLE ----- */
.navbar .navbar-brand {
  flex-shrink: 0;
  padding-top: 0;
  padding-bottom: 0;
}
@media (min-width: 992px) {
    .navbar-brand.desktop-left-logo img,
    .navbar-brand.desktop-right-logo img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto;
        height: auto;
        z-index: 1051;
    }
}
.navbar-brand + .navbar-brand {
  margin-left: 15px;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
    height: 70px !important; /* Added !important as a final check */
  }

  .navbar-collapse {
    background-color: rgb(132, 127, 127);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: .375rem;
    width: 100%;
    text-align: center;
  }

  .navbar-collapse .nav-link {
    color: white !important;
    display: inline-block;
    padding: 10px 0;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: #ccc !important;
    text-decoration: underline;
    transform: none;
  }
}

/* ----- DESKTOP NAVBAR CONTAINER SPACING ----- */
@media (min-width: 992px) {
  /* Keep this rule for overall container spacing if you like */


  /* --- NEW RULES FOR INDIVIDUAL LOGOS --- */

  /* Move the left logo TO THE RIGHT */
  .navbar-brand.desktop-left-logo {
    margin-left: 8rem; /* Adjust this value as needed */
  }

  /* Move the right logo TO THE LEFT */
  .navbar-brand.desktop-right-logo {
    margin-right: 7rem; /* Adjust this value as needed */
  }
}
