/* ═══════════════════════════════════════════════
   MYTHILI – Shared navbar styles
   Used by header.php (home) and inner-header.php
═══════════════════════════════════════════════ */

/* ── wrapper ───────────────────────────────── */
.mf-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.mf-header.mf-scrolled {
  position: fixed;
  padding: 10px 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(3,27,78,0.10);
}

/* inner pages: start solid, still sticky */
.mf-header.mf-inner {
  position: sticky;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(3,27,78,0.09);
}

/* ── inner layout ──────────────────────────── */
.mf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── logo ──────────────────────────────────── */
.mf-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.mf-logo img {
  max-height: 90px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.mf-header.mf-scrolled .mf-logo img,
.mf-header.mf-inner .mf-logo img {
  max-height: 90px;
}

/* ── pill nav ──────────────────────────────── */
.mf-nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 6px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow:
    0 8px 32px rgba(3,27,78,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.70);
}
.mf-header.mf-scrolled .mf-nav-pill,
.mf-header.mf-inner .mf-nav-pill {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.mf-nav-pill > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mf-nav-pill > ul > li {
  position: relative;
}
.mf-nav-pill > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #031b4e !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
}
.mf-nav-pill > ul > li > a:hover,
.mf-nav-pill > ul > li.mf-active > a {
  background: linear-gradient(135deg, #0b2a45 0%, #1055a8 100%);
  color: #ffffff !important;
}

/* dropdown arrow */
.mf-nav-pill > ul > li.mf-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.22s ease;
}
.mf-nav-pill > ul > li.mf-has-dropdown:hover > a::after {
  transform: rotate(225deg) translateY(-2px);
}

/* ── mega menu ─────────────────────────────── */
.mf-mega-menu {
  /* use visibility+opacity so hover area stays continuous (no gap) */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;          /* flush — gap is now padding-top below */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-width: 720px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 32px 80px rgba(3,27,78,0.16),
    0 0 0 1px rgba(3,27,78,0.06);
  /* padding-top bridges the visual gap without breaking hover */
  padding: 14px 28px 28px;
  z-index: 200;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.mf-nav-pill > ul > li:hover .mf-mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mf-mega-col {
  padding: 0 20px;
  border-right: 1px solid #f0f3f8;
}
.mf-mega-col:last-child { border-right: none; }
.mf-mega-col:first-child { padding-left: 0; }
.mf-mega-col:last-child  { padding-right: 0; }

.mf-mega-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f8;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d6efd;
}
.mf-mega-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef5ff;
  color: #0d6efd;
  flex-shrink: 0;
}

.mf-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mf-mega-col ul li + li { margin-top: 2px; }
.mf-mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #374660 !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.mf-mega-col ul li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5d4f0;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.mf-mega-col ul li a:hover {
  background: #f0f5ff;
  color: #0d6efd !important;
  padding-left: 14px;
}
.mf-mega-col ul li a:hover::before {
  background: #0d6efd;
}

/* ── CTA button ────────────────────────────── */
.mf-cta { flex-shrink: 0; }
.mf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #0b2a45 0%, #0d6efd 100%);
  box-shadow: 0 12px 28px rgba(13,110,253,0.30);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}
.mf-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13,110,253,0.40);
}
.mf-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ── mobile toggle ─────────────────────────── */
.mf-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255,255,255,0.90);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(3,27,78,0.12);
  transition: background 0.22s;
}
.mf-header.mf-inner .mf-toggler {
  background: #f0f4fb;
  box-shadow: none;
}
.mf-toggler span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #0b2a45;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mf-toggler.mf-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mf-toggler.mf-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mf-toggler.mf-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── mobile drawer ─────────────────────────── */
.mf-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mf-drawer.mf-open { display: block; }

.mf-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,27,78,0.40);
  backdrop-filter: blur(4px);
}
.mf-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mf-drawer.mf-open .mf-drawer-panel {
  transform: translateX(0);
}

.mf-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #eef2f8;
}
.mf-drawer-logo img { max-height: 48px; }
.mf-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f6fc;
  border-radius: 10px;
  cursor: pointer;
  color: #031b4e;
  font-size: 18px;
  line-height: 1;
}

.mf-drawer-nav {
  flex: 1;
  padding: 16px 0;
}
.mf-drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 14px;
}
.mf-drawer-nav ul li a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #031b4e !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}
.mf-drawer-nav ul li a:hover,
.mf-drawer-nav ul li.mf-active a {
  background: #eef5ff;
  color: #0d6efd !important;
}

.mf-drawer-group {
  margin: 8px 14px;
  border-radius: 14px;
  background: #f6f9ff;
  overflow: hidden;
}
.mf-drawer-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #031b4e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
}
.mf-drawer-group-title svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mf-drawer-group.mf-expanded .mf-drawer-group-title svg {
  transform: rotate(180deg);
}
.mf-drawer-sub {
  display: none;
  padding: 0 10px 10px;
}
.mf-drawer-group.mf-expanded .mf-drawer-sub { display: block; }
.mf-drawer-sub-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d6efd;
  padding: 10px 6px 6px;
}
.mf-drawer-sub ul { padding: 0; }
.mf-drawer-sub ul li a {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 10px;
  font-weight: 500;
}

