/* Navbar */
.navbar {
    padding: 0 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5vw;
    line-height: 5vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1998;
    opacity: 0.96;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.logo {
    width: 11vw;
    flex-shrink: 0;
    margin: 0;
    text-align: left;
    line-height: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav_rightcont {
    display: flex !important;
    align-items: center !important;
    gap: 1.5vw !important;
    flex-shrink: 0 !important;
    min-width: 18vw;
}

.nav_inputbox {
    margin: 0 1vw;
}

.nav_input {
    border: none;
    color: #fff;
    background-color: #00A2E9;
    width: 110px;
    border-radius: 36px;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8vw;
}

.nav_buton {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.3vw 0.8vw !important;
    font-size: 0.95vw !important;
    border: none;
    color: #fff;
    background-color: #00A2E9;
    border-radius: 36px;
    text-align: center;
}

.nav_buton i {
    display: inline-block;
    width: 1.2vw;
    position: relative;
    top: 3px;
    color: #fff;
}

.nav_sidebar {
    flex-shrink: 0;
    width: 2vw;
    cursor: pointer;
}

.nav_sidebar > img {
    width: 1.5vw;
    margin-bottom: 0.2vw;
}

/* Sidebar */
.nav_sidebar_box {
    display: none;
    position: absolute;
    background-color: #6DA8F1;
    color: #fff;
    top: 3.4vw;
    right: 0;
    width: 17.5vw;
    height: auto;
    padding: 1.3vw 2vw;
    z-index: 999;
    overflow: auto;
}

.nav_sidebar_box::-webkit-scrollbar {
    overflow-y: hidden;
}

.nav_sidebar_box_head {
    width: 9.5vw;
    margin: 0 auto;
}

.nav_sidebar_box_table {
    padding-bottom: 0.3vw;
}

.nav_sidebar_box_table_item {
    line-height: 35px;
    padding-bottom: 0.8vw;
}

.nav_sidebar_box_table_item a {
    color: #fff;
    font-size: 1.1vw;
    font-weight: 400;
}

.nav_sidebar_box_table_item_list {
    overflow: hidden;
}

.nav_sidebar_box_table_item_list li {
    float: left;
    margin-right: 1vw;
}

.nav_sidebar_box_table_item_list li a {
    color: #fff;
    font-size: 0.7vw;
}

.tabList {
    line-height: 17px;
    font-size: 0.7vw;
    padding-bottom: 0.8vw;
}

.tabList_img {
    display: flex;
    padding-bottom: 0.35vw;
    position: relative;
}

.tabList_img a {
    width: 1.4vw;
    display: inline-block;
    margin-right: 0.5vw;
}

.tablist_text div {
    display: flex;
    justify-content: left;
    justify-items: center;
    align-items: center;
}

.tablist_i {
    width: 14px;
    display: inline-block;
    margin-right: 8px;
}

.tablist_i img {
    width: 100%;
}

/* Footer */
.foot {
    background-color: #001132;
    color: #D1D2CC;
    display: flex;
    justify-content: space-around;
    padding: 4rem 7.5rem;
    position: relative;
}

.foot_flex {
    display: flex;
    padding: 20px 0;
    position: relative;
}

.foot .foot_colortext {
    color: #00A2E9;
    font-size: 0.9vw;
}

.foot_top div {
    display: flex;
    justify-content: left;
    justify-items: center;
    align-items: unset;
    font-size: 0.7vw;
    padding: 0.2vw 0;
}

.foot_top div i {
    width: 0.67vw;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    top: -3px;
    left: -6px;
    font-size: 1.5vw;
    color: #00A2E9;
}

.foot_list {
    display: flex;
}

.foot_list ul {
    margin: 0 2vw;
}

.foot_list ul li {
    padding: 4px 0;
}

.foot_list ul li a {
    color: #D1D2CC;
    font-size: 0.7vw;
}

.foot_bom {
    font-size: 0.7vw;
}

.foot_bon_inpt input {
    width: 145px;
    height: 40px;
    line-height: 45px;
    border-radius: 26px;
    text-align: center;
    background-image: url(../images/seech.png);
    background-repeat: no-repeat;
    background-position: 6vw 13px;
    background-size: 10%;
    color: #00A2E9;
    border: 2px solid #00A2E9;
    font-weight: 600;
}

.foot_buton {
    color: #00A2E9;
    border: 1px solid #00A2E9;
    background-color: #fff;
    border-radius: 2vw;
    text-align: center;
    padding: 0.5vw 1.5vw;
    position: relative;
}

.foot_buton span {
    position: relative;
    left: -0.3vw;
}

.foot_buton i {
    display: inline-block;
    width: 0.67vw;
    position: absolute;
    top: 0.65vw;
    right: 1vw;
}

.foot_flex a i {
    font-size: 3vw;
    color: #00A2E9;
}

.totop {
    width: 3vw;
    height: 3vw;
    overflow: hidden;
    position: absolute;
    bottom: 80%;
    right: 15%;
    transform: translate(-5%, -80%);
    cursor: pointer;
}

.totop i {
    font-size: 3vw;
    color: #00A2E9;
}

.navsidebclose {
    display: none;
}

/* WeChat code overlay */
.bigwechcode {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1998;
}

.bigwechcode > div {
    position: relative;
    width: 18vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.code_close {
    position: absolute;
    top: -1vw;
    right: -2.5vw;
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.code_close > img {
    width: 65%;
    display: inline-block;
    margin-top: 5px;
}

.smallwechcode,
.navsmallwechcode {
    position: absolute;
    display: none;
    width: 7vw;
    top: -5vw;
    right: 1vw;
    z-index: 155;
}

/* Language switcher */
.i18n,
.language-switcher {
    display: flex;
    gap: 0.3vw;
    flex-shrink: 0;
}

.i18n a,
.lang-btn {
    color: #00A2E9 !important;
    font-size: 0.9vw !important;
    padding: 0.2vw 0.5vw !important;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 12px;
    transition: all 0.3s;
}

.i18n a:hover,
.lang-btn:hover {
    background: rgba(0,162,233,0.1) !important;
}

.i18n a.active,
.lang-btn.active {
    background: #00A2E9 !important;
    color: white !important;
}

/* Dropdown menu */
.nav_select {
    flex: 1;
    height: 100%;
    margin: 0 3vw;
}

.nav_selectBox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav_select_menu {
    padding: 0 1.2vw;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.nav_select_menu_h {
    cursor: pointer;
    color: #000;
    font-weight: 500;
    font-size: 1.05vw;
    padding: 0.5vw 0.5vw;
    display: inline-block;
    line-height: 1.2;
}

.nav_select_menu_h:hover {
    color: #00A2E9 !important;
    background: rgba(0, 162, 233, 0.08);
    transform: translateY(-1px);
}

.nav_select_menu > div {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    min-width: 12vw;
    max-width: 18vw;
    background-color: #ffffff;
    border-top: 3px solid #00A2E9;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    padding: 1vw 1.5vw;
    z-index: 1999;
    font-size: 0.9vw;
    transition: all 0.2s ease-out;
}

.nav_select_menu:hover > div {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0);
}

.nav_select_menu_ul > li {
    line-height: 2.2;
    padding: 0.3vw 0;
    border-bottom: 1px solid rgba(0, 162, 233, 0.1);
}

.nav_select_menu_ul > li:last-child {
    border-bottom: none;
}

.nav_select_menu_ul > li > a {
    color: #000;
    display: block;
    padding: 0.2vw 0.3vw;
    border-radius: 6px;
}

.nav_select_menu_ul > li > a:hover {
    color: #00A2E9 !important;
    background: rgba(0, 162, 233, 0.08) !important;
    padding-left: 1vw;
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1400px) {
    .nav_rightcont {
        gap: 1vw;
        min-width: 16vw;
    }

    .language-switcher {
        gap: 0.2vw;
    }
}

@media (max-width: 1200px) {
    .nav_rightcont {
        min-width: 15vw;
    }

    .language-switcher {
        display: none;
    }

    .nav_select_menu > div {
        min-width: 14vw;
        font-size: 0.9vw;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 8vw;
    }

    .nav_select {
        display: none;
    }

    .nav_rightcont {
        min-width: auto;
        gap: 1vw;
        margin-left: 2vw;
    }

    .language-switcher {
        display: flex !important;
    }

    .nav_select_menu_h {
        font-size: 1.1vw;
    }

    .nav_select_menu > div {
        position: static !important;
        transform: none !important;
        min-width: 100% !important;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 0.5vw;
    }
}

@media (max-width: 768px) {
    .nav_select_menu > div {
        display: none !important;
    }
}
