 html {
        scroll-behavior: smooth;
      }

      html.lenis {
        height: auto;
      }

      .lenis.lenis-smooth {
        scroll-behavior: auto !important;
      }

      .lenis.lenis-smooth [data-lenis-prevent] {
        overscroll-behavior: contain;
      }

      .lenis.lenis-stopped {
        overflow: hidden;
      }

      .lenis.lenis-scrolling iframe {
        pointer-events: none;
      }

      .text-blue {
        color: #0d6efd;
      }

      .bg-blue {
        background: #0d6efd;
      }

      .text-green {
        color: #23CB82;
      }

      .bg-green {
        background-color: #23CB82;
      }

      .phase-one-bar {
        stroke: #23CB82;
      }

      .bg-frosted {
        background-color: rgba(255, 255, 255, .15);  
        backdrop-filter: blur(0px);
      }

      .logo img {
        width: 150px;
      }

      .profile-icon {
        width: 50px;
        height: auto;
      }

      .brand-cta {
        margin-bottom: -96px;
        margin-top: -96px;
      }

      h1 {
        line-height: 1 !important
      }

      h2 span {
        opacity: 0.3;
      }

      .rocket {
        width: 350px;
        height: 300px;
        right: 0;
        /* transform: translate(-100px,300px); */
      }

      svg {
        width: 100%;
        overflow: visible;
      }

      .svg-advantage {
        width: 100px;
      }

      .title-underline {
        position: relative;
      }

      .title-underline:after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 20px;
        height: 4px;
        background: #23cb82;
        border-radius: 8px;
    }

    .magnet-line {
        opacity: 0;
    }
    
    .magnet-lead {
        opacity: 0;
    }

    /* App*/

    .manufacturer-app  {
        height: 90vh;
        overflow: hidden;
    }
    
    .app-results {
        
    height: 83vh;
    overflow: scroll;

    }
    
    
    
    #manufacturer-app.full-screen {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100vw !important;
        height: 100vh !important;
    }

    .manufacturer-app select {
        padding: 8px 12px;
        border-color: #ccc;
    }

    #type-filter {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    #country-filter {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .search-bar input {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        border-color: #ccc;
        box-shadow: none;
    }

    .search-bar button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        border-color: #ccc;
        border: none;
    }

    .search-bar img {
        width: 25px;
    }
    
    .hero {
        overflow: hidden;
    }


.map-svg {
      stroke: rgb(33, 37, 41) !important;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(0);
    width: auto;
    height:100%;
    z-index: 1;
}

    .manufacturer-name h5 {
        font-size: 18px;
    }
    .manufacturer-name p {
        font-size: 12px;
        color: #9d9d9d;
    }
    
    section ul li {
        margin-bottom: 8px;
    }
    
         .manufacturer-card, .manufacturer
         {
             transition: box-shadow 0.3s ease;
         }
    .manufacturer:hover .btn {
        background: #0d6efd;
        border-color:#0d6efd;
        color: #fff;
    }
    
    #manufacturer-app .manufacturer {
        opacity: 0;
        transform: translateY(20px);
    }
    
    #manufacturer-app .manufacturer:hover .btn {
        background: #23CB82;
        border-color:#23CB82;
        color: #fff;
    }
     .manufacturer-card:hover, .manufacturer:hover
    {
            box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10) !important;
    }
    
      .map-svg path {
    transition: fill 0.5s ease;
    fill: #f9f9f9;
  }

/* Chatbot Widget */
.ij-chatbot-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1085;
  width: min(390px, calc(100vw - 2rem));
  pointer-events: none;
}

.ij-chatbot-root * {
  box-sizing: border-box;
}

.ij-chatbot-toggle {
  pointer-events: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ij-chatbot-toggle:hover,
.ij-chatbot-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(13, 110, 253, 0.42);
}

.ij-chatbot-toggle:focus-visible {
  outline: 3px solid rgba(35, 203, 130, 0.35);
  outline-offset: 2px;
}

.ij-chatbot-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.ij-chatbot-root svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}

