:root {
  --maha-nav-height: 94px;
  --maha-nav-ink: #041a28;
  --maha-nav-deep: #020d17;
  --maha-nav-blue: #174f78;
  --maha-nav-ivory: #f8f3e9;
  --maha-nav-brass: #e2b96f;
  --maha-nav-laterite: #c65a3a;
  --maha-nav-orange: #ff6b1f;
  --maha-nav-red: #d60d1d;
}

body.maha-has-shared-nav {
  padding-top: var(--maha-nav-height);
}

body.maha-has-shared-nav > .app {
  height: calc(100vh - var(--maha-nav-height));
}

.maha-site-header,
.maha-site-header * {
  box-sizing: border-box;
}

.maha-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--maha-nav-height);
  padding: 10px 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, rgba(2, 13, 23, .3), transparent);
  transition: padding .25s ease, background .25s ease;
}

.maha-site-header.is-scrolled {
  padding: 7px 0;
  background: rgba(2, 13, 23, .82);
  backdrop-filter: blur(15px);
}

.maha-nav-inner {
  position: relative;
  width: min(1380px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  padding: 0 12px 0 10px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px 24px 5px 24px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(4, 26, 40, .97), rgba(4, 26, 40, .9) 64%, rgba(13, 65, 102, .9)),
    var(--maha-nav-ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.maha-nav-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--maha-nav-brass), var(--maha-nav-laterite));
}

.maha-nav-inner::after {
  content: "GOA GATEWAY";
  position: absolute;
  right: 175px;
  bottom: -7px;
  color: rgba(255, 255, 255, .035);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -.04em;
  pointer-events: none;
}

.maha-nav-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.maha-nav-brand-shell {
  width: 150px;
  min-height: 58px;
  padding: 6px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px 17px 3px 17px;
  background: var(--maha-nav-ivory);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .23);
  transition: transform .2s ease, box-shadow .2s ease;
}

.maha-nav-brand:hover .maha-nav-brand-shell {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
}

.maha-nav-brand img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.maha-nav-context {
  position: relative;
  z-index: 2;
  min-width: 150px;
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.maha-nav-context span,
.maha-nav-context b {
  display: block;
}

.maha-nav-context span {
  margin-bottom: 3px;
  color: var(--maha-nav-brass);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maha-nav-context b {
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  font-weight: 650;
}

.maha-nav-desktop {
  position: relative;
  z-index: 2;
  justify-self: center;
}

.maha-nav-desktop ul,
.maha-mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.maha-nav-desktop ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.maha-nav-desktop a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 3px 12px 3px 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.maha-nav-desktop a:hover,
.maha-nav-desktop a[aria-current="page"] {
  color: #fff;
  border-color: rgba(226, 185, 111, .24);
  background: rgba(255, 255, 255, .08);
}

.maha-nav-desktop a[aria-current="page"] {
  color: var(--maha-nav-brass);
}

.maha-nav-cta {
  position: relative;
  z-index: 2;
}

.maha-nav-register {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 4px 16px 4px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--maha-nav-orange), var(--maha-nav-red));
  box-shadow: 0 14px 30px rgba(214, 13, 29, .25);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.maha-nav-register::after {
  content: "→";
}

.maha-nav-register:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(214, 13, 29, .34);
}

.maha-mobile-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 3px 14px 3px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.maha-mobile-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.maha-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.maha-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.maha-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.maha-mobile-nav {
  display: none;
  position: fixed;
  top: var(--maha-nav-height);
  left: 14px;
  right: 14px;
  z-index: 999;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 185, 111, .24);
  border-radius: 4px 22px 4px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(23, 79, 120, .46), transparent 34%),
    rgba(2, 13, 23, .98);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .36);
  font-family: "Inter", sans-serif;
}

.maha-mobile-nav.is-open { display: block; }
.maha-mobile-nav ul { display: grid; gap: 7px; }

