.header-nav .logo img {
	    max-width: 214px!important;
}

.header-nav * {
  font-family:Anybody!important;
}



nav.header-nav {

  top: 0;
  left: 0;
  width: 100%;
  z-index: 1500;
}
.nav-container {
    max-width: 1312px;
    margin: auto;
}
.nav {

    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 45px;
}


/* Desktop: keep top-level link red while its dropdown is open */
.nav .hs-item-has-children:hover > a,
.nav .hs-item-has-children:focus-within > a {
  color: #F0302D !important;
}


.nav-button-wrapper .button-primary {
  margin-top:0;
}
/* Bonus: if the cursor is over the submenu itself, keep parent red (uses :has) */
@supports(selector(:has(*))) {
  .nav .hs-item-has-children:has(.hs-menu-children-wrapper:hover) > a,
  .nav .hs-item-has-children:has(.hs-menu-children-wrapper:focus-within) > a {
    color: #F0302D !important;
  }
}

/* Mobile: when the item is opened via your .active class */
.nav-mobile .hs-item-has-children.active > a {
  background: #F0302D !important;
  color:#fff;
}

 .header ul.hs-menu-children-wrapper li.hs-menu-depth-2:hover > a {
         background-color: rgba(240, 48, 45,1.0);
         color:#fff;
   display:block;
        }

 .header ul.hs-menu-children-wrapper li.hs-menu-depth-3:hover > a {
         background-color: rgba(240, 48, 45,1.0);
         color:#fff;
   display:block;
   text-decoration:none;
        }

.hs-menu-item.hs-menu-depth-2.hs-item-has-children .hs-menu-children-wrapper {
  width:100%;
}



.header .hs-menu-item.hs-menu-depth-3 {
  margin:0;
  width:100%;
}

.header .hs-menu-item.hs-menu-depth-3:hover {
  text-decoration:none;
}

.header .hs-menu-item.hs-menu-depth-3 > a {
  color:#1a1a1a;
  display:block;
}


.hs-menu-item.hs-menu-depth-2.hs-item-has-children {
  position: relative; /* anchor for absolute positioning */
}

.hs-menu-item.hs-menu-depth-2.hs-item-has-children > .hs-menu-children-wrapper {
  position: absolute;
  border-radius:0;
  top: 0;
  left: 108%;   /* start at the parent's right edge */
  right: auto;  /* reset right to avoid conflicts */
}
/* Desktop: arrow turns red when menu is open */
.nav .hs-item-has-children:hover:after,
.nav .hs-item-has-children:focus-within:after {
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='6' viewBox='0 0 9 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.8995 0.656854C8.7904 0.656854 9.23656 1.734 8.6066 2.36396L5.36396 5.6066C4.97344 5.99713 4.34027 5.99713 3.94975 5.6066L0.707105 2.36396C0.0771406 1.734 0.523308 0.656854 1.41421 0.656854L7.8995 0.656854Z' fill='%23F0302D'/%3E%3C/svg%3E%0A")!important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.nav-mobile .hs-item-has-children.active:after {
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='6' viewBox='0 0 9 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.8995 0.656854C8.7904 0.656854 9.23656 1.734 8.6066 2.36396L5.36396 5.6066C4.97344 5.99713 4.34027 5.99713 3.94975 5.6066L0.707105 2.36396C0.0771406 1.734 0.523308 0.656854 1.41421 0.656854L7.8995 0.656854Z' fill='%23F0302D'/%3E%3C/svg%3E%0A")!important;
}

