* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
:root {
    --primary-color: #1a56db;
    --primary-dark: #1e429f;
    --secondary-color: #6b7280;
    --light-color: #f9fafb;
    --dark-color: #111827;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --btn-color:#2f9ee2;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
header .container{
    max-width: unset;
}
    /* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: var(--btn-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border:1px solid #2f9ee2;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.content-wrapper{
   padding: 0 20px;
}
/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
}
.section-title h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}
/* 顶部导航栏 */
header#header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: all 0.3s ease;
}
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
}
.logo-wrap{
    width:35%;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--btn-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    width:100%;
}
.logo img {
    text-align: center;
    margin: 0 auto;
}
.logo a{margin:0 auto;}
.nav-menu {
    display: flex;
    list-style: none;
    width: 40%;
    justify-content: space-evenly;
}
.empty-nav{width:22%;}
ul.nav-menu{margin:0;padding:0;}
.nav-menu li {
    margin-left: 0;
}
.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}
.nav-menu a span.span{letter-spacing: 4px;}
.nav-menu a:hover {
    color: var(--btn-color);
}
.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--btn-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}
.nav-menu a:hover:after {
    width: 100%;
}
.nav-menu #searchToggle{
    cursor: pointer;
}
.nav-menu #searchToggle .fa-search{
    color:var(--btn-color);
}
.search-icon {
    margin-left: 0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

/* 全屏搜索弹出层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

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

/* 搜索框样式 */
.top-search-box {
    width: 90%;
    max-width: 700px;
    text-align: center;
}

.search-title {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
}
.search-input-container {
    position: relative;
    margin-bottom: 40px;
}

.top-search-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.top-search-input:focus {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.top-search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.top-search-button:hover {
    background-color: #2980b9;
}

/* 关闭按钮 */
.close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-search:hover {
    background-color: #f0f0f0;
    color: #e74c3c;
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #333;
}
/* 页脚 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-column h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--btn-color);
    bottom: 0;
    left: 0;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--btn-color);
    padding-left: 8px;
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 0.95rem;
}
footer {
    background-color: #222;
    color: #bbb;
    padding: 0;
}
.footer-top {
    padding: 40px 0;
    border-bottom: 1px solid #444;
}
.footer-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}
.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}
.footer-nav a:hover {
    color: var(--btn-color);
}
.footer-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--btn-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}
.footer-nav a:hover:after {
    width: 100%;
}

.footer-bottom {
    padding: 30px 0;
}
.footer-bottom-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-column-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color:var(--btn-color);
    bottom: 0;
    left: 0;
}
.footer-info p {
    margin-bottom: 12px;
    line-height: 1.6;
}
.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-link:hover {
    color: var(--btn-color);
}
.qr-code {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.qr-code-icon {
    font-size: 2.5rem;
    color: var(--btn-color);
    margin-right: 15px;
}
.qr-code-icon img{
    width:100px;
    height: 100px;
}
.qr-code-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #bbb;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--btn-color);
    color: white;
    transform: translateY(-5px);
}
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #888;
}
.footer-copyright a{
    color:#2f9ee2;
}
.has-megamenu {
    position: relative;
}

.has-megamenu > a {
    display: flex;
    align-items: center;
}

.has-megamenu > a i {
    margin-left: 0;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-megamenu:hover > a i {
    transform: rotate(180deg);
}

.megamenu {
    position: absolute;
    top: 100%;
    left: -580px;
    width: 1150px;
    background-color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-content {
    display: flex;
    height: 500px;
}

.secondary-menu {
    width: 250px;
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
    overflow-y: auto;
    padding: 20px 0;
}

.secondary-menu ul {
    list-style: none;
}

.secondary-menu li {
    padding: 12px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.secondary-menu li:hover {
    background-color: rgba(0, 124, 195, 0.05);
    color:var(--btn-color);
}

.secondary-menu li.active {
    background-color: rgba(0, 124, 195, 0.1);
    color: var(--btn-color);
    border-left-color: var(--btn-color);
}

.secondary-menu li i {
    font-size: 0.8rem;
    color: #999;
}

.secondary-menu li.active i,
.secondary-menu li:hover i {
    color: var(--btn-color);
}

.tertiary-content {
    flex: 1;
    padding: 0 0 0 15px;
    overflow-y: auto;
}
.tertiary-menu {
    display: none;
}
.tertiary-menu.active {
    display: flex;
    flex-wrap: wrap;
}

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

.tertiary-column {
    flex: 0 0 25%;
    width: 25%;
    margin-top:20px;
}

.tertiary-column h4 {
    font-size: 14px;
    color: #222;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
}

.tertiary-column ul {
    list-style: none;
}
.tertiary-column h4 a{font-size:14px;}
.tertiary-column li{margin-left:0;}
.tertiary-column ul li a{
    padding: 4px 0;
    color: #111;
    font-size: 12px;
    cursor: pointer;
    border-left: 2px solid transparent;
    margin-left:0;
    font-weight: normal;
}

.tertiary-column li:hover {
    color: var(--btn-color);
    padding-left: 1px;
    border-left-color: var(--btn-color);
}
/* 二级导航菜单样式 */
.has-dropdown {
    position: relative;
}
.has-dropdown > a {
    display: flex;
    align-items: center;
}
.has-dropdown > a i {
    margin-left: 0;
    font-size: 0.8rem;
}
.has-dropdown:hover > a i {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -80px;
    width: 220px;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 998;
    overflow: hidden;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 10px 0;
}
.dropdown-menu li {
    padding: 0;
    border-bottom:1px solid #ccc;
    margin-left:2px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 0 12px 5px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: normal;
}

.dropdown-menu a:hover {
    border-left-color: var(--btn-color);
}
.dropdown-menu a:after {
    all: unset !important;
}

#LipageWx h2 {background-color: #fff;position: absolute;bottom: -120px;right: 60px;display: none;font-size: 15px;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);}
#LipageWx:hover h2 {display: block;}
#LipageWx p {text-align: center; padding: 0 10px;color: red;font-size: 15px;width:120px;}
#LipageWx p img { width: 100px;height: 100px;}
#pageWx{
    display: block;
    position: relative;
    z-index: 1;
    width: 50px;
    height: 20px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    transition: 0s all;
    margin: 0 auto;
}

/* 移动端二级菜单样式 */
@media (max-width: 768px) {
    .navbar{border-bottom:1px solid #eee;padding:10px 0;}
    .hamburger {
        display: block;
    }
    .logo-wrap{width:70%;}
    .logo{width:50%;}
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 55px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0 0 10px;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
        height: 100vh;
        padding:0 20px;
        justify-content: flex-start;
    }
    .empty-nav{display: none;width: 0;}
    .nav-menu li {
        margin: 7px 0;
        border-bottom: 1px solid #f2f2f2;
    }
    .nav-menu li a{ color:#666;
        font-size:14px;
        font-weight: 400;
    }
    .has-dropdown > a i {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
        padding: 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 15px 25px;
        border-left: none;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu a:hover {
        padding-left: 25px;
        border-left: none;
        background-color: rgba(211, 47, 47, 0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    .search-title {
        font-size: 1.8rem;
    }
    .top-search-input {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .close-search {
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
    .search-overlay{
        height: 50vh;
        padding:20px 10px;
    }
    .footer-top-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-nav {
        flex-wrap:nowrap;
        justify-content: space-between;
        gap:0;
        width: 100%;
    }
    .footer-nav a {font-size:14px;}
    .footer-bottom {
        padding: 10px 0 5px;
    }
    .has-megamenu > a i {
        display: none;
    }

    .megamenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
    }

    .megamenu.active {
        display: block;
    }

    .megamenu-content {
        flex-direction: column;
        height: auto;
    }

    .secondary-menu {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
        max-height: 300px;
        overflow-y: auto;
    }

    .secondary-menu li {
        padding: 10px 20px;
    }

    .tertiary-content {
        padding: 20px;
        max-height: 400px;
        overflow-y: auto;
    }

    .tertiary-menu.active {
        flex-direction: column;
        gap: 20px;
    }

    .tertiary-column {
        min-width: 100%;
    }
    .has-dropdown > a i {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
        padding: 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 15px 25px;
        border-left: none;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu a:hover {
        padding-left: 25px;
        border-left: none;
        background-color: rgba(211, 47, 47, 0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    .footer-top{
        padding: 15px;
    }
    .footer-top .container{padding:0;}
    .footer-bottom-content {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .footer-column{
        flex:0 0 calc(50% - 10px);
    }
    .footer-copyright{padding: 10px 0 20px;}
    .footer-column-title {
        font-size:16px;
        margin-bottom:10px;
        padding-bottom:5px;
    }
    .footer-info p{
        font-size:14px;
    }
}
