#header {
  padding: 0 0;
  position: relative;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  transition: 0.3s all;
} 
/*
.header-row.sticky {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  background: #FFF;
  z-index: 500;
  width: 100%;
  padding: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
} */
.logo {
  text-decoration: none;
  display: inline-block;
  margin-top: 13px;
  margin-bottom: 7px;
}

.custom-menu-primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0 50px;
}
.custom-menu-primary ul li a{
  font-size: 16px;
  font-weight: 700;
  color: #02454E;
  text-decoration: none;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  transition: 0.4s all;
  padding-top: 35px;
  padding-top: 40px;
  padding-bottom: 10px;
}
.custom-menu-primary ul li a::before {
  content: "";
  width: 100%;
  background: #425B76;
  height: 3px;
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 0;
  transition: 0.4s all;
}
.custom-menu-primary ul li a:hover{
  color: #92C23E;
}
.custom-menu-primary ul li a:hover::before{
  width: 100%; 
}

.custom-menu-primary ul li:last-child {
  margin-top: 0;
  height: 100px;
  display: flex;
  align-items: center;
  text-align: center;
  transition: 0.4s all;
}
.custom-menu-primary ul li:last-child a {
  height: 100%; /**/
  height: 106%;
  width: 210px;
  text-decoration: none;
  text-transform: none;
  display: inline-block;
  background-color: #01454e;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  position: absolute;
  right: 0;
  transition: 0.4s all;
  padding: 0;
  line-height: 98px; /**/
  line-height: 103px;
}
.custom-menu-primary ul li:last-child a:hover {
  color: #92C23E; 
}
.custom-menu-primary ul li:last-child a::before {
  display: none; 
}

.site-header__toggle {
  background-color: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-align: inherit;
}
.site-header__toggle--menu {
  border-bottom: 3.36px solid #046E7C;
  border-top: 3.36px solid #046E7C;
  display: block;
  height: 17px;
  position: relative;
  transition: border-color .4s;
  width: 25px;
  width: 29px;
  height: 19px;
}
.screen-reader-text {
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  padding: 0;
  width: 1px;
}
.site-header__toggle--menu {
  border-bottom: 3.36px solid #046E7C;
}
.site-header__toggle--menu,
.site-header__toggle--menu:after, 
.site-header__toggle--menu:before
{
  border-top: 3.36px solid #046E7C;
}
.site-header__toggle--menu:after, 
.site-header__toggle--menu:before 
{
  border-top: 3.36px solid #046E7C;
  bottom: 0;
  content: "";
  height: 0;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  transition: .4s;
  transition-property: transform, border-color;
  width: 100%;
}
.site-header__toggle--menu:after, .site-header__toggle--menu:before 
{
  border-top: 3.36px solid #046E7C;
  bottom: 0;
  content: "";
  height: 0;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  transition: .4s;
  transition-property: transform, border-color;
  width: 100%;
}
.mobile-menu-active .site-header__toggle--menu:after, 
.mobile-menu-active .site-header__toggle--menu:before
{
  border-color: #046E7C;
}
.mobile-menu-active .site-header__toggle--menu:before 
{
  transform: rotate(45deg);
}
.mobile-menu-active .site-header__toggle--menu:after 
{
  transform: rotate(-45deg);
}
.mobile-menu-active .site-header__toggle--menu
{
  border-top: 0;
  border-bottom: 0;
}
.site-header__toggle {
  display: none; 
}

/* Responsive */
@media (max-width: 1199px) {
  .custom-menu-primary ul {
    gap: 0 35px;  
    padding-right: 65px;
  }
  .custom-menu-primary ul li:last-child a {
    width: 180px;
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .header-row {
    display: block;
    align-items: center; 
  }

  .custom-menu-primary .site-header__menu {
    position: fixed;
    bottom: -80%;  /* Initially place it off the bottom */
    left: 0;
    width: 100%;
    background: #fff;
    color: #FFF;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    /*height: 81.5%;  /**/
    /*height: 81vh;
    */
    overflow: hidden;
    padding: 25px;
    pointer-events: none;
    transition: bottom 0.25s ease-in-out, opacity 0.25s ease-in-out;
    z-index: 100;
    height: 100%;
    padding-top: 21%;
    
  }
  .mobile-menu-active .site-header__menu {
    bottom: 5%;  /* Adjust the bottom position to show more of the menu */
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    height: 100%;
    bottom: 0;
    padding-top: 21%;
    padding-bottom: 5%;
    z-index: 99999;
  }
  .custom-menu-primary ul { 
    display: block;
    padding-right: 0;
    text-align: left;
  }

  .header-cta {
    display: none; 
  }

  .site-header__toggle {
    display: block; 
    position: absolute;
    right: 30px;
    top: 42px;
  }

  .custom-menu-primary ul li a::before { 
    display: none; 
  }

  .custom-menu-primary ul li:last-child a {
    position: static;
  }
  .mobile-menu-active {
    overflow-y: hidden;
  }

  .custom-menu-primary ul li a {
    padding: 10px 0; 
    padding: 10px 15px; /**/
    font-size: 15px;
    display: block;
  }

  .custom-menu-primary ul li:last-child a {
    background-color: #92c23e;
    border-radius: 50px;
    padding: 21px 0; 
    border: none;
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    max-height: 101px;
    width: 210px;
    line-height: 1;
    height: auto;
  }

  .custom-menu-primary ul li:last-child a:hover {
    background: #046e7c;
    color: #FFF;
  }
  .logo img
  {
    position: relative;
    z-index: 200000;
  } 
  .mobile-menu-active .site-header__toggle--menu
  {
    z-index: 200000;
  } 
}