/*
 * EcoStrategics — header
 *
 * Homepage header (template-parts/header/header-home.php), inner-page header with the
 * top bar (header-inner.php), desktop menu and Services dropdown (nav.php,
 * inc/class-ecos-nav-walker.php), sticky header, off-canvas panel and the meanmenu
 * mobile menu (offcanvas.php), plus the admin-bar offset.
 *
 * Loaded by inc/enqueue.php on every page, after global.css.
 */

/* ==========================================================================
   Reference template styles (from the former assets/css/main.css)
   ========================================================================== */

/* Main navigation
   -------------------------------------------------------------------------- */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.header-main .main-menu ul {
  margin-bottom: 0;
}
.header-main .main-menu ul li {
  position: relative;
  list-style: none;
  display: inline-block;
  margin-inline-end: 30px;
}
@media (max-width: 1399px) {
  .header-main .main-menu ul li {
    margin-inline-end: 25px;
  }
}
.header-main .main-menu ul li:last-child {
  margin-inline-end: 0;
}
.header-main .main-menu ul li a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: var(--header);
  font-family: "Inter", sans-serif;
  padding: 20px 0;
  text-align: left;
  position: relative;
  text-transform: capitalize;
  transition: all 0.4s ease-in-out;
}
.header-main .main-menu ul li a i {
  margin-left: 5px;
  font-size: 14px;
}
.header-main .main-menu ul li a:hover {
  color: var(--theme-color-2) !important;
}
.header-main .main-menu ul li .submenu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 250px;
  background: var(--white);
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transform-origin: top center;
  color: var(--header);
  box-shadow: 0px 0px 40px 0px rgba(11, 13, 17, 0.08);
  transform: translateY(10px);
  transition: all 0.4s ease-in-out;
  padding: 20px 30px;
}
.header-main .main-menu ul li .submenu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.header-main .main-menu ul li .submenu li:not(:last-child) {
  padding-bottom: 15px;
}
.header-main .main-menu ul li .submenu li a {
  position: relative;
  z-index: 11;
  font-size: 16px;
  font-weight: 500;
  color: var(--header);
  padding: 0 0;
  padding-bottom: 0;
  padding-top: 0;
  text-transform: u;
  font-family: "Inter", sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-main .main-menu ul li .submenu li a:hover {
  color: var(--white) !important;
}
.header-main .main-menu ul li .submenu li:last-child a {
  border: none;
}
.header-main .main-menu ul li .submenu li .submenu {
  inset-inline-start: 113%;
  top: 0;
  visibility: hidden;
  opacity: 0;
}
.header-main .main-menu ul li .submenu li:hover > a {
  color: var(--theme-color-2) !important;
}
.header-main .main-menu ul li .submenu li:hover > a::after {
  color: var(--theme-color-2);
}
.header-main .main-menu ul li .submenu li:hover > .submenu {
  -webkit-transform: translateY(1);
  -moz-transform: translateY(1);
  -ms-transform: translateY(1);
  -o-transform: translateY(1);
  transform: translateY(1);
  visibility: visible;
  opacity: 1;
}
.header-main .main-menu ul li .submenu li.has-dropdown > a::after {
  position: absolute;
  top: 50%;
  inset-inline-end: 25px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--theme-color-2);
}
.header-main .main-menu ul li:hover > a {
  color: var(--theme-color-2);
}
.header-main .main-menu ul li:hover > a::after {
  color: var(--theme-color-2);
}
.header-main .main-menu ul li:hover > .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}
.header-main .header-right {
  gap: 40px;
}
@media (max-width: 1399px) {
  .header-main .header-right {
    gap: 20px;
  }
}
.header-main .sidebar__toggle {
  cursor: pointer;
  font-size: 20px;
  color: var(--header);
}

/* Header bar
   -------------------------------------------------------------------------- */
