#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 9999;
}

#header #mega-menu-wrap-primary .mega-menu-toggle {
    background: transparent;
}

#lang-toggle {
    background: transparent;
    border: none;
}

.header-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#lang-dropdown {
    margin: 0;
    padding: 0;
    list-style: none;
    /* display: none; */
    position: absolute;
    top: 100%;
    left: auto;
    height: 0;
    overflow: hidden;
    transition: all .5s;
}

.header-section .btn-primary {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px 38px;
    gap: 6.78px;
    width: 188px;
    height: 58px;
    background: #FFFFFF;
    color: #000;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #000000;
}

.l-header-links a:before,
.l-header-links a span {
  display: block;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  -o-transition: transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
}

.l-header-links a:before {
  content: attr(data-header-link);
  opacity: 0;
  position: absolute;
  display: block;
  -webkit-transform: translateY(100%) scaleY(0);
      -ms-transform: translateY(100%) scaleY(0);
          transform: translateY(100%) scaleY(0);
}

.l-header-links a span {
    -webkit-transform: translateY(0) scaleY(1);
        -ms-transform: translateY(0) scaleY(1);
            transform: translateY(0) scaleY(1);
}

.l-header-links a:hover {
    opacity: 1;
}

.l-header-links a:hover:before {
    -webkit-transform: translateY(0) scaleY(1);
        -ms-transform: translateY(0) scaleY(1);
            transform: translateY(0) scaleY(1);
    opacity: 1;
}

.l-header-links a:hover span {
    -webkit-transform: translateY(-100%) scaleY(0);
        -ms-transform: translateY(-100%) scaleY(0);
            transform: translateY(-100%) scaleY(0);
}

#lang-dropdown a {
    font-family: 'Noto Sans TC', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #FBFBFB;
}

.lang-switcher-wrapper {
    width: 68px;
    height: 58px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* display: none; */
    background: #000;
    border: 1px solid #000;
    position: relative;
}

.site-header-menu {
    visibility: hidden;
}

.header-section {
    position: absolute;
    width: 100%;
    max-width: 100%;
    z-index: 9999;
    margin-top: 71px;
    position: fixed;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.header-section.scroll .header-logo {
    display: none;
}

.header-section .switcher-lang-list {
     /* opacity: 1 !important; */
}

.header-section.scroll .switcher-lang-list {
    opacity: 0 !important;
}

.header-section.scroll {
    margin-top: 20px;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.header-actions, .switcher-lang-list {
    opacity: 0;
}

.site-header-menu,
.header-logo {
    opacity: 0;
}


.site-header-menu {
    width: 182px;
}

.header-logo img {
    -o-object-fit: contain;
       object-fit: contain;
    max-width: 199px;
    height: 58px;
}

.switcher-lang-list {
    display: flex;
    margin-top: 30px;
}

.switcher-lang-list .lang-item {
    list-style: none;
    display: inline-flex;
    align-items: flex-end;
}

.switcher-lang-list .lang-item a {
    color: #767676;
    margin-right: 15px;
}

.switcher-lang-list .lang-item.current-lang a {
    color: #fff;
}

.lang-switcher-wrapper:hover #lang-dropdown {
    display: block;
    /* position: absolute; */
    /* top: 100%; */
    /* width: 100%; */
    height: 200%;
    transition: all .5s;
}

.lang-switcher-wrapper:hover {
    position: relative;
}

#lang-dropdown .lang-item {
    width: 68px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#curren-lang {
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
}

@-webkit-keyframes fadeInHeader {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInHeader {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .header-section {
        margin-top: 30px;
    }
}

@media (max-width: 767.96px) {

    .lang-switcher-wrapper {
        display: none;
    }

    .switcher-lang-list {
        display: none;
    }

    .header-logo img {
        max-width: 147px;
        height: 43px;
    }

    .header-section .btn-primary {
        padding: 12.25px 28.5px;
        width: 155px;
        height: 43.5px;
    }

    .site-header-menu {
        display: none;
    }

    .header-section.scroll .header-logo {
        display: block;
    }

    .header-section.scroll .header-logo img {
        display: none;
    }
}

@media (min-width: 1600px) {
    .header-logo img {
        max-width: 265.57px;
        height: 77.33px;
    }

    .header-section {
        margin-top: 94px;
    }

    .header-section .container {
        max-width: 1760px;
    }

    #header {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }
}