/* V2 Design System - exact WP theme copy */
:root {
  --main-color: #c00d23;
  --nav_color_bg: #0E2D56;
  --nav_color_text: #ffffff;
  --nav_color_text2: #108ee9;
  --nav_color_current: #000000;
  --bar_color_bg: #000;
  --bar_color_text: #fff;
  --bar_color_line: #292929;
  --bar_color_current: #c00d23;
  --bar_color_text2: #fff;
  --mobile_nav_bg: #fff;
  --mobile_nav_text: #000;
}

/* ===== GLOBAL CONTAINER ===== */
.container, body .container, .footer .container, .footer-widget .container {
  width: auto;
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== NAVIGATION (header-style-2) ===== */
.header .header-style-2 {
  z-index: 999;
  background-color: #0E2D56;
  color: #fff;
  transition: all .25s ease-in-out;
}
.header .header-style-2.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 8px 25px 0 rgba(0,0,0,0.04);
}
.header .header-style-2.active .logo {
  height: 46px;
  line-height: 46px;
}
.header .header-style-2.active .logo img {
  max-height: 46px;
}
.header .header-style-2.active .header-menu > ul > li > a {
  line-height: 76px;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo {
  float: left;
  padding: 15px 0;
  text-align: left;
  font-size: 0;
  line-height: 70px;
}
.header .logo img {
  max-height: 50px;
}
.header-style-2 .logo {
  position: relative;
  z-index: 999;
  height: 60px;
  line-height: 60px;
  margin: 15px 0;
  padding: 0;
}
.header-style-2 .logo img {
  max-height: 60px;
}
.header .h1-title {
  display: none;
}
.header .header-menu {
  background-color: var(--nav_color_bg);
  color: #fff;
}
.header-style-2 .header-menu {
  background: none;
  position: relative;
}
.header .header-menu ul {
  display: flex;
  position: relative;
}
.header-style-2 .header-menu ul {
  justify-content: flex-end;
  position: static;
}
.header .header-menu ul li a {
  text-decoration: none;
  position: relative;
  display: flex;
  padding: 0 40px;
  color: var(--nav_color_text);
  font-size: 16px;
  line-height: 55px;
  gap: 5px;
}
.header-style-2 .header-menu ul li a {
  padding: 0 16px;
  color: #fff;
  line-height: 90px;
  -webkit-font-smoothing: auto;
}
.header-style-2 .header-menu ul li {
  margin: 0 8px;
}
.header-style-2 .header-menu ul li:last-child {
  margin-right: 0;
}
.header-style-2 .header-menu ul li:last-child a {
  padding-right: 0;
}
.header-style-2 .header-menu ul li.menu-item-has-children:last-child a {
  padding-right: 16px;
}
.header .header-menu ul li.menu-item-has-children {
  position: relative;
}
.header .header-menu ul li.menu-item-has-children .icon-drop-down {
  display: none;
  position: absolute;
  top: 50%;
  right: 30px;
  font-weight: 600;
  font-size: 12px;
  transform: translateY(-50%);
  color: var(--nav_color_text);
}
.header .header-menu ul li.menu-item-has-children > a::after {
  content: "\ea4e";
  font-size: 16px;
  transition: transform .3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--nav_color_text);
  font-family: remixicon !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.header-style-2 .header-menu ul li.menu-item-has-children > a::after {
  right: 0;
  color: #fff;
}
.header-style-2 .header-menu ul li.menu-item-has-children:hover > a::after {
  color: var(--nav_color_text2);
}
.header .header-menu ul li.menu-item-has-children:hover > a::after {
  color: var(--nav_color_text2);
  transform: translateY(-50%) rotate(180deg);
}
.header .header-menu ul li:not(.menu-item-has-children) a {
  width: 100%;
}
.header .header-menu ul li.current-menu-parent > a {
  background-color: var(--nav_color_current);
  color: var(--nav_color_text2);
}
.header-style-2 .header-menu ul li:hover a,
.header-style-2 .header-menu ul li.current-menu-item a {
  color: var(--nav_color_text2);
  background: none;
  border-bottom: 2px solid var(--nav_color_text2);
}
.header .header-menu ul .sub-menu {
  position: absolute;
  top: 100%;
  left: -30px;
  z-index: 100;
  display: block;
  visibility: hidden;
  padding: 20px 0;
  width: 230px;
  border-bottom: 3px solid var(--nav_color_bg);
  border-radius: 0;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  opacity: 0;
  transition: all .5s ease;
  pointer-events: none;
}
.header-style-2 .header-menu ul .sub-menu {
  border-color: var(--nav_color_text2);
}
.header .header-menu .menu-item-has-children:hover > ul.sub-menu {
  left: 0;
  visibility: visible;
  opacity: 1;
  transform: rotateX(0);
  pointer-events: all;
}
.header .header-menu ul .sub-menu > li {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #f9f9f9;
  list-style: none;
}
.header-style-2 .header-menu ul .sub-menu > li {
  margin: 0;
}
.header .header-menu ul .sub-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 18px;
  background: #fff;
  color: #000;
  font-size: 16px;
  line-height: 1.4;
  transition: all .5s ease;
}
.header-style-2 .header-menu ul .sub-menu > li > a {
  color: #000;
  border: none;
}
.header .header-menu ul .sub-menu > li:last-child {
  border-bottom: none;
}
.header .header-menu ul .sub-menu > li.current-menu-item > a:before {
  width: 10px;
  opacity: 1;
}
.header .header-menu ul .sub-menu > li > a:before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 0;
  height: 1px;
  background: var(--nav_color_bg);
  content: "";
  opacity: 0;
  transition: all .5s ease;
  transform: translateY(-50%);
}
.header-style-2 .header-menu ul .sub-menu > li > a:before {
  background: var(--nav_color_text2);
}
.header .header-menu ul .sub-menu > li.current-menu-item > a {
  padding-left: 30px;
  border-bottom: none;
  background: #fff;
  color: var(--nav_color_bg);
}
.header .header-menu ul .sub-menu > li.menu-item-has-children > .sub-menu {
  top: -20px;
  left: calc(100% - 15px);
  border-top: 3px solid var(--main-color);
  border-bottom: none;
}
.header .header-menu ul .sub-menu > li.menu-item-has-children:hover > .sub-menu {
  left: 100%;
}
.header .header-menu .menu-item-has-children:last-child:hover > .sub-menu {
  right: 0;
  left: auto;
}
.header .header-menu .menu-item-has-children:last-child > .sub-menu {
  right: -30px;
  left: auto;
}
.header-none-img + .breadcrumb-search {
  border-top: 1px solid #eee;
}
.h1-title {
  display: none;
}