.header-1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}
.header-1 .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .header-1 .header-main {
    padding: 14px 0;
  }
}
.header-1 .header-main .sidebar__toggle {
  color: var(--header);
}
.header-1 .header-left {
  display: flex;
  align-items: center;
  gap: 50px;
}
.header-1 .header-right .link-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-color-2);
  margin-top: 0;
}
@media (max-width: 1399px) {
  .header-1 .header-right .link-btn {
    display: none;
  }
}
.header-1 .header-right .link-btn a {
  font-weight: 500;
}
.header-1 .header-right .theme-btn {
  background-color: var(--white);
  border: 1px solid var(--header);
  color: var(--header);
}
@media (max-width: 1199px) {
  .header-1 .header-right .theme-btn {
    display: none;
  }
}
.header-1 .header-right .theme-btn i {
  background-color: var(--header);
  color: var(--white);
}
.header-1 .header-right .theme-btn:hover {
  color: var(--white);
  border-color: var(--theme-color-2);
}

/* Inner-page header and top bar
   -------------------------------------------------------------------------- */
.header-section-2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}
.header-section-2 .container {
  max-width: 1555px;
}
.header-section-2 .header-1 {
  position: static;
}
.header-section-2 .header-1 .container {
  max-width: 1555px;
}
.header-section-2 .header-1 .mega-menu-wrapper {
  border-radius: 9px;
  background: var(--white);
  box-shadow: 10px 8px 34px 16px rgba(10, 3, 46, 0.04);
  padding: 0 40px;
}
.header-section-2 .header-top-wrapper {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .header-section-2 .header-top-wrapper {
    display: none;
  }
	.header-section-2 .header-1 .mega-menu-wrapper{
		padding: 0 20px
	}
}
.header-section-2 .header-top-wrapper .social-icon {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
}
.header-section-2 .header-top-wrapper .social-icon a {
  color: var(--white);
}
.header-section-2 .header-top-wrapper .social-icon a:hover {
  color: var(--theme-color);
}
.header-section-2 .header-top-wrapper.style-2 .social-icon a {
  color: var(--white);
}
.header-section-2 .header-top-wrapper.style-2 .social-icon a:hover {
  color: var(--theme-color-2);
}

/* Sticky header
   -------------------------------------------------------------------------- */
.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.9s;
  background-color: var(--white);
  -webkit-animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
  animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
  box-shadow: var(---box-shadow);
}
.sticky.header-1 .header-main .main-menu ul li a {
  color: var(--header);
}
.sticky.header-1 .header-main .main-menu ul li a:hover {
  color: var(--theme-color-2) !important;
}
.sticky.header-1 .header-main .main-menu ul li:hover > a {
  color: var(--theme-color-2);
}
.sticky.header-1 .header-main .main-menu ul li:hover > a::after {
  color: var(--theme-color-2);
}
.sticky.header-1 .header-main .sidebar__toggle {
  color: var(--header);
}

/* Off-canvas panel
   -------------------------------------------------------------------------- */
