/* ============================================================
   Booking Modal — Outlook Calendar Popup
   ============================================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.booking-modal.open {
  opacity: 1;
  visibility: visible;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  height: 90vh;
  max-height: 780px;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34,1.2,0.64,1);
}

.booking-modal.open .booking-modal__panel {
  transform: scale(1) translateY(0);
}

.booking-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-8);
  background: var(--navbar-bg, #0D1B2A);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.booking-modal__subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin: 2px 0 0;
}

.booking-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.booking-modal__close:hover {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
}

.booking-modal__body {
  flex: 1;
  overflow: hidden;
}

.booking-modal__body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* Redirect variant — no iframe */
.booking-modal__body--redirect {
  overflow-y: auto;
  background: linear-gradient(160deg, #0D1B2A 0%, #112236 60%, #0D1B2A 100%);
}

.booking-redirect {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  min-height: 100%;
  gap: var(--space-5);
}

.booking-redirect__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-2);
  opacity: 0.9;
}

.booking-redirect__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,107,43,0.12);
  border: 1.5px solid rgba(255,107,43,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-green);
}

.booking-redirect__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.booking-redirect__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.booking-redirect__desc strong { color: rgba(255,255,255,0.9); }

.booking-redirect__details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin: var(--space-2) 0;
}

.booking-redirect__detail {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}

.booking-redirect__detail i {
  color: var(--color-green);
  font-size: 0.85em;
}

.booking-redirect__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(255,107,43,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: var(--space-2);
}
.booking-redirect__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,43,0.5);
}

.booking-redirect__note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.28);
  margin: 0;
}

@media (max-width: 480px) {
  .booking-redirect { padding: var(--space-8) var(--space-5); }
  .booking-redirect__details { flex-direction: column; align-items: center; }
}

/* Mobile */
@media (max-width: 640px) {
  .booking-modal {
    padding: var(--space-3);
    align-items: flex-end;
  }
  .booking-modal__panel {
    max-width: 100%;
    height: 92vh;
    max-height: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .booking-modal__header {
    padding: var(--space-4) var(--space-5);
  }
  .booking-modal__title { font-size: var(--text-lg); }
}

/* ============================================================
   SmartStart — Navbar (Dark, TCS-style)
   ============================================================ */

:root {
  --navbar-bg: #0D1B2A;
  --navbar-height: 76px;
}

/* ---- Base Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  /* Transparent by default — video shows through */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, height 0.3s ease;
}

/* Dark on hover - desktop only */
@media (min-width: 1025px) {
  .navbar:hover {
    background: rgba(13, 27, 42, 1);
    border-bottom-color: rgba(255,255,255,0.07);
  }
}

/* Dark permanently once user scrolls */
.navbar.scrolled {
  background: rgba(13, 27, 42, 1);
  border-bottom-color: rgba(255,255,255,0.07);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
  height: 68px;
}

.navbar--solid {
  background: var(--navbar-bg) !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
}

.navbar.scrolled .mega-menu,
.navbar--solid .mega-menu {
  top: 68px;
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  padding-inline: var(--container-pad);
  gap: var(--space-6);
}

/* ---- Logo ---- */
.navbar__logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.navbar__logo:hover img { opacity: 0.8; }

/* ---- Center Menu ---- */
.navbar__menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 0.55rem 1rem;
  border-radius: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  height: var(--navbar-height);
  border-bottom: 2px solid transparent;
}