/* ===== HAMBURGER ===== */
.hamburger {
  float: right;
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border: 5px solid transparent;
  display: none;
  z-index: 1;
}
.hamburger span {
  width: 100%;
  height: 2px;
  display: block;
  position: absolute;
  right: 0;
  transition: all .3s;
  background-color: #fff;
}
.hamburger span.h-top { top: 0; }
.hamburger span.h-bottom { bottom: 0; width: 27px; }
.hamburger span.h-middle { top: 50%; margin-top: -1px; width: 25px; }
.hamburger.h-active span { width: 25px; }
.hamburger.h-active span.h-top { transform: rotate(45deg); top: 50%; margin-top: -1px; }
.hamburger.h-active span.h-middle { transform: translateX(-30px); opacity: 0; }
.hamburger.h-active span.h-bottom { transform: rotate(-45deg); bottom: 50%; margin-bottom: -1px; }

/* ===== SLIDE BAR ===== */
.slide-bar {
  position: fixed;
  width: 70px;
  right: 10px;
  bottom: 10%;
  z-index: 9;
  background-color: var(--bar_color_bg);
  border-radius: 3px;
}
.slide-bar a:focus { color: #fff; }
.slide-bar .slide-bar__item {
  width: 70px;
  height: 70px;
  text-align: center;
  position: relative;
  cursor: pointer;
  color: var(--bar_color_text);
  display: block;
  border-top: 1px solid var(--bar_color_line);
  line-height: 1.8;
  text-decoration: none;
}
.slide-bar .slide-bar__item:last-child { border-radius: 0 0 3px 3px; }
.slide-bar .slide-bar__item:first-child { border-top: none; border-radius: 3px 3px 0 0; }
.slide-bar .slide-bar__item:hover {
  background-color: var(--bar_color_current);
  color: var(--bar_color_text2);
}
.slide-bar .slide-bar__item:hover .slide-bar__item__tips {
  visibility: visible;
  left: -180px;
  opacity: 1;
}
.slide-bar .slide-bar__item:hover .slide-bar__item__img {
  visibility: visible;
  left: -160px;
  opacity: 1;
}
.slide-bar .slide-bar__item__top {
  display: block;
  line-height: 70px;
  font-size: 36px;
}
.slide-bar .slide-bar__item__icon {
  display: block;
  font-size: 16px;
  padding-top: 8px;
}
.slide-bar img.slide-bar__item__icon {
  width: 33px;
  height: auto;
  margin: 0 auto;
}
.slide-bar .slide-bar__item__text {
  display: block;
  height: 20px;
  font-size: 12px;
}
.slide-bar .slide-bar__item__tips {
  width: 170px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 14px;
  position: absolute;
  z-index: 999;
  left: -200px;
  color: #fff;
  top: 0;
  opacity: 0;
  visibility: hidden;
  background-color: var(--main-color);
  border-radius: 3px;
  transition: left .3s ease-in-out .1s, opacity .3s ease-in-out .1s, visibility .3s;
  pointer-events: none;
}
.slide-bar .slide-bar__item__tips:after {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-left: 6px solid var(--main-color);
  right: -6px;
  top: 30px;
  content: "";
  height: 0;
  position: absolute;
  width: 0;
  z-index: 1;
}
.slide-bar .slide-bar__item__tips p {
  position: relative;
  top: 50%;
  margin: 0 auto;
  width: 85%;
  color: #fff;
  line-height: 1.2;
  transform: translateY(-50%);
}
.slide-bar .scrollup .slide-bar__item__tips {
  width: 120px;
  left: -150px;
}
.slide-bar .scrollup:hover .slide-bar__item__tips {
  left: -130px;
}
.slide-bar .slide-bar__item__img {
  width: 150px;
  text-align: center;
  font-size: 16px;
  position: absolute;
  z-index: 1;
  left: -180px;
  color: #fff;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  background: none;
  transition: left .3s ease-in-out .1s, opacity .3s ease-in-out .1s, visibility .3s;
  border: 1px solid #e7e7e7;
  pointer-events: none;
}
.slide-bar .slide-bar__item__img:after {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-left: 6px solid #e7e7e7;
  right: -6px;
  content: "";
  height: 0;
  position: absolute;
  bottom: 30px;
  width: 0;
  z-index: 1;
}
.slide-bar .slide-bar__item__img img {
  display: block;
}
.slide-bar .slide-bar__item.scrollup {
  display: none;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background-color: #0a1628;
  color: #fff;
}
.footer:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--footer-bg-color);
  content: '';
  opacity: var(--footer-bg-opacity);
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--main-color); }
.footer-widget {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-widget .widget-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 -80px;
}
.footer-widget .widget {
  padding: 0 60px;
  border-left: 1px solid rgba(255,255,255,.1);
  margin-bottom: 80px;
  width: 33.33333%;
}
.footer-widget .widget:first-child {
  border-left: none;
  padding-left: 0;
}
.footer-widget .widget .widget-title {
  margin-bottom: 24px;
}
.footer-widget .widget .widget-title h3 {
  position: relative;
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}
.footer-widget .widget .widget-title h3:after {
  display: block;
  margin-top: 8px;
  width: 44px;
  height: 3px;
  background-color: var(--main-color);
  content: '';
}
.footer-widget .textwidget p {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  line-height: 24px;
}
.footer-widget .textwidget p:last-child { margin-bottom: 0; }
.footer-widget .textwidget img {
  max-width: 250px;
  margin-bottom: 20px;
}
.footer-copy {
  text-align: center;
  padding: 30px 0;
  color: #fff;
  font-size: 14px;
}
.footer-copy p { margin: 0; font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header .hamburger { display: block; }
  .header .logo img { max-height: 100%; }
  .header .header-menu {
    position: fixed !important;
    top: 60px;
    left: 0;
    z-index: 99999;
    overflow: auto;
    width: 100%;
    height: 100vh;
    background: #fff !important;
    transition: transform .3s ease-in;
    transform: translateX(-100%);
    -webkit-overflow-scrolling: touch;
  }
  .header .header-menu.slidenav {
    background-color: #fff;
    transform: translateX(0);
  }
  .header .header-menu ul {
    display: block;
    padding-bottom: 160px;
  }
  .header .header-menu ul > li {
    margin-left: 0;
    border-bottom: 1px solid #e6ebf1;
  }
  .header .header-menu ul > li:last-child { border-bottom: none; }
  .header .header-menu ul > li.current-menu-item > a,
  .header .header-menu ul > li:hover > a,
  .header .header-menu ul li.current-menu-parent > a {
    background: none;
    color: var(--nav_color_bg) !important;
  }
  .header .header-menu ul > li.menu-item-has-children:hover > ul.sub-menu { display: none; }
  .header .header-menu ul > li > ul.sub-menu {
    position: static;
    display: none;
    visibility: visible;
    padding: 0;
    width: 100%;
    border-top: 3px solid var(--nav_color_bg);
    border-bottom: none;
    box-shadow: none;
    opacity: 1;
    transition: none;
  }
  .header .header-menu ul > li > ul.sub-menu > li {
    border-bottom: 1px solid #e6ebf1;
  }
  .header .header-menu ul > li > a {
    padding: 16px 0;
    color: #000 !important;
    line-height: 24px;
    background: none !important;
  }
  .header .header-menu ul li.menu-item-has-children .icon-drop-down {
    top: 18px;
    right: 0;
    color: #000;
    font-size: 16px;
    transform: none;
    display: block;
  }
  .header .header-menu ul > li > ul.sub-menu > li > a {
    display: inline-block;
    padding: 16px;
  }
  .header .header-menu ul > li > ul.sub-menu > li:hover > a {
    padding-left: 16px;
    border-bottom: none;
    color: #031c49;
  }
  .header .header-menu ul > li > ul.sub-menu > li:hover > a:before { display: none; }
  .header .header-menu ul li.menu-item-has-children > a::after { display: none; }
  .header-style-2 { padding: 10px 0; }
  .header-style-2 .logo { margin: 0; display: inline-block; }
  .header-style-2.active { position: relative; box-shadow: none; }
  .header-style-2.active .logo { height: 30px; line-height: 30px; }
  .header-style-2.active .logo img { max-height: 100%; }
  .header-style-2 .header-menu ul li { margin: 0 15px; }
  .header-style-2 .header-menu ul li a {
    padding: 16px 0;
    line-height: 24px;
  }
  .header-style-2 .header-menu > ul > li:hover > a {
    color: var(--nav_color_text2) !important;
    background: none;
  }
  .header-style-2 .header-menu ul .sub-menu > li.current-menu-item > a {
    color: var(--nav_color_text2) !important;
  }
  .header-style-2 .header-menu ul .sub-menu > li > a:before {
    background: var(--nav_color_text2) !important;
  }
  .header-style-2 .header-menu ul .sub-menu {
    border-color: var(--nav_color_text2) !important;
  }
  .footer-widget { display: none; }
  .footer-widget .container { flex-wrap: wrap; }
  .footer-widget .widget {
    margin-bottom: 40px;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
    border-left: none;
  }
  .footer-widget .widget:last-child { margin-bottom: 0; }
  .footer-copy { padding: 20px 0; }
  .slide-bar { display: none; }
}

/* Ensure all images scale proportionally */
img { height: auto; }
