/* --------------------
   Reset 基础重置
-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #333;
    background-color: #fff;
}

/* 移除常见标签默认样式 */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

ul,
ol,
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --------------------
   Header 头部导航
-------------------- */
body::before {
    content: '';
    display: block;
    width: 100%;
    height: 108px;
}

header {
    position: fixed;
    width: 100%;
    height: 108px;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(113.89999999999999, 113.89999999999999, 113.89999999999999, 0.28);
}

.header-box {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    height: 100%;

}

.logo {
    display: flex;
    align-items: center;
    height: 67px;
    width: 150px;
}

.h-con-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    font-family: "Tahoma", Sans-serif;
    height: 100%;
}

.top-nav {
    width: 60%;
    padding: 20px;
}

.top-nav .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.top-nav ul li {
    display: flex;
    padding: 13px 20px;
    position: relative;
    overflow: visible;
}

.top-nav ul li.active {
    color: #FF5E14;
    border-bottom: 4px solid #FF5E14;
}

.top-nav ul li a {
    display: flex;
    align-items: center;
}

.top-nav ul li:hover .dropdown {
    display: block;
}

.top-nav ul .dropdown:hover {
    display: block !important;
}

.top-nav ul .dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.top-nav .sub-arrow {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    margin-right: -10px;
    transform: rotate(180deg);
}

.top-nav ul li:hover .sub-arrow {
    transform: rotate(0);
}

.top-nav ul .dropdown {
    background-color: #fff;
    display: none;
    position: absolute;
    width: 300px;
    top: 100%;
    transform: translateY(5px);
    box-sizing: border-box;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    color: #333;
    font-family: "Open Sans", Sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;

}

.top-nav ul .dropdown li:hover {
    color: #FF5E14;
}

header .contact {
    font-size: 16px;
    font-weight: 500;
    color: #e65a00;
    font-family: "Open Sans", Sans-serif;
}

header .contact a {
    display: flex;
    align-items: center;
}

header .contact span {
    display: flex;
    padding-left: 5px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}



/* footer */
footer {
    background-color: #073763;
    width: 100%;
    min-height: 450px;
    color: #fff;
}

footer .main {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 1.25rem; */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 40%;
    padding: 10px;
    gap: 20px;
}

footer .wh-icon svg {
    position: relative;
    left: -5px;
    top: 5px;
    margin-right: -5px;
}

footer .menu {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

footer .menu>div {
    padding: 10px;
}

footer .menu-list li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: #C2BBBB91;
    padding: 13px 20px;
}

footer .menu-list li a {
    height: 20px;
}

footer .menu-list li:hover {
    color: #FFFFFF
}

footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    padding-top: 60px;
}

footer .f-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.copyright {
    border-top: 1px solid #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}


@media (max-width: 768px) {

    html {
        font-size: 14px;
    }

    .logo {
        height: 80px;
        width: 148px;
    }

    .top-nav {
        display: none;
        /* 默认隐藏导航 */
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    .top-nav .nav-menu {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        font-size: 16px;
    }

    .top-nav ul li.active {
        color: #FF5E14;
        border-bottom: none;
    }

    header .contact {
        display: none;
    }

    .header-box .show {
        display: block !important;
        width: 100%;
        top: 78px;
        right: 0;
    }

    .menu-toggle {
        display: block;
    }


    .top-nav ul li {
        flex-direction: column;
    }

    .top-nav ul .dropdown {
        display: none;
        position: static;
        transform: none;
        margin: 0;
        box-shadow: none;
        width: 100%;
        top: 0
    }

    .top-nav ul li.open>.dropdown {
        display: block;
    }

    footer {
        min-height: 380px;
    }

    footer .container {
        padding-top: 30px;
    }

    footer .menu {
        display: none;
    }

    footer .info {
        width: 100%;
        font-size: 16px;
    }

    .copyright p {
        padding: 20px;
    }

}