.offcanvas__info {
  background: var(--white) none repeat scroll 0 0;
  border-left: 2px solid var(--theme-color-2);
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  -webkit-transform: translateX(calc(100% + 80px));
  -moz-transform: translateX(calc(100% + 80px));
  -ms-transform: translateX(calc(100% + 80px));
  -o-transform: translateX(calc(100% + 80px));
  transform: translateX(calc(100% + 80px));
  -webkit-transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  -moz-transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  z-index: 99999;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.offcanvas__info.info-open {
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.offcanvas__logo a img {
  width: 150px;
}
.offcanvas__wrapper {
  position: relative;
  height: 100%;
  padding: 30px 30px;
}
.offcanvas__wrapper .offcanvas-title {
  font-size: 28px;
  margin-bottom: 15px;
}
.offcanvas__wrapper .offcanvas__content p {
  color: var(--header);
}
.offcanvas__wrapper .offcanvas__content .offcanvas__close {
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--theme-color-2);
  position: relative;
  z-index: 9;
  cursor: pointer;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__close i {
  color: var(--white);
}
.offcanvas__wrapper .offcanvas__content .social-icon {
  margin-top: 30px;
  gap: 10px;
  margin-bottom: 30px;
}
.offcanvas__wrapper .offcanvas__content .social-icon a {
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  font-size: 16px;
  display: block;
  background: transparent;
  color: var(--header);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.offcanvas__wrapper .offcanvas__content .social-icon a:hover {
  background-color: var(--theme-color-2);
  color: var(--white);
  border: 1px solid var(--theme-color-2);
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact {
  margin-top: 20px;
  margin-bottom: 40px;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 400;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li {
  font-size: 16px;
  color: var(--header);
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li:not(:last-child) {
  margin-bottom: 10px;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li span {
  font-weight: 400;
  color: var(--header);
  font-size: 18px;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li a {
  font-size: 16px;
  color: var(--header);
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact span {
  text-transform: initial;
}
.offcanvas__wrapper .offcanvas__content .theme-btn {
  width: 100%;
  text-align: center;
  background-color: var(--theme-color-2);
  color: var(--white);
  padding: 22px 36px 22px;
  margin-bottom: 20px;
}
.offcanvas__wrapper .offcanvas__content .theme-btn i {
  background-color: var(--white);
  color: var(--header);
  position: absolute;
  bottom: 5px;
  right: 10px;
  top: 5px;
  margin-left: 0;
}

.offcanvas__wrapper .offcanvas__content .theme-btn::before,
.offcanvas__wrapper .offcanvas__content .theme-btn::after {
  background-color: var(--header);
}
.offcanvas__overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #151515;
  z-index: 900;
  top: 0;
  opacity: 0;
  visibility: hidden;
  right: 0;
}
.offcanvas__overlay.overlay-open {
  opacity: 0.8;
  visibility: visible;
}
@media (max-width: 450px) {
  .offcanvas__info {
    width: 350px;
  }
}
@media (max-width: 575px) {
  .offcanvas__wrapper {
    padding: 20px;
  }
}

/* Mobile menu (meanmenu)
   -------------------------------------------------------------------------- */
.mean-container a.meanmenu-reveal {
  display: none;
}
.mean-container .mean-nav {
  background: none;
  margin-top: 0;
}
.mean-container .mean-bar {
  padding: 0;
  min-height: auto;
  background: none;
}
.mean-container .mean-nav > ul {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style-type: none;
  display: block !important;
}
.mean-container a.meanmenu-reveal {
  display: none !important;
}
.mean-container .mean-nav ul li a {
  width: 100%;
  padding: 10px 0;
  color: var(--header);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.mean-container .mean-nav ul li a:hover {
  color: var(--theme-color);
}
.mean-container .mean-nav ul li a:last-child {
  border-bottom: 0;
}
.mean-container .mean-nav ul li a:hover {
  color: var(--theme-color);
}
.mean-container .mean-nav ul li a.mean-expand {
  margin-top: 5px;
  padding: 0 !important;
}
.mean-container .mean-nav ul li > a > i {
  display: none;
}
.mean-container .mean-nav ul li > a.mean-expand i {
  display: inline-block;
}
.mean-container .mean-nav > ul > li:first-child > a {
  border-top: 0;
}
.mean-container .mean-nav ul li a.mean-expand.mean-clicked i {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transition: all 0.4s ease-in-out;
}

/* ==========================================================================
   EcoStrategics theme components (from the former assets/css/theme.min.css)
   ========================================================================== */

/* Main navigation
   -------------------------------------------------------------------------- */
.header-main .main-menu ul li .submenu li.current-menu-item>a,
.header-main .main-menu ul li.active>a,
.header-main .main-menu ul li.current-menu-ancestor>a,
.header-main .main-menu ul li.current-menu-item>a,
.header-main .main-menu ul li.current_page_parent>a {
  color: var(--theme-color-2);
}
.header-main .main-menu ul li.ecos-open>.submenu,
.header-main .main-menu ul li:focus-within>.submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.header-main .main-menu ul li.ecos-esc>.submenu {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(10px) !important;
}
.header-main .main-menu ul li .submenu.ecos-services-submenu {
  width: -moz-max-content;
  width: max-content;
  min-width: 250px;
  max-width: 340px;
}
.header-main .main-menu ul li .submenu.ecos-services-submenu li a {
  white-space: normal;
  line-height: 1.5;
}

/* Header bar
   -------------------------------------------------------------------------- */
.header-1 .header-main .sidebar__toggle,
.header-main .sidebar__toggle {
  cursor: pointer;
  border-width: 0;
  background-color: transparent;
  padding: 0;
  line-height: 1;
}
.header-1 .header-right .link-btn a {
  color: var(--header);
  text-transform: none;
}
.header-1 .header-right .link-btn a:hover {
  color: var(--theme-color);
}

/* Mobile menu (meanmenu)
   -------------------------------------------------------------------------- */
.mean-container .mean-nav ul li a i.fa-angle-right,
.mean-container .mean-nav ul li a i.fa-chevron-down {
  display: none;
}

/* Off-canvas scroll lock
   -------------------------------------------------------------------------- */
body.ecos-offcanvas-open {
  overflow: hidden;
}

/* Admin bar offset
   -------------------------------------------------------------------------- */
.admin-bar .sticky {
  top: 32px !important;
}
@media (max-width:782px) {
  .admin-bar .sticky {
    top: 46px !important;
  }
}
@media (max-width:600px) {
  .admin-bar .sticky {
    top: 0 !important;
  }
}

/* Services dropdown */
@media (min-width:1200px) {
  .header-main .main-menu ul li.ecos-services-dropdown {
    position: relative;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu {
    position: absolute !important;
    top: 100% !important;
    inset-inline-start: 0 !important;
    left: 0 !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 362px !important;
    padding: 8px 0 !important;
    display: block !important;
    overflow: visible !important;
    transform: translateY(0) !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group>a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 26px !important;
    min-height: 64px;
    white-space: nowrap;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group>.submenu.ecos-service-children {
    position: absolute !important;
    top: 0 !important;
    left: calc(100% - 1px) !important;
    inset-inline-start: calc(100% - 1px) !important;
    width: 312px !important;
    min-width: 312px !important;
    max-width: 312px !important;
    margin: 0 !important;
    padding: 18px 26px !important;
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateX(0) !important;
    z-index: 100000 !important;
    background: #fff !important;
    box-shadow: 0 0 40px rgba(11,13,17,.08) !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group:hover>.submenu.ecos-service-children,
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group:focus-within>.submenu.ecos-service-children,
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group.ecos-open>.submenu.ecos-service-children {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group>.submenu.ecos-service-children>li {
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group>.submenu.ecos-service-children>li:not(:last-child) {
    padding-bottom: 15px !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu>li.ecos-service-group>.submenu.ecos-service-children>li>a {
    white-space: normal !important;
    line-height: 1.5 !important;
    padding: 0 !important;
  }
}
@media (max-width:1199px) {
  .header-main .main-menu ul li.ecos-services-dropdown>.submenu.ecos-services-submenu {
    width: 100%;
    max-width: 100%;
  }
  .header-main .main-menu ul li.ecos-services-dropdown .ecos-service-children {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 8px 18px !important;
  }
  .header-main .main-menu ul li.ecos-services-dropdown .ecos-service-group:focus-within>.ecos-service-children,
  .header-main .main-menu ul li.ecos-services-dropdown .ecos-service-group.ecos-open>.ecos-service-children {
    display: block !important;
  }
}

/* ==========================================================================
   EcoStrategics refinements (from the former assets/css/home-sections.css)
   ========================================================================== */

/* Services dropdown
   -------------------------------------------------------------------------- */
/* Services mega menu: two hoverable category groups with clean child labels. */
.header-section .main-menu nav > ul > li.ecos-services-dropdown {
  position: relative;
}
.header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega {
  width: 290px;
  min-width: 290px;
  padding: 12px 0;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 42, 67, .13);
  border-radius: 2px;
  z-index: 9999;
}
.ecos-services-mega > .ecos-service-group {
  position: relative;
  display: block;
}
.ecos-services-mega > .ecos-service-group > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 22px !important;
  color: #0a3764 !important;
  font-weight: 700 !important;
  line-height: 1.35;
  white-space: nowrap;
}
.ecos-services-mega > .ecos-service-group > a i {
  color: #ff7028;
  font-size: 13px;
}
.ecos-services-mega > .ecos-service-group:hover > a,
.ecos-services-mega > .ecos-service-group:focus-within > a,
.ecos-services-mega > .ecos-service-group.is-open > a {
  color: #ff7028 !important;
  background: #fff8ef;
}
.ecos-services-mega > .ecos-service-group > .ecos-service-children {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 300px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 42, 67, .13);
  z-index: 10000;
}
.ecos-services-mega > .ecos-service-group:hover > .ecos-service-children,
.ecos-services-mega > .ecos-service-group:focus-within > .ecos-service-children,
.ecos-services-mega > .ecos-service-group.is-open > .ecos-service-children {
  display: block;
}
.ecos-services-mega .ecos-service-children li {
  display: block;
  width: 100%;
}
.ecos-services-mega .ecos-service-children li a {
  display: block !important;
  padding: 11px 20px !important;
  color: #0a3764 !important;
  font-weight: 500 !important;
  line-height: 1.35;
  white-space: normal;
}
.ecos-services-mega .ecos-service-children li a:hover,
.ecos-services-mega .ecos-service-children li a:focus {
  color: #ff7028 !important;
  background: #fff8ef;
}
@media (max-width: 1199.98px) {
  .header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega {
    width: 270px;
    min-width: 270px;
  }
  .ecos-services-mega > .ecos-service-group > .ecos-service-children {
    min-width: 270px;
  }
}
@media (max-width: 991.98px) {
  .header-section .main-menu nav > ul > li.ecos-services-dropdown > .ecos-services-mega,
  .ecos-services-mega > .ecos-service-group > .ecos-service-children {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
  }
  .ecos-services-mega > .ecos-service-group > .ecos-service-children {
    padding: 0 0 8px 12px;
  }
  .ecos-services-mega > .ecos-service-group > a {
    white-space: normal;
  }
}

/* Header layout (centred menu) */
@media (min-width: 1200px) {
  .header-section .header-main,
  .header-section-2 .header-main {
    position: relative;
    min-height: 78px;
  }
  .header-section .header-main > .header-left,
  .header-section-2 .header-main > .header-left {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
  }
  .header-section .header-main > .header-right,
  .header-section-2 .header-main > .header-right {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }
  .header-section .header-main .mean__menu-wrapper,
  .header-section-2 .header-main .mean__menu-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 330px);
    z-index: 3;
  }
  .header-section .header-main .main-menu,
  .header-section-2 .header-main .main-menu {
    text-align: center;
  }
  .header-section .header-main .main-menu nav > ul,
  .header-section-2 .header-main .main-menu nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .header-section .header-main .main-menu nav > ul > li,
  .header-section-2 .header-main .main-menu nav > ul > li {
    flex: 0 0 auto;
  }
  .header-section .header-main > .header-right > .theme-btn,
  .header-section-2 .header-main > .header-right > .theme-btn {
    margin-left: auto;
    position: relative;
    z-index: 4;
  }
}
@media (max-width: 1199px) {
  .header-section .header-main .mean__menu-wrapper,
  .header-section-2 .header-main .mean__menu-wrapper {
    position: static;
    transform: none;
    max-width: none;
    width: auto;
  }
}

/* Services dropdown: group headings without a link (menu URL "#") */
.header-main .main-menu ul li.ecos-service-group > a:not([href]),
.mobile-menu li.ecos-service-group > a:not([href]) {
  cursor: default;
}

/* ==========================================================================
   Mobile menu v2 - top drop-down panel (design: 375 x auto, radius 0 0 16 16)
   ========================================================================== */
.offcanvas__info {
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-height: 100vh;
  max-height: 100dvh;
  border-left: 0;
  background: #FFFFFF;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 16px 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(calc(-100% - 40px));
  transform: translateY(calc(-100% - 40px));
  -webkit-transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0s linear 0.45s;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0s linear 0.45s;
}
.offcanvas__info.info-open {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0s;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0s;
}
.offcanvas__info .offcanvas__wrapper {
  height: auto;
  padding: 20px 16px 32px;
}

/* Top row: logo + close */
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__top {
  margin-bottom: 44px !important;
  min-height: 24px;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__logo a {
  display: block;
  line-height: 0;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__logo a img {
  width: 173px;
  height: auto;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close {
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 0;
  background-color: transparent;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button i {
  display: none;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button::before,
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  margin: -1px 0 0 -11px;
  background: #656565;
  border-radius: 20px;
  transform: rotate(45deg);
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button::after {
  transform: rotate(135deg);
}

/* Menu */
.offcanvas__info .mobile-menu {
  margin-top: 0 !important;
}
.offcanvas__info .mean-container .mean-nav > ul > li {
  float: none;
  width: 100%;
}
.offcanvas__info .mean-container .mean-nav ul li {
  float: none;
  width: 100%;
  position: relative;
}
.offcanvas__info .mean-container .mean-nav ul li a {
  float: none;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  font-family: 'Inter', sans-serif;
  text-transform: capitalize;
  color: #003566;
  background: transparent;
}
.offcanvas__info .mean-container .mean-nav ul li a:hover {
  color: var(--theme-color-2);
}
/* Level 1: 16px / 500, separated by 1px lines */
.offcanvas__info .mean-container .mean-nav > ul > li > a:not(.mean-expand) {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding-right: 32px;
}
.offcanvas__info .mean-container .mean-nav > ul > li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 53, 102, 0.1);
}
/* Level 2: Brand & Design / Technology */
.offcanvas__info .mean-container .mean-nav ul ul li a:not(.mean-expand) {
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  padding: 0 32px 0 20px;
}
/* Level 3: service links */
.offcanvas__info .mean-container .mean-nav ul ul ul li a:not(.mean-expand) {
  font-weight: 400;
  padding: 0 0 0 40px;
}
.offcanvas__info .mean-container .mean-nav ul ul {
  margin: 0;
  padding: 0;
}
.offcanvas__info .mean-container .mean-nav ul ul > li {
  padding-top: 12px;
}
/* Chevron toggles */
.offcanvas__info .mean-container .mean-nav ul li a.mean-expand {
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 19px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 19px;
  text-align: right;
  color: #003566;
  background: transparent;
  border: 0;
}
.offcanvas__info .mean-container .mean-nav > ul > li + li > a.mean-expand {
  top: 12px;
}
.offcanvas__info .mean-container .mean-nav ul ul > li > a.mean-expand {
  top: 12px;
  height: 17px;
  line-height: 17px;
}
.offcanvas__info .mean-container .mean-nav ul li a.mean-expand i {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #003566;
}
.offcanvas__info .mean-container .mean-nav ul li a.mean-expand.mean-clicked i {
  transform: rotate(180deg);
}

/* LinkedIn box */
.offcanvas__info .offcanvas__wrapper .offcanvas__content .social-icon {
  margin: 32px 0 32px;
  gap: 10px;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .social-icon a {
  width: 42px;
  height: 42px;
  line-height: 40px;
  font-size: 20px;
  color: #003566;
  background: transparent;
  border: 1px solid rgba(0, 53, 102, 0.1);
  border-radius: 6px;
}

/* Explore Services button (orange) */
.offcanvas__info .offcanvas__wrapper .offcanvas__content .theme-btn:not(.author-info-comment .theme-btn):not(.style-2):not(.pricing-box-items.active .theme-btn) {
  display: inline-flex;
  width: auto !important;
  align-items: center;
  gap: 30px;
  height: 62px;
  padding: 6px 5px 6px 30px;
  margin: 0;
  font-size: 15px;
  line-height: 15px;
  border-radius: 6px;
  background-color: #FF792E !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 0 0 1px #FF792E;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .theme-btn:not(.author-info-comment .theme-btn):not(.style-2):not(.pricing-box-items.active .theme-btn) i {
  position: static;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin-left: 0;
  border-radius: 6px;
  background-color: #FFFFFF !important;
  color: #FF792E !important;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button:focus,
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Mobile menu v3 - panel opens BELOW the header (logo + hamburger stay in place),
   hamburger morphs into a close (X) icon, no dark overlay on the page.
   --ecos-hdr-top / --ecos-hdr-h are set by theme.js when the menu opens.
   ========================================================================== */
.offcanvas__info {
  top: var(--ecos-hdr-top, 0px);
  max-height: calc(100vh - var(--ecos-hdr-top, 0px));
  max-height: calc(100dvh - var(--ecos-hdr-top, 0px));
  opacity: 1;
  visibility: hidden;
  -webkit-transform: none;
  transform: none;
  -webkit-clip-path: inset(0 -60px 100% -60px);
  clip-path: inset(0 -60px 100% -60px);
  -webkit-transition: -webkit-clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  transition: -webkit-clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
}
.offcanvas__info.info-open {
  opacity: 1;
  visibility: visible;
  -webkit-transform: none;
  transform: none;
  -webkit-clip-path: inset(0 -60px -60px -60px);
  clip-path: inset(0 -60px -60px -60px);
  -webkit-transition: -webkit-clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  transition: -webkit-clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}
.offcanvas__info .offcanvas__wrapper {
  padding-top: calc(var(--ecos-hdr-h, 74px) + 46px);
}
/* Logo + close live in the real header now */
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__top {
  display: none !important;
}
/* Page stays as it is underneath (transparent click-catcher only) */
.offcanvas__overlay,
.offcanvas__overlay.overlay-open {
  background: transparent !important;
}
/* Keep the header (logo + hamburger) above the panel */
body.ecos-offcanvas-open #header-sticky {
  z-index: 100000 !important;
  box-shadow: none !important;
}

/* Hamburger -> X */
#header-sticky .sidebar__toggle {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}
#header-sticky .sidebar__toggle i {
  position: absolute;
  right: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  font-size: 0;
  background: #003566;
  border-radius: 20px;
  -webkit-transition: opacity 0.2s ease, width 0.3s ease;
  transition: opacity 0.2s ease, width 0.3s ease;
}
#header-sticky .sidebar__toggle i::before {
  display: none;
}
#header-sticky .sidebar__toggle::before,
#header-sticky .sidebar__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  width: 20px;
  height: 2px;
  background: #003566;
  border-radius: 20px;
  -webkit-transition: top 0.35s ease, right 0.35s ease, width 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
  transition: top 0.35s ease, right 0.35s ease, width 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
}
#header-sticky .sidebar__toggle::before {
  top: 4px;
}
#header-sticky .sidebar__toggle::after {
  top: 18px;
}
body.ecos-offcanvas-open #header-sticky .sidebar__toggle i {
  opacity: 0;
  width: 0;
}
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::before,
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::after {
  top: 11px;
  right: 1px;
  width: 22px;
  background: #656565;
}
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::before {
  transform: rotate(45deg);
}
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::after {
  transform: rotate(-45deg);
}
#header-sticky .sidebar__toggle:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   Mobile menu v4 - bouncy height animation (driven by theme.js),
   full 3-line hamburger, box-shadow 0 2px 30px #00000026.
   ========================================================================== */
.offcanvas__info,
.offcanvas__info.info-open {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  -webkit-transition: none;
  transition: none;
  box-shadow: 0px 2px 30px 0px #00000026;
}

/* Full hamburger: 3 equal rounded lines */
#header-sticky .sidebar__toggle i,
#header-sticky .sidebar__toggle::before,
#header-sticky .sidebar__toggle::after {
  right: 0;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: #003566;
}
#header-sticky .sidebar__toggle::before {
  top: 3px;
}
#header-sticky .sidebar__toggle i {
  top: 10.5px;
}
#header-sticky .sidebar__toggle::after {
  top: 18px;
}
#header-sticky .sidebar__toggle::before,
#header-sticky .sidebar__toggle::after {
  -webkit-transition: top 0.3s cubic-bezier(0.34, 1.45, 0.64, 1), right 0.3s ease, width 0.3s ease, height 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.45, 0.64, 1), background-color 0.3s ease;
  transition: top 0.3s cubic-bezier(0.34, 1.45, 0.64, 1), right 0.3s ease, width 0.3s ease, height 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.45, 0.64, 1), background-color 0.3s ease;
}
/* Close (X) */
body.ecos-offcanvas-open #header-sticky .sidebar__toggle i {
  opacity: 0;
  width: 0;
}
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::before,
body.ecos-offcanvas-open #header-sticky .sidebar__toggle::after {
  top: 11px;
  right: 1px;
  width: 22px;
  height: 2px;
  background: #656565;
}

/* Mobile menu: active item in orange (same as desktop) */
.offcanvas__info .mean-container .mean-nav > ul > li.active > a:not(.mean-expand),
.offcanvas__info .mean-container .mean-nav ul li.current-menu-item > a:not(.mean-expand) {
  color: var(--theme-color-2, #FF792E);
}

/* Hide desktop menu on mobile before JS loads (stops menu flash on page load) */
@media (max-width: 1199px) {
  .header-main .mean__menu-wrapper {
    display: none;
  }
}
