/* Shared mobile nav + chat widget for AI landing pages */
.xb-nav-mobile {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1020;
  pointer-events: auto !important;
}
.header-bar-mobile {
  position: relative !important;
  z-index: 1021 !important;
  pointer-events: auto !important;
}
.xb-nav-mobile i.far.fa-bars {
  font-size: 18px !important;
  color: #fff !important;
}
.xb-nav-mobile i.far.fa-bars:before {
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free" !important;
  content: "\f0c9" !important;
  font-weight: 400 !important;
}
.xb-nav-mobile.has-css-bars i {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.xb-nav-mobile.has-css-bars::before {
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 5px / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 100% 2px no-repeat;
}

.xb-header-menu.active {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate(0) !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 2147483001 !important;
}
.xb-header-menu.active + .xb-header-menu-backdrop {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2147483000 !important;
}

.xb-header-menu {
  background: linear-gradient(
    165deg,
    rgba(10, 24, 48, 0.28) 0%,
    rgba(14, 36, 64, 0.22) 40%,
    rgba(8, 28, 48, 0.32) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.5) !important;
  border-right: 1px solid rgba(23, 230, 180, 0.28) !important;
  box-shadow:
    12px 0 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(23, 230, 180, 0.08) !important;
  height: 100% !important;
  max-height: 100dvh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}
.xb-header-menu-backdrop {
  background: rgba(0, 8, 20, 0.45) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}
.xb-header-menu .xb-header-menu-scroll {
  background: transparent !important;
  flex: 1 1 auto !important;
  height: auto !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain;
  touch-action: pan-y !important;
  padding: 18px 18px calc(120px + env(safe-area-inset-bottom, 0px)) !important;
}
.xb-header-menu .xb-header-nav,
.xb-header-menu .responsivemenu {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html.uxui-menu-open,
html.uxui-menu-open body {
  overflow: hidden !important;
}
html.uxui-menu-open .body_wrap.o-clip {
  overflow: visible !important;
}

/* Mobile drawer logo — match AI Solutions, never stretch */
.xb-header-menu .xb-logo-mobile {
  margin: 4px 0 18px !important;
  width: auto !important;
  max-width: 100% !important;
  background: transparent !important;
}
.xb-header-menu .xb-logo-mobile a {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 180px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.xb-header-menu .xb-logo-mobile img,
.xb-header-menu .xb-logo-mobile a img,
.xb-header-menu .logo1 img {
  display: block !important;
  height: 52px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Search field with icon inside, matching AI Solutions */
.xb-header-menu .xb-header-mobile-search {
  margin-bottom: 12px !important;
  position: relative !important;
}
.xb-header-menu .xb-header-mobile-search form {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
}
.xb-header-menu .xb-header-mobile-search .search-field,
.xb-header-menu .xb-header-mobile-search input {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 10px 46px 10px 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(23, 230, 180, 0.22) !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: none !important;
}
.xb-header-menu .xb-header-mobile-search .search-field::placeholder,
.xb-header-menu .xb-header-mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}
.xb-header-menu .xb-header-mobile-search .search-submit,
.xb-header-menu .xb-header-mobile-search button[type="submit"] {
  position: absolute !important;
  inset: 6px 6px auto auto !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #17e6b4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
}
.xb-header-menu .xb-header-mobile-search .search-submit.has-css-search i {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.xb-header-menu .xb-header-mobile-search .search-submit.has-css-search::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #17e6b4;
  border-radius: 50%;
  display: block;
}
.xb-header-menu .xb-header-mobile-search .search-submit.has-css-search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #17e6b4;
  right: 10px;
  bottom: 11px;
  transform: rotate(45deg);
}

.xb-header-nav .responsivemenu li a,
.xb-header-nav .responsivemenu li p {
  color: #fff !important;
  font-family: 'Prompt', sans-serif !important;
  padding: 13px 12px !important;
  display: block !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
}
.xb-header-nav .responsivemenu li a:hover,
.xb-header-nav .responsivemenu li a:focus {
  background: rgba(23, 230, 180, 0.12) !important;
  color: #17e6b4 !important;
}

.uxui-search-results {
  display: none;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(23, 230, 180, 0.2);
  background: rgba(6, 16, 32, 0.72);
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
}
.uxui-search-results.is-open { display: block; }
.uxui-search-results .uxui-search-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  padding: 10px 12px 6px;
}
.uxui-search-results a {
  display: block;
  padding: 11px 12px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Keep fixed chat + scroll-to-top visible (theme clips overflow on .o-clip) */
.body_wrap.o-clip {
  overflow: visible !important;
}

/* GetButton + first-party Messenger FAB — phone, iPad, desktop */
html, body {
  overflow-x: visible !important;
}
/* Third-party GetButton can fail on iPad/Safari — keep it out of the way */
.wh-widget-send-button-wrapper,
.wh-widget-send-button-container,
#wh-widget-send-button,
[id^="gb-widget"] {
  display: none !important;
}

#uxui-messenger-fab {
  position: fixed !important;
  right: max(16px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483646 !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 32px) !important;
  overflow: visible !important;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.uxui-messenger-cta {
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  max-width: 180px;
  text-align: center;
}
.uxui-messenger-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: #0084ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.45);
}
.uxui-messenger-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: #fff;
}
@media (max-width: 360px) {
  .uxui-messenger-cta { max-width: 140px; font-size: 11px; }
}

/* Scroll-to-top sits above GetButton (~14px + ~70px) */
.smothscroll,
.header-menu .smothscroll,
ul.smothscroll {
  position: fixed !important;
  bottom: 125px !important;
  right: 22px !important;
  left: auto !important;
  z-index: 99990 !important;
}
.smothscroll a.scroll-to-top,
.smothscroll a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 1 !important;
}

/* Service pages: drop duplicate breadcrumb (Home / same title), keep H1 only */
.about-page .breadcrumb__list,
.inner-page .breadcrumb__list {
  display: none !important;
}
.about-page .breadcrumb__content,
.inner-page .breadcrumb__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.about-page .breadcrumb__title,
.inner-page .breadcrumb__title {
  margin: 0 !important;
}

/* Service process ovals: keep labels centered inside the ellipse */
.content_layer_group li {
  overflow: hidden !important;
}
.content_layer_group li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 20px 48px !important;
  overflow: hidden !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .content_layer_group li span {
    font-size: 15px !important;
    padding: 24px 56px !important;
  }
}
@media (min-width: 1200px) {
  .content_layer_group li span {
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding: 28px 72px !important;
  }
}

/* Remove the boxed/bordered mobile header frame on marketing + chatbot */
.ai-marketing .header__wrap,
.ai-marketing .xb-header .header__wrap,
.header-style--three .header__wrap,
.header-style--two .header__wrap.xb-border,
.header__wrap.xb-border {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Remove the inset bordered hero frame on AI Marketing */
.ai-marketing section.hero.ai-marketing-hero,
.ai-marketing .ai-marketing-hero {
  padding: 0 !important;
}
.ai-marketing .hero-style,
.ai-marketing .hero-style.sec-border,
.ai-marketing .hero-style--three {
  border: 0 !important;
  outline: 0 !important;
}
@media (max-width: 991px) {
  .ai-marketing .xb-header .container-fluid,
  .ai-marketing .header__wrap,
  .header-style--three .header__wrap,
  .header-style--two .header__wrap {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ai-marketing .xb-header,
  .header-style--three .xb-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
