/* ===================================================== */
/* 基础样式重置和通用设置                                 */
/* ===================================================== */
/* 整个滚动条 */
::-webkit-scrollbar {
    width: 8px; /* 滚动条宽度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: transparent; /* 轨道透明 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1); /* 滑块半透明黑色 */
    border-radius: 4px; /* 滑块圆角 */
    border: 2px solid transparent; /* 边框透明 */
    background-clip: padding-box; /* 确保背景色不覆盖边框 */
}

/* 滚动条滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.2); /* 悬停时增加不透明度 */
}

/* Firefox浏览器滚动条样式 */
html {
    scrollbar-width: thin; /* 滚动条宽度设置为细 */
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent; /* 滑块颜色和轨道颜色 */
}

/* 全局body样式，确保页面可以滚动 */
body {
    overflow-x: hidden; /* 防止水平滚动条出现 */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

body {
    width: 100%;
    font-size: 16px;
}

/* 动画效果 */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 基础页面布局 */
.post-fixed {
    height: 80px;
}

#app {
    width: 100%;
}



/* ===================================================== */
/* 导航栏样式                                             */
/* ===================================================== */
.header {
    width: 100%;
    position: fixed;
    border-bottom: #dedede solid 1px;
    top: 0;
    z-index: 1000;
    background-color: #fff;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    height: 100px;
    margin: auto;
}


.nav-logo img {
    height: 60px;
}

.hamburger {
    display: none;
    margin-right: 4%;
    cursor: pointer;
    margin-right: 0px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-item:nth-child(6), 
.nav-item:nth-child(7) {
    display: none;
}

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    padding: 8px 17px;
    border-radius: 5px;
    cursor: pointer;
   display: flex;
}

.nav-link:hover {
    color: #ffffff;
    background-color: #ea5c19;
}

.nav-link.active {
    color: #ffffff;
    background-color: #ea5c19;
}

/* 右侧导航按钮 */
.nav-cbe {
    width: 19%;
    margin-left: 3%;
    display: flex;
    gap: 20px; /* 设置元素间距替代
    white-space: nowrap;
}
.nav-cbe>a {
    flex: 1; /* 让每个a标签平均分配宽度 */
    text-align: center; /* 文字居中 */
    white-space: nowrap;

}

.nav-cbe>a:nth-child(1) {
    background-color: #ea5c19;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.nav-cbe>a:hover {
    background-color: #bb4a14;
    color: #e2e2e2;
}
.nav-cbe>a:nth-child(2) {
    background-color: #2f58c3;
    color: #ffffff;
    transition: background-color 0.3s ease;
    margin-right: 0px;
}

.nav-cbe>a:nth-child(2):hover {
    background-color: #3656c4;
    color: #e2e2e2;
}



/* ===================================================== */
/* 下拉菜单样式                                           */
/* ===================================================== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2000;
    border-radius: 12px;
    top: 100%;
    left: 0;
    border: 2px solid #ea5c19;
    margin-top: 5px;
    padding: 10px 0;
}

/* 下拉菜单尖角指示器 */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 30px;
    border: 6px solid transparent;
    border-bottom-color: #ea5c19;
}

.dropdown-content::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    border: 6px solid transparent;
    border-bottom-color: white;
}

/* 下拉菜单显示规则 */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下拉菜单项样式 */
.dropdown-content a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    padding-right: 10px;
}

/* 下拉菜单项悬停效果 */
.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #ea5c19;
    padding-left: 25px;
}

/* 下拉按钮悬停效果 */
.dropdown:hover .nav-link {
    background-color: #ea5c19;
    color: white;
}

/* ===================================================== */
/* 二级下拉菜单样式                                       */
/* ===================================================== */
.dropdown-column {
    float: left;
    width: 100%;
    box-sizing: border-box;
    margin: 3% 0;
}

.dropdown-submenu {
    position: relative;
    display: block;
    width: 100%;
}

