@keyframes backInDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    80% {
        opacity: 0.7;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: var(--background-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header_top {
    background-color: var(--background-F5911F);
    height: 45px;
}
.header_top_body {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_top_body_left {
    width: 30%;
    height: 45px;
    position: relative;
    box-sizing: border-box;
    padding: 5px 0px;
}
.header_top_body_left > input {
    width: 100%;
    background-color: var(--background-white);
    outline: none;
    height: 35px;
    padding: 5px 10px 5px 45px;
    box-sizing: border-box;
    border: 0px;
    font-size: 14px;
    border-radius: 20px;
}

.header_top_body_left > img {
    position: absolute;
    top: 15px;
    left: 10px;
}

.header_top_body_left > nav {
    position: absolute;
    top: 46px;
    left: 0;
    width: 350px;
    min-height: 200px;
    max-height: 400px;
    box-sizing: border-box;
    background-color: var(--background-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    overflow: auto;
}

.header_top_body_left > nav > ul {
    list-style: none;
}

.header_top_body_left > nav > ul > li > a {
    display: flex;
    padding: 5px 10px;
    align-items: center;
    gap: 10px;
    color: var(--color-FF9E30);
    font-size: 16px;
    font-weight: 700;
}

.header_top_body_left > nav > ul > li > a:hover {
    background-color: var(--background-F5911F);
    color: var(--color-white);
    transition: 0.5s;
}

.header_top_body_left > nav > ul > li > a > div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.5;
    max-height: calc(1.5em * 2);
}
/* Overlay */
.body_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
}

.header_top_body_right {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10%;
}

.header_center {
    width: 1200px;
    margin: 0 auto;
    background-color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0px;
    box-sizing: border-box;
    margin-top: 10px;
}

.header_center_logo {
    width: 30%;
}

.header_center_list {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_center_list_item {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    position: relative;
}

.active {
    color: var(--color-FF9E30);
}

.header_center_list_item:hover {
    color: var(--color-FF9E30);
}
.header_center_list_item:hover .header__menu {
    display: block;
    animation: backInDown 0.5s forwards;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__menu {
    display: none;
    position: absolute;
    top: 0px;
    left: -430px;
    width: 800px;
    opacity: 0;
    transform: translateY(-100%);
    transition:
        opacity 0.5s ease-in-out,
        transform 0.5s ease-in-out;
    z-index: 99999;
}

.header__menu > div {
    height: 30px;
    width: 800px;
}

.header__menu > nav {
    background-color: var(--background-F5911F);
    padding: 10px;
}

.header__menu > nav > ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.header__menu-li {
    width: 100%;
    height: auto;
    border-bottom: 1px solid white;
}
.header__menu-li > a {
    display: block;
    text-decoration: none;
    color: var(--color-white);
    width: 100%;
    height: auto;
    padding: 5px 10px;
    text-transform: capitalize;
}

.header__menu-li:hover {
    background-color: var(--background-white);
    width: 100%;
}
.header__menu-li:hover > a {
    color: var(--color-FF9E30);
    width: 100%;
    transition: 0.5s;
}

.header_mobile {
    width: 100%;
    height: 50px;
    background-color: var(--background-F5911F);
    color: var(--color-white);
    padding: 0px 10px;
    box-sizing: border-box;
}

.header__mobile_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    gap: 10px;
    padding: 5px 0px;
    box-sizing: border-box;
}
.header__mobile_top_left {
    width: 40px;
}

.header__mobile_top_left > img {
    cursor: pointer;
}
.header__mobile_top_left_icon_close {
    display: none;
}

.sidebar_mobile_search {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0px 10px;
    box-sizing: border-box;
    position: relative;
}

.sidebar_mobile_search > input {
    width: 80%;
    height: 40px;
    border: 0px;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #6d6e6e;
    padding: 3px 10px;
    box-sizing: border-box;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.sidebar_mobile_search > button {
    width: 20%;
    height: 40px;
    border: 0px;
    outline: none;
    background-color: aliceblue;
}

.sidebar_mobile_search > nav {
    position: absolute;
    top: 40px;
    left: 10px;
    background-color: var(--background-white);
    width: 260px;
    max-height: 250px;
    overflow: auto;
}
.sidebar_mobile_search > nav > ul {
    list-style: none;
}

.sidebar_mobile_search > nav > ul > li > a {
    display: flex;
    gap: 10px;
    padding: 5px;
    color: var(--color-FF9E30);
    text-decoration: none;
}

.sidebar_mobile_search > nav > ul > li > a > div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.5;
    max-height: calc(1.5em * 2);
}

/* sider bar */
@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.sidebar_mobile {
    position: fixed;
    top: 50px;
    left: 0;
    height: 80vh;
    width: 280px;
    z-index: 1000;
    background-color: var(--background-F5911F);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgb(0, 0, 0, 0.1);
    color: var(--color-white);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform 0.5s ease-in-out;
    padding: 15px 0px;
    list-style: none;
    overflow: scroll;
}

.sidebar_mobile.active_mobile {
    display: flex;
    animation: slideIn 0.5s forwards;
}

.sidebar_mobile.inactive_mobile {
    animation: slideOut 0.5s forwards;
}

.sidebar_mobile > li {
    width: 100%;
    padding: 10px;
    border-bottom: 2px solid white;
    box-sizing: border-box;
}

.sidebar_mobile > li > a {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
}

.sidebar_mobile > li > div {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0px;
}

.sidebar_mobile_li-option {
    background-color: var(--background-white);
    list-style: none;
    margin-top: 5px;
}

.sidebar_mobile_li-option-li {
    width: 100%;
    padding: 3px 10px;
    box-sizing: border-box;
    border-bottom: 2px solid white;
}

.sidebar_mobile_li-option-li-div {
    margin-top: 5px;
    font-size: 14px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
}

.sidebar_mobile_li-option-li-div > img {
    width: 10px;
}

.sidebar_mobile_li-option-li > ul {
    list-style: none;
    width: 100%;
}

.sidebar_mobile_li-option-li > ul > li {
    width: 100%;
    padding: 6px 5px;
    box-sizing: border-box;
    border-bottom: 2px solid white;
}

.sidebar_mobile_li-option-li > ul > li > a {
    text-decoration: none;
    display: var(--display-block);
    width: 100%;
    text-transform: capitalize;
    color: var(--color-085e60);
    font-weight: var(--font-weight-600);
    font-size: 14px;
}

.header,
.header_mobile {
    display: none;
}

@media only screen and (max-width: 1199px) {
    .header_top_body,
    .header_center {
        width: 1000px;
    }
}

@media only screen and (min-width: 1000px) {
    .header {
        display: block;
    }
}

@media only screen and (max-width: 999px) {
    .header_mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
    }
}
