/*
 * Shared component CSS.
 *
 * Keep styles for shared partials here: header, desktop dropdown nav,
 * mobile hamburger nav, footer, and other site-wide components.
 * Page CSS should only own page content sections.
 */

:is(
    .main,
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu {
  position: relative;
  z-index: 200;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--mint-400);
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .logo {
  position: relative;
  width: 17.375rem;
  height: 2.25rem;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  > .frame {
  display: inline-flex;
  align-items: center;
  gap: 7.5rem;
  position: relative;
  flex: 0 0 auto;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .navbar {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  flex: 0 0 auto;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .text-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--body-medium-xl-font-family);
  font-weight: var(--body-medium-xl-font-weight);
  color: #000000;
  font-size: var(--body-medium-xl-font-size);
  letter-spacing: var(--body-medium-xl-letter-spacing);
  line-height: var(--body-medium-xl-line-height);
  white-space: nowrap;
  font-style: var(--body-medium-xl-font-style);
  text-decoration: none;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.6875rem 1.5rem;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--black);
  border-radius: 624.9375rem;
  overflow: hidden;
  cursor: pointer;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .MORE-INFO {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--body-medium-xl-font-family);
  font-weight: var(--body-medium-xl-font-weight);
  color: var(--white);
  font-size: var(--body-medium-xl-font-size);
  text-align: center;
  letter-spacing: var(--body-medium-xl-letter-spacing);
  line-height: var(--body-medium-xl-line-height);
  white-space: nowrap;
  font-style: var(--body-medium-xl-font-style);
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  a.text-wrapper {
  color: inherit;
  text-decoration: none;
}

:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  .button:focus-visible,
:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  a.text-wrapper:focus-visible,
:is(
    .DATA-PLATFORM,
    .AI-ML,
    .SOLUTION-by-INDUSTRY,
    .SOLUTION-by,
    .CUSTOMER-STORIES,
    .customer,
    .COMPANY,
    .CONTACT-US
  )
  .menu
  > a:focus-visible {
  outline: 0.125rem solid var(--white) !important;
  outline-offset: 0.25rem;
  border-radius: 624.9375rem;
}

.main .menu {
  display: flex;
  width: 120rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--mint-400);
  z-index: 200;
}

.main .menu > a > img.img {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
}

.main .menu > .div {
  display: inline-flex;
  align-items: center;
  gap: 7.5rem;
  position: relative;
  flex: 0 0 auto;
}

.main .menu .frame-2 {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  flex: 0 0 auto;
}

.main .menu .text-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--body-medium-xl-font-family);
  font-weight: var(--body-medium-xl-font-weight);
  color: #000000;
  font-size: var(--body-medium-xl-font-size);
  letter-spacing: var(--body-medium-xl-letter-spacing);
  line-height: var(--body-medium-xl-line-height);
  white-space: nowrap;
  font-style: var(--body-medium-xl-font-style);
  text-decoration: none;
}

.main .menu .button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  padding: 0.6875rem 1.5rem;
  background-color: var(--black);
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  position: relative;
  flex: 0 0 auto;
  border-radius: 624.9375rem;
  cursor: pointer;
}

.main .menu .text-wrapper-2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--body-medium-xl-font-family);
  font-weight: var(--body-medium-xl-font-weight);
  color: var(--white);
  font-size: var(--body-medium-xl-font-size);
  text-align: center;
  letter-spacing: var(--body-medium-xl-letter-spacing);
  line-height: var(--body-medium-xl-line-height);
  white-space: nowrap;
  font-style: var(--body-medium-xl-font-style);
}

.main .menu .button:focus-visible,
.main .menu .text-wrapper:focus-visible {
  outline: 0.125rem solid var(--mint-400) !important;
  outline-offset: 0.125rem;
}

@media (max-width: 119.9375rem) {
  .main .menu {
    width: 100%;
  }
}

@media (max-width: 90rem) {
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu,
  .main .menu {
    padding: 1.25rem 2rem;
  }

  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu
    > .frame,
  .main .menu > .div {
    gap: clamp(2rem, 5vw, 7.5rem);
  }

  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu
    .logo {
    width: min(14rem, 28vw);
    height: auto;
  }

  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .navbar,
  .main .frame-2 {
    gap: 1.5rem;
  }
}

