/* header-menu Section */
.header-menu {
  background-color: #edf3ff;
	padding: 30px 0 20px;
	position: relative;
 position: fixed;
    width: 100%;
    z-index: 99999;  
    transition: top 0.3s ease; /* Smooth pop-up effect */
}

.header-dark-mode .header-menu{
  background-color: transparent;
  color:white;
}

.header-dark-mode .header-menu.fixed{
  background-color: #110043;
}

.header-dark-mode .header-menu .hs-menu-depth-1 a{
  color: white
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children:before {
  color: #4AF5B8;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children:before {
    content: "\f078";
    display: block;
    font-family: Font Awesome\ 5 Free;
    font-size: 16px;
    font-weight: 900;
    height: 0;
    position: absolute;
    right: 0;
    top: 11px;
    width: 10px;
}

  .header-menu .main-navigation-content .sec-button .icon {
      margin-left: 10px;
      display: flex;
  }
  .header-menu .sec-button .icon img {
      max-width: 28px;
     height: 28px;
  }
  .header-menu .navbar .sec-button {
  display: flex;
    align-items: center;
        padding-left: 17px;
        padding-right: 20px;
  }

.header-menu .main-navigation-content,
.header-menu .navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-menu .hs-menu-item.hs-menu-depth-1 {
   padding: 10px 0;
}
.header-menu .navbar .navigation {
    margin-right: 0;
}

.header-menu .hamburger {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
  color: #110043;
}

.header-dark-mode .header-menu .hamburger {
  color: #ffffff;
}

.header-menu .navigation ul {
	display: flex;
  gap: 46px;
}

.header-menu .hs-menu-depth-1 a {
	text-decoration: none;
	margin-right: 15px;
  font-weight: 600;
  font-size: 17px;
}
.header-menu .main-navigation-content .logo{
    padding: 0 10px;
    max-width: 250px;
    width: 100%;
}

.header-menu .logo.white-logo{
  display: block;
}

.header-menu .logo.dark-logo{
    display: none;
}

.header-dark-mode .header-menu .logo.white-logo{
  display: none;
}

.header-dark-mode .header-menu .logo.dark-logo{
    display: block;
}


.header-menu .navbar {
    padding: 0 10px;
    flex: 1;
    justify-content: center;
}

.header-menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper{
  left: -70px;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children ul {
	background: #ffffff;
  gap: initial;
	min-width: 233px;
	padding: 0px;
  z-index: 2;
  border-radius: 8px;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2 a {
  color: #110043;
  font-weight: bold;
  margin: 0;
  padding: 18px 34px;
  border-bottom: 1px solid #EDF3FF;
  white-space: normal;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2 a div{
    display: block;
    font-size: 13px;
    font-weight: 300;
    line-height: 13px;
    width: 155px;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2:last-child a{
  border-bottom: none;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2 {
	padding-left: 0;
	margin-bottom: 0;
}

.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2:last-child {
	margin-bottom: 0px;
}

.header-menu .globe_class {
    background-image: none;
    width: auto;
    height: auto;
}

.header-menu .lang-label:after {
    color: #4af5b8;
    content: "\f078";
    display: block;
    font-family: Font Awesome\ 5 Free;
    font-size: 16px;
    font-weight: 900;
    height: 0;
    position: relative;
    right: -6px;
    top: 0;
    width: 10px;
}

.header-menu .lang-label {
    font-size: 17px;
    font-weight: 600;
    line-height: 51px;
    position: relative;
    text-transform: uppercase;
    display: flex;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 8px;
}


.header-menu .mobile-others{
  display: none;
}

.header-menu .desktop-others {
    max-width: 350px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.header-menu .desktop-others .sec-button {
    align-items: center;
    display: flex;
    padding-left: 18px;
    padding-right: 8px;
    max-width: 183px;
    width: 100%;
    flex: 0 0 auto;
}

.header-menu .hs_cos_wrapper_type_language_switcher {
    flex: 1;
    padding-left: 15px;
}

.header-menu span.hs_cos_wrapper_type_language_switcher:empty {
  display: none;
}


.header-menu .hs_cos_wrapper_type_language_switcher .lang_switcher_class {
    position: relative;
    display: block;
}

.header-menu .lang_list_class{
  background-color: white;
  padding: 0;
  border-radius: 8px;
  top: 50px;
}

.header-menu .lang_list_class li {
    position: relative;
    line-height: 1;
    font-size: 13px;
    padding: 18px 34px;
    background-color: transparent;
    border-left: none;
    border-right: none;
    border-top: 1px solid #EDF3FF;
    border-bottom: none !important;
}

.header-menu .lang_list_class li:first-child {
    padding-top: 18px;
    border-top: none;
}

.header-menu .lang_list_class:after {
  content: initial;
}

.header-menu  .lang_list_class:before {
  content: initial;
}

.header-menu .lang_list_class li a {
    text-decoration: none;
    color: #000;
    cursor: pointer;
    word-break: normal;
    font-size: 13px;
    font-weight: 700;
    line-height: 27px;
}

@media(max-width: 1290px) and (min-width: 1024px){ 
  
  .header-menu .lang_list_class {
    left: 0;
  }
  
}

@media(max-width: 1120px) and (min-width: 1024px){ 
  
  .header-menu .main-navigation-content .logo {
    max-width: 175px;
  }
  
  .header-menu .navigation ul {
    display: flex;
    gap: 30px;
  }
  
  
}

@media(max-width: 1023px) {
  
  
	.header-menu .navigation ul,
	.header-menu .main-navigation-content,
	.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children.active .hs-menu-children-wrapper {
		display: block;
	}

  .header-menu .navbar .sec-button { 
        justify-content: center;
  }
  
  .header-menu .navbar,
  .header-menu .main-navigation-content .logo{
    width: 100%;
  }
  .header-menu .navbar .navigation {
     margin-top: 35px;
    margin-right: 0px;
  }
	.header-menu .main-navigation-content .logo img {
		max-width: 200px;
	}

	.header-menu .hamburger {
		display: block;
		position: absolute;
		right: 15px;
		top: 45px;
		padding: 0;
	}
  
  .header-menu .hamburger.is-active{
    top: 45px;
  }
  
  .header-menu .hamburger.is-active{
    color: white;
  }
  
  .hamburger.is-active .open-mobile{
    display: none;
  }
  
  .hamburger.is-active .open-mobile{
    display: none;
  }
  
  .hamburger .close-mobile{
    display: none;
  }
  
  .hamburger.is-active .close-mobile{
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
  }
  
  .hamburger.is-active .close-mobile i{
    margin-left: 16px;
    font-size: 26px;
  }

	.header-menu .navbar {
		    background-color: #110043;
        box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
        color: #fff;
        display: none;
        height: 100%;
        position: fixed;
        top: 0;
        transition: all .5s ease;
        width: 318px;
        padding: 82px 40px 0;
        background-image: url(https://144915620.fs1.hubspotusercontent-eu1.net/hubfs/144915620/Intouch%20Theme%202024%20Assets/Union-bkg.png);
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 271px auto;
	}
  
  @keyframes slide-out {
  from {
    right: 0; /* Start in view */
  }
  to {
    right: -100%; /* Move off-screen */
  }
}
  
  .header-menu .navbar.active{
    display: block; /* Make the div visible */
    animation: slide-in 0.5s forwards; /* Trigger slide-in animation */
  }
  
  @keyframes slide-in {
  from {
    right: -100%; /* Start off-screen */
  }
  to {
    right: 0; /* End in view */
  }
}

.header-menu .hs-menu-item.hs-menu-depth-1 {
        margin-bottom: 10px;
        margin-right: 0;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
  
	.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-children-wrapper {
		display: none;
	}
  .header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-children-wrapper {
     margin-top: 10px;
     background-color: transparent !important;
  }
  
  .header-menu .hs-menu-wrapper.flyouts .hs-item-has-children:before {
    content: "\f067";
    display: block;
    font-family: Font Awesome\ 5 Free;
    font-size: 16px;
    font-weight: 900;
    height: 0;
    position: absolute;
    right: 0;
    top: 20px;
    width: 10px;
  }

	.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children.active:before {
		        top: 42px;
        transform: rotate(180deg);
        right: -4px;
    content: "\f068";
	}

	.header-menu .hs-menu-wrapper.flyouts .hs-item-has-children ul {
		position: initial;
	}

	.header-menu .hs-menu-depth-1 a {
		    margin: 0;
        font-size: 26px;
        line-height: 32px;
        font-weight: 500;
        color: white;
	}
  
  .header-menu .lang_list_class{   
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
    top: -92px;
    left: 95px;
  }
  
  .header-menu .mobile-others {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 39px;
    }
  
  .header-menu .desktop-others{
    display: none;
  }
  
  .header-menu .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover>.hs-menu-children-wrapper {
    left: 0;
  }
  
  .header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2 a div {
    width: auto;
  }
  
  .header-menu .hs-menu-wrapper.flyouts .hs-item-has-children ul {
    background: transparent;
    border-radius: 0;
    gap: initial;
    min-width: initial;
    padding: 0;
    z-index: 2;
  }
  
  .header-menu .hs-menu-wrapper.flyouts .hs-item-has-children .hs-menu-depth-2 a {
    border-bottom: none;
    color: white;
    font-size: 20px;
    font-weight: 300;
    line-height: 20px;
    margin: 0;
    padding: 14px 0;
    white-space: normal;
  }
  
    .header-menu .hs_cos_wrapper_type_language_switcher {
      flex: 1;
      padding-left: 0;
      margin-top: 25px;
    }

@media(max-width: 580px) {
  
  .header-menu .mobile-others {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 39px;
    }
  
  .header-menu .hs_cos_wrapper_type_language_switcher {
    flex: 1;
    padding-left: 0;
    margin-top: 25px;
  }
  
}