/* ================================================================
   PREMIUM RESPONSIVE HEADER AND NAVIGATION
   Shared across every content page. Existing markup and JS hooks retained.
   ================================================================ */

:root {
  --mp-navy: #061632;
  --mp-navy-soft: #102c58;
  --mp-ink: #14233c;
  --mp-accent: #e61e50;
  --mp-accent-dark: #bd123d;
  --mp-gold: #d9ad4f;
  --mp-white: #fff;
  --mp-header-shadow: 0 14px 38px rgba(6, 22, 50, 0.12);
}

.mp-top-strip {
  position: relative;
  z-index: 10000;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px clamp(20px, 4.2vw, 72px);
  overflow: hidden;
  background: linear-gradient(105deg, #05132d 0%, #0c2953 72%, #14376a 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35px;
}

.mp-top-strip::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 18%;
  width: 210px;
  height: 130px;
  border-radius: 50%;
  background: rgba(230, 30, 80, 0.16);
  filter: blur(4px);
  pointer-events: none;
}

.mp-top-strip::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 173, 79, 0.8), transparent);
}

.mp-helpline,
.mp-top-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.mp-helpline {
  gap: 9px;
}

.mp-helpline i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: var(--mp-gold);
  font-size: 11px;
}

.mp-enquire-btn {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  color: var(--mp-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mp-enquire-btn:hover,
.mp-enquire-btn:focus-visible {
  background: var(--mp-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  color: var(--mp-navy);
  transform: translateY(-1px);
}

.mp-main-header {
  position: sticky;
  z-index: 9999;
  top: 0;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.5vw, 42px);
  padding: 9px clamp(20px, 4.2vw, 72px);
  border-bottom: 1px solid rgba(6, 22, 50, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--mp-header-shadow);
  backdrop-filter: blur(18px) saturate(1.25);
}

.mp-main-header::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(230, 30, 80, 0.75) 48%, rgba(217, 173, 79, 0.75) 62%, transparent 95%);
  opacity: 0.55;
}

