/* ========================================= */
/* NAVIGATION */
/* ========================================= */
.mega-menu-platform-grid .resources-inner {
    align-items: start;
    display: grid;
    grid-template-columns: repeat(3, minmax(auto, 1fr));
}
.feature {
    margin-top: 1rem;
}
.feature p.title {
  font-size: 1rem;
    font-weight: bold;
}
.feature p.desc {
  font-size: 1rem;
   
}

.nav-cta .btn-white {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 22px;
}
.nav-cta .btn-white:hover {
  opacity: .7;
}
a.btn.btn-primary.btn-lg.btn-demo {
  display: block;
}
.section_top-nav {
  position: relative;
  z-index: 100;
  padding-top: 1.5rem;
}
.section_top-nav.mega-menu-active .nav-wrapper {
  /*   min-height: 7rem; */
  /*   padding: 0 2.5rem !important; */

  /*   background: #fff; */
  /*   border-radius: 1.25rem; */

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;

  /*   box-shadow: 0 0.75rem 2rem rgba(24,23,77,.08); */
}

/* LOGO */

.nav-logo img {
  /*   width: 7rem; */
  display: block;
}

/* DESKTOP MENU */

.nav-menu-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;

  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-desktop a {
  text-decoration: none;
  color: #18174d;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* CHEVRON */

.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-chevron svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* CTA */

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-yellow {
  background: #FFE23C;
  color: #18174D;
}

/* ========================================= */
/* MEGA MENU */
/* ========================================= */

.mega-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

section#v2 .mega-menu {
  display: none;
  background: unset;
  box-shadow: unset;
}

.mega-menu.active {
  display: block;
}

.mega-menu-panel {
  margin-top: 0 !important;
  background: #fff;
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 2.5rem;

  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.12);
}

/* PLATFORM GRID */

.mega-menu-platform-grid {
  .mega-menu-panel.mega-menu-platform-grid
/*   max-width: 72rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem; */
}

/* RESOURCE GRID */

.mega-menu-resources-grid,
.mega-menu-platform-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(20rem,1fr);
  align-items: start;
  gap: 1.5rem 2rem;
  width: 100%;
  max-width: 72rem;
}
.resources-inner {
  align-items: start;
  display: grid;
  /*     gap: 1rem; */
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, .9fr);
}
a.mega-menu-item:hover {
  background: hsl(241deg 100% 65% / 5%);
  border-radius: 1rem;
}

.mega-menu-resources-grid .mega-menu-links {
  /*   display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem 3rem;
  width: 100%; */
}

/* ITEM */

.mega-menu-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  text-decoration: none;
  color: #18174D;
  align-items: start;
  justify-content: start;
  padding: 1rem;
}

.mega-icon {
  width: 44px;
  height: 44px;
  border-radius: 1rem;

  background: linear-gradient(180deg, #4F4BFF 0%, #3F3BCD 100%);

  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-icon img {
  /*   width: 1.5rem;
  height: 1.5rem; */
  object-fit: cover;
}

.mega-menu-item strong {
  display: block;
  /*   font-size: 1.1rem; */
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-size: 16px;
}

.mega-menu-item small {
  display: block;
  color: #18174D;
  line-height: 1.45;
}

/* FOOTER LINKS */

.mega-menu-links {
  grid-column: 1 / -1;

  display: flex;
  gap: 3rem;

  padding-top: 1rem;
}

.mega-menu-links a {
  text-decoration: none;
  color: #18174D;
  font-weight: bold;
}

/* ========================================= */
/* MOBILE */
/* ========================================= */
/* MOBILE DROPDOWN ROW */

#navMenuMobile .nav-item-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #18174d;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  height: auto;
  /*   padding: 16px 36px; */
  text-decoration: none;
  transition: background-color .2s ease;
  width: 100%;
}

#navMenuMobile {
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 10vh;
}

/* TOGGLE BUTTON */
#navMenuMobile .dropdown-toggle svg,
#navMenuMobile button.nav-arrow svg {
  transition: transform 0.2s ease;
  color: #18174d;
  height: 20px;
  width: 20px;
}

/* ROTATE ARROW WHEN OPEN */
#navMenuMobile .dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

ul.nav-submenu li:last-child {
  border-bottom: unset;
  padding-bottom: unset;
}

/* HIDE SUBMENU BY DEFAULT */
#navMenuMobile .nav-submenu {
  display: none;
  padding: unset;
}

#navMenuMobile li {
  position: relative;
}

#navMenuMobile li a::after {
  content: '';
  position: absolute;
  inset: 0;
}

#navMenuMobile .nav-submenu a {
  font-weight: 500;
}

ul#navMenuMobile li.has-dropdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
}

/* SHOW SUBMENU WHEN OPEN */
#navMenuMobile .nav-submenu.is-open {
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-menu-mobile {
  display: none;
}