.ij-chatbot-panel {
  pointer-events: auto;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 100%;
  max-height: min(72vh, 620px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(13, 110, 253, 0.16);
  background: #fff;
  box-shadow: 0 28px 60px rgba(10, 14, 26, 0.22);
  overflow: hidden;
}

.ij-chatbot-panel[hidden] {
  display: none !important;
}

.ij-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid #edf2ff;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.ij-chatbot-kicker {
  margin: 0;
  color: #0d6efd;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ij-chatbot-title {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.ij-chatbot-close {
  border: 0;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  background: #f4f6fb;
  color: #334155;
  line-height: 1;
  font-size: 1.3rem;
  font-weight: 500;
}

.ij-chatbot-routes {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  touch-action: pan-x;
}

.ij-chatbot-route {
  flex: 0 0 auto;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  background: #f8fbff;
  color: #0d47a1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.62rem;
  white-space: nowrap;
}

.ij-chatbot-route:disabled {
  opacity: 0.65;
}

.ij-chatbot-messages {
  min-height: 180px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.85rem;
  background: #fbfdff;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.ij-chatbot-message {
  display: flex;
  margin-bottom: 0.6rem;
}

.ij-chatbot-message.is-user {
  justify-content: flex-end;
}

.ij-chatbot-bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  background: #eef4ff;
  color: #0f172a;
}

.ij-chatbot-message.is-user .ij-chatbot-bubble {
  background: #0d6efd;
  color: #fff;
}

.ij-chatbot-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.72rem 0.85rem;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.ij-chatbot-input {
  flex: 1;
  border: 1px solid #dbe7ff;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
}

.ij-chatbot-input:focus {
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.14);
}

