.full-header-top {
  font-size: 13.6px;
}
.left-header-top {
  color: #fff;
  float: left;
  width: 50%;
  line-height: 35px;
  text-align: left;
}
.right-header-top {
  color: #fff;
  float: right;
  width: 50%;
  line-height: 35px;
  text-align: right;
}
.full-header {
  background: #fff;
  z-index: 999;
}

header .inner-header {
  padding: 1em 1.5em;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.header-logo {
  float: left;
  max-width: 180px;
  overflow: hidden;
  max-height: 120px;
  transition: all 0.3s;
}
.header-logo a {
  float: left;
  width: 100%;
}
img.site-logo {
  max-width: 100%;
  max-height: 120px;
}
/* menu */
.main-menu {
  float: left;
  transition: margin-top 0.3s;
}
.main-menu
  #mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-flyout
  ul.mega-sub-menu {
  box-shadow: 0px 0px 7px 0px rgba(8, 88, 157, 0.2);
}
.right-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.btn-click {
  color: var(--cl-main);
  font-weight: 600;
  padding: 0 2px;
  border-bottom: 1px solid var(--cl-main);
  text-transform: uppercase;
  margin: 0 0.75em;
}
.btn-dt .btn {
  border: 0;
  text-transform: uppercase;
  box-shadow: 1px 2px 4px rgba(31, 32, 33, 0.33);
  cursor: pointer;
  font-size: 14px;
  height: 38px;
  line-height: 38px;
  padding: 0 18px;
  text-align: center;
  min-width: 110px;
  display: block;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  margin: 0;
}
/*css menu bên phải*/
.right-header .header-menu {
  height: 40px;
  margin: 0 0.75em;
}
.right-header .header-menu > li.menu-item {
  padding: 0.75em;
}
.right-header .header-menu li.menu-item:hover {
  color: var(--cl-main);
}
.header-menu .sub-menu {
  position: absolute;
  border-radius: 6px;
  top: 100%;
  background: white;
  width: auto;
  max-width: 960px;
  box-shadow: 0 0 7px rgba(8, 88, 157, 0.2);
  z-index: 999;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 15px;

  /* Animation style */
  opacity: 0;
  pointer-events: none;
  display: block;

  transform: perspective(400px) rotateX(-90deg);
  transform-origin: top;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.header-menu li.menu-item-has-children.menu-item {
  padding-right: 1.5em;
}
.header-menu li.menu-item-has-children > a::after {
  content: "\f107"; /* FontAwesome icon xuống (chevron-down) */
  font-family: "Font Awesome 6 Free"; /* hoặc FA4: "FontAwesome" */
  font-weight: 900; /* FA6 dùng 900 cho solid */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8em;
}
/* Hiện submenu khi hover */
.header-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: perspective(400px) rotateX(0deg);
}

/* Định dạng cha menu có con */
.header-menu li.menu-item-has-children {
  position: relative;
}

/* Cơ bản cho từng item trong submenu */
.header-menu .sub-menu li a {
  color: #333;
  padding: 6px 10px;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.header-menu .sub-menu li:hover a {
  color: var(--cl-main);
}
.language-dropdown {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0.75em;
  height: 40px;
}

.lang-toggle img {
  width: 30px;
  height: auto;
}

.lang-menu {
  position: absolute;
  border-radius: 6px;
  top: 100%;
  right: 0;
  background: white;
  z-index: 999;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  min-width: 150px;
  box-shadow: 0px 0px 7px 0px rgba(8, 88, 157, 0.2);
  /* Animation style */
  opacity: 0;
  pointer-events: none;
  display: block;

  transform: perspective(400px) rotateX(-90deg);
  transform-origin: top;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.lang-menu div {
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-menu div:hover {
  background-color: #f0f0f0;
}

.language-dropdown:hover .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: perspective(400px) rotateX(0deg);
}

/* Search */
.header-search {
  float: right;
  width: 190px;
}
#search-form {
  width: 150px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  margin: 0;
  border: 1px solid #ddd;
  float: left;
  height: 26px;
  padding: 0px 5px;
  border-radius: 5px 0 0 5px;
}
.search-submit {
  width: 28px;
  margin: 0;
  background-color: #01959f;
  height: 28px;
  float: left;
  border-radius: 0 5px 5px 0;
  border: none;
}
.search-submit i {
  color: #fff;
  font-size: 14px;
}
.full-header-top {
  display: none;
}
.inner-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media only screen and (min-width: 1100px) {
  .full-header.sticky .header-logo {
    max-width: 140px;
  }
}
@media only screen and (max-width: 1200px) {
  .main-menu {
    float: right;
    margin-top: 0;
    margin-left: 0;
  }
  .header-search {
    margin-top: 0;
  }
  .full-header-top {
    display: block;
    background: var(--sub-cl);
  }
  #mega-menu-wrap-max_mega_menu_1
    #mega-menu-max_mega_menu_1
    > li.mega-menu-item
    > a.mega-menu-link {
    padding: 0 5px 0 5px;
  }
  .left-header *,
  .right-header * {
    font-size: 12px;
  }
  /*.right-header .header-menu > li.menu-item{*/
  /*    padding: 0.5em;*/
  /*}*/
  /*.right-header .header-menu > li.menu-item a{*/
  /*    font-size: 12px;*/
  /*}*/
  /*.header-menu li.menu-item-has-children.menu-item{*/
  /*    padding-right:1em;*/
  /*}*/
  /*.main-menu #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link{*/
  /*    font-size: 12px;*/
  /*    padding: 0px 6px 0px 6px;*/
  /*}*/
}
@media only screen and (max-width: 1100px) {
  .header-logo {
    max-width: 150px;
  }
}
@media (max-width: 1024px) {
  .main-menu
    #mega-menu-wrap-max_mega_menu_1
    #mega-menu-max_mega_menu_1
    > li.mega-menu-item
    > a.mega-menu-link {
    font-weight: 600;
  }

  .header-menu .sub-menu {
    display: none;
    padding-left: 1rem;
  }

  .header-menu .sub-menu.open {
    display: block;
  }

  .header-menu li.menu-item-has-children > a {
    position: relative;
  }
  .header-menu li.menu-item-has-children > a::after {
    position: absolute;
    top: 50%;
    right: -10px; /* Khoảng cách từ bên phải */
    transform: translateY(-50%);
    font-size: 0.8em;
    /* Thay đổi kích thước icon nếu cần */
    color: #333; /* Màu sắc của icon */
    /* Màu sắc của icon */

    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
  }

  .header-menu > li.menu-item {
    transition: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    border: 0;
    bottom: auto;
    box-sizing: border-box;
    clip: auto;
    color: #666;
    display: block;
    float: none;
    font-size: 14px;
    height: auto;
    left: auto;
    line-height: 1.7;
    list-style-type: none;
    margin: 0;
    min-height: auto;
    max-height: none;
    min-width: auto;
    max-width: none;
    opacity: 1;
    outline: none;
    overflow: visible;
    padding: 0;
    position: relative;
    pointer-events: auto;
    right: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    transform: none;
    top: auto;
    vertical-align: baseline;
    visibility: inherit;
    width: auto;
    word-wrap: break-word;
    white-space: normal;
  }
  .header-menu > li.menu-item > a {
    font-weight: 600;
    line-height: 40px;
    height: 40px;
    padding: 0px 5px 0px 5px;
    vertical-align: baseline;
    width: auto;
    display: block;
    color: #000000;
    text-transform: capitalize;
    text-decoration: none;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    outline: none;
  }

  .header-menu .sub-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    transition: all 0.3s ease;
  }
  .left-header * {
    font-size: 12px !important;
  }
  .main-menu #mega-menu-wrap-max_mega_menu_1 {
    position: relative;
  }

  .main-menu .btn-login.hidden-1200 {
    display: block;
  }
  .btn-login a {
    color: var(--cl-white, #fff);
  }
}
@media screen and (max-width: 1020px) {
  .left-header {
    width: 100%;
  }
  .main-menu {
    width: 100%;
  }
}
@media screen and (max-width: 1000px) {
  .left-header {
    width: 100%;
    justify-content: space-between;
  }
  .main-menu {
    float: right;
  }
  #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-blocks-left,
  #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-blocks-right {
    display: none;
  }
  #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
    justify-content: flex-end;
  }

  #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-blocks-center {
    display: block;
  }

  #mega-menu-wrap-max_mega_menu_1
    .mega-menu-toggle
    .mega-toggle-blocks-center
    .mega-toggle-block {
    justify-content: flex-end;
  }
  .sub-menu.open {
    padding: 0 !important;
  }
  .header-menu .sub-menu li a {
    font-weight: 600;
  }
}
@media screen and (max-width: 995px) {
  .left-header * {
    font-size: 14px !important;
  }
  .header-menu li.menu-item-has-children > a::after {
    right: 10px !important;
  }
  .main-menu .btn-login.hidden-1200 {
    background-color: var(--cl-main) !important;
    color: #fff !important;
    padding: 10px 20px !important;
  }
  .btn-click {
    color: #fff;
    text-align: center;
  }
}
@media only screen and (max-width: 992px) {
  .header-menu .sub-menu li a {
    font-size: 14px;
    color: #000000;
    font-weight: 600;
  }
  .menu-item {
    padding-right: 0 !important;
  }
  .sub-menu.open {
    padding: 0 !important;
    box-shadow: 0px 0px 7px 0px rgba(8, 88, 157, 0.2);
  }
  .left-header-top,
  .right-header-top {
    width: 100%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
  }
  .left-header {
    width: 100%;
    justify-content: space-between;
    font-size: 14px !;
  }
  .main-menu .btn-login.hidden-1200 {
    background-color: var(--cl-main) !important;
  }
.right-header{
display: none !important; 
}
}