@media screen and (max-width: 1024px) {
  .section_top-nav#v2 {
    background: #fff !important;
    top: 0 !important;
  }
  .section_top-nav {
    margin: 0 !important;
    height: unset !important;
  }

  .section_top-nav .nav-wrapper {
    min-height: 5.5rem;
    padding: 0;

    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-menu-mobile li a:hover {
    background-color: unset;
    color: #4f4bff;
  }

  /*   #v2 .nav-menu-desktop {
  display: flex !important;
} */

  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
    width: 2.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #18174D;
    margin: 5px 0;
  }

  .nav-menu-mobile {
    display: none;
    margin-top: 1rem;

    background: #fff;
    /*     border-radius: 1rem; */
    padding: 1rem;

    box-shadow: 0 0.75rem 2rem rgba(24,23,77,.12);
  }

  .nav-menu-mobile.active {
    display: block;
  }

  .nav-menu-mobile li {
    list-style: none;
  }

  .nav-menu-mobile a {
    display: flex;
    justify-content: space-between;

    /*     padding: 1rem 0; */

    color: #18174D;
    text-decoration: none;
    font-weight: 600;
  }

  .mega-menu-container {
    display: none;
  }
}

/* ========= ADDED/FIXED - Fixed Sticky Nav ============ */
/* ========= ADDED/FIXED - Fixed Sticky Nav with floating spacing ============ */
/*
This keeps the nav fixed, but adds the original breathing room
so the menu is not glued to the viewport edge.
*/

:root {
  --nav-v2-height: 88px;
  --nav-v2-offset: 1rem;
}

/* JS adds this class after measuring the nav height */
body.has-sticky-v2-nav {
  /*   padding-top: calc(var(--nav-v2-height) + var(--nav-v2-offset)); */
  padding-top: calc(var(--nav-v2-height));
}

.section_top-nav#v2 {
  position: fixed !important;
  top: var(--nav-v2-offset);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2147483000 !important;
  max-width: 100%;

  background: transparent;
  padding-top: 0 !important;
  margin: 0 !important;

  transition: box-shadow 0.2s ease;
}

/* Keep nav centered and away from left/right edges */
.section_top-nav#v2 > .padding-global {
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  box-shadow: 0 .75rem 2rem rgba(24, 23, 77, .08);
  background: #fff;
  border-radius: 1.25rem;
}

/* Keep normal max-width behavior */
.section_top-nav#v2 .container-large {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* Actual nav card */
.section_top-nav#v2 .nav-wrapper {
  /*   background: #fff;
  border-radius: 1.25rem; */
}

/* Optional subtle shadow after scroll */
.section_top-nav#v2.is-sticky .nav-wrapper {
  /*   box-shadow: 0 0.75rem 2rem rgba(24, 23, 77, 0.08); */
}

/* Make sure mega menu appears directly below the floating nav */
.section_top-nav#v2 .mega-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 2147482999;
}

/* Keep mega menu aligned with the nav/container */
.section_top-nav#v2 .mega-menu-container > .padding-global,
.section_top-nav#v2 .mega-menu .padding-global {
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
}

/* Required because section#v2 .mega-menu is more specific than .mega-menu.active */
section#v2 .mega-menu.active {
  display: block;
}

/* Mobile menu stays under fixed nav and scrolls internally */
@media screen and (max-width: 1024px) {
  :root {
    --nav-v2-offset: 0.75rem;
  }

  .section_top-nav#v2 {
    /*     top: var(--nav-v2-offset) !important; */
  }

  .section_top-nav#v2 > .padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: unset;
    border-radius: unset;
  }

  .section_top-nav#v2 .nav-wrapper {
    border-radius: 1rem;
  }

  .section_top-nav#v2 .nav-menu-mobile {
    margin-top: 0;
    max-height: calc(100vh - var(--nav-v2-height) - var(--nav-v2-offset));
    overflow-y: auto;
    border-radius: 0 0 1rem 1rem;
    top: unset;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Optional: fully edge-to-edge mobile nav if needed */
@media screen and (max-width: 767px) {
  .section_top-nav#v2 > .padding-global {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
/* ========= END - Fixed Sticky Nav with floating spacing ============ */



/* CUSTOMER STORIES */
.customer-stories-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.customer-stories-section__header .overline {
  margin: 0;
}

.customer-stories-section__see-all {
  color: var(--purple, #4f4bff);
  font-weight: 700;
}

.customer-stories-section__card {
  display: flex;
  flex-direction: column;
  min-height: 6rem;
  /*   padding: 1rem;
  background: #18174d;
  border-radius: 1rem; */
  color: #fff;
}
img.customer-stories-section__image {
  border-radius: 1rem;
}
.customer-stories-section__card .overline {
  margin: 0 0 .5rem;
  color: rgba(255, 255, 255, 0.55);
}

.customer-stories-section__number {
  margin: 0 0 1rem;
  color: #39e0bd;
}

.customer-stories-section__card > p:not(.overline) {
  margin: 0;
  max-width: 32rem;
  color: #fff;
}

.customer-story-more__card-link {
  align-items: center;
  color: var(--purple, #4f4bff);
  display: inline-flex;
  font-weight: 700;
  gap: .55rem;
  line-height: 1.2;
  margin-top: auto;
  padding-top: 1rem;
}

.customer-stories-section__card .customer-story-more__card-link {
  color: #39e0bd;
}

.customer-stories-section__stats {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}

.customer-stories-section__stat {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.customer-stories-section__stat-number {
  margin: 0;
  color: var(--purple, #4f4bff);
}

.customer-stories-section__stat p {
  margin: 0;
}