@media (max-width: 64rem) {
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .main .mainslide {
    overflow: visible;
  }

  header.menu,
  nav.menu,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu,
  .main .menu {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.5rem;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 1rem;
  }

  header.menu > a,
  nav.menu > a,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu
    > a,
  .main .menu > a {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  header.menu > a > img.logo,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu
    > a
    > img.logo {
    width: min(100%, 11.25rem, calc(100vw - 8.75rem));
    height: auto;
  }

  nav.menu > a > img.img {
    width: 3.5rem;
    height: 3.5rem;
  }

  header.menu > .frame,
  nav.menu > .div,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu
    > .frame,
  .main .menu > .div {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background-color: rgba(0, 0, 0, 0.08);
  }

  .main .menu > .div {
    width: 100%;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .main .menu .frame-2 {
    flex-wrap: wrap;
    gap: 0.875rem 1.375rem;
  }

  .mobile-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(0.5rem);
    backdrop-filter: blur(0.5rem);
    height: calc(100vh - 5.5rem);
    height: calc(100dvh - 5.5rem);
    max-height: calc(100vh - 5.5rem);
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
  }

  .mobile-nav__group,
  .mobile-nav > .mobile-nav__primary {
    border-bottom: 1px solid rgba(13, 243, 192, 0.6);
  }

  .mobile-nav__primary,
  .mobile-nav__subheading,
  .mobile-nav__sublist > a,
  .mobile-nav__items a {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .mobile-nav__primary {
    box-sizing: border-box;
    min-height: 3.75rem;
    width: 100%;
    font-family: var(--body-medium-xl-font-family);
    font-weight: var(--body-medium-xl-font-weight);
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .mobile-nav__trigger,
  .mobile-nav__subheading {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--body-medium-xl-font-family);
    font-weight: var(--body-medium-xl-font-weight);
    line-height: 1.4;
    color: var(--mint-400);
  }

  .mobile-nav__trigger {
    min-height: 3.75rem;
    font-size: 1.25rem;
  }

  .mobile-nav__subheading {
    min-height: 2.75rem;
    padding-left: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .mobile-nav__trigger::after {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    background: center / 1.5rem 1.5rem no-repeat
      url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%230DF3C0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .mobile-nav__trigger[aria-expanded="true"]::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 15L12 9L18 15' stroke='%230DF3C0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .mobile-nav__sublist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 1rem 0;
  }

  .mobile-nav__sublist[hidden] {
    display: none;
  }

  .mobile-nav__sublist > a {
    min-height: 2.75rem;
    padding-left: 0.75rem;
    font-family: var(--body-medium-xl-font-family);
    font-weight: var(--body-medium-xl-font-weight);
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .mobile-nav__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-nav__items a {
    min-height: 2.625rem;
    padding-left: 0.75rem;
    font-family: var(--body-regular-sm-font-family);
    font-weight: var(--body-medium-md-font-weight);
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .menu .mobile-nav > .mobile-nav__primary,
  .menu .mobile-nav__subheading,
  .menu .mobile-nav__sublist > a {
    color: var(--mint-400);
  }

  .menu .mobile-nav__items a {
    color: var(--white);
  }

  .mobile-nav > .mobile-nav__primary:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 47.9375rem) {
  header.menu,
  nav.menu,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu,
  .main .menu {
    flex-direction: row;
    min-height: 5.5rem;
    padding: 1rem;
  }

  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .navbar,
  .main .frame-2 {
    width: 100%;
    gap: 0.625rem 1.125rem;
  }

  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .text-wrapper,
  .main .text-wrapper,
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .MORE-INFO,
  .main .text-wrapper-2 {
    font-size: 1rem;
  }

  .nav-dropdown {
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    top: 6.5rem;
    max-width: none;
  }

  .nav-dropdown-panel--service,
  .nav-dropdown-panel--solution {
    width: 100%;
    max-height: calc(100vh - 7.75rem);
    overflow-y: auto;
  }

  .nav-dropdown-panel--service {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .nav-dropdown-col,
  .nav-dropdown-heading,
  .nav-dropdown-divider,
  .nav-dropdown-items,
  .nav-dropdown__link {
    width: 100%;
  }
}

@media (max-width: 30rem) {
  :is(
      .DATA-PLATFORM,
      .AI-ML,
      .SOLUTION-by-INDUSTRY,
      .SOLUTION-by,
      .CUSTOMER-STORIES,
      .customer,
      .COMPANY,
      .CONTACT-US
    )
    .menu,
  .main .menu {
    padding: 1rem;
  }

  .mobile-nav.is-open {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .mobile-nav__primary,
  .mobile-nav__trigger {
    min-height: 3.5rem;
  }

  .mobile-nav__subheading,
  .mobile-nav__sublist > a,
  .mobile-nav__items a {
    min-height: 2.5rem;
  }

  .mobile-nav__sublist {
    padding-bottom: 0.75rem;
  }
}