.mf-drawer-footer {
  padding: 16px 14px 24px;
  border-top: 1px solid #eef2f8;
}
.mf-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #0b2a45 0%, #0d6efd 100%);
  box-shadow: 0 10px 24px rgba(13,110,253,0.28);
}

/* ── title bar (inner pages) ───────────────── */
/* ── Title bar ─────────────────────────────── */
.mf-title-bar {
  position: relative;
  padding: 72px 0 64px;
  background: linear-gradient(135deg, #040f1e 0%, #0b2a45 50%, #0d3a60 100%);
  overflow: hidden;
}

/* grid dot overlay */
.mf-title-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* glow blobs */
.mf-title-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(56,184,210,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(13,110,253,0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 110%, rgba(56,184,210,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.mf-title-bar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* eyebrow badge */
.mf-title-bar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: rgba(56,184,210,0.12);
  border: 1px solid rgba(56,184,210,0.25);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #67d2f5;
}
.mf-title-bar-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38b8d2;
  box-shadow: 0 0 0 3px rgba(56,184,210,0.25);
  flex-shrink: 0;
}

/* page title */
.mf-page-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  /* gradient text */
  background: linear-gradient(135deg, #ffffff 30%, #a8d8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* accent underline bar */
.mf-page-title-underline {
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38b8d2 0%, #0d6efd 100%);
  box-shadow: 0 0 16px rgba(56,184,210,0.40);
}

/* breadcrumb */
.mf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
}
.mf-breadcrumb a {
  color: rgba(255,255,255,0.60) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.mf-breadcrumb a:hover { color: #67d2f5 !important; }
.mf-breadcrumb-sep {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
}
.mf-breadcrumb-current {
  color: #67d2f5;
  font-weight: 600;
}

/* ── responsive ────────────────────────────── */
@media (max-width: 1199px) {
  .mf-nav-pill,
  .mf-cta { display: none; }
  .mf-toggler { display: flex; }
}
@media (max-width: 767px) {
  .mf-header { padding: 14px 0; }
  .mf-title-bar { padding: 48px 0 40px; }
  .mf-logo img,
  .mf-header.mf-scrolled .mf-logo img,
  .mf-header.mf-inner .mf-logo img {
    max-height: 56px;
  }
}

/* ── hide old header internals ─────────────── */
.pbmit-header-overlay .pbmit-main-header-area,
.header-style-3 .pbmit-header-overlay { display: none !important; }


/* ═══════════════════════════════════════════════
   SUBTITLE / EYEBROW BADGE — site-wide redesign
   .pbmit-subtitle  → section eyebrow labels
   .pbmit-sub-title → hero slider badge
═══════════════════════════════════════════════ */

/* ── Section eyebrow (.pbmit-subtitle) ──────── */
.pbmit-heading-subheading .pbmit-subtitle,
h4.pbmit-subtitle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px !important;
  border-radius: 999px !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;

  /* gradient teal-blue pill */
  background: linear-gradient(135deg, rgba(0,189,224,0.10) 0%, rgba(13,110,253,0.08) 100%) !important;
  border: 1px solid rgba(0,189,224,0.28) !important;
  color: #0870c4 !important;

  /* subtle glow */
  box-shadow: 0 2px 12px rgba(0,189,224,0.14), inset 0 1px 0 rgba(255,255,255,0.60);

  position: relative;
}

/* leading dot */
.pbmit-heading-subheading .pbmit-subtitle::before,
h4.pbmit-subtitle::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bde0 0%, #0d6efd 100%);
  box-shadow: 0 0 0 3px rgba(0,189,224,0.20);
  flex-shrink: 0;
}

/* trailing short line */
.pbmit-heading-subheading .pbmit-subtitle::after,
h4.pbmit-subtitle::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00bde0 0%, rgba(13,110,253,0.40) 100%);
  flex-shrink: 0;
}

/* dark-background variant */
.pbmit-bg-color-global .pbmit-heading-subheading .pbmit-subtitle,
.bg-dark .pbmit-heading-subheading .pbmit-subtitle {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.22) !important;
  color: #67d2f5 !important;
  box-shadow: 0 2px 14px rgba(0,189,224,0.10);
}

/* ── Hero slider badge (.pbmit-sub-title) ────── */
.pbmit-slider-area .pbmit-sub-title,
.pbmit-slider-three .pbmit-sub-title {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 12px !important;
  border-radius: 999px !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  margin-bottom: 18px;

  /* frosted glass */
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.30) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.20);
}

/* pulsing dot for slider badge */
.pbmit-slider-area .pbmit-sub-title::before,
.pbmit-slider-three .pbmit-sub-title::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67d2f5;
  box-shadow: 0 0 0 3px rgba(103,210,245,0.30);
  flex-shrink: 0;
  animation: mfPulse 2s ease-in-out infinite;
}

.pbmit-slider-area .pbmit-sub-title::after,
.pbmit-slider-three .pbmit-sub-title::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.50);
  flex-shrink: 0;
}

@keyframes mfPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(103,210,245,0.30); }
  50%       { box-shadow: 0 0 0 6px rgba(103,210,245,0.08); }
}