.navbar__link i {
  font-size: 0.6em;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.navbar__link:hover {
  color: #ffffff;
  border-bottom-color: var(--color-green);
}

.navbar__item:hover .navbar__link,
.navbar__item--mega:hover .navbar__link {
  color: #ffffff;
  border-bottom-color: var(--color-green);
}

.navbar__item:hover .navbar__link i,
.navbar__item--mega:hover .navbar__link i {
  transform: rotate(180deg);
  opacity: 1;
}

.navbar__link.active {
  color: #ffffff;
  border-bottom-color: var(--color-green);
}

/* ---- Right Side ---- */
.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Search Icon */
.navbar__search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.navbar__search-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* Phone Number */
.navbar__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.navbar__phone i {
  color: var(--color-green);
  font-size: 0.8rem;
}
.navbar__phone:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* CTA Button — vibrant orange on dark = premium look */
.navbar__right .btn--green {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(255,107,43,0.35);
  letter-spacing: 0.01em;
}
.navbar__right .btn--green:hover {
  background: #9cb822;
  border-color: #9cb822;
  color: #0D1B2A;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(156, 184, 34, 0.45);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   SIMPLE DROPDOWNS (Insights, About)
   ============================================================ */
.navbar__item { position: relative; height: 100%; display: flex; align-items: center; }

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 210px;
  background: #1A2F45;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--color-green);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 600;
}

.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.navbar__dropdown-link {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 0.65rem var(--space-4);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  text-decoration: none;
}
.navbar__dropdown-link:hover {
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  padding-left: 1.25rem;
}


/* ============================================================
   MEGA MENU (Services) — seamlessly extends the dark navbar
   ============================================================ */
.navbar__item--mega { position: static; }

.mega-menu {
  position: absolute;
  top: var(--navbar-height);
  left: 0; right: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: 320px 250px 1fr;
  background: #0D1B2A;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  z-index: 600;
}

.navbar__item--mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Left panel */
.mega-menu__about {
  padding: var(--space-10) var(--space-8);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}
.mega-menu__about-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: var(--space-4);
}
.mega-menu__about-tagline em {
  font-style: normal;
  color: var(--color-green);
}
.mega-menu__about-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.mega-menu__about-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.mega-menu__about-link:hover { color: var(--color-green); gap: var(--space-3); }

/* Middle panel — service list */
.mega-menu__categories {
  padding: var(--space-4) 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mega-menu__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.mega-menu__cat i { font-size: 0.65em; opacity: 0.4; transition: opacity 0.15s; }
.mega-menu__cat:hover,
.mega-menu__cat.active {
  color: #ffffff;
  background: rgba(255,255,255,0.04);
  border-left-color: var(--color-green);
}
.mega-menu__cat:hover i,
.mega-menu__cat.active i { opacity: 1; }

/* Right panel */
.mega-menu__detail { padding: var(--space-8) var(--space-10); }
.mega-menu__detail-panel { display: none; animation: megaFadeIn 0.18s ease; }
.mega-menu__detail-panel.active { display: block; }

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mega-menu__detail-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-2);
}
.mega-menu__detail-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 420px;
}
.mega-menu__sub-links { display: flex; flex-direction: column; gap: 0; }
.mega-menu__sub-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: var(--space-3) var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: all 0.15s ease;
}
.mega-menu__sub-link:last-child { border-bottom: none; }
.mega-menu__sub-link:hover { color: #ffffff; padding-left: var(--space-5); }
.mega-menu__sub-link::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-green);
  opacity: 0; flex-shrink: 0;
  transition: opacity 0.15s;
}
.mega-menu__sub-link:hover::before { opacity: 1; }


/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.search-overlay__close:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.search-overlay__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-6);
}

.search-overlay__form {
  width: 100%;
  max-width: 680px;
  padding: 0 var(--space-6);
  position: relative;
}

.search-overlay__input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 1.1rem var(--space-6) 1.1rem 4rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.search-overlay__input::placeholder { color: rgba(255,255,255,0.3); }
.search-overlay__input:focus {
  border-color: var(--color-green);
  background: rgba(255,255,255,0.09);
}

.search-overlay__icon {
  position: absolute;
  left: calc(var(--space-6) + 1.25rem);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-overlay__results {
  width: 100%;
  max-width: 680px;
  padding: var(--space-4) var(--space-6) 0;
  max-height: 50vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-result-item:hover { background: rgba(255,255,255,0.05); }
.search-result-item__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
}
.search-result-item__path {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}
.search-no-results {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: var(--text-base);
  padding: var(--space-8) 0;
}


/* ============================================================
   MOBILE NAV
   ============================================================ */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height); left: 0; right: 0; bottom: 0;
  background: #0D1B2A;
  padding: var(--space-4) var(--container-pad) var(--space-8);
  overflow-y: auto;
  z-index: 490;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.navbar__mobile.open { transform: translateX(0); }

.navbar__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: color 0.2s;
}
.navbar__mobile-link:hover { color: var(--color-green); }

.navbar__mobile-group { border-bottom: 1px solid rgba(255,255,255,0.07); }

.navbar__mobile-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: var(--space-4) 0;
  cursor: pointer;
}
.navbar__mobile-group-header i {
  font-size: 0.75rem;
  transition: transform 0.2s;
  color: rgba(255,255,255,0.4);
}
.navbar__mobile-group.open .navbar__mobile-group-header i { transform: rotate(180deg); }