.dropdown-submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-submenu-toggle i {
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* 基础二级下拉菜单内容样式 */
.dropdown-submenu-content {
    display: none;
    background-color: white;
    border: 2px solid #ea5c19;
    border-radius: 12px;
    overflow: hidden;
    z-index: 3001;
    padding: 15px 0;
}

/* 二级下拉菜单项样式 */
.dropdown-submenu-content a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.dropdown-submenu-content a:hover {
    background-color: #f9f9f9;
    color: #ea5c19;
    padding-left: 25px;
}

/* 二级下拉菜单项箭头样式 */
.dropdown-submenu-content a i.fa-chevron-right {
    margin-left: 10px;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown-submenu-content a:hover i.fa-chevron-right {
    transform: translateX(5px);
}

/* ===================================================== */
/* 桌面端专用样式 (>=1025px)                              */
/* ===================================================== */
@media (min-width: 1025px) {
    /* 桌面端二级菜单绝对定位 */
    .dropdown-submenu-content {
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 0;
        margin-top: -2px;
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-radius: 0 12px 12px 12px;
    }
    
    /* 桌面端通过悬停显示二级菜单 */
    .dropdown-submenu:hover .dropdown-submenu-content {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }
    
    /* 桌面端箭头旋转动画 */
    .dropdown-submenu:hover .dropdown-submenu-toggle i.fa-chevron-right {
        transform: rotate(90deg);
    }
    
    /* 桌面端二级菜单尖角指示器 */
    .dropdown-submenu-content::before {
        content: '';
        position: absolute;
        top: 15px;
        left: -12px;
        border: 6px solid transparent;
        border-right-color: #ea5c19;
    }
    
    .dropdown-submenu-content::after {
        content: '';
        position: absolute;
        top: 15px;
        left: -10px;
        border: 6px solid transparent;
        border-right-color: white;
    }
}

/* ===================================================== */
/* 页脚样式                                               */
/* ===================================================== */
.tails {
    background-color: #1f1f1f;
    width: 100%;
}

.tail {
    width: 70%;
    font-size: 16px;
    color: #e7e7e7;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    padding: 50px 0;
    letter-spacing: 1.5px;
}

.tail-lief {
    letter-spacing: 3px;
}

.tail-lief ul li img {
    height: 50px;
}

.tail-lief ul li {
    line-height: 50px;
}

.tail-lief .tail-img img {
    height: 40px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 3.5rem;
}

h3 {
    margin-bottom: 10px;
    color: #ea5c19;
}

.m-butt20 {
    margin-bottom: 20px;
}

.tail-right .tail-ul ul li {
    line-height: 30px;
}

.tail-right .tail-ul ul li a {
    color: #e7e7e7;
}

.footer {
    height: 60px;
    background-color: #fafafa;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #333;
    line-height: 60px;
}

.privacy-link {
    text-decoration: none;
    color: #007bff;
}

/* ===================================================== */
/* 媒体查询 - 响应式设计                                  */
/* ===================================================== */

/* 大屏幕响应式 (max-width:1400px) */
@media only screen and (max-width:1400px) {
    .navbar {
        width: 90%;
    }
    .nav-cbe {
    	gap: 15px;
	width：23%；
    }
   .nav-cbe > .nav-link{
	 padding: 8px 4%
    }


/* 平板和小屏幕响应式 (max-width:1024px) */
@media only screen and (max-width:1024px) {
    .nav-link {
        padding: 4px 8px;
        font-size: 16px;
    }
    .navbar {
        width: 90%;
    }
    .dropdown-content{
        padding: 0;
    }
    .dropdown-column {
        margin: 0;
    }
    /* 汉堡菜单显示 */
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    /* 导航栏高度调整 */
    .nav-logo img {
        height: 55px;
    }
    
    .navbar,
    .post-fixed {
        height: 80px;
    }
    
    /* 导航菜单样式 */
    .nav-menu {
        display: block;
        position: fixed;
        left: -100%;
        top: 4.8rem;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: left;
        transition: all 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* 导航项样式 */
    .nav-item {
        width: 100%;
        border-top: 1px solid #d0cfc9;
    }
    
    .nav-link {
        display: block;
        padding: 1.3rem 0 1.3rem 6%;
        border-radius: 1px;
        position: relative;
    }
    
    /* 导航链接指示符号 */
    .nav-link::after {
        content: '+';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #000000;
        font-weight: 900;
        transition: transform 0.3s ease;
    }
    
    /* 下拉框链接特殊样式 */
    .dropdown-toggle::after {
        content: '+';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #000000;
        font-weight: 300;
        transition: transform 0.3s ease;
    }
    
    /* 下拉框展开时符号旋转 */
    .dropdown.active .dropdown-toggle::after {
        transform: translateY(-50%) rotate(45deg);
    }
    
    /* 非下拉框链接样式调整 */
    .nav-link:not(.dropdown-toggle)::after {
        content: "\f054"; /* Unicode for chevron-right */
        font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome is loaded */
        font-weight: 900; /* Required for solid icons */
        position: absolute;
        right: 35px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 15px;
        color: #000000;
    }
    
    /* 导航菜单下拉内容样式 */
    .nav-menu.active .dropdown-content {
        margin-top: 0;
        border-top: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        position: static;
        border: none;
        border-radius: 0;
        animation: none;
    }
    
    /* 下拉内容项样式 */
    .nav-menu.active .dropdown-content a {
        padding: 14px 34px 14px 6%;
        font-size: 15px;
        position: relative;
    }
    
    /* 右侧导航按钮隐藏 */
    .nav-cbe {
        display: none;
    }
    
    /* 显示额外导航项 */
    .nav-item:nth-child(6), 
    .nav-item:nth-child(7) {
        display: block;
    }
    
    .nav-item:nth-child(7) {
        margin-bottom: 200%;
        border-bottom: 1px solid #d0cfc9;
    }
    
    /* 页脚样式调整 */
    .tail {
        width: 90%;
        font-size: 14px;
        padding: 30px 0;
    }
    
    .tail-lief ul li {
        line-height: 40px;
    }
    
    .tail-lief ul li img {
        height: 40px;
    }
    
    .footer {
        height: 40px;
    }
    
    .footer p {
        font-size: 12px;
        line-height: 40px;
    }
    
    /* 移动端二级下拉菜单样式 */
    .nav-menu.active .dropdown-submenu-content {
        position: static;
        width: 100%;
        background-color: #f9f9f9;
        border: 1px solid #e0e0e0;
        border-radius: 3px;
        margin: 0;
        padding: 5px 0;
        box-shadow: none;
        z-index: 3000;
        display: none;
    }
    
    /* 汉堡菜单二级下拉菜单激活状态 */
    .nav-menu.active .dropdown-submenu.active .dropdown-submenu-content {
        display: block;
    }
    
    /* 汉堡菜单二级下拉菜单项样式 */
    .nav-menu.active .dropdown-submenu-content a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        background-color: transparent;
        z-index: 3001;
        position: relative;
    }
    
    /* 汉堡菜单二级下拉菜单切换按钮样式 */
    .nav-menu.active .dropdown-submenu-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        background-color: transparent;
        position: relative;
        z-index: 3002;
    }
    
    /* 隐藏尖角指示器 */
    .dropdown-content::before,
    .dropdown-content::after,
    .dropdown-submenu-content::before,
    .dropdown-submenu-content::after {
        display: none;
    }
}

/* 手机端响应式 (max-width:768px) */
@media only screen and (max-width: 768px) {
    /* 导航栏高度调整 */
    .nav-logo img {
        height: 45px;
    }
    
    .navbar,
    .post-fixed {
        height: 70px;
    }
    
    .nav-menu {
        top: 4.2rem;
    }
    
    /* 页脚样式进一步调整 */
    .tail {
        width: 90%;
        font-size: 14px;
    }
    
    .tail-lief {
        width: 100%;
        letter-spacing: 1px;
        margin: auto;
        text-align: center;
    }
    
    .tail-right {
        display: none;
    }
    
    .tail-lief ul li img {
        height: 35px;
    }
    
    .footer p span {
        display: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .dropdown-content {
        display: none !important;
    }
    
    .dropdown.active .dropdown-content {
        display: block !important;
    }
}

/* ===================================================== */
/* Font Awesome 图标样式                                  */
/* ===================================================== */
/* 全局Font Awesome右箭头图标样式 */
.fa-chevron-right {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 悬停时箭头的动画效果 */
.dropdown-content a:hover .fa-chevron-right,
.dropdown-submenu-content a:hover .fa-chevron-right {
    transform: translateX(3px);
}

/* 二级下拉菜单切换按钮的箭头样式 */
.dropdown-submenu-toggle .fa-chevron-right {
    margin-left: 10px;
    font-size: 12px;
}

.dropdown-submenu:hover .dropdown-submenu-toggle .fa-chevron-right,
.dropdown-submenu.active .dropdown-submenu-toggle .fa-chevron-right {
    transform: rotate(90deg);
}
