.site-topbar {
  background: #1f66e5;
  color: #ffffff;
  font-size: 12px;
	position: fixed;
	width: 100%;
	top: 0px;
	z-index: 11;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 6px 0;
}

.site-topbar__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-topbar__links a {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 500;
  position: relative;
}
.main-menu .menu-item a.active {
    color: #1F6FEB;
}

.site-topbar__links a:not(:last-child):before {
  content: "";
  position: absolute;
  right: -15px;
  background: rgba(0, 0, 0, 0.3);
  width: 1px;
  height: 16px;
  top: 1px;
}

.site-topbar__phone a {
  background: #ffffff;
  color: #000;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
}

.site-header {
    position: fixed;
    z-index: 999;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    width: 100%;
    top: 36px;
}
.site-header + section,
.site-header + div {
    margin-top: 105px;
}

.admin-bar .site-header {
    top: 66px;
}
.admin-bar .site-topbar {
    top: 30px;
}


.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 14px 0;
}

.site-header__brand {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: 36px;
  width: auto;
}

.site-header__nav {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  position: relative;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.site-header__toggle {
  display: none;
  border: none;
  background: #1f66e5;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 5;
}

.site-header__search-toggle {
  display: none;
}

.site-header__toggle-icon {
  width: 16px;
  height: 2px;
  background: #ffffff;
  display: block;
  position: relative;
  transition: background 0.2s ease;
}

.site-header__toggle-icon::before,
.site-header__toggle-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #ffffff;
  left: 0;
  transition: transform 0.2s ease;
}

.site-header__toggle-icon::before {
  top: -5px;
}

.site-header__toggle-icon::after {
  top: 5px;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon {
  background: transparent;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.site-header__search {
  position: relative;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 6px 10px;
  gap: 6px;
}

.site-header__search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12px;
  width: 140px;
}
.site-header__search input::placeholder {
  color: rgba(54, 65, 83, 0.5);
}

.site-header__search-icon {
  font-size: 12px;
  opacity: 0.6;
}
.site-header__search-icon svg {
  scale: 0.9;
  position: relative;
  top: 2px;
}

.site-header__cta {
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  padding: 8px 14px;
}

@media (min-width: 960px) {
  .site-header__nav {
    display: block;
    position: static;
  }
  .site-header__search input {
    width: 180px;
  }
  .site-header__toggle {
    display: none;
  }
}

.main-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  position: inherit;
  padding: 10px 0;
  cursor: pointer;
}

.main-menu .menu-item a {
  color: #364153;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 103.316%;
  position: relative;
}
.main-menu .menu-item a:hover{
  color: #1F6FEB;
}

.main-menu .menu-item.has-mega > a:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: url("/wp-content/uploads/2026/04/arrow-down.svg");
  display: flex;
  right: -13px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 6px;
  transition: all 0.6s;
}


.main-menu > li:hover > a {
  color: #1f6feb;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  transform: none;
  background: #ffffff;
  border-top: 2px solid #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 32px clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.main-menu > li.has-mega .mega-menu {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-bottom: 150px;
}
.main-menu > li.has-mega .mega-menu .mega-column {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 32px;
  width: 100%;
}
.mega-menu__heading {
  color: #0f0303;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -1px;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-mega-active .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-group {
  margin-bottom: 0;
}

.main-menu .menu-item .menu-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f0303;
  position: relative;
}

.menu-heading.menu-heading--no-children {
  border: none;
  padding: 0;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin-bottom: 15px;
}

.menu-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  padding-left: 20px;
}

.menu-links a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  background: url("/wp-content/uploads/2026/04/Vector.png");
  background-position: center;
  background-repeat: no-repeat;
}

.menu-links a:hover {
  color: #111827;
}

.main-menu > li.has-mega .mega-menu .mega-column .no-children {
  gap: 5px;
}

.main-menu .menu-item .menu-heading.menu-heading--no-children {
  color: #364153;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 103.316%;
  position: relative;
  padding-left: 20px;
  text-transform: capitalize;
  margin: 0px;
}
.main-menu .menu-item .menu-heading.menu-heading--no-children:hover{
  color: #1F6FEB;
}
.main-menu .menu-item .menu-heading.menu-heading--no-children::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  background: url("/wp-content/uploads/2026/04/Vector.png");
  background-position: center;
  background-repeat: no-repeat;
}

/* Hover-effect mega menu (optional nested panels) */
.menu-item--hover .mega-menu {
  display: block;
}

.menu-item--hover .menu-group {
  position: relative;
}

