@font-face {
  font-family: "Creato Display";
  src: local("Creato Display");
  font-display: swap;
}

/* Base navbar */
.mh-navbar {
  z-index: 1055;
  /* background:transparent; */
  background: rgba(1, 20, 42, 0.5);
  transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
  backdrop-filter: none;
}

/* Solid style (desktop on scroll) */
.mh-navbar.nav-solid {
  background: rgb(1, 39, 82);
  backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.mh-logo {
  max-width: 220px;
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
}

.mh-logo img {
  width: 100%;
  object-fit: cover;
}

.mh-navlinks {
  max-width: 485px;
  width: 100%;
  justify-content: space-between;
}

.navbar-nav .nav-link {
  font-family: "Creato Display", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  text-transform: capitalize;
  color: #fff;
  opacity: .9;
  padding: .5rem .25rem;
  transition: opacity .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  opacity: 1;
  transform: translateY(-1px);
}

/* Book Appointment — no hover effect */
.btn-appointment {
  font-family: "Creato Display", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  padding: .5rem 1rem;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: .5rem;
}

/* Icon size */
.mh-icon-phoneplus {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
}

/* Neutralize hover/focus completely */
.btn-appointment:hover,
.btn-appointment:focus {
  background: transparent;
  color: #fff;
  transform: none;
  box-shadow: none;
}

/* Toggler */
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 !important; /* overrides the p-2 class in header.php */
}

.mh-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

/* .mh-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
} */

.mh-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1080px) {
  .mh-logo {
    max-width: 180px;
  }
}

/* ---------- MOBILE: force blurred/opaque navbar (even at the top) ---------- */
@media (max-width: 991.98px) {

  /* make the bar itself glassy always on small screens */
  .mh-navbar {
    background: rgba(0, 0, 0, .58);
    backdrop-filter: saturate(120%) blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  }

  /* also blur the dropdown panel for readability */
  #mhNav {
    border-radius: 16px;
    padding: .75rem 1rem 1rem;
    margin-top: .75rem;


  }

  .mh-navlinks {
    max-width: none;
    width: 100%;
    gap: .25rem;
  }

  .navbar-nav .nav-link {
    padding: .5rem .25rem;
    color: #fff;
  }

  /* slightly smaller icon on phones */
  .mh-icon-phoneplus {
    width: 22px;
    height: 22px;
  }
}

/* Optional: pages without a hero */
body.no-hero .mh-navbar {
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
}