.mp-logo-area {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.mp-logo-area a {
  display: block;
}

.mp-logo-area img {
  display: block;
  width: auto;
  height: clamp(56px, 5vw, 70px);
  filter: drop-shadow(0 5px 10px rgba(6, 22, 50, 0.08));
  transition: transform 200ms ease, filter 200ms ease;
}

.mp-logo-area a:hover img {
  filter: drop-shadow(0 7px 14px rgba(230, 30, 80, 0.16));
  transform: translateY(-1px);
}

.mp-nav-desktop {
  min-width: 0;
  margin-left: auto;
}

.mp-nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.65vw, 10px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-nav-desktop ul li {
  position: relative;
  white-space: nowrap;
}

.mp-nav-desktop ul li > a {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 10px clamp(6px, 0.7vw, 11px);
  border-radius: 10px;
  color: var(--mp-ink);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 650;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mp-nav-desktop ul li > a::after {
  content: '';
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mp-accent), var(--mp-gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.mp-nav-desktop ul li > a:hover,
.mp-nav-desktop ul li > a:focus-visible,
.mp-dropdown:focus-within > a {
  background: linear-gradient(135deg, rgba(230, 30, 80, 0.07), rgba(217, 173, 79, 0.08));
  color: var(--mp-accent-dark);
  transform: translateY(-1px);
}

.mp-nav-desktop ul li > a:hover::after,
.mp-nav-desktop ul li > a:focus-visible::after,
.mp-dropdown:focus-within > a::after {
  transform: scaleX(1);
}

.mp-nav-desktop a i {
  font-size: 9px !important;
  transition: transform 180ms ease;
}

.mp-dropdown:hover > a i,
.mp-dropdown:focus-within > a i {
  transform: rotate(180deg);
}

.mp-dropdown-menu {
  position: absolute;
  z-index: 10001;
  top: calc(100% + 10px);
  left: 0;
  display: flex;
  min-width: 238px;
  flex-direction: column;
  gap: 2px !important;
  padding: 9px !important;
  border: 1px solid rgba(6, 22, 50, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 55px rgba(6, 22, 50, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(0.985);
  transform-origin: top left;
  transition: opacity 170ms ease, transform 170ms ease;
  backdrop-filter: blur(16px);
}

.mp-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -11px;
  right: 0;
  left: 0;
  height: 12px;
}

.mp-dropdown:hover .mp-dropdown-menu,
.mp-dropdown:focus-within .mp-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mp-dropdown-menu li {
  width: 100%;
  border: 0;
}

.mp-dropdown-menu li a {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-radius: 9px !important;
  color: var(--mp-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: normal !important;
}

.mp-dropdown-menu li a::after {
  display: none;
}

.mp-dropdown-menu li a:hover,
.mp-dropdown-menu li a:focus-visible {
  padding-left: 16px !important;
  background: linear-gradient(90deg, rgba(230, 30, 80, 0.09), rgba(217, 173, 79, 0.08)) !important;
  color: var(--mp-accent-dark) !important;
}

.mp-menu-btn {
  position: relative;
  z-index: 10002;
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  background: linear-gradient(145deg, var(--mp-accent), var(--mp-accent-dark));
  box-shadow: 0 10px 24px rgba(189, 18, 61, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mp-menu-btn:hover {
  box-shadow: 0 13px 28px rgba(189, 18, 61, 0.32);
  transform: translateY(-1px);
}

.mp-menu-btn div,
.mp-menu-btn div::before,
.mp-menu-btn div::after,
.mp-menu-btn span,
.mp-menu-btn span::before,
.mp-menu-btn span::after {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform 220ms ease, top 220ms ease, background 220ms ease;
}

.mp-menu-btn div,
.mp-menu-btn span {
  position: relative;
}

.mp-menu-btn div::before,
.mp-menu-btn div::after,
.mp-menu-btn span::before,
.mp-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.mp-menu-btn div::before { top: -7px; }
.mp-menu-btn div::after { top: 7px; }
.mp-menu-btn span::before { top: -7px; }
.mp-menu-btn span::after { top: 7px; }
.mp-menu-btn.active div { background: transparent; }
.mp-menu-btn.active div::before { top: 0; transform: rotate(45deg); }
.mp-menu-btn.active div::after { top: 0; transform: rotate(-45deg); }
.mp-menu-btn.active span { background: transparent; }
.mp-menu-btn.active span::before { top: 0; transform: rotate(45deg); }
.mp-menu-btn.active span::after { top: 0; transform: rotate(-45deg); }

.mp-overlay {
  position: fixed;
  z-index: 9998;
  inset: 0;
  display: none;
  background: rgba(2, 11, 28, 0.6);
  backdrop-filter: blur(5px);
}

.mp-overlay.active { display: block; }
.mp-mobile-menu { display: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .mp-main-header {
    gap: 13px;
    padding-inline: 22px;
  }

  .mp-nav-desktop ul { gap: 1px; }

  .mp-nav-desktop ul li > a {
    padding-inline: 6px;
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .mp-top-strip {
    min-height: 38px;
    padding: 5px 18px;
  }

  .mp-main-header {
    min-height: 74px;
    padding: 7px 18px;
  }

  .mp-logo-area img { height: 58px; }
  .mp-nav-desktop { display: none; }
  .mp-menu-btn { display: flex; }

  .mp-mobile-menu {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(88vw, 390px);
    height: 100dvh;
    padding: 88px 23px 28px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 100% 0, rgba(230, 30, 80, 0.3), transparent 36%),
      linear-gradient(155deg, #061632, #0d2c59 72%, #153c70);
    box-shadow: -22px 0 60px rgba(0, 0, 0, 0.3);
    transform: translateX(105%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mp-mobile-menu.active { transform: translateX(0); }

  .mp-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mp-mobile-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mp-mobile-menu li:last-child { border-bottom: 0; }

  .mp-mobile-menu li a {
    position: relative;
    display: block;
    padding: 13px 2px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    text-align: left;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
  }

  .mp-mobile-menu li a:hover,
  .mp-mobile-menu li a:focus-visible,
  .mp-dropdown-mobile.active > a {
    padding-left: 6px;
    color: var(--mp-gold);
  }

  .mp-dropdown-mobile > a { padding-right: 30px; }

  .mp-dropdown-mobile > a i {
    position: absolute;
    top: 50%;
    right: 2px;
    font-size: 10px;
    transform: translateY(-50%);
    transition: transform 180ms ease;
  }

  .mp-dropdown-mobile.active > a i {
    transform: translateY(-50%) rotate(180deg);
  }

  .mp-mobile-submenu {
    max-height: 0;
    padding: 0 8px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    transition: max-height 280ms ease, padding 280ms ease;
  }

  .mp-mobile-submenu.active {
    max-height: 460px;
    padding-block: 5px;
  }

  .mp-mobile-submenu li a {
    padding-block: 10px;
    font-size: 14px;
    font-weight: 500;
  }
}

@media (max-width: 600px) {
  .mp-top-strip {
    flex-wrap: nowrap;
    gap: 8px;
    padding-inline: 13px;
  }

  .mp-helpline {
    min-width: 0;
    font-size: 9px;
    letter-spacing: 0;
  }

  .mp-helpline i { display: none; }
  .mp-top-right { margin-left: auto; }

  .mp-enquire-btn {
    min-height: 27px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .mp-main-header {
    min-height: 68px;
    padding: 6px 13px;
  }

  .mp-logo-area img { height: 53px; }
  .mp-menu-btn { width: 43px; height: 43px; }
}

@media (max-width: 360px) {
  .mp-top-strip { padding-inline: 9px; }
  .mp-helpline { font-size: 8px; }
  .mp-enquire-btn { padding-inline: 8px; }
  .mp-logo-area img { height: 48px; }
  .mp-mobile-menu { width: 92vw; padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-dropdown-menu,
  .mp-mobile-menu,
  .mp-menu-btn div,
  .mp-menu-btn div::before,
  .mp-menu-btn div::after {
    transition-duration: 0.01ms !important;
  }
}

/* Shared inner-page hero (home page intentionally excluded) */
.mp-page-hero {
  --mp-page-hero-pink: #e91e52;
  position: relative;
  isolation: isolate;
  display: flex;
  height: clamp(320px, 28vw, 430px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) max(24px, calc((100% - 1400px) / 2));
  overflow: hidden;
  background: url('assets/images/mothers-pride.jpg') center 45% / cover no-repeat;
}

.mp-page-hero::before,
.mp-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
}

.mp-page-hero::before {
  background: linear-gradient(90deg, rgba(8, 10, 14, .8), rgba(8, 10, 14, .62) 44%, rgba(8, 10, 14, .18));
}

.mp-page-hero::after {
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, .22));
}

.mp-page-hero-content { width: min(100%, 850px); }

.mp-page-hero-content::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--mp-page-hero-pink);
}

.mp-page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: 'Boogaloo', cursive;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
}

.mp-page-hero-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--mp-page-hero-pink, #e91e52);
  font-size: clamp(.72rem, 1vw, .88rem);
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.mp-page-hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.75;
}

@media (max-width: 850px) {
  .mp-page-hero { height: 360px; }
}

@media (max-width: 680px) {
  .mp-page-hero {
    height: 320px;
    padding-inline: 22px;
    background-position: 62% center;
  }

  .mp-page-hero::before {
    background: linear-gradient(90deg, rgba(8, 10, 14, .84), rgba(8, 10, 14, .68) 68%, rgba(8, 10, 14, .3));
  }

  .mp-page-hero h1 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .mp-page-hero-kicker { margin-bottom: 10px; }
  .mp-page-hero-copy { margin-top: 13px; font-size: .88rem; line-height: 1.55; }
}