.menu-item--hover .menu-group > .menu-links {
  position: absolute;
  left: 260px;
  top: 0;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

.menu-item--hover .menu-group.is-submenu-active > .menu-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header__search-toggle-icon svg {
    width: 20px;
}
@media screen and (min-width: 1241px) {
	.main-menu .menu-item a {
		font-size: 16px;
	}
	.main-menu .menu-item .menu-heading.menu-heading--no-children {
		font-size: 16px;
	}
	.main-menu .menu-item.has-mega > a:before {
		width: 12px;
		height: 12px;
		right: -16px;
		top: 7px;
	}
	.main-menu{
		gap: 30px;
	}
}

@media screen and (min-width: 1200px) {
  .mega-menu {
    padding: 36px max(40px, calc((100vw - 1300px) / 2 + 24px));
  }
}

@media (min-width: 1075px) and (max-width: 1200px) {
	.site-header__inner {
		gap: 25px;	
	}
	.main-menu {
		gap: 24px;
	}
	.site-header__search input {
        width: 150px;
    }
	.main-menu .menu-item a {
		font-size: 13px;
	}
}
@media (min-width: 961px) {
	.main-menu > li.has-mega:hover > a::before {
	  transform: rotate(180deg) translateY(6px);
	  transition: all 0.6s;
	}
}

@media (min-width: 960px) and (max-width: 1074px) {
  .site-header__inner {
    gap: 20px;
  }
  .main-menu {
    gap: 20px;
  }
  .site-header__logo img {
     width: 165px;
     min-width: 165px;
	 max-width: 165px;
  }
  .main-menu .menu-item a {
    white-space: nowrap;
	  font-size: 13px;
  }
  .site-header__search input {
        width: 130px;
   }
	
}

@media (min-width: 960px) {
  .desk-hide {
    display: none;
  }
}

@media (max-width: 959px) {
  .site-topbar {
/*     display: none; */
	  width: 100vw;
  }
  .mob_hide {
    display: none !important;
  }
	.site-header{
		top: 32px;
		        width: 100vw;
	}
	.admin-bar .site-header {
		top: 0px;
	}
	
	.main-menu .menu-item a{
		    font-size: 18px;
	}
	.main-menu .menu-item.has-mega > a:before {
		width: 13px;
		height: 13px;
		right: -20px;
		top: 7px;
	}
	
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 0px 12px;
    padding: 10px 0 12px;
    grid-template-areas:
      "brand searchtoggle toggle"
      "search search search";
  }

  .site-header__brand {
    grid-area: brand;
  }

  .site-header__search-toggle {
    grid-area: searchtoggle;
    display: inline-flex;
    justify-self: end;
    align-self: center;
    background: transparent;
    border: none;
    color: #4b5563;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .site-header__toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
    align-self: center;
  }

  .site-header__actions {
    display: contents;
  }

  .site-header__search {
    grid-area: search;
    width: 100%;
    margin-top: 8px;
    display: none;
  }

  .site-header--search-open .site-header__search {
    display: flex;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__search input {
    width: 100%;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 0 16px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    z-index: 4;
    flex-direction: column;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .site-header--open .site-header__nav {
    display: flex;
    padding-bottom: 0;
    gap: 15px;
  }

  .main-menu {
    flex-direction: column;
    gap: 7px;
    padding: 0 16px;
    flex: 1 1 auto;
  }

  .main-menu > li {
    padding: 6px 0;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 10px 0 0;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-menu > li.has-mega .mega-menu {
    display: none;
  }

  .has-mega.is-open > a::before {
    transform: rotate(180deg) translateY(6px);
  }

  .main-menu > li.has-mega.is-open .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    padding-left: 10px;
  }

  .mega-menu .menu-links {
    display: none;
  }

  .mega-menu .menu-group.is-open .menu-links {
    display: block;
  }

  .site-header__mobile-cta {
    padding: 16px;
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    position: sticky;
    bottom: 0;
  }

  .site-header__mobile-cta .btn {
    /* width: 100%; */
    width: auto;
    justify-content: center;
  }

  .main-menu > li.has-mega .mega-menu .mega-column {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px;
  }
  .mega-menu__heading {
    display: none;
  }
  .main-menu > li.has-mega .mega-menu {
    padding-bottom: 0px;
  }

  .main-menu .menu-item .menu-heading{
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
  }
  .main-menu .menu-item .menu-heading.has-menu {
    position: relative;
  }
  .main-menu .menu-item .menu-heading.has-menu:before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: url('/wp-content/uploads/2026/04/arrow-down.svg');
    display: flex;
    right: -20px;
    background-repeat: no-repeat;
    background-size: contain;
    top: 7px;
    transition: all 0.6s;
  }

  .main-menu .menu-item .is-open .menu-heading.has-menu:before{
    transform: rotate(180deg) translateY(6px);
    transition: all 0.6s;
  }


}



@media (max-width: 560px) {
  .main-menu > li.has-mega .mega-menu .mega-column {
    grid-template-columns: repeat(1, minmax(220px, 1fr));
    gap: 5px;
  }
	
	.site-topbar .megatech-container.site-topbar__inner {
		margin-inline: 10px !important;
		width: calc(100% + -20px) !important;
		gap: 0px 10px;
	}
  .site-header .megatech-container {
    margin-inline: 10px !important;
    width: calc(100% + -20px) !important;
	gap: 0px 10px;
  }
	

}

@media (max-width: 480px) {
	.site-topbar .site-topbar__links {
		gap: 10px;
	}
	.site-topbar__links a{
		    font-size: 10px;
	}
	.site-topbar__phone a {
		font-size: 14px;
	}
	.site-topbar__links a:not(:last-child):before {
		right: -5px;
		height: 14px;
	}
}