.nav-container .container .nav-inner-wrapper {
  width: 100%;
}
.nav-container .nav-inner-wrapper {
  display: flex;
  position:relative;
	padding: 20px 0px;
  align-items: center;
  justify-content: space-between;
}
.nav-button-wrapper {
  display: flex;
  gap: 20px;
}
a.nav-button-secondary {
  font-size: 16px;
}
.nav ul li a {
  font-size: 16px !important;
  text-decoration: none;
}
.nav-container .hs-menu-wrapper {
    position: relative;
}
.hs-menu-children-wrapper .hs-menu-item.hs-menu-depth-2:last-child{
    padding-bottom: 0px;
}  
.hs-item-has-children {
    display: flex;
    align-items: center;
}
.hs-item-has-children > a:after {
    content: url('');
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}
.header .hs-item-has-children > .hs-menu-children-wrapper {
  padding:0;
  min-width:145px;
    border-radius: 0;
}

.hs-menu-item.hs-menu-depth-2 {
margin:0;
  width:100%;
}

.hs-menu-children-wrapper .hs-menu-item.hs-menu-depth-2:last-child:hover {
    text-decoration: underline;
}
.nav-mobile {
    display: none;
}
.nav-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  bottom:20px;
  cursor: pointer;
}


.nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0px;
  gap: 24px;
}
  ul.hs-menu-children-wrapper li {
  padding:0px;
}
.nav ul li:hover {
    text-decoration: underline;
} 
.nav .hs-menu-depth-1:hover {

  text-decoration: none;
}

.nav-container .hs-menu-children-wrapper {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    margin-left: -30px;
    visibility: hidden;
    padding: 20px 35px;

  }
  .hs-item-has-children:hover > .hs-menu-children-wrapper {
    visibility: visible;
  }
  
.nav-mobile .hs-menu-children-wrapper {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: relative ;
    top: 0;
    margin-left: 15px;
    background: transparent;
    visibility: visible;
    padding: 0px;
    box-shadow:none;
}