.ij-chatbot-send {
  border: 0;
  border-radius: 10px;
  padding: 0.52rem 0.8rem;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.ij-chatbot-send:disabled,
.ij-chatbot-root.is-streaming .ij-chatbot-send {
  opacity: 0.7;
}

.ij-chatbot-actions {
  padding: 0 0.85rem 0.55rem;
  background: #fff;
}

.ij-chatbot-end {
  border: 1px solid #d1d9e6;
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.34rem 0.7rem;
}

.ij-chatbot-meta {
  margin: 0;
  padding: 0.58rem 0.85rem 0.75rem;
  font-size: 0.73rem;
  color: #64748b;
  border-top: 1px solid #f8fafc;
  background: #fff;
}

.ij-chatbot-meta a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .ij-chatbot-root {
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
    bottom: 0.65rem;
  }

  .ij-chatbot-panel {
    max-height: min(74vh, 580px);
  }

  .ij-chatbot-toggle {
    width: 100%;
    justify-content: center;
  }
}

  .active-state {
    fill: rgba(35,203,130,1) !important; /* Bootstrap primary blue */

  }
  
  .star-rating {
      width: 150px;
  }
    
      @media(max-width: 991px) {
        .hero h1 {
          /* font-size: 22px; */
          line-height: 1.1;
        }

        .search-bar input {
            border-top-left-radius: 8px !important;
            border-bottom-left-radius: 8px !important;
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        .search-bar button {
            border-top-left-radius: 8px;
            border-bottom-left-radius: 8px;
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        .hero p {
          font-size: 18px;
        }

        .rocket {
          width: 250px;
          right: -50px;
        }
      }
      
      @media(max-width: 767px){
          
    .manufacturer-app  {
        height: auto;
        overflow: hidden;
    }
    
    .app-results {
        
    height: auto;
    overflow: scroll;

    }
    
    .map-svg {
    stroke: rgba(33, 37, 41,0.4) !important
    }
    
    #toggleButton {
        display: none;
    }
    
      }

      @media(max-width: 640px) {
        .logo img {
          width: 120px;
        }

        .hero svg {
          width: 100%;
        }

        .rocket {
          width: 200px;
          right: 0px;
          top: 48px;
        }
      }
      
        @media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu:not(.services-mega):not(.mega-menu) {
      display: block;
      margin-top: 0;
    }
  }

  /* Resource pages */
  .toc-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
  }

  .toc-box a {
    color: #0d6efd;
    text-decoration: none;
  }

  .toc-box a:hover {
    text-decoration: underline;
  }

  .tip-box {
    background: #f0f7ff;
    border-left: 4px solid #0d6efd;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
  }

  .warning-box {
    background: #fff8f0;
    border-left: 4px solid #fd7e14;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
  }

  .checklist-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .checklist-item:last-child {
    border-bottom: none;
  }

  .resource-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
  }

  .badge-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  /* Image placeholders */
  .img-placeholder {
    height: 280px;
  }

  .img-placeholder-sm {
    height: 120px;
  }

  .img-placeholder-lg {
    height: 300px;
  }

  /* Callout card backgrounds */
  .callout-blue {
    background-color: #f0f7ff;
  }

  .callout-amber {
    background-color: #fff8e1;
  }

  /* Border accents */
  .border-top-green {
    border-top: 4px solid #28a745;
  }

  .border-bottom-green {
    border-bottom: 5px solid #28a745;
  }

  /* TOC list styling */
  .toc-list {
    list-style: none;
    padding-left: 0;
  }

  .toc-list li {
    margin-bottom: 0.75rem;
  }

  .toc-list li:last-child {
    margin-bottom: 0;
  }

  /* Icon sizing */
  .size-icon-56 {
    width: 56px;
    height: 56px;
  }

  .logo-sm {
    height: 40px;
  }

  /* ── Capability Cards ── */
  .capability-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    border-color: #d1d5db !important;
  }
  .capability-card:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 .5rem 1.5rem rgba(13,110,253,.1);
  }
  .capability-arrow {
    width: 44px;
    height: 44px;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    background: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
  }
  .capability-card:hover .capability-arrow {
    background-color: #0d6efd;
    color: #fff;
  }
  .capability-card--links:hover {
    border-color: #d1d5db !important;
    box-shadow: none;
  }
  .capability-card--links:hover .capability-arrow {
    background: transparent;
    color: #0d6efd;
  }
  .capability-card--links a:hover .capability-arrow {
    background-color: #0d6efd;
    color: #fff;
  }

  /* ── Service Hero ── */
  .service-hero {
    position: relative;
    padding: 7rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111827;
  }

  .service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    z-index: 1;
  }

  .service-hero .z-2 {
    z-index: 2;
  }

  @media (max-width: 767px) {
    .service-hero {
      padding: 4rem 0;
    }
    .service-hero h1 {
      font-size: 2rem;
    }
  }

  /* ── Mega Dropdown (shared) ── */
  .services-mega,
  .mega-menu {
    min-width: 720px;
  }

  @media (min-width: 992px) {
    .services-mega,
    .mega-menu {
      /* Position set dynamically by JS — see custom.js megaDropdownPosition */
      left: 0;
      right: auto;
    }
  }

  .services-mega-icon,
  .mega-menu-icon {
    width: 36px;
    height: 36px;
  }

  .services-mega-icon svg,
  .mega-menu-icon svg {
    width: 18px;
    overflow: visible;
  }

  .services-mega-item,
  .mega-menu-item {
    transition: background-color 0.2s ease;
    padding: 0.5rem 0.75rem !important;
  }

  .services-mega .row.g-3,
  .mega-menu .row.g-3 {
    --bs-gutter-y: 0.25rem;
    --bs-gutter-x: 0.75rem;
  }

  .services-mega .col-12.col-lg-8,
  .mega-menu .col-12.col-lg-8 {
    padding: 1rem 1.25rem !important;
  }

  /* Restore default spacing on Manufacturers dropdown */
  #manufacturersNav .mega-menu-item {
    padding: 1rem !important;
  }
  #manufacturersNav .mega-menu .row.g-3 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
  }
  #manufacturersNav .mega-menu .col-12.col-lg-8 {
    padding: 1.5rem !important;
  }

  .services-mega-item:hover,
  .mega-menu-item:hover {
    background-color: #f0f7ff;
  }

  .services-mega-intro .ls-1,
  .mega-menu-intro .ls-1 {
    letter-spacing: 1px;
  }

  /* ── Nav CTA Button ── */
  .nav-cta {
    white-space: nowrap;
  }

  /* ── Mobile Nav ── */
  @media (max-width: 991px) {
    #mainNavbar {
      position: fixed;
      top: 0;
      right: 0;
      width: 320px;
      max-width: 85vw;
      height: 100vh;
      height: 100dvh;
      background: #fff;
      z-index: 1050;
      box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
      overflow-y: scroll !important;
      overflow-x: hidden !important;
      -webkit-overflow-scrolling: touch;
      padding: 1.5rem;
      transform: translateX(100%);
      transition: none;
      display: block !important;
    }
    #mainNavbar:not(.show):not(.collapsing) {
      display: none !important;
    }
    #mainNavbar.show {
      transform: translateX(0);
    }
    /* Disable Bootstrap collapse height animation — GSAP handles it */
    #mainNavbar.collapsing {
      height: 100vh !important;
      height: 100dvh !important;
      transition: none;
      overflow-y: scroll !important;
      display: block !important;
    }
    .mobile-nav-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1049;
      display: none;
    }
    .mobile-nav-overlay.active {
      display: block;
    }
    /* Close button inside panel */
    .mobile-nav-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      color: #333;
      padding: 0.25rem;
    }
    #mainNavbar .navbar-nav {
      padding-top: 2rem;
      padding-bottom: 1rem;
      flex-direction: column;
      width: 100%;
      margin-left: 0 !important;
    }
    #mainNavbar .navbar-nav > li {
      width: 100%;
    }
    #mainNavbar .navbar-nav .nav-link {
      padding: 0.85rem 0;
      font-size: 1.15rem;
      font-weight: 600;
      border-bottom: 1px solid #f0f0f0;
      color: #1a1a1a;
    }
    #mainNavbar .navbar-nav .dropdown-toggle::after {
      float: right;
      margin-top: 0.5em;
    }
    .services-mega,
    .mega-menu {
      min-width: auto;
      border: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      background: transparent;
      position: static !important;
      transform: none !important;
    }
    .services-mega .row,
    .mega-menu .row {
      flex-direction: column;
    }
    .services-mega-intro,
    .mega-menu-intro {
      display: none !important;
    }
    .services-mega .col-12.col-lg-8,
    .mega-menu .col-12.col-lg-8 {
      padding: 0 !important;
    }
    .services-mega-item,
    .mega-menu-item {
      padding: 0.5rem 0.75rem !important;
    }
    /* Force all dropdown grid items to full width inside the narrow panel */
    .services-mega [class*="col-sm-"],
    .services-mega [class*="col-lg-"],
    .mega-menu [class*="col-sm-"],
    .mega-menu [class*="col-lg-"] {
      width: 100% !important;
      flex: 0 0 100% !important;
      max-width: 100% !important;
    }
    #mainNavbar .dropdown-menu {
      width: 100%;
      padding-left: 0.5rem;
      border-left: 3px solid #23CB82;
      margin-left: 0.5rem;
    }
    /* ── Mobile Nav Footer ── */
    .mobile-nav-footer {
      margin-top: auto;
      padding-top: 1rem;
    }
    .mobile-nav-divider {
      height: 1px;
      background: linear-gradient(90deg, #23CB82, #0d6efd);
      margin-bottom: 1.25rem;
      opacity: 0.5;
    }
    .mobile-nav-tagline {
      font-size: 0.85rem;
      color: #6c757d;
      margin-bottom: 1rem;
    }
    .mobile-nav-contact {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .mobile-nav-contact-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      color: #1a1a1a;
      font-size: 0.9rem;
      font-weight: 500;
    }
    .mobile-nav-contact-link svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      color: #0d6efd;
    }
    .mobile-nav-copy {
      font-size: 0.75rem;
      color: #adb5bd;
      margin-top: 1.25rem;
      margin-bottom: 0;
    }
  }
