.header-bot {
    position: relative;
    z-index: 14;
}

.header-top {
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 1.2rem 0;
}

.header-logo {
    display: block;
    width: 19.7rem;
    aspect-ratio: 197/56;
}

.header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-search {
    width: 49.5rem;
    max-width: 100%;
    height: 4.8rem;
    position: relative;
    align-items: center;
    border-radius: 5rem;

}

.search-btn {
    position: absolute;
    top: 50%;
    right: 1.6rem;
    width: 3.2rem;
    height: 3.2rem;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    background-image: url(../images/common/search.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.search-key {
    width: 100%;
    height: 100%;
    padding: 1rem 1.6rem;
    border-radius: 4rem;
    display: flex;
    align-items: center;
    background: #EEF8FF;
    border: .1rem solid #066;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.16) inset;
    transition: all .3s ease-in-out;
}

.search-key:focus {
    background: #f7ebd5;
    border: .1rem solid #FBAF2C;
}

.search-key::placeholder {
    color: #ACACAC;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 400;
}

.header-right {
    gap: 1.6rem;
    align-items: center;
}

.language-select {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 15;
}

.language-select select {
    background-color: #FBAF2C;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease-in-out;
    padding: .8rem 2.8rem .8rem 3.8rem;
    height: 4rem;
    border-radius: 5rem;
}

.language-select select:hover {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.language-select select,
#language {
    appearance: none;
}

.language-arrow {
    position: absolute;
    top: 50%;
    right: .8rem;
    width: 1.6rem;
    height: 1.6rem;
    transform: translateY(-50%);
    pointer-events: none;
    display: block;
}

.language-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.language-select-flag {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    left: .8rem;
    top: .8rem;
}

.language-select-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-bot {
    background-color: #2A8C8D;
    color: #fff;

}

.menu-list {
    align-items: center;
    justify-content: space-evenly;
    padding: .8rem 0;
}

.menu-item {
    position: relative;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-item-link {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1.2rem;
    transition: all .35s ease-in-out;
    border-radius: 4rem;
}

.menu-item.curent-item .menu-item-link {
    background-color: #105152;
}

.menu-item-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.menu-item-link .icon-arrow {
    display: block;
    width: 1.9rem;
    height: auto;
    flex-shrink: 0;
    transform: translateY(-1.2px);
}

.menu-item-link .icon-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-in-out;
}

.submenu {
    position: absolute;
    bottom: 0rem;
    left: 0rem;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    pointer-events: none;
    transition: all .35s ease-in-out;
    transform: translateY(100%);
}

.submenu-list {
    margin-top: 1.6rem;
    background-color: #2A8C8D;
    padding: 1.2rem .8rem;
    border-radius: 1.4rem;
}

.submenu-item-link {
    display: block;
    padding: .8rem;
    transition: all .3s ease-in-out;
    font-size: 1.4rem;
}

.submenu-item-link:hover {
    background-color: #105152;
    border-radius: .6rem;
}

.hd-bar {
    width: 4rem;
    height: 4rem;
    background: #f7f7f7;
    border-radius: .2rem;
    position: relative;
    z-index: 15;
}

.menu__svg {
    transition: .4s ease;
}

.menu__svg path {
    fill: none;
    transition: stroke-dasharray .4s, stroke-dashoffset .4s;
    stroke: #105152;
    stroke-width: 6;
    stroke-linecap: round;
}

.menu__svg path:nth-child(1) {
    stroke-dasharray: 40 160;
}

.menu__svg path:nth-child(2) {
    transform: rotate(0);
}

.menu__svg path:nth-child(3) {
    stroke-dasharray: 40 85;
    transform-origin: 50%;
    transition: transform .4s, stroke-dashoffset .4s;
}

.popup-search {
    width: 4rem;
    height: 4rem;
}

.popup-search img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.open-menu .bg-overlay {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index: 12;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: .3s;
}


/* .header-mid-inner .story-search {
    w
} */


/* ==================== RESPONSIVE ==================== */

@media (min-width:1201px) {
    .header-mid {
    flex: 1;
    max-width: 50rem;
}
    .menu-item:hover .menu-item-link {
        background-color: #105152;
    }

    .menu-item-link:hover {
        background-color: #105152;
    }

    .menu-item:hover .menu-item-link .icon-arrow img {
        transform: rotate(180deg);
    }
}

@media (max-width:1200px) {
    body.open-pop-search .header-mid-inner {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    body.open-pop-search .bg-overlay {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .header-right .btn-contact {
        display: none;
    }

    .header-top {
        padding: .8rem 0;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
    }

    .header-logo {
        width: 17rem;
    }

    .header-ctn.d-flex.f-center.f-between {
        justify-content: flex-end;
        gap: 1.6rem;
    }

    .header-mid {
        position: relative;
    }

    .header-mid-inner {
        position: fixed;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 14;
    }

    .header-search {
        width: 36rem;
        height: 4.2rem;
    }

    .search-btn {
        right: .6rem;
        border-radius: 50%;
    }

    .header-left {
        margin-right: auto;
    }

    body.open-menu .header-bot {
        transform: translateX(0%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-bot {
        position: fixed;
        top: 0rem;
        right: 0.8rem;
        min-height: 70rem;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.6rem;
        padding-bottom: 12rem;
        width: 37.5rem;
        background-color: #fff;
        color: #333333;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        border-radius: .8rem;
        z-index: 14;
        transform: translateX(20%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all .45s ease;
    }

    .header-bot .container {
        padding: 0;
    }

    .header-bot .header-logo {
        width: 13rem;
    }

    .menu-item.curent-item .menu-item-link {
        color: #fff;
    }

    .menu-list.d-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item-link .icon-arrow img {
        filter: invert(1);
    }

    .header-menu {
        margin-top: 1.2rem;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item-link {
        justify-content: space-between;
        width: 100%;
    }

    .header-bot .container {
        position: static;
    }

    .contact-sidebar {
        position: absolute;
        bottom: 1.6rem;
        right: 1.6rem;
        z-index: 12;
        margin: 0;
        width: calc(100% - 3.2rem);
        display: flex;
        justify-content: center;
        padding-top: 1.6rem;
        border-top: .1rem solid rgb(190, 186, 186);
    }

    .contact-sidebar .btn-contact {
        width: 100%;
    }

    .submenu {
        position: static;
        transform: unset;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding-left: .6rem;
    }

    .submenu-list {
        margin-top: 0;
        width: 100%;
        border-radius: 0;
        background-color: transparent;
        position: relative;
        padding: 0;
    }

    .submenu-list::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0.2;
        width: .1rem;
        height: 100%;
        background-color: rgb(190, 186, 186);
    }

    .menu-list.d-flex {
        margin: 0;
        width: 100%;
    }

    .menu-item-link {
        padding-right: 1.2rem;
        padding-left: 0;
        position: relative;
    }

    .menu-item-link .icon-arrow {
        position: absolute;
        top: 50%;
        right: 1.2rem;
        transform: translateY(-50%);
        width: 3.6rem;
        padding: .8rem;
    }

    .menu-item.curent-item .menu-item-link {
        background-color: transparent;
    }

    .menu-item.curent-item .menu-item-link {
        color: #333333;
    }

    .submenu-item-link {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .header-menu {
        max-height: calc(var(--vh, 1vh) * 100 - 15.6rem);
        overflow: hidden auto;
    }

    .menu__svg {
        transition: all .4s ease;
    }

    .hd-bar.active .menu__svg {
        transform: rotate(45deg);
    }

    .hd-bar.active .menu__svg path:nth-child(1),
    .hd-bar.active .menu__svg path:nth-child(3) {
        stroke-dashoffset: -64px;
    }

    .hd-bar.active .menu__svg path:nth-child(2) {
        transform-origin: 50%;
        transform: rotate(90deg);
    }

    .menu-item.active .menu-item-link .icon-arrow img {
        transform: rotate(180deg);
    }
}

@media (max-width:576px) {
    .header-right {
        gap: .8rem;
    }

    .header-logo {
        width: 12.8rem;
    }

    .language-select-flag {
        display: none;
    }

    .language-select select {
        padding: .8rem 2.8rem .8rem 1.2rem;
        height: 3.2rem;
    }

    .popup-search {
        width: 3.2rem;
        height: 3.2rem;
    }

    .header-top {
        padding: 0.5rem 0;
    }

    .header-ctn.d-flex.f-center.f-between {
        justify-content: flex-end;
        gap: .8rem;
    }

    .header-bot {
        width: 35.5rem;
        max-width: 100%;
    }

    .header-bot {
        min-height: 60rem;
    }
}