.navbar__mobile-sub {
  display: none;
  padding: 0 0 var(--space-3) var(--space-4);
  flex-direction: column;
  gap: 2px;
}
.navbar__mobile-group.open .navbar__mobile-sub { display: flex; }

.navbar__mobile-divider {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  padding: var(--space-3) var(--space-2) var(--space-1);
}

.navbar__mobile-sub-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.navbar__mobile-sub-link:hover {
  color: #fff;
  border-left-color: var(--color-green);
  padding-left: var(--space-4);
}

.navbar__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.navbar__mobile-cta .navbar__phone {
  justify-content: center;
}
.navbar__mobile-cta .btn--green {
  justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .navbar__phone { display: none; }
}

@media (max-width: 1024px) {
  .navbar__menu,
  .navbar__right .btn,
  .navbar__search-btn { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__mobile { display: block; }
  /* Keep search button visible on tablet */
  .navbar__right { gap: var(--space-2); }
}

@media (max-width: 640px) {
  :root { --navbar-height: 64px; }
  .navbar__logo img { height: 36px; }
  .navbar__mobile { top: 64px; }
  .search-overlay { padding-top: 8vh; }
  .search-overlay__input { font-size: var(--text-lg); }
}
/* ============================================================
   MOBILE SEARCH INPUT
   ============================================================ */
.mobile-search {
  position: relative;
  margin-bottom: var(--space-4);
}
.mobile-search__icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  pointer-events: none;
}
.mobile-search__input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.mobile-search__input::placeholder { color: rgba(255,255,255,0.3); }
.mobile-search__input:focus {
  border-color: var(--color-green);
  background: rgba(255,255,255,0.09);
}
.mobile-search__results {
  margin-bottom: var(--space-4);
}
.mobile-search__results:empty {
  display: none;
  margin-bottom: 0;
}

/* Nested mobile menu elements */
.navbar__mobile-group--nested {
  border-bottom: none;
  margin-left: var(--space-2);
}
.navbar__mobile-group-header--nested {
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.navbar__mobile-group-header--nested:hover {
  color: #fff;
}
.navbar__mobile-sub--nested {
  padding-left: var(--space-4);
  padding-bottom: 0;
  border-left: 1px solid rgba(255,255,255,0.1);
  margin-left: var(--space-2);
}
.navbar__mobile-sub--nested .navbar__mobile-sub-link {
  font-size: calc(var(--text-sm) * 0.95);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
/* Ensure header is always solid when mobile menu is open */
.navbar.mobile-open {
  background: rgba(13, 27, 42, 1) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

/* ============================================================
   STICKY SUB-NAVIGATION BAR (Moz Style)
   ============================================================ */
.sub-navbar {
  position: sticky;
  top: 68px;
  z-index: 400;
  background: #f4f8fa; /* Light blue-grey from screenshot */
  border-bottom: 1px solid #cbd5e1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}
.sub-navbar::-webkit-scrollbar {
  display: none;
}

.sub-navbar__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: max-content;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .sub-navbar__container {
    justify-content: center;
  }
}

.sub-navbar__link {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.95rem; /* Reduced font size slightly */
  font-weight: 400;
  color: #4b5563; /* Medium grey */
  text-decoration: none;
  padding: 0.4rem 0.85rem; /* Significantly thinner vertically and horizontally */
  position: relative;
  transition: color 0.2s ease;
}

.sub-navbar__link:hover {
  color: var(--color-navy);
}

/* The active item */
.sub-navbar__link.active {
  color: var(--color-navy);
  background: var(--color-green);
  font-weight: 600;
  border-radius: 4px; /* Slight rounding for a nice tab look */
}

/* Parent Item (e.g. Sales Solutions) */
.sub-navbar__link--parent {
  font-weight: 300; /* Thinner font */
  font-size: 1.15rem; /* Shrunk from 1.3rem */
  color: #6b7280;
  margin-right: 0.25rem;
  padding-right: 1rem;
  border-right: 1px solid #9ca3af; /* The vertical separator */
  background: transparent;
}
.sub-navbar__link--parent:hover {
  color: var(--color-navy);
  background: transparent;
}
.sub-navbar__link--parent i {
  display: none; /* Hide the icon to match the clean look of the screenshot */
}
