
.sub-block-header {
  position: relative;
}
img.custom-logo {
    max-height: 90px;
}
.main-header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
}
.site-logo {
  background-color: var(--primary-color);
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
  max-height: 90px;
  position: relative;
  z-index: 12;
  height: 100vh;
}
.site-logo::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  width: 100vw;
  height: 100%;
  right: 100%;
  z-index: 5;
}
.site-logo::after {
  content: "";
  position: absolute;
  top: 0;
  right: -42px;
  width: 100%;
  height: 100%;
  background-color: #2b2a29;
  transform: skew(-20deg);
  transform-origin: top right;
  border-right: 4px solid #ff613c;
}
a.custom-logo-link {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 5%;
  justify-content: flex-start;
  width: 100%;
}

.header-right .nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav .menu,
.nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
}

/*.primary-nav .menu > li {*/
/*  position: relative;*/
/*}*/

.primary-nav .menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 18px 0;
  color: var(--primary-color);
  text-transform: capitalize;
}

.primary-nav .menu > li.menu-item-has-children > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}

.primary-nav .menu > li.menu-item-has-children:hover > a::after,
.primary-nav .menu > li.menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg);
}

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    padding: clamp(24px, 3vw, 40px);
    background: #ffffff;
    box-shadow: 0 35px 80px rgba(8, 32, 61, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s 
ease, transform 0.25s 
ease;
    z-index: 9;
    width: 100%;
}

.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.primary-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 16px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  pointer-events: none;
}

.primary-nav .sub-menu li {
  min-width: 0;
}

.primary-nav .sub-menu li a {
display: flex;
    align-items: baseline;
    gap: 16px;
    background: rgba(0, 111, 203, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 18px 20px;
    color: #1d2327;
    font-weight: 600;
    line-height: 1.4;
    min-height: 140px;
    transition: border-color 0.2s 
ease, background 0.2s 
ease, transform 0.2s 
ease, box-shadow 0.2s 
ease;
    text-decoration: none;
    flex-direction: column;
}

.primary-nav .sub-menu li a:hover,
.primary-nav .sub-menu li a:focus-visible {
  background: rgba(0, 111, 203, 0.08);
  border-color: rgba(0, 111, 203, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(13, 58, 99, 0.1);
}

.mega-menu-card__media {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 111, 203, 0.16), rgba(255, 97, 60, 0.16));
}

.mega-menu-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.mega-menu-card__image--placeholder {
  background: linear-gradient(135deg, #f4f6fb 0%, #e7ecff 100%);
}

.mega-menu-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mega-menu-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #051c2c;
}

.mega-menu-card__description {
  font-size: 0.9rem;
  color: #4f5b67;
  line-height: 1.5;
  max-width: 32ch;
}

.mega-menu-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #006fcb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-menu-card__cta::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.primary-nav .sub-menu li a:hover .mega-menu-card__cta::after,
.primary-nav .sub-menu li a:focus-visible .mega-menu-card__cta::after {
  transform: translateX(4px) rotate(-45deg);
}

.contact-btn a {
  text-decoration: none;
}
.contact-btn a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-btn a img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  filter: invert(1);
}

header.sticky {
    position: fixed;
    margin: 0 !important;
    backdrop-filter: blur(50px);
    border-radius: 46px;
    background: linear-gradient(90deg, rgb(255 255 255) 0%, rgb(0 139 255 / 41%) 100%);
    overflow: hidden;
    top: 0px;
}

.hmb-close.close-menu {
  display: flex !important;
  color: #fff;
}

.sticky {
  backdrop-filter: blur(0.5px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: hsla(0, 0%, 100%, 0.9);
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.07);
  -webkit-animation: sticky 1s;
  animation: sticky 1s;
}

@-webkit-keyframes sticky {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes sticky {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0%);
  }
}

/* sub Banners */
.banner-slider {
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    z-index: -1;
}
.banner-slide:before {
  position: absolute;
  content: "";
  background-color: #1d23277d;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/*end*/

.banner-content {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  position: absolute;
  gap: 20px;
  z-index: 1;
  color: #fff;
  width: max-content;
  max-width: 70%;
}

.main-banner-text {
  color: #fff;
  font-size: clamp(2.5rem, 2.2685rem + 1.2346vw, 3.75rem);
  font-size: clamp(1.875rem, 1.5278rem + 1.8519vw, 3.75rem);
}

.sub-banner-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  z-index: 1;
  top: 50%;
  align-items: center;
  justify-content: center;
  height: 100%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 90%;
  text-align: center;
  line-height: normal;
}
ul.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  color: #fff;
  gap: 5px;
}
ul.breadcrumb li {
  display: flex;
  align-items: center;
}

ul.menu li a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: var(--font-size-base);
  position: relative;
}

ul.menu li a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
background: linear-gradient(90deg, #006fcb, #e74c3c);
  border-radius: 0;
  transition: all 0.5s ease-in-out;
}

ul.menu li a:hover::before {
  width: 100%;
  border-radius: 50px;
}

.hamburger-menu-icon {
  height: 40px;
  width: 40px;
  cursor: pointer;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
}
.hamburger-menu-icon:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}
.hamburger-menu-icon .show,
.hamburger-menu-icon .close {
  height: 40px;
  width: 40px;
  position: absolute;
}

.hamburger-menu {
  display: none;
}
.mobile-menu {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 99;
  height: max-content;
  padding: 30px 0;
  background: linear-gradient(
    135deg,
    rgb(255 255 255) 0%,
    rgb(255 97 60 / 100%) 100%
  );
.mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu .menu > li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu .menu > li:last-child {
  border-bottom: 0;
}

.mobile-menu .menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #1d2327;
  font-weight: 600;
  flex: 1 1 auto;
}

.mobile-menu .sub-menu {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  margin-top: 10px;
  gap: 8px;
  flex-basis: 100%;
}

.mobile-menu .sub-menu.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu .sub-menu li a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #1d2327;
}

.submenu-toggle {
  border: 0;
  background: rgba(29, 35, 39, 0.08);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
}

.submenu-toggle:focus-visible {
  outline: 2px solid rgba(0, 111, 203, 0.7);
  outline-offset: 3px;
}

.submenu-toggle::before,
.submenu-toggle::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: #1d2327;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.submenu-toggle::after {
  transform: rotate(90deg);
}

.submenu-toggle.is-open::after {
  transform: rotate(0deg);
}

header.sticky.click-active {
  border-radius: 0;
}
