/* ==========================================================================
   BlueOrbit Custom Theme Overrides — Clean & Stable Brand Color System
   ========================================================================== */

:root {
  --main-h: 208;
  --main-s: 77%;
  --main-l: 39%;
  --main: 208 77% 39% !important;

  --main-600: #176bb2 !important;
  --main-700: #123c67 !important;
  --main-800: #061827 !important;
  --main-50: #e6eff6 !important;

  /* Transform spring green variable to electric cyan/blue */
  --spring-green-h: 191 !important;
  --spring-green-s: 100% !important;
  --spring-green-l: 50% !important;
  --spring-green: 191 100% 50% !important;

  --heading-color: #061827;
  --blue-color: #176bb2 !important;
  --bg-main-green: #123c67 !important;
}

/* Hide Floating Demo Settings Panel */
.settings-panel,
.settings-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Helper Text & Icon Classes */
.text-dark-navy {
  color: #061827 !important;
}

.text-main-600 {
  color: #176bb2 !important;
}

/* BRAND SLIDER CONTINUOUS LINEAR MARQUEE */
.brand-three-slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.brand-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 54px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.brand-logo-box:hover {
  border-color: #176bb2;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.15) !important;
  transform: translateY(-2px);
}

.brand-img {
  max-height: 38px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%) opacity(0.9);
  transition: all 0.3s ease;
}

.brand-logo-box:hover .brand-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* HIGH IMPACT PROMINENT ICON BADGES (LARGE & BOLD ICON FIX) */
.features-three .icon,
.group-item .icon {
  width: 68px !important;
  height: 68px !important;
  font-size: 38px !important;
  min-width: 68px !important;
  border-radius: 50% !important;
  background: #e6eff6 !important;
  border: 1px solid rgba(0, 102, 255, 0.25) !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.features-three .icon i,
.group-item .icon i {
  font-size: 36px !important;
  color: #176bb2 !important;
}

.features-three-item:hover .icon,
.group-item:hover .icon {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.1) !important;
}

.features-three-item:hover .icon i,
.group-item:hover .icon i {
  color: #ffffff !important;
}

/* WORKPLACE TEAM VERTICAL TABS & PROMINENT ICONS */
.workplace-team .nav-link {
  border-radius: 12px !important;
}

.workplace-team .nav-link .icon {
  width: 48px !important;
  height: 48px !important;
  font-size: 28px !important;
  min-width: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background-color: rgba(0, 102, 255, 0.08) !important;
  border: 1px solid rgba(0, 102, 255, 0.15) !important;
}

.workplace-team .nav-link .icon i {
  font-size: 28px !important;
  color: #176bb2 !important;
}