.nav-mobile .hs-item-has-children > a::after {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.nav-mobile .hs-item-has-children.active > .hs-menu-children-wrapper {
    height: auto;

}


.nav-mobile ul li a {
    color:#ffffff;
    text-decoration:none;
    padding: 15px 0;
}
.hidden {
  display: none;
}
.nav-mobile-menu-wrapper .nav-button-wrapper a{
  
  text-align:center;
  justify-content:center;
}

nav .hs-menu-item.hs-menu-depth-2.hs-item-has-children a {
      background-image: url(https://22124310.fs1.hubspotusercontent-na2.net/hubfs/22124310/gray%20arrow%20right.svg);
    background-repeat: no-repeat;
    background-position: 65%;
}

nav .hs-menu-item.hs-menu-depth-2.hs-item-has-children a:hover {
    background-image: url(https://22124310.fs1.hubspotusercontent-na2.net/hubfs/22124310/white%20arrow%20right.svg);
   
}
.hs-menu-children-wrapper.open-menu-list {
  z-index:9999;
}

nav .nav-container .hs-menu-children-wrapper {
  gap:0!important;
background:#fff!important;
  padding:0;
}

.nav ul li a {
  color:#fff;
  font-family:Anybody;
}

nav.header-nav.scrolled ul li a {
color:#505050;
}

.nav ul li a:hover {
  color:rgba(240, 48, 45,1.0);
}


nav .nav-container .hs-menu-children-wrapper > li.hs-menu-item.hs-menu-depth-2 > a {
  display: block;
  width: 100%;
  color: #1a1a1a;
  font-family: Anybody;
}

nav .nav-container .hs-menu-children-wrapper > li.hs-menu-item.hs-menu-depth-2:hover > a,
nav .nav-container .hs-menu-children-wrapper > li.hs-menu-item.hs-menu-depth-2:focus-within > a {
  background-color: rgba(240, 48, 45, 1);
  color: #fff!important;
}

      nav.header-nav,
        .header .hs-item-has-children > .hs-menu-children-wrapper {
            background: transparent;
    position: fixed;
      }
      
 
          nav.header-nav.scrolled {
  background: #fff; /* white after scroll */
}
      
        .nav ul li.hs-menu-depth-1:after {
       background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='16' viewBox='0 0 11 16' fill='none'%3E%3Cpath d='M8.8995 5.65685C9.79041 5.65685 10.2366 6.734 9.60661 7.36396L6.36397 10.6066C5.97344 10.9971 5.34028 10.9971 4.94975 10.6066L1.70711 7.36396C1.07715 6.734 1.52332 5.65685 2.41422 5.65685L8.8995 5.65685Z' fill='white'/%3E%3C/svg%3E");
      }
        .nav-mobile .hs-item-has-children > a:after {
       background-image: url(https://22124310.fs1.hubspotusercontent-na2.net/hubfs/22124310/gray%20down%20arrow.svg);
      }
nav.header-nav.scrolled .nav ul li.hs-menu-depth-1:after{
  background-image:url("data:image/svg+xml,%3Csvg width='9' height='6' viewBox='0 0 9 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.48729 0.000115871C8.37819 0.000115871 8.82436 1.07726 8.19439 1.70722L4.95175 4.94986C4.56123 5.34039 3.92806 5.34039 3.53754 4.94986L0.294897 1.70722C-0.335068 1.07726 0.111099 0.000115787 1.002 0.000115787L7.48729 0.000115871Z' fill='%232D3E52'/%3E%3C/svg%3E%0A");
}
      
      .nav-mobile .hs-menu-item.hs-menu-depth-2.hs-item-has-children a {
background-image:none!important;
}

      
           .nav-mobile .hs-item-has-children > a.opened:after {
       background-image: url(https://22124310.fs1.hubspotusercontent-na2.net/hubfs/22124310/white%20arrow%20down.svg);
      }


/**
* Mobile
*/
@media screen and (max-width: 1265px) {
  
    .nav-mobile-menu-wrapper {
    max-height: calc(100vh - 100px); /* adjust 100px for top spacing */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  
        .header .nav-mobile .hs-item-has-children > .hs-menu-children-wrapper {
position:unset;
      }
  
  .nav-mobile .hs-menu-item.hs-menu-depth-3 a {
margin:0px 16px;
  }
  
  .nav-button-wrapper {
    flex-direction:column;
  }
  
.nav-container {
    padding:0!important;
  }
  .nav-container .nav-inner-wrapper {
    padding:20px 35px!important;
  }
  .nav{
    display:none;
  }
  


  .nav-mobile.open {

  max-height: none; /* Let it grow naturally */
    overflow: visible;
  }

  /* Optional: prevent body scroll when menu is open */
  body.nav-open {
    overflow: hidden;
    height: 100vh;
  }
  .nav-mobile {
        display: block;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.4s ease-in-out;
  }
  .nav-mobile ul {
    padding-left: 0px;
  }
  .nav-mobile .hs-item-has-children > .hs-menu-children-wrapper {
    margin-left: 0px;
  }
  .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-mobile{
  max-height: 0;
  overflow: hidden;
     background: #fff;
  transition: max-height 0.4s ease-in-out;
    overflow: hidden;
  }
.nav-mobile.open {
  max-height: 100vh; /* or some large value that’s taller than your menu */
}
  .nav-mobile li {
    display: block;

    min-height: 48px;
  }
 .nav-button-wrapper {
   
    padding:0px 30px;
  }
.nav-mobile li.hs-menu-item.hs-menu-depth-1 li a {
   padding:20px 30px;

  }
  
  .nav-mobile li.hs-menu-item.hs-menu-depth-3 li a {
padding:20px 45px;
  }
  
  .nav-mobile .hs-menu-item.hs-menu-depth-2.hs-item-has-children > .hs-menu-children-wrapper {
    
    position:unset!important;
  }
  
/* Mobile: depth-2 links default white */
.nav-mobile .hs-menu-children-wrapper .hs-menu-depth-2 > a {
  background-color: #fff;
  color: #1a1a1a; /* dark text */
  display: block;
  padding: 12px 20px; /* adjust spacing */
  margin:0px 8px;
}

/* Mobile: depth-2 hover turns red */
.nav-mobile .hs-menu-children-wrapper .hs-menu-depth-2 > a:hover {
  background-color: #f0302d;
  color: #fff;
}

/* Optional: depth-3 styling if you want them different */
.nav-mobile .hs-menu-children-wrapper .hs-menu-depth-3 > a {
  background-color: #fff;
  color: #1a1a1a;
}

.nav-mobile .hs-menu-children-wrapper .hs-menu-depth-3 > a:hover {
  background-color: #f0302d;
  color: #fff;
}
  li a {
    font-size: 18px;
    color:#fff;
  }

  .nav-toggle {
    display: block;
  }
  .hs-item-has-children {
  display: block;
    align-items: center;
  }
  
  .nav-mobile .hs-item-has-children > a {
    display:block;
    padding: 20px 30px;
    color:#1a1a1a;
    font-family: Anybody;
  }
  .nav-mobile .hs-item-has-children > a:after {
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    height: 10px;
    margin-top: -5px;
    margin-left: 5px;
    width: 18px;
    transition: all 0.2s ease-in-out;

  }




  .nav-mobile-menu-wrapper .hs-menu-children-wrapper .hs-menu-depth-2 {
    line-height:40px;
  }
  .open {
    height: 100%;
    background:#fff;
    padding-top:0px;
    padding-bottom:30px;
  }
  
   nav.header-nav.scrolled  .hamburger .line{
      background-color: #505050;
  }
     

  .hamburger .line {
    width: 36px;
    height: 5px;
    background-color: #fff;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 40px;
      border-radius: 5px;
  }

  .hamburger:hover{
    cursor: pointer;
  }

  .hamburger.is-active .line:nth-child(2){
    opacity: 0;
  }

  .hamburger.is-active .line:nth-child(1){
    -webkit-transform: translateY(13px) rotate(45deg);
    -ms-transform: translateY(13px) rotate(45deg);
    -o-transform: translateY(13px) rotate(45deg);
    transform: translateY(13px) rotate(45deg);
  }

  .hamburger.is-active .line:nth-child(3){
    -webkit-transform: translateY(-13px) rotate(-45deg);
    -ms-transform: translateY(-13px) rotate(-45deg);
    -o-transform: translateY(-13px) rotate(-45deg);
    transform: translateY(-13px) rotate(-45deg);
  }

  .nav ul {
      margin: 0px;
  }
}
@media screen and (min-width: 1226px) {
  nav .nav-container .hs-menu-children-wrapper {
   
    z-index:99999;
      padding: 30px 30px 25px 30px;
      top: 70px;

  }
  
  
  nav .nav-container .hs-menu-children-wrapper li a {
      padding: 15px;
  }
  .nav ul, ul.hs-menu-children-wrapper li {
      margin: 0 auto;
  }
  ul.hs-menu-children-wrapper li a {
   
      transition: background-color 0.2s ease-out;
  }
  .nav ul li.hs-menu-depth-1:after {
      content: '';
      background-repeat: no-repeat;
      background-position: center;
      height: 18px;
      margin-top: -5px;
      margin-left: 5px;
 
      width: 10px;
      transition: all 0.2s ease-in-out;
  }

  ul.hs-menu-children-wrapper li.hs-menu-depth-2:hover,
  ul.hs-menu-children-wrapper li.hs-menu-depth-2:hover a {
      text-decoration: none !important;
  }
  .hs-menu-children-wrapper {
    display: flex !important;
  }
}
	
	@media (max-width:1350px) { 
		.nav-container {
        padding: 0 35px;
		}
	}
	
	@media (max-width:767px) {
    nav.header-nav {

  top: 0;
  left: 0;
  right: 0;        /* ensures it ends exactly at viewport edge */
  width: 100vw;    /* strictly equal to viewport width */
  max-width: 100vw;
  overflow-x: hidden; /* prevents scrollbars if children push */
  z-index: 1500;
    }
	}