.header-nav { position: fixed; top: 0; z-index: 999; height: 100px; background-color: rgb(0, 0, 0, 0.5); width: 100%; }
.nav-wrap { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 100px; padding: 0; }
.logo { display: flex; align-items: center; font-size: 36px; font-weight: bold; color: #1a3d9e; text-decoration: none; }
.logo-icon { width: 60px; height: 60px; margin-right: 10px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 5 L61 18 L77 10 L85 26 L100 30 L93 45 L100 60 L85 64 L77 80 L61 72 L50 85 L39 72 L23 80 L15 64 L0 60 L7 45 L0 30 L15 26 L23 10 L39 18 Z" fill="%231a3d9e"/><circle cx="50" cy="50" r="20" fill="white"/><text x="50" y="58" font-size="20" text-anchor="middle" fill="%231a3d9e">GB</text></svg>') center / contain no-repeat; }
.main-menu { display: flex; list-style: none; }
.menu-item { position: relative; margin: 0 18px; }
.menu-link { display: block; height: 80px; line-height: 80px; padding: 0 10px; color: #fff; font-size: 17px; text-decoration: none; transition: color 0.3s ease; position: relative; }
.menu-link::after { content: ''; position: absolute; left: 50%; bottom: 18px; width: 0; height: 3px; background-color: #1a3d9e; border-radius: 3px; transform: translateX(-50%); transition: all 0.3s ease; }
.menu-link:hover, .menu-item.active .menu-link { color: #1a3d9e; }
.menu-link:hover::after, .menu-item.active .menu-link::after { width: 100%; }
/* 二级菜单 —— 去掉 overflow: hidden，否则三级被裁 */
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); border-radius: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 99; /* 去掉 overflow: hidden; */ padding: 8px 0; }
/* 关键：二级 li 要 relative，给三级定位用 */
.sub-menu-item { position: relative; /* ✅ 修复 */ margin: 0 8px; border-radius: 6px; }
.sub-menu-link { display: block; padding: 12px 18px; color: #444; font-size: 15px; text-decoration: none; transition: all 0.25s ease; position: relative; }
.sub-menu-link:hover { background-color: #f5f8ff; color: #1a3d9e; padding-left: 24px; }
.sub-menu-link:hover::before { content: ''; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; background: #1a3d9e; border-radius: 50%; transform: translateY(-50%); }
/* 三级菜单 */
.third-menu { position: absolute; top: 0; left: 100%; margin-left: 6px; min-width: 180px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); border-radius: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 100; /* 层级更高，避免被挡 */ padding: 8px 0; }
/* hover 显示二级、三级 */
.menu-item:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu-item:hover > .third-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-toggle { display: none; width: 32px; height: 32px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 3px; background: #1a3d9e; margin: 6px 0; border-radius: 2px; transition: all 0.3s ease; }

@media (max-width: 1024px) {
.main-menu { position: absolute; top: 60px; left: 0; width: 100%; background: #fff; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; height: 0; overflow: hidden; }
.main-menu.show { opacity: 1; visibility: visible; transform: translateY(0); height: auto; }
.menu-item { margin: 0; border-bottom: 1px solid #f2f2f2; }
.menu-link { height: 40px; line-height: 40px; padding: 0 20px; }
.sub-menu, .third-menu { position: static; box-shadow: none; border-radius: 0; background: #f9fafb; opacity: 1; visibility: visible; transform: none; padding: 0; }
.menu-toggle { display: block; }
.menu-link { line-height: 40px; color: #201f1f; font-size: 14px; }
.sub-menu-item { display: none; }
}
/* 页脚模块专用类名，避免冲突 */
.footer-section { background: #ffffff; max-width: 1400px; margin: 0 auto; padding: 0 20px;/* border-top: 1px solid #eee; */ }
/* 顶部Logo区域 */
.footer-logo-area { display: flex; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-icon { width: 50px; height: 50px; margin-right: 10px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 5 L61 18 L77 10 L85 26 L100 30 L93 45 L100 60 L85 64 L77 80 L61 72 L50 85 L39 72 L23 80 L15 64 L0 60 L7 45 L0 30 L15 26 L23 10 L39 18 Z" fill="%231a3d9e"/><circle cx="50" cy="50" r="20" fill="white"/><text x="50" y="58" font-size="20" text-anchor="middle" fill="%231a3d9e">GB</text></svg>') center / contain no-repeat; }
.footer-logo-text { font-size: 32px; font-weight: bold; color: #1a3d9e; }
/* 中间内容区：标语+联系信息在左，地图在右 */
.footer-content-wrap { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-left-col { flex: 1; min-width: 300px; }
/* 标语 —— 关键：一行显示 */
.footer-slogan { margin-bottom: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-slogan-main { font-size: 24px; font-weight: bold; color: #333; }
.footer-slogan-sub { font-size: 16px; color: #999; }
/* 联系信息 */
.footer-info-list { }
.footer-info-item { margin-bottom: 18px; font-size: 18px; color: #333; }
.footer-info-item span { color: #666; }
.footer-info-item a { color: #1a3d9e; text-decoration: none; }
.footer-info-item a:hover { text-decoration: underline; }
/* 地图 */
.footer-map-wrap { flex: 1; min-width: 350px; height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.footer-map-wrap iframe { width: 100%; height: 100%; border: none; }
/* 底部版权信息 */
.footer-copyright-area { text-align: center; padding-top: 20px; border-top: 1px solid #eee; color: #999; font-size: 15px; line-height: 1.8; }
.footer-copyright-area a { color: #666; text-decoration: none; }
.footer-copyright-area a:hover { color: #1a3d9e; }

/* 响应式适配 */
@media (max-width: 768px) {
.footer-slogan-main { font-size: 20px; }
.footer-slogan-sub { font-size: 14px; }
.footer-info-item { font-size: 16px; }
}
/* 右侧固定栏容器 */
.fixed-sidebar { position: fixed; right: 20px; bottom: 80px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
/* 单个按钮样式 —— 高级灰色系 + 正圆形 */
.sidebar-item { width: 50px; height: 50px; background-color: #f5f5f5; border: 1px solid #e8e8e8; border-radius: 50%;     /* 正圆形 */ display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
/* 图标统一大小、颜色 */
.sidebar-item svg { width: 22px;   /* 统一宽度 */ height: 22px;  /* 统一高度 */ fill: #666; transition: fill 0.3s; }
/* 悬浮交互：灰色加深 + 轻微放大 */
.sidebar-item:hover { background-color: #e9e9e9; border-color: #dcdcdc; transform: scale(1.08) translateX(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.sidebar-item:hover svg { fill: #333; }
/* 微信二维码弹窗 */
.wechat-code { position: absolute; right: 60px; bottom: 0; width: 160px; padding: 10px; background: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); display: none; text-align: center; animation: fadeIn 0.3s; }
.wechat-code img { width: 100%; border-radius: 6px; }
.wechat-code p { margin-top: 6px; font-size: 12px; color: #666; }
/* 鼠标悬浮显示二维码 */
.sidebar-item:hover .wechat-code { display: block; }
/* 提示文字样式 */
.tooltip { position: absolute; right: 60px; white-space: nowrap; background: #555; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 12px; opacity: 0; transform: translateX(10px); transition: all 0.3s; pointer-events: none; }
.sidebar-item:hover .tooltip { opacity: 1; transform: translateX(0); }
/* 返回顶部默认隐藏 */
#backTop { opacity: 0; visibility: hidden; transition: all 0.3s; }
/* 显示返回顶部 */
#backTop.show { opacity: 1; visibility: visible; }

    /* 淡入动画 */
    @keyframes fadeIn {
 from {
opacity: 0;
transform: translateX(10px);
}
 to {
opacity: 1;
transform: translateX(0);
}
}

/* 移动端适配 */
@media (max-width: 768px) {
.fixed-sidebar { right: 12px; bottom: 60px; gap: 8px; }
.sidebar-item { width: 44px; height: 44px; }
.sidebar-item svg { width: 19px; height: 19px; }
.wechat-code { width: 130px; }
.header-nav { height: 60px;width: 100%; position: relative; top: 0; z-index: 999; }
.nav-wrap { max-width: unset; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 15px 0 15px; width: 100%; }
.logo img { height: 40px; width: auto; }
}
 
