.elementor-23678 .elementor-element.elementor-element-18f141e{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-dd6d8d2 *//* UPDATED CSS: Careers dropdown is now in the desktop top bar.
   Mobile submenu items are flush-aligned to the tab text.
   Careers dropdown panel now looks like a continuation of the navy top bar. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------
   Header (fixed)
------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 9999;

  --mobile-header-height: 120px;
  --header-height: 120px;

  --mega-menu-offset: 14px;
  --mega-menu-bridge: 26px;
}

/* -----------------
   Top bar (desktop)
------------------ */

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 40px;
  font-size: 0.9em;
  background: #003E53;
  color: #fff;
  border-bottom: 1px solid #002A3A;
  gap: 16px;
}

/* Top bar links */
.top-link {
  color: #fff;
  text-decoration: none;
}

.top-link:hover {
  color: #cccccc;
}

/* Top bar dropdown (desktop Careers) */
.top-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* === UPDATED: dropdown panel matches the navy bar (continuation) === */
.top-dropdown-menu {
  position: absolute;
  top: 100%;                  /* no gap so it feels attached */
  right: 0;

  min-width: 220px;

  background: #003E53;        /* same as .top-bar */
  border: 1px solid #002A3A;  /* same border tone */
  border-top: none;           /* merges into the bar */
  border-radius: 0 0 12px 12px;

  padding: 8px;
  box-shadow: none;           /* remove floating card shadow */

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(0);   /* no drop offset */
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;

  z-index: 10060;
}

/* remove hover bridge spacer since there is no gap */
.top-dropdown::after {
  display: none;
}

/* open on hover and keyboard focus */
.top-dropdown:hover .top-dropdown-menu,
.top-dropdown:focus-within .top-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s;
}

/* dropdown links match the bar */
.top-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
}

.top-dropdown-menu a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

/* optional: make trigger look active while open */
.top-dropdown:hover > .top-link,
.top-dropdown:focus-within > .top-link {
  color: #ffffff;
  text-decoration: underline;
}

/* -----------------
   Desktop top bar search
------------------ */

.top-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.top-search input {
  height: 32px;
  width: 180px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);

  background: rgba(255,255,255,0.12);
  color: #fff;

  outline: none;
  caret-color: #83C3E7;
}

.top-search input::placeholder {
  color: rgba(255,255,255,0.75);
}

.search-btn {
  height: 32px;
  width: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);

  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
}

.search-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Brand SVG icon */
.search-icon {
  width: 18px;
  height: 18px;
  stroke: #83C3E7;
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.2s ease;
}

.search-btn:hover .search-icon {
  stroke: #ffffff;
}

/* -----------------
   Navbar row
------------------ */

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 40px;
  gap: 18px;
  position: relative;
  overflow: visible;
}

.logo { margin-right: auto; }

.logo-desktop { display: block; width: 300px; }
.logo-mobile { display: none; }

/* -----------------
   Nav links
------------------ */

.nav-link {
  text-decoration: none;
  color: inherit;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  color: #004080;
  background-color: rgba(0, 119, 204, 0.15);
}

#primary-nav {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  overflow: visible;
}

.nav-aux { display: none; }

/* -----------------
   Desktop vs mobile versions
------------------ */

.menu-products-desktop,
.menu-resources-desktop { display: list-item; }

/* Careers desktop item removed from HTML, but keep this in case you re-add it */
.menu-careers-desktop { display: none; }

.menu-products-mobile,
.menu-resources-mobile,
.menu-careers-mobile { display: none; }

/* -----------------
   Mega menu base styling (shared)
------------------ */

.mega-menu {
  background: #f9f9f9;
  padding: 30px 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 9998;
}

.mega-menu .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.mega-menu .column {
  flex: 1 1 200px;
  min-width: 200px;
}

.mega-menu .column h4 {
  font-size: 1.2em;
  color: #003E53;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.mega-menu .column a {
  display: block;
  text-decoration: none;
  color: #333;
  margin: 12px 0;
  line-height: 1.4;
}

