/* Enovie Footer: intentionally namespaced to avoid conflicts with Elevate. */
.ef-footer {
  --ef-bg: #0e306a;
  --ef-fg: #fff;
  --ef-active: #a3f000;
  background: var(--ef-bg);
  color: var(--ef-fg);
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.4;
}
.ef-footer *, .ef-footer *::before, .ef-footer *::after { box-sizing: border-box; }
.ef-footer__inner { width: min(100% - 190px, 1640px); margin-inline: auto; }
.ef-footer__main {
  display: grid;
  grid-template-columns: minmax(245px, 320px) minmax(0, 1fr) minmax(165px, 190px);
  column-gap: clamp(26px, 3.1vw, 66px);
  min-height: 304px;
  padding: 56px 0 43px;
  align-items: start;
}

.ef-footer__pointer-icon {
  display: block;
  width: 26px;
  height: 26px;
  fill: #ffffff;
  flex-shrink: 0;
}
.ef-footer__brand { min-width: 0; }
.ef-footer__brand-link { display: block; width: fit-content; }
.ef-footer__logo { display: block; width: min(100%, 285px); height: auto; object-fit: contain; }
.ef-footer__socials { display: flex; align-items: center; gap: 19px; margin-top: 18px; }
.ef-footer__social-link { width: 46px; height: 46px; display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto; text-decoration: none; transition: transform .2s ease; }
.ef-footer__social-link:not(.ef-footer__social-link--unlinked):hover { transform: translateY(-3px); }
/* HubSpot native icon tag outputs an inline SVG; keep its fill white like the reference. */
.ef-footer__social-icon { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; }
.ef-footer__social-icon svg { display: block; width: 100% !important; height: 100% !important; fill: currentColor !important; }
/* Built-in logo fallbacks are vectors, not uploaded PNG assets. */
.ef-footer__social-icon svg.ef-footer__brand-fallback .ef-fb-bg { fill: #fff !important; }
.ef-footer__social-icon svg.ef-footer__brand-fallback .ef-fb-cutout { fill: var(--ef-bg) !important; }
.ef-footer__social-icon svg.ef-footer__brand-fallback .ef-insta-stroke { fill: none !important; }
.ef-footer__social-icon svg.ef-footer__brand-fallback .ef-insta-dot { fill: currentColor !important; }
.ef-footer__social-icon svg:not(.ef-footer__brand-fallback) path { fill: currentColor !important; }
.ef-footer__nav { padding-top: 48px; min-width: 0; }
.ef-footer__nav-columns { display: grid; grid-template-columns: minmax(205px, 1.3fr) repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; column-gap: clamp(14px, 2vw, 40px); }
.ef-footer__nav-column { margin: 0; padding: 0; min-width: 0; }
.ef-footer__nav-heading { font-size: 17px; line-height: 1.35; font-weight: 800; display: block; white-space: normal; }
.ef-footer__sub-list { list-style: none; padding: 0; margin: 12px 0 0; }
.ef-footer__sub-list li { margin: 0 0 8px; padding: 0; }
.ef-footer__sub-list a, .ef-footer__sub-list span { font-size: 16px; line-height: 1.4; font-weight: 400; }
.ef-footer a { color: inherit; text-decoration: none; }
.ef-footer a:hover { text-decoration: underline; text-underline-offset: 3px;color:#a7ee49;!important }
.ef-footer a:focus-visible, .ef-footer__cursor-button:focus-visible { outline: 2px solid var(--ef-active); outline-offset: 5px; border-radius: 3px; }
.ef-footer__cursor-control { justify-self: end; padding-top: 50px; }
.ef-footer__cursor-button { display: flex; padding: 0; border: 0; background: transparent; color: inherit; align-items: center; flex-direction: column; gap: 6px; font: inherit; cursor: pointer; white-space: nowrap; }
.ef-footer__switch { position: relative; width: 89px; height: 36px; background: #fff; border-radius: 100px; color: var(--ef-bg); font-size: 17px; line-height: 1; font-weight: 900; transition: background-color .2s; }
.ef-footer__switch-thumb { position: absolute; background: var(--ef-bg); width: 29px; height: 29px; left: 4px; top: 3.5px; border-radius: 50%; transition: transform .2s ease; }
.ef-footer__switch-off, .ef-footer__switch-on { position: absolute; top: 9px; }
.ef-footer__switch-off { right: 12px; }
.ef-footer__switch-on { left: 15px; display: none; }
.ef-footer__cursor-button[aria-pressed="true"] .ef-footer__switch { background: var(--ef-active); }
.ef-footer__cursor-button[aria-pressed="true"] .ef-footer__switch-thumb { transform: translateX(52px); }
.ef-footer__cursor-button[aria-pressed="true"] .ef-footer__switch-off { display: none; }
.ef-footer__cursor-button[aria-pressed="true"] .ef-footer__switch-on { display: block; }
.ef-footer__cursor-label { display: flex; align-items: center; gap: 5px; font-size: 17px; line-height: 1.25; font-weight: 800; }
.ef-footer__pointer-icon { width: 26px; height: 26px; }
.ef-footer__legal { border-top: .5px solid rgba(255,255,255,.16); min-height: 51px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 35px; padding: 12px 0 15px; font-size: 14px; }
.ef-footer__legal-links { display: inline-flex; align-items: center; gap: 12px; }

/* Cursor and fading dashed canvas trail. Neither intercepts clicks or scrolling. */
.ef-bizzie-trail {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2147482999;
  opacity: 0;
  visibility: hidden;
}
.ef-bizzie {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--ef-cursor-size, 48px);
  height: var(--ef-cursor-size, 48px);
  pointer-events: none;
  z-index: 2147483000;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-200px,-200px,0);
  will-change: transform;
}
.ef-bizzie.is-visible, .ef-bizzie-trail.is-visible { visibility: visible; opacity: 1; }
.ef-bizzie__img, .ef-bizzie__link-img {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  transition: opacity 130ms ease;
}
.ef-bizzie__img { opacity: 1; }
.ef-bizzie__link-img { opacity: 0; }
.ef-bizzie.is-link .ef-bizzie__img { opacity: 0; }
.ef-bizzie.is-link .ef-bizzie__link-img { opacity: 1; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.ef-bizzie-enabled, html.ef-bizzie-enabled * { cursor: none !important; }
}

@media (max-width: 1150px) and (min-width: 769px) {
  .ef-footer__main { grid-template-columns: minmax(205px, 245px) minmax(0, 1fr) 140px; gap: 24px; }
  .ef-footer__nav-columns { grid-template-columns: minmax(160px, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 12px; }
  .ef-footer__nav-heading { font-size: 15px; }
  .ef-footer__sub-list a, .ef-footer__sub-list span { font-size: 14px; }
  .ef-footer__socials { gap: 12px; }
  .ef-footer__social-link { width: 39px; height: 39px; }
  .ef-footer__cursor-label { font-size: 14px; }
}
@media (max-width: 768px) {
  .ef-footer__inner { width: 100%; }
  .ef-footer__main { display: flex; flex-direction: column; align-items: center; padding: 65px 24px 76px; gap: 0; min-height: 0; }
  .ef-footer__brand { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .ef-footer__logo { width: min(100%, 380px); margin-inline: auto; }
  .ef-footer__brand-link { max-width: 100%; }
  .ef-footer__socials { gap: clamp(11px, 6vw, 36px); margin-top: 71px; justify-content: center; }
  .ef-footer__social-link { width: clamp(44px, 13vw, 76px); height: clamp(44px, 13vw, 76px); }
  .ef-footer__nav { padding: 100px 0 0; width: 100%; }
  .ef-footer__nav-columns { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .ef-footer__nav-heading { font-size: clamp(25px, 6.6vw, 36px); font-weight: 800; }
  .ef-footer__sub-list { margin: 12px 0 0; }
  .ef-footer__sub-list a, .ef-footer__sub-list span { font-size: clamp(23px, 6vw, 32px); }
  .ef-footer__cursor-control { display: none; }
  .ef-footer__legal { flex-direction: column; padding: 62px 18px 65px; gap: 7px; min-height: 0; font-size: clamp(15px, 4vw, 21px); text-align: center; }
  .ef-footer__legal-links { justify-content: center; flex-wrap: wrap; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-footer *, .ef-footer *::before, .ef-footer *::after, .ef-bizzie * { animation: none !important; transition: none !important; }
}


/* =========================================
   FOOTER DESKTOP LAYOUT IMPROVEMENTS
   ========================================= */

@media (min-width: 769px) {

  /* Reduce logo size by 25% */
  .ef-footer__logo {
    width: min(100%, 300px);
    height: auto;
  }

  /* Give navigation more horizontal space */
  .ef-footer__main {
    grid-template-columns:
      minmax(0, 240px)
      minmax(0, 1fr)
      minmax(140px, 175px);
    column-gap: clamp(18px, 2vw, 32px);
  }

  /* Size columns based on actual link width */
  .ef-footer__nav-columns {
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
    column-gap: clamp(8px, 1vw, 28px);
  }

  /* Prevent wrapping and scale text responsively */
  .ef-footer__nav-heading {
    white-space: nowrap;
    font-size: clamp(12px, 1vw, 17px);
    line-height: 1.35;
  }

  /* Keep submenu links proportional */
  .ef-footer__sub-list a,
  .ef-footer__sub-list span {
    white-space: nowrap;
    font-size: clamp(12px, 0.9vw, 16px);
  }
}

/* Compact desktop and tablet layout */
@media (min-width: 769px) and (max-width: 1100px) {

  .ef-footer__main {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 12px;
  }

  .ef-footer__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .ef-footer__cursor-control {
    grid-column: 2;
    grid-row: 1;
    padding-top: 8px;
  }

  /* Allow navigation to use the full second row */
  .ef-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 16px;
  }
}



/* =========================================
   FOOTER SPACING & SOCIAL ICON ADJUSTMENTS
   ========================================= */

@media (min-width: 769px) {

  /* Make social icons 25% smaller */
  .ef-footer__social-link {
    width: 35px;
    height: 35px;
  }

  /* Slightly reduce spacing between icons */
  .ef-footer__socials {
    gap: 15px;
  }

  /* Bring navigation links closer together */
  .ef-footer__nav-columns {
    grid-template-columns: repeat(5, max-content);
    justify-content: center;
    column-gap: clamp(16px, 3.2vw, 64px);
  }

  /* Maintain breathing room around navigation */
  .ef-footer__nav {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Keep menu headings on one line */
  .ef-footer__nav-heading {
    white-space: nowrap;
  }
}

/* Smaller desktop screens */
@media (min-width: 769px) and (max-width: 1150px) {
  .ef-footer__social-link {
    width: 29px;
    height: 29px;
  }

  .ef-footer__nav-columns {
    column-gap: 18px;
  }
}

@media (any-pointer: coarse) {
  .ef-footer__cursor-control {
    display: none !important;
  }
}