.maha-mobile-nav a:not(.maha-nav-register) {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.maha-mobile-nav a:not(.maha-nav-register)::after { content: "↗"; color: rgba(226, 185, 111, .55); }
.maha-mobile-nav a[aria-current="page"]:not(.maha-nav-register) { color: var(--maha-nav-brass); }
.maha-mobile-nav .maha-nav-register { width: 100%; margin-top: 8px; }

.maha-site-header a:focus-visible,
.maha-site-header button:focus-visible,
.maha-mobile-nav a:focus-visible {
  outline: 3px solid var(--maha-nav-brass);
  outline-offset: 3px;
}

@media (max-width: 1220px) {
  .maha-nav-context { display: none; }
  .maha-nav-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .maha-nav-desktop a { padding-inline: 8px; }
}

@media (max-width: 1024px) {
  body.maha-has-shared-nav > .app {
    height: auto;
    min-height: calc(100vh - var(--maha-nav-height));
  }

  .maha-nav-inner { grid-template-columns: auto 1fr auto; }
  .maha-nav-desktop, .maha-nav-cta { display: none; }
  .maha-mobile-toggle { display: inline-flex; justify-self: end; grid-column: 3; }
}

@media (max-width: 680px) {
  :root { --maha-nav-height: 82px; }
  .maha-site-header { padding: 7px 0; }
  .maha-nav-inner { width: min(100% - 20px, 1380px); min-height: 68px; }
  .maha-nav-brand-shell { width: 126px; min-height: 51px; padding: 5px 10px; }
  .maha-nav-brand img { height: 41px; }
  .maha-nav-inner::after { display: none; }
  .maha-mobile-nav { top: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .maha-site-header *,
  .maha-mobile-nav * {
    transition-duration: .01ms !important;
  }
}

/* Horizon navigation v4 — one integrated, high-clarity navigation surface */
:root {
  --maha-nav-height: 86px;
}

.maha-site-header,
.maha-site-header.is-scrolled {
  min-height: var(--maha-nav-height);
  padding: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ff6b1f 0 22%, #d60d1d 22% 42%, #174f78 42% 78%, #2a8c82 78%) 1;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(2, 13, 23, .95);
  box-shadow: 0 12px 34px rgba(2, 13, 23, .2);
  backdrop-filter: blur(18px) saturate(1.16);
}

.maha-nav-inner {
  width: min(1580px, 100%);
  min-height: 82px;
  padding: 0 clamp(18px, 2.8vw, 46px);
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 30px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.maha-nav-inner::before,
.maha-nav-inner::after {
  display: none;
}

.maha-nav-brand-shell {
  width: 180px;
  min-height: 70px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .3), 0 0 24px rgba(255, 255, 255, .09);
}

.maha-nav-brand:hover .maha-nav-brand-shell {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34), 0 0 30px rgba(255, 255, 255, .13);
}

.maha-nav-brand img {
  height: 58px;
  filter: saturate(1.08) contrast(1.08);
}

.maha-nav-context {
  min-width: 156px;
  padding-left: 19px;
  border-left-color: rgba(255, 255, 255, .18);
}

.maha-nav-context span {
  color: #ffb36d;
  font-size: 9px;
}

.maha-nav-context b {
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
}

.maha-nav-desktop {
  justify-self: end;
  align-self: stretch;
}

.maha-nav-desktop ul {
  height: 100%;
  gap: 0;
}

.maha-nav-desktop a {
  position: relative;
  min-height: 82px;
  padding: 0 clamp(8px, .75vw, 13px);
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .75);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .005em;
}

.maha-nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b1f, #d60d1d);
  transition: left .2s ease, right .2s ease;
}

.maha-nav-desktop a:hover,
.maha-nav-desktop a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
}

.maha-nav-desktop a:hover::after,
.maha-nav-desktop a[aria-current="page"]::after {
  left: 12px;
  right: 12px;
}

.maha-nav-desktop a[aria-current="page"] {
  color: #ffbf84;
}

.maha-nav-register {
  min-width: 138px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(214, 13, 29, .28);
}

.maha-mobile-toggle {
  border-radius: 10px;
}

.maha-mobile-nav {
  top: var(--maha-nav-height);
  left: 0;
  right: 0;
  padding: 18px clamp(18px, 4vw, 30px) 24px;
  border-width: 1px 0 0;
  border-radius: 0;
  background: rgba(2, 13, 23, .985);
}

@media (max-width: 1320px) {
  .maha-nav-context { display: none; }
  .maha-nav-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .maha-nav-desktop a { padding-inline: 8px; font-size: 10.5px; }
}

@media (max-width: 1024px) {
  .maha-nav-inner { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 680px) {
  :root { --maha-nav-height: 76px; }
  .maha-site-header,
  .maha-site-header.is-scrolled { padding: 0; }
  .maha-nav-inner { width: 100%; min-height: 72px; padding: 0 14px; }
  .maha-nav-brand-shell { width: 140px; min-height: 58px; padding: 3px 8px; border-radius: 8px; }
  .maha-nav-brand img { width: 124px; height: 48px; max-height: none; object-fit: contain; }
  .maha-mobile-nav { top: var(--maha-nav-height); }
}

/* Keep the supplied Maha Expo lockup complete and uncropped in every header. */
.maha-nav-brand-shell {
  width: 160px;
  min-height: 64px;
  padding: 4px 9px;
  overflow: visible;
  background: #fff;
}

.maha-nav-brand img {
  width: 142px;
  height: 54px;
  max-height: none;
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.08) contrast(1.08);
}

@media (max-width: 680px) {
  .maha-nav-brand-shell {
    width: 140px;
    min-height: 58px;
    padding: 3px 8px;
  }

  .maha-nav-brand img {
    width: 124px;
    height: 48px;
    max-height: none;
  }
}