.mega-menu .column a:hover {
  color: #0077cc;
  text-decoration: underline;
}

@media (min-width: 1025px) {
  .mega-menu .column { padding-right: 10px; }
}

/* =========================================================
   DESKTOP DROPDOWNS (min-width: 1025px)
   ========================================================= */

@media (min-width: 1025px) {

  /* Products */
  .menu-products-desktop { position: static; }

  .menu-products-desktop .mega-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--mega-menu-offset));
    left: 0;
    width: 100vw;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }

  .menu-products-desktop .mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * var(--mega-menu-bridge));
    height: var(--mega-menu-bridge);
    background: transparent;
  }

  .menu-products-desktop:hover .mega-menu,
  .menu-products-desktop:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }

  .menu-products-desktop:hover > .nav-link-products,
  .menu-products-desktop:focus-within > .nav-link-products {
    color: #fff;
    background-color: #0077cc;
  }

  /* Resources (aligned) */
  .menu-resources-desktop {
    position: relative;
  }

  .menu-resources-desktop .mega-menu--compact {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: min(380px, 92vw);

    padding: 12px;
    border-radius: 14px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;

    z-index: 10020;
  }

  .menu-resources-desktop .mega-menu--compact::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * var(--mega-menu-bridge));
    height: var(--mega-menu-bridge);
    background: transparent;
  }

  .menu-resources-desktop:hover .mega-menu--compact,
  .menu-resources-desktop:focus-within .mega-menu--compact {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }

  .menu-resources-desktop:hover > .nav-link-resources,
  .menu-resources-desktop:focus-within > .nav-link-resources {
    color: #fff;
    background-color: #0077cc;
  }

  /* Compact layout + links */
  .columns--compact { display: block; gap: 0; }
  .column--compact { min-width: 0; padding-right: 0; }

  .mega-menu--compact a {
    margin: 0;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
  }

  .mega-menu--compact a:hover {
    text-decoration: none;
    background: rgba(0, 119, 204, 0.12);
    color: #003E53;
  }

  #primary-nav > li > a.nav-link,
  #primary-nav > li > .nav-link {
    display: flex;
    align-items: center;
    line-height: 1;
  }
}

/* =========================================================
   CSS-only hamburger
   ========================================================= */

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

label.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

label.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #003E53;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================================
   CSS-only search toggle (tablet/mobile)
   ========================================================= */

.search-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

label.search-toggle {
  display: none;
  width: 55px;
  height: 55px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;

  align-items: center;
  justify-content: center;
}

label.search-toggle .search-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.6;
}

/* =========================================================
   Overlays + Search modal
   ========================================================= */

.nav-overlay { display: none; }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.search-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.search-modal-panel {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: 18px 18px 24px;
}

.search-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e6e6;
}

.search-modal-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #003E53;
}

.search-close {
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  color: #003E53;
  background: rgba(0, 62, 83, 0.08);
}

.search-close:hover { background: rgba(0, 62, 83, 0.14); }

.search-modal-form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-modal-form input {
  height: 54px;
  font-size: 1.1em;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid #83C3E7;
  outline: none;
}