.workplace-team .nav-link.active,
.workplace-team .nav-link.active::before,
.workplace-team .nav-link.active::after,
.workplace-team .nav-link.active:hover {
  background: linear-gradient(135deg, #123c67 0%, #176bb2 100%) !important;
  background-image: linear-gradient(135deg, #123c67 0%, #176bb2 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3) !important;
}

.workplace-team .nav-link.active .icon {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.workplace-team .nav-link.active .icon i {
  color: #ffffff !important;
}

/* FEATURES THREE CARD PSEUDO-ELEMENT HOVER FIX */
.hover-gradient-bg-five,
.hover-gradient-bg-five::before,
.hover-gradient-bg-five::after,
.features-three-item,
.features-three-item::before,
.features-three-item::after {
  transition: all 0.3s ease !important;
}

.hover-gradient-bg-five:hover,
.hover-gradient-bg-five:hover::before,
.hover-gradient-bg-five:hover::after,
.features-three-item:hover,
.features-three-item:hover::before,
.features-three-item:hover::after {
  /*background: linear-gradient(135deg, #061827 0%, #123c67 60%, #176bb2 100%) !important;*/
  background-image: linear-gradient(135deg, #061827 0%, #123c67 60%, #176bb2 100%) !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #123c67 0%, #67c6f4 100%) !important;
}

.features-three-item:hover h5,
.features-three-item:hover p,
.features-three-item:hover .text-heading,
.features-three-item:hover .text-neutral-600,
.features-three-item:hover .icon,
.features-three-item:hover i,
.group:hover .group-hover-text-white {
  color: #ffffff !important;
}

/* SECTION BACKGROUND GRADIENTS */
.gradient-bg-five,
.bg-main-three,
.home-three .bg-main-three {
  background: #061827 !important;
  /*background: linear-gradient(135deg, #061827 0%, #123c67 50%, #0044B3 100%) !important;*/
  background: linear-gradient(135deg, #123c67 0%, #67c6f4 100%) !important;
}

.gradient-bg-six {
  background: linear-gradient(135deg, #123c67 0%, #67c6f4 100%) !important;
}

.bg-green-deep,
.home-three .bg-green-deep {
  /*background: linear-gradient(135deg, #061827 0%, #123c67 55%, #176bb2 100%) !important;*/
  background: linear-gradient(135deg, #123c67 0%, #67c6f4 100%) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

.bg-paste, .bg-paste-light {
  background-color: #67c6f4 !important;
  color: #061827 !important;
}

.bg-yellow, .bg-orange, .bg-pink {
  background-color: #123c67 !important;
  color: #ffffff !important;
}

/* HEADER & STICKY NAVIGATION */
.header-three__inner {
  background-color: rgba(255, 255, 255, 0.06) !important;
  
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header.fixed-header,
.home-three .header.fixed-header {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  margin-top: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  /*background-color: rgba(2, 0, 36, 0.95) !important;*/
  background: linear-gradient(135deg, #123c67 0%, #67c6f4 100%) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

.header.fixed-header .header-three__inner,
.home-three .header.fixed-header .header-three__inner {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* FOOTER THREE — Restored Light Theme Styling */
.footer-three,
.bg-pink-more-light,
.bg-pink-more-light-half {
  background-color: #e5ebf0 !important;
  color: #061827 !important;
}

.footer-three h5,
.footer-three .splitTextStyleOne,
.footer-three .text-heading {
  color: #061827 !important;
}

.footer-three .text-neutral-600,
.footer-three p,
.footer-three a {
  color: #4B5563 !important;
}

.footer-three a:hover,
.footer-three a.hover-text-heading:hover {
  color: #176bb2 !important;
}

.footer-three .border-neutral-200 {
  border-color: #E5E7EB !important;
}

/* BUTTONS — Electric Blue & Cyan */
.home-three .btn-main,
.btn-main {
  background: linear-gradient(270deg, #123c67 0%, #176bb2 100%) !important;
  border-color: #176bb2 !important;
  color: #ffffff !important;
}

.home-three .btn-main:hover,
.btn-main:hover {
  background: linear-gradient(270deg, #061827 0%, #123c67 100%) !important;
  color: #ffffff !important;
}

.home-three .btn-main-two,
.btn-main-two {
  /*background: linear-gradient(270deg, #368dca 0%, #67c6f4 100%) !important;*/
  background: linear-gradient(270deg, #123c67 0%, #176bb2 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.home-three .hover-style-two .button__flair::before,
.hover-style-two .button__flair::before {
  background: linear-gradient(270deg, #123c67 0%, #176bb2 100%) !important;
}

.home-three .hover-style-one .button__flair::before,
.hover-style-one .button__flair::before {
  background: linear-gradient(270deg, #368dca 0%, #67c6f4 100%) !important;
}

/* ACCENTS & TEXT GRADIENTS */
.text-gradient-teal-1, .text-gradient-1 {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #ffffff 100%) !important;

  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
/* ACCENTS & TEXT GRADIENTS */
.text-gradient-teal, .text-gradient {

  background: linear-gradient(90deg, #67c6f4 0%, #176bb2 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.text-spring-green {
  color: #67c6f4 !important;
}

.border-spring-green {
  border-color: rgba(0, 212, 255, 0.4) !important;
}

.text-yellow {
  color: #67c6f4 !important;
}

/* LOGO SIZE */
.logo img, .mobile-menu__logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   BANNER THREE — Small / Medium Laptop Fixes (992px – 1599px)
   Fixes: cloud-sky background animation clipping + hero image overlap
   ========================================================================== */

/* The animated cloud shape had no size constraint, so on laptops below ~1600px
   it rendered at full natural width, sat under the hero mockup and got clipped
   by the section's overflow:hidden — making the animation look broken. */
.banner-three > img[class*="left-right-scale-animation"] {
  max-width: 50%;
  height: auto;
  pointer-events: none;
  will-change: transform;
}

/* Keep the section from creating horizontal scroll while the shape animates */
.banner-three {
  overflow-x: clip;
}

@media (min-width: 992px) and (max-width: 1599px) {
  .banner-three {
    padding-block-start: 220px;
    padding-block-end: 130px;
  }

  /* Shorter travel so the shape stays inside the visible area on smaller screens */
  .banner-three > img.left-right-scale-animation {
    max-width: 46%;
    animation-name: leftRightScaleAnimationSm;
  }

  /* Hero mockup was 58% wide and absolutely positioned — it crowded the copy
     on 1280–1440px laptops. */
  .banner-three .banner-three-thumb.max-w-58-percent {
    max-width: 50%;
  }

  .banner-three-content {
    max-width: 520px;
  }

  .banner-three-content h1 {
    font-size: clamp(38px, 3.6vw, 56px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .banner-three .banner-three-thumb.max-w-58-percent {
    max-width: 46%;
  }

  .banner-three > img.left-right-scale-animation {
    max-width: 40%;
    opacity: 0.75;
  }
}

@keyframes leftRightScaleAnimationSm {
  0%   { transform: translateX(0) translateY(-50%) scale(1); }
  50%  { transform: translateX(-48px) translateY(-50%) scale(0.88); }
  100% { transform: translateX(0) translateY(-50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-three > img.left-right-scale-animation {
    animation: none;
    transform: translateY(-50%);
  }
}

/* ==========================================================================
   INNER PAGES — match the homepage look & feel
   Dark gradient hero + BlueOrbit palette applied to every theme accent class
   ========================================================================== */

/* ---------- Dark page hero (mirrors the homepage banner) ---------- */
.breadcrumb.page-hero {
  padding-block-start: 230px;
  padding-block-end: 110px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

@media (min-width: 992px) and (max-width: 1599px) {
  .breadcrumb.page-hero { padding-block-start: 200px; padding-block-end: 92px; }
}

@media (max-width: 767px) {
  .breadcrumb.page-hero { padding-block-start: 165px; padding-block-end: 74px; }
}

.breadcrumb.page-hero h1 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.06;
}

.breadcrumb.page-hero > img.left-right-scale-animation { max-width: 46%; }

.bg-white-08  { background-color: rgba(255, 255, 255, 0.08); }
.border-white-08 { border-color: rgba(255, 255, 255, 0.12) !important; }
.hover-text-spring-green:hover { color: #67c6f4 !important; }

/* ---------- Stray theme accents remapped to BlueOrbit ---------- */
.text-olive-green,
.text-main-two-600,
.font-caveat.text-olive-green { color: #176bb2 !important; }

.bg-olive-green,
.bg-main-two-600  { background-color: #176bb2 !important; }

.hover-border-main-two-600:hover,
.border-main-two-600 { border-color: #176bb2 !important; }

.bg-app-landing,
.hover-bg-app-landing:hover,
.bg-hover-app-landing:hover {
  background: linear-gradient(135deg, #061827 0%, #123c67 60%, #176bb2 100%) !important;
}

.border-app-landing { border-color: #176bb2 !important; }

/* Neutral / tinted section backgrounds -> consistent brand-neutral */
.section-bg-two,
.bg-neutral-light,
.bg-neutral-light-half,
.bg-neutral-50 { background-color: #f0f4f7 !important; }

.bg-pink-more-light,
.bg-pink-more-light-half { background-color: #e5ebf0 !important; }

/* Numbered step circles / process markers */
.how-it-works-six-item h4:first-child,
.work-process-five-item .number { color: #176bb2 !important; }

/* Accordion active state */
.common-accordion .accordion-button:not(.collapsed) { color: #176bb2 !important; }

/* Service detail cards + sidebar */
.service-details .list-item a:hover,
.service-details .active > a { color: #176bb2 !important; }

.service-six-item:hover { border-color: #176bb2 !important; }

/* Section background images that carry the old theme's tint */
.service-six .background-img { opacity: .35; }

/* Links inside feature cards should not look like raw anchors */
a.features-three-item,
.service-six-item a { text-decoration: none; }

/* ==========================================================================
   FIX PASS — active nav, clipped text, image overlap, responsive
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. ACTIVE MENU STATE — main-600 (#176bb2) was invisible on the blue header.
      Use cyan + weight + an underline bar so the current page is obvious.
      ------------------------------------------------------------------- */
.nav-menu__item.activePage > a,
.nav-menu__item.activePage > a::before,
.header .nav-menu__item.activePage > a,
.nav-menu__item.has-submenu.activePage > a {
  color: #67c6f4 !important;
  font-weight: 800 !important;
}

.header .nav-menu__item.activePage > a {
  position: relative;
}

.header .nav-menu__item.activePage > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 3px;
  border-radius: 3px;
  background: #67c6f4;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
}

/* Sub-page in a dropdown highlights its own row too */
.nav-submenu__item.activePage .nav-submenu__link,
.nav-submenu__link.activePage {
  color: #176bb2 !important;
  font-weight: 700 !important;
  background-color: rgba(0, 102, 255, 0.08) !important;
}

/* Mobile menu sits on white — keep it readable there */
.mobile-menu .nav-menu__item.activePage > a {
  color: #176bb2 !important;
  font-weight: 800 !important;
}

.mobile-menu .nav-menu__item.activePage > a::after { display: none; }

/* -------------------------------------------------------------------------
   2. CLIPPED LETTERS — GSAP SplitText wraps each line in an inline-block
      div, which crops descenders and the final italic glyph ("Execute").
      ------------------------------------------------------------------- */
.splitTextStyleOne,
.splitTextStyleTwo {
  overflow: visible !important;
  padding-bottom: 0.12em;
}

.splitTextStyleOne > div,
.splitTextStyleTwo > div {
  overflow: visible !important;
  padding-right: 0.09em;
  padding-bottom: 0.1em;
}

/* Italic serif accent words overhang furthest — give them room */
.font-dm-serif.fst-italic,
.fst-italic {
  padding-right: 0.09em;
  overflow: visible !important;
}

h1, h2, h3, h4, h5, h6 { overflow: visible !important; }

/* line-clamp-1 was truncating the "Trusted by…" heading mid-phrase */
.brand-three .line-clamp-1 {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

/* -------------------------------------------------------------------------
   3. LOGO CAROUSEL — tighten the vertical rhythm around the strip
      ------------------------------------------------------------------- */
.brand-three { padding-block: 56px; }

.brand-three .tw-mb-16 { margin-bottom: 28px !important; }

.brand-three-slider { padding-block: 4px; }

@media (max-width: 767px) {
  .brand-three { padding-block: 36px; }
  .brand-three .tw-mb-16 { margin-bottom: 20px !important; }
}

/* -------------------------------------------------------------------------
   15. IMAGE OVERLAPPING TEXT — the automation mockup is absolutely
       positioned at 58% width and rides over the heading below ~1600px.
       ------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1599px) {
  .automation-thumb.position-lg-absolute {
    max-width: 46% !important;
  }

  .automation .automation-content {
    max-width: 520px;
  }

  .automation .automation-content h2 {
    font-size: clamp(30px, 2.9vw, 46px);
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .automation-thumb.position-lg-absolute {
    max-width: 42% !important;
    opacity: .92;
  }
}

/* Below lg the thumb returns to normal flow — stop it overlapping there too */
@media (max-width: 991px) {
  .automation-thumb {
    position: static !important;
    max-width: 100% !important;
    margin-top: 32px;
  }
}

/* Same guard for the hero mockup and any other absolutely-placed thumb */
@media (min-width: 992px) and (max-width: 1599px) {
  .banner-three-thumb.position-lg-absolute { max-width: 50% !important; }
}

@media (max-width: 991px) {
  .banner-three-thumb.position-lg-absolute {
    position: static !important;
    max-width: 100% !important;
    margin-top: 28px;
  }
}

/* -------------------------------------------------------------------------
   RESPONSIVE HARDENING — no horizontal scroll, no overflowing media
   ------------------------------------------------------------------- */
html, body { overflow-x: hidden; max-width: 100%; }

img, svg, video, iframe { max-width: 100%; height: auto; }

.container, .container-fluid { overflow-x: clip; }

/* Long unbroken strings (emails, URLs) must wrap on small screens */
a[href^="mailto:"], a[href^="tel:"], .footer-three a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  h1 { font-size: clamp(28px, 8vw, 40px) !important; }
  h2 { font-size: clamp(24px, 6.5vw, 34px) !important; }
  h3 { font-size: clamp(21px, 5.5vw, 28px) !important; }

  .py-120 { padding-block: 56px !important; }
  .pt-120 { padding-top: 56px !important; }
  .pb-120 { padding-bottom: 56px !important; }

  .tw-gap-148-px { gap: 28px !important; }
}

/* Counter rows stack instead of squashing */
@media (max-width: 767px) {
  .border-top.border-bottom.d-flex { gap: 24px !important; }
  .border-top.border-bottom.d-flex .h6.d-sm-block { display: block !important; }
}

/* Leadership cards: photos now fill the space the socials vacated */
.about-team .position-relative.tw-rounded-xl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service detail sidebar shouldn't crowd the copy on mid screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .service-details .col-lg-4 { padding-inline-start: 12px; }
}

/* -------------------------------------------------------------------------
   min-w-max pills (the drag-rotate CTA row, badges) force their container
   wider than the phone viewport. Let them wrap below 576px.
   ------------------------------------------------------------------- */
@media (max-width: 575px) {
  .min-w-max {
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center;
  }

  .drag-rotate-element {
    font-size: 13px !important;
    padding-inline: 18px !important;
  }

  .myContainer { gap: 10px !important; padding-inline: 8px !important; }
}

/* Badge pills in heroes must not push the hero wide */
.bg-white-08.rounded-pill,
.badge-pill,
.rounded-pill.min-w-max {
  max-width: 100%;
  white-space: normal;
}

/* Breadcrumb wraps instead of overflowing on narrow screens */
.page-hero ul.list-unstyled {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* Careers application form — full width fields on mobile */
@media (max-width: 767px) {
  form .row > [class*="col-"] { width: 100%; }
  input, select, textarea { max-width: 100%; }
}

/* Contact map and iframes never exceed their column */
.map iframe, iframe { width: 100% !important; max-width: 100%; }

/* Service-detail sidebar drops below the copy on tablet and down */
@media (max-width: 991px) {
  .service-details .col-lg-4 { margin-top: 40px; }
}

/* Tables (if any are added later) scroll rather than break layout */
table { display: block; overflow-x: auto; max-width: 100%; }

/* -------------------------------------------------------------------------
   FOOTER GRID — 4 link columns + brand block, balanced at every width
   ------------------------------------------------------------------- */
.footer-three .row > [class*="col-"] { margin-bottom: 8px; }

/* Brand block sits alongside the links on xl; full width below that */
@media (min-width: 1200px) {
  .footer-three .col-xl-4 .ps-xl-4 { padding-inline-start: 24px; }
}

@media (max-width: 1199px) {
  .footer-three .col-lg-12 { margin-top: 40px; }
  .footer-three .ps-xl-4 { padding-inline-start: 0 !important; }
}

/* Long link labels wrap instead of forcing the column wider */
.footer-three ul a {
  display: inline-block;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

/* Newsletter / contact form must not overflow a narrower brand column */
.footer-three form.form-submit {
  flex-wrap: wrap;
  max-width: 460px;
}

.footer-three form.form-submit .position-relative { min-width: 200px; }

@media (max-width: 1399px) and (min-width: 1200px) {
  .footer-three form.form-submit { flex-direction: column !important; }
  .footer-three form.form-submit button { width: 100%; }
}

@media (max-width: 575px) {
  .footer-three form.form-submit { flex-direction: column !important; }
  .footer-three form.form-submit button { width: 100%; }
  .footer-three .row > [class*="col-"] { margin-bottom: 24px; }
}

/* Address line keeps its icon aligned with the first line of text */
.footer-three li i { margin-inline-end: 4px; }

/* -------------------------------------------------------------------------
   LOGO CAROUSEL — close the gap to the section that follows it.
   The next section carries py-120 (120px), which read as dead space
   under the logo strip. Trim the join on both sides.
   ------------------------------------------------------------------- */
.brand-three {
  padding-top: 48px !important;
  padding-bottom: 8px !important;
}

.brand-three .tw-mb-16 { margin-bottom: 22px !important; }

/* The section immediately after the logo strip starts much closer */
.brand-three + section,
.brand-three + .features-three,
.brand-three + section.py-120 {
  padding-top: 48px !important;
}

.brand-three-slider { padding-block: 0; }

.brand-three-slider .swiper-slide { height: auto; }

.brand-three .brand-logo-box {
  min-height: 62px;
  width: 100%;
}

/* Autoplay is off in main.js — neutralise the 4s marquee easing */
.brand-three-slider .swiper-wrapper {
  transition-timing-function: ease !important;
}

@media (max-width: 767px) {
  .brand-three { padding-top: 32px !important; padding-bottom: 4px !important; }
  .brand-three + section,
  .brand-three + section.py-120 { padding-top: 32px !important; }
}

/* =====================================================================
   MOBILE + CONSISTENCY PASS
   1 section cut · 2 alignment · 3 sentence cut · 4 button radius
   5 footer text · 6 double-active mobile menu · 7 repeat heading
   8 tag-wise heading scale · 9 about circles · 10 sidebar order
   ===================================================================== */

/* ---- 8. One canonical, tag-wise heading and body typography scale for the whole site ----
   Ensures consistent font sizes, fluid responsive scaling, and proper line heights
   across all headings (h1-h6) and body paragraphs (p, text-neutral-*, li).             */
h1, .h1 { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 3.5rem)   !important; line-height: 1.20 !important; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.75rem)   !important; line-height: 1.24 !important; letter-spacing: -0.015em; }
h3, .h3 { font-size: clamp(1.35rem, 1.08rem + 1.2vw, 2.125rem) !important; line-height: 1.28 !important; letter-spacing: -0.01em; }
h4, .h4 { font-size: clamp(1.2rem, 1.02rem + 0.8vw, 1.625rem)  !important; line-height: 1.32 !important; }
h5, .h5 { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem)  !important; line-height: 1.36 !important; }
h6, .h6 { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem) !important; line-height: 1.40 !important; }

/* ---- Site-wide Body Content & Paragraph Typography ---- */
p, .text-neutral-600, .text-neutral-500 {
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.6 !important;
}

.tw-leading-212,
.accordion-body p {
  line-height: 1.6 !important;
}

.breadcrumb.page-hero p,
.banner-three-content > p {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem) !important;
  line-height: 1.55 !important;
}

/* keep headings and content from spilling out of their box on narrow screens */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, li, span, a {
  overflow-wrap: break-word;
  word-break: normal;
}

/* ---- 4. One button shape everywhere ---- */
.btn,
a.btn,
button.btn,
.btn-main, .btn-main-two, .btn-white, .btn-orange-outline,
.button--stroke {
  border-radius: 12px !important;
}
/* pills stay pills — they are badges, not buttons */
.rounded-pill, .btn.rounded-pill { border-radius: 999px !important; }
/* icon-only round buttons stay round */
.btn.rounded-circle, .btn.tw-rounded-full { border-radius: 50% !important; }

/* ---- 6. Only ONE item highlighted in the mobile menu ----
   The theme coloured .has-submenu.active (the open-dropdown state)
   with the same blue as the current page, so two rows looked active. */
.nav-menu--mobile .has-submenu.active > a,
.mobile-menu .has-submenu.active > a {
  color: var(--heading-color) !important;
}
.nav-menu--mobile .has-submenu.active > a::before,
.mobile-menu .has-submenu.active > a::before {
  color: var(--neutral-400) !important;
}
.mobile-menu .nav-menu__item.activePage > a,
.nav-menu--mobile .nav-menu__item.activePage > a,
.mobile-menu .nav-submenu__item.activePage > a,
.nav-menu--mobile .nav-submenu__item.activePage > a {
  color: #176bb2 !important;
  font-weight: 700 !important;
}

/* ---- 10. Sub-page sidebar drops BELOW the content on tablet/mobile ---- */
@media (max-width: 1199.98px) {
  .service-details .row { display: flex; flex-wrap: wrap; }
  .service-details .row > .col-xl-4 { order: 2; margin-top: 40px; }
  .service-details .row > .col-xl-8 { order: 1; }
  .service-details .ps-xl-5,
  .service-details .pe-lg-4 { padding-inline: 0 !important; }
}

/* ---- 9. About: counter circles visible without hover on mobile ---- */
@media (max-width: 991.98px) {
  .rounded-circle.aspect-1 {
    background: #F4F7FB;
    border: 1px solid rgba(9, 9, 121, .10);
    max-width: 220px !important;
    margin-inline: auto;
  }
}

/* =========================  MOBILE LAYOUT  ========================= */
@media (max-width: 767.98px) {

  /* 1 + 3. nothing may push the page wider than the screen */
  html, body { overflow-x: hidden; max-width: 100%; }
  section, .container, .row, [class*="col-"] { max-width: 100%; }
  .container { padding-inline: 18px !important; }
  .row { margin-inline: 0 !important; }
  [class*="col-"] { padding-inline: 0 !important; }
  .row > [class*="col-"] + [class*="col-"] { margin-top: 0; }

  /* 1. min-width:max-content is what pushes the hero pill past the
        right edge — release it and let the badge wrap. */
  .min-w-max, .tw-min-w-max { min-width: 0 !important; }

  /* 1. long pill / badge strings wrap instead of running off the edge */
  .rounded-pill {
    white-space: normal !important;
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
  }

  /* 3. sentences are clipped when a max-width utility is wider than
        the viewport, or when a flex child refuses to shrink */
  [class*="max-w-"] { max-width: 100% !important; }
  .d-flex > * { min-width: 0; }
  p, .splitTextStyleOne, blockquote, .testimonial p {
    max-width: 100% !important;
    white-space: normal !important;
    text-overflow: clip !important;
  }
  .splitTextStyleOne,
  .splitTextStyleOne div { overflow: visible !important; }

  /* 2. alignment — centre the stacked hero/section headers, keep
        body copy left-aligned so it stays readable */
  .text-center .rounded-pill { margin-inline: auto; }
  .section-heading, .text-center { text-align: center; }
  .text-center p { text-align: center; }

  /* absolutely-positioned decoration must never create scroll */
  .position-absolute { max-width: 100%; }
  img { max-width: 100%; height: auto; }

  /* tighten the vertical rhythm so sections don't feel cut */
  .py-120 { padding-block: 56px !important; }
  .pt-120 { padding-top: 56px !important; }
  .pb-120 { padding-bottom: 56px !important; }

  /* buttons go full width and stack cleanly */
  .btn { white-space: normal !important; }
  .d-flex.tw-gap-5 > .btn,
  .d-flex.tw-gap-4 > .btn { flex: 1 1 100%; }

  /* ---- 5. footer ---- */
  footer .row > [class*="col-"] { margin-bottom: 28px; }
  .footer-three .row > [class*="col-"] { margin-bottom: 28px; }
  footer h5, footer .h5 { margin-bottom: 14px !important; }
  .footer-three h5, footer .h5 { margin-bottom: 14px !important; }
  footer ul { gap: 10px !important; }
  .footer-three ul { gap: 10px !important; }
  footer a, footer p, footer li,
  .footer-three a, footer p, footer li {
    white-space: normal !important;
    overflow-wrap: break-word;
    hyphens: none;
    line-height: 1.55;
  }
  footer .hover-arrow-start { display: inline-block; }
  .footer-three .hover-arrow-start { display: inline-block; }
  footer .d-flex.align-items-center { flex-wrap: wrap; }
  .footer-three .d-flex.align-items-center { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
  .container { padding-inline: 16px !important; }
  .rounded-circle.aspect-1 { max-width: 190px !important; }
}

/* ---- Sub-page sidebar: highlight the page you are on ---- */
.service-details a.service-link-active,
a.service-link-active {
  background: linear-gradient(135deg, #123c67 0%, #0B63D8 100%) !important;
  color: #ffffff !important;
  pointer-events: none;
}
a.service-link-active span {
  background: rgba(255, 255, 255, .18) !important;
  color: #ffffff !important;
}
a.service-link-active i { color: #ffffff !important; }

/* ---- Home "Six ways" panel: kill the dead space, make it sticky ---- */
@media (min-width: 992px) {
  .features-three .row > .col-lg-4:first-child {
    align-self: flex-start;
  }
  .features-three .row > .col-lg-4:first-child > .bg-goldenrod {
    height: auto !important;
    position: sticky;
    top: 110px;
    justify-content: flex-start !important;
  }
  /* the tag stack no longer needs the tall padded box */
  .features-three .bg-goldenrod > .tw-pt-6 {
    padding-top: 8px !important;
    padding-bottom: 20px !important;
  }
  /* breathing room between the tag stack and the Capabilities card */
  .features-three .bg-goldenrod > .bg-white { margin-top: 8px; }
}

@media (max-width: 991.98px) {
  .features-three .bg-goldenrod { height: auto !important; }
  .features-three .bg-goldenrod > .tw-pt-6 {
    padding-top: 8px !important;
    padding-bottom: 20px !important;
  }
  .features-three .container > .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
  }
  .features-three .container > .d-flex p {
    margin-top: 0 !important;
  }
}

/* ---- Testimonials Three section responsive overflow fix ---- */
@media (max-width: 991.98px) {
  .testimonials-three .bg-main-three {
    padding-inline: 24px !important;
    padding-block: 40px !important;
    gap: 32px !important;
  }
  .testimonials-three-slider {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .testimonials-three-slider p {
    font-size: 20px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .testimonials-three-slider .bg-white-06 {
    max-width: 100% !important;
    padding-inline: 20px !important;
    padding-block: 14px !important;
    gap: 16px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }
  .testimonials-three-slider .bg-white-06 h6 {
    font-size: 16px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
}

@media (max-width: 575.98px) {
  .testimonials-three .bg-main-three {
    padding-inline: 16px !important;
    padding-block: 28px !important;
    gap: 24px !important;
  }
  .testimonials-three-slider p {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }
  .testimonials-three-slider .bg-white-06 {
    padding-inline: 14px !important;
    padding-block: 10px !important;
    gap: 12px !important;
  }
  .testimonials-three-slider .bg-white-06 .tw-w-17 {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
  }
  .testimonials-three-slider .bg-white-06 h6 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}

/* ---- Stop AOS left/right entrances from creating sideways scroll ---- */
@media (max-width: 991.98px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos="slide-left"],
  [data-aos="slide-right"],
  [data-aos="fade-up-left"],
  [data-aos="fade-up-right"],
  [data-aos="fade-down-left"],
  [data-aos="fade-down-right"] {
    transform: none !important;
  }
  /* tablet range gets the same gutter discipline as phones */
  .container { padding-inline: 20px !important; }
  [class*="max-w-"] { max-width: 100% !important; }
  .min-w-max, .tw-min-w-max { min-width: 0 !important; }
  .rounded-pill { white-space: normal !important; max-width: 100%; }
}

/* ---- Footer bottom bar: let the row wrap, never break a word ---- */
@media (max-width: 991.98px) {
  footer .d-flex.align-items-center.tw-gap-4.flex-wrap > .d-flex.align-items-center.tw-gap-6,
  .footer-three .d-flex.align-items-center.tw-gap-4.flex-wrap > .d-flex.align-items-center.tw-gap-6 {
    flex-wrap: wrap;
    gap: 8px 20px !important;
  }
  footer .d-flex.align-items-center.tw-gap-4.flex-wrap > .d-flex.align-items-center.tw-gap-6 > a,
  .footer-three .d-flex.align-items-center.tw-gap-4.flex-wrap > .d-flex.align-items-center.tw-gap-6 > a {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  footer ul.d-flex a { white-space: nowrap !important; }
  .footer-three ul.d-flex a { white-space: nowrap !important; }
  /* footer CTA label stays on one line */
  footer .btn,
  .footer-three .btn,
  footer button,
  .footer-three button,
  footer a.btn { white-space: nowrap !important; }
  .footer-three a.btn { white-space: nowrap !important; }
}

/* Brochure palette: midnight navy, ocean blue, luminous blue, brushed silver. */
:root {
  --bo-navy: #061827;
  --bo-ocean: #123c67;
  --bo-blue: #176bb2;
  --bo-glow: #67c6f4;
  --bo-silver: #c5d0da;
  --bo-paper: #f0f4f7;
  --spring-green: 200 87% 68% !important;
  --spring-green-h: 200 !important;
  --spring-green-s: 87% !important;
  --spring-green-l: 68% !important;
}
body { background: #f8fafc; }
.gradient-bg-five, .gradient-bg-six, .bg-main-three,
.home-three .bg-main-three, .bg-green-deep, .home-three .bg-green-deep,
.bg-app-landing {
  background: linear-gradient(115deg, var(--bo-navy) 12%, #0a2747 62%, var(--bo-ocean)) !important;
}
.banner-three.gradient-bg-five, .breadcrumb.page-hero {
  background: radial-gradient(ellipse at 88% 55%, #195b95 0%, #0b2b4d 35%, var(--bo-navy) 76%) !important;
}
.banner-three { padding-block: 190px 90px !important; }
.banner-three > .container > .row { align-items: center; }
.banner-three .banner-three-thumb.position-lg-absolute {
  
  margin: 0 !important;
  filter: drop-shadow(0 20px 38px #020e1c66);
}
.banner-three-content { max-width: 100% !important; }
.banner-three-content h1 { font-size: clamp(2.15rem, 4.2vw, 4rem) !important; }
.banner-three-content > .d-flex { flex-wrap: wrap; gap: 16px 24px !important; }
.banner-three-content > .rounded-pill { line-height: 1.5; }
.banner-three-content .text-gradient-teal-1 {
  background: linear-gradient(120deg, #fff, #c5d0da 60%, #8598aa) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}
.header-three__inner { background: #061827b8 !important; }
.header.fixed-header, .home-three .header.fixed-header { background: #061827f5 !important; }
.header .container { overflow: visible; }
.header .nav-menu { gap: clamp(12px, 1.35vw, 24px) !important; }
.header .nav-menu__link { white-space: nowrap; font-size: 14px; }
.header a[href^="mailto:"] { display: none !important; }
.header .logo { flex-shrink: 0; margin-right: 20px; }
.home-three .btn-main, .btn-main,
.home-three .btn-main-two, .btn-main-two {
  background: linear-gradient(150deg, #f3f7fa 0%, #c5d0da 46%, #879cad 100%) !important;
  border: 1px solid #d5e2ed !important;
  color: var(--bo-navy) !important;
  box-shadow: inset 0 1px 0 #ffffffc0, 0 4px 18px #06182720;
}
.home-three .btn-main:hover, .btn-main:hover,
.home-three .btn-main-two:hover, .btn-main-two:hover { color: var(--bo-navy) !important; }
.home-three .hover-style-one .button__flair::before,
.home-three .hover-style-two .button__flair::before {
  background: linear-gradient(135deg, #fff, #bed9ec) !important;
}
.btn .button__label { color: inherit; }
.text-gradient-teal, .text-gradient {
  background: linear-gradient(100deg, #176bb2, #123c67) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}
.bg-goldenrod, .bg-paste, .bg-paste-light,
.bg-pink-more-light, .bg-pink-more-light-half {
  background: linear-gradient(135deg, #edf2f6, #c5d0da) !important;
  color: var(--bo-navy) !important;
}
.bg-yellow, .bg-orange, .bg-pink { background: var(--bo-ocean) !important; }
.footer-three { background: linear-gradient(120deg, #061827, #102d47) !important; }
.footer-three h5, .footer-three .splitTextStyleOne, .footer-three .text-heading { color: #f5f8fb !important; }
.footer-three .text-neutral-600, .footer-three p, .footer-three a { color: #c5d0da !important; }
.footer-three a:hover { color: #8bd8ff !important; }
.footer-three .text-gradient-teal { -webkit-text-fill-color: #8bd8ff !important; }
.footer-three .border-neutral-200 { border-color: #ffffff26 !important; }
.footer-three a.bg-white { color: var(--bo-ocean) !important; }
.footer-three .btn { color: var(--bo-navy) !important; }
.footer-three .text-line-1 { white-space: normal; overflow: visible; }
.container, .container-fluid { overflow-x: visible; }
.row > * { min-width: 0; }
.nav-submenu { max-width: min(320px, calc(100vw - 40px)); }
.has-submenu:focus-within > .nav-submenu { visibility: visible; opacity: 1; }
.mobile-menu { top: 0; left: 0; width: min(340px, 90vw); height: 100dvh; z-index: 1001 !important; }
.side-overlay { z-index: 1000; }
body.menu-open { overflow: hidden !important; }
.toggle-mobileMenu, .close-button { min-width: 44px; min-height: 44px; }
:focus-visible { outline: 3px solid var(--bo-glow); outline-offset: 4px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header-three__inner { padding-inline: 16px !important; }
  .header .logo img { max-width: 150px; }
  .header .nav-menu { gap: 12px !important; }
  .header .nav-menu__link { font-size: 13px; }
  .header .btn { padding-inline: 12px !important; }
}
@media (max-width: 991.98px) {
  .banner-three { padding-block: 145px 56px !important; }
  .banner-three .banner-three-thumb.position-lg-absolute { max-width: 620px !important; margin-inline: auto !important; }
  .banner-three-content h1 { max-width: 680px !important; }
  .banner-three-content > p { max-width: 620px !important; }
  .mobile-menu .nav-submenu { margin-inline: 0; padding-left: 12px; }
  .mobile-menu .nav-menu__link { padding-block: 14px !important; }
  .footer-three form.form-submit .position-relative { min-width: 0; width: 100%; }
}
@media (max-width: 767.98px) {
  /* Restore Bootstrap gutters and vertical spacing removed by older overrides. */
  .row { max-width: none; margin-inline: calc(-.5 * var(--bs-gutter-x)) !important; }
  .row > [class*="col-"] { padding-inline: calc(.5 * var(--bs-gutter-x)) !important; }
  .row > [class*="col-"] + [class*="col-"] { margin-top: var(--bs-gutter-y); }
  .banner-three-content > .rounded-pill { text-align: left; border-radius: 14px !important; }
  .banner-three-content .btn { padding: 16px 24px !important; }
  .features-three .bg-goldenrod .transform-rotate--14-deg,
  .features-three .bg-goldenrod .transform-rotate-8-deg { transform: none; }
  .features-three .bg-goldenrod .rounded-pill { padding-inline: 16px !important; }
  .footer-three .container .container { padding-inline: 0 !important; }
  .breadcrumb.page-hero { padding-block: 150px 64px; }
  .breadcrumb.page-hero ul { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
  .container { padding-inline: 20px !important; }
  .header { margin-top: 16px !important; }
  .header .logo img { max-width: 165px !important; }
  .header-three__inner { padding-inline: 16px !important; }
  .features-three .tw-px-9 { padding-inline: 24px !important; }
  .banner-three-content > .d-flex.tw-mt-10 { flex-direction: column; align-items: flex-start !important; }
}
/* Keep footer branding legible on navy and mobile copy comfortably spaced. */
.footer-three img[alt="blueorbit Logo"] { width: 200px; max-width: 100% !important; height: auto; }
.banner-three-content > p { line-height: 1.65 !important; }
.banner-three > img.left-right-scale-animation,
.breadcrumb.page-hero > img.left-right-scale-animation { filter: grayscale(1); opacity: .22; }

/* Give the automation illustration the full desktop column. */
@media (min-width: 992px) {
  .automation > .container > .row { align-items: center; }
  .automation .automation-thumb.position-lg-absolute {
    position: static !important;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1;
  }
  .automation .automation-thumb > img {
    display: block;
    width: 100%;
    height: auto;
  }
}
/* Submission feedback uses the existing BlueOrbit palette. */
.form-feedback { padding: 1rem; margin-bottom: 1.5rem; border: 2px solid #176BB2; border-radius: .5rem; background: #F0F4F7; color: #061827; overflow-wrap: anywhere; }
.form-feedback ul { padding-left: 1.25rem; margin: .5rem 0 0; list-style: disc; }
.form-feedback:focus { outline: 3px solid #176BB2; outline-offset: 3px; }
[data-server-form] [aria-invalid="true"] { outline: 2px solid #176BB2; outline-offset: 2px; }
[data-server-form] button:disabled { opacity: .65; cursor: wait; }

/* ---- Distraction section icons & heading responsive position fix ---- */
@media (max-width: 991.98px) {
  .distraction .distraction__inner > div:first-child {
    top: 0 !important;
    margin-top: 10px !important;
    padding-top: 0 !important;
  }
  .distraction h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    max-width: 90% !important;
    margin-inline: auto !important;
  }
  .distraction-icon {
    max-width: 10% !important;
  }
  .distraction-icon.one {
    inset-block-start: 32% !important;
    inset-inline-start: 3% !important;
  }
  .distraction-icon.two {
    inset-block-start: 31% !important;
    inset-inline-end: 2% !important;
  }
  .distraction-icon.three {
    inset-block-start: 48% !important;
    inset-inline-end: 8% !important;
  }
  .distraction-icon.four {
    inset-block-end: 14% !important;
    inset-inline-end: 14% !important;
  }
  .distraction-icon.five {
    inset-block-end: 28% !important;
    inset-inline-start: 16% !important;
  }
  .distraction-icon.six {
    inset-block-end: 12% !important;
    inset-inline-start: 4% !important;
  }
  .distraction-icon.seven {
    inset-block-start: 62% !important;
    inset-inline-start: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

@media (max-width: 575.98px) {
  .distraction .distraction__inner > div:first-child {
    margin-top: 4px !important;
  }
  .distraction h2 {
    font-size: 19px !important;
    line-height: 1.25 !important;
    max-width: 95% !important;
  }
  .distraction-icon {
    max-width: 11% !important;
  }
  .distraction-icon.one {
    inset-block-start: 34% !important;
    inset-inline-start: 1% !important;
  }
  .distraction-icon.two {
    inset-block-start: 33% !important;
    inset-inline-end: 1% !important;
  }
  .distraction-icon.three {
    inset-block-start: 50% !important;
    inset-inline-end: 4% !important;
  }
  .distraction-icon.four {
    inset-block-end: 16% !important;
    inset-inline-end: 10% !important;
  }
  .distraction-icon.five {
    inset-block-end: 30% !important;
    inset-inline-start: 12% !important;
  }
  .distraction-icon.six {
    inset-block-end: 14% !important;
    inset-inline-start: 2% !important;
  }
  .distraction-icon.seven {
    inset-block-start: 63% !important;
  }
  .distraction .distraction__inner > div:last-child {
    bottom: 4px !important;
  }
  .distraction .distraction__inner > div:last-child a {
    padding-inline: 20px !important;
    padding-block: 10px !important;
    font-size: 13px !important;
  }
}

/* ---- Task Management CTA section mobile spacing & layout fix ---- */
@media (max-width: 991.98px) {
  .task-management .tw--mb-40-px {
    margin-bottom: -20px !important;
    text-align: center !important;
  }
  .task-management .tw--mb-40-px img {
    max-width: 150px !important;
    height: auto !important;
    margin-inline: auto !important;
  }
  .task-management .bg-green-deep {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
    padding-inline: 16px !important;
  }
  .task-management .tw-mb-8,
  .task-management .tw-mb-4 {
    margin-bottom: 16px !important;
  }
  .task-management .myContainer {
    padding-top: 16px !important;
    gap: 10px 12px !important;
    padding-bottom: 8px !important;
  }
  .task-management .tw-pt-8,
  .task-management .tw-pt-3 {
    padding-top: 8px !important;
  }
}

@media (max-width: 575.98px) {
  .task-management .tw--mb-40-px {
    margin-bottom: -16px !important;
  }
  .task-management .tw--mb-40-px img {
    max-width: 120px !important;
  }
  .task-management .bg-green-deep {
    padding-top: 36px !important;
    padding-bottom: 32px !important;
    padding-inline: 12px !important;
    border-radius: 20px !important;
  }
  .task-management h3 {
    font-size: 21px !important;
    line-height: 1.3 !important;
    padding-inline: 4px !important;
  }
  .task-management .bg-white-13 {
    font-size: 11px !important;
    padding-inline: 12px !important;
    padding-block: 8px !important;
  }
  .task-management .btn {
    padding-inline: 24px !important;
    padding-block: 12px !important;
    font-size: 14px !important;
    margin-top: 16px !important;
  }
  .task-management .myContainer {
    padding-top: 12px !important;
    gap: 8px 8px !important;
    padding-bottom: 12px !important;
  }
  .task-management .drag-rotate-element {
    font-size: 11px !important;
    padding-inline: 12px !important;
    padding-block: 5px !important;
  }
}

/* ---- Solutions inner pages video & content section responsive fix ---- */
@media (max-width: 991.98px) {
  .service-details .d-flex.tw-gap-9,
  .service-details .d-flex.flex-column.flex-lg-row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .service-details .max-w-390-px {
    max-width: 100% !important;
    width: 100% !important;
  }
  .service-details .max-w-390-px img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  .service-details .play-button {
    width: 60px !important;
    height: 60px !important;
    font-size: 18px !important;
  }
}

/* ---- About Us page "Built On An Established Network" icon & card responsive fix ---- */
.about-card-icon {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 575.98px) {
  .about-card-icon {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    margin-bottom: 8px !important;
  }
}

/* ---- Workplace Team tab navigation buttons responsive fix ---- */
.workplace-team .nav-link span {
  white-space: nowrap !important;
}

@media (max-width: 991.98px) {
  .workplace-team .max-w-330-px {
    max-width: 100% !important;
    width: 100% !important;
  }
  .workplace-team .nav-link {
    padding-inline: 16px !important;
    padding-block: 10px !important;
    gap: 12px !important;
    font-size: 15px !important;
  }
  .workplace-team .nav-link .icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .workplace-team .nav-link .icon i {
    font-size: 20px !important;
  }
}

@media (max-width: 575.98px) {
  .workplace-team .nav-link {
    padding-inline: 12px !important;
    padding-block: 8px !important;
    gap: 10px !important;
    font-size: 14px !important;
  }
  .workplace-team .nav-link .icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }
  .workplace-team .nav-link .icon i {
    font-size: 18px !important;
  }
}