.search-modal-form input::placeholder { color: #6b6b6b; }

.search-modal-submit {
  height: 54px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: #003E53;
  color: #fff;
  font-size: 1.05em;
}

.search-modal-submit:hover { background: #002A3A; }

.search-toggle-input:checked ~ .search-modal {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   Accessibility helper
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Tablet + Mobile
   ========================================================= */

@media (max-width: 1024px) {

  /* Hide hero section on tablet + mobile */
  .hero-section {
    display: none;
  }

  /* Offset page content ONLY when hero is hidden (fixed header) */
  body {
    padding-top: 40px;
  }

  .top-bar { display: none; }

  .header {
    --mobile-header-height: 78px;
    --header-height: 78px;
    --mega-menu-offset: 0px;
    --mega-menu-bridge: 0px;
  }

  .logo-desktop { display: none; }
  .logo-mobile { display: block; width: 120px; }

  .menu-products-desktop,
  .menu-resources-desktop { display: none; }

  .menu-products-mobile,
  .menu-resources-mobile,
  .menu-careers-mobile { display: list-item; }

  label.search-toggle,
  label.nav-toggle {
    display: flex;
    z-index: 10000;
  }

  label.search-toggle .search-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.75;
  }

  #primary-nav {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--mobile-header-height));
    background: #fff;

    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 9998;

    overflow-y: auto;

    /* one consistent inset for tabs and dropdown rows */
    --nav-item-pad: 14px;
  }

  .nav-toggle-input:checked ~ #primary-nav {
    transform: translateX(0);
  }

  .nav-aux { display: block; }

  #primary-nav .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--nav-item-pad);
    border-radius: 12px;
    min-height: 44px;
  }

  details > summary::-webkit-details-marker { display: none; }
  details > summary { list-style: none; }

  /* shared “link + caret” summary for Products/Resources/Careers */
  summary.nav-link-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: var(--nav-item-pad);
  }

  summary.nav-link-summary .summary-link {
    flex: 1;
    display: block;
    color: inherit;
    text-decoration: none;
  }

  summary.nav-link-summary .summary-caret {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 62, 83, 0.08);
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative;
  }

  summary.nav-link-summary .summary-caret::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #003E53;
    border-bottom: 2px solid #003E53;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    display: block;
  }

  details[open] > summary.nav-link-summary {
    color: #fff;
    background-color: #0077cc;
  }

  details[open] > summary.nav-link-summary .summary-caret {
    background: rgba(255,255,255,0.22);
  }

  details[open] > summary.nav-link-summary .summary-caret::before {
    transform: rotate(-135deg);
    border-right-color: #fff;
    border-bottom-color: #fff;
  }

  .mega-menu {
    position: static;
    width: 100%;
    padding: 8px 0 6px;
    margin: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }

  .mega-menu .columns { display: block; gap: 0; }

  .mega-menu .column {
    min-width: 0;
    padding: 14px 0 10px;
  }

  .mega-menu .column h4 {
    font-size: 1.05em;
    margin: 14px 0 6px;
    text-align: left;
    padding-left: var(--nav-item-pad);
    padding-right: var(--nav-item-pad);
  }

  .mega-menu .column a {
    margin: 10px 0;
    text-align: left;
    line-height: 1.4;
    padding-left: var(--nav-item-pad);
    padding-right: var(--nav-item-pad);
  }

  .mega-menu--compact a {
    margin: 0;
    padding: 10px var(--nav-item-pad);
    border-radius: 10px;
  }

  .nav-toggle-input:checked + label.nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle-input:checked + label.nav-toggle span:nth-child(2) { opacity: 0; }

  .nav-toggle-input:checked + label.nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--mobile-header-height));
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9997;
  }

  .nav-toggle-input:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 420px) {
  .logo-mobile { width: 120px; }
}

/* =========================================================
   Desktop dropdown carets (Products, Resources, Careers)
   ========================================================= */

.menu-products-desktop > .nav-link::after,
.menu-resources-desktop > .nav-link::after,
.top-dropdown > .top-link::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 7px;
  height: 7px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);
  transition: transform 0.18s ease;
  position: relative;
  top: -1px;
}

/* Rotate caret when dropdown is active */
.menu-products-desktop:hover > .nav-link::after,
.menu-products-desktop:focus-within > .nav-link::after,

.menu-resources-desktop:hover > .nav-link::after,
.menu-resources-desktop:focus-within > .nav-link::after,

.top-dropdown:hover > .top-link::after,
.top-dropdown:focus-within > .top-link::after {
  transform: rotate(-135deg);
}

.top-dropdown-menu {
  border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}/* End custom CSS */