/* 全局初始化 */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Microsoft YaHei",sans-serif;
}
/* 页眉外层容器 */
.header{
    width:100%;
    height:120px;
    background:#fff;
    border-bottom:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:center;
}
/* 内容固定宽度容器（控制整体居中，不贴边） */
.header-box{
    width:1200px;
    max-width:94%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* 左侧logo+公司名区域 */
.header-left{
    display:flex;
    align-items:center;
    gap:15px;
}
/* logo样式 */
.logo{
    width:80px;
    height:80px;
    object-fit:contain;
}
/* 公司名称 */
.company-name{
    font-size:36px;
    font-weight:bold;
    font-family:"华文行楷";
    color:#333;
    white-space:nowrap; /* 强制文字不换行 */
}
/* 右侧咨询热线区域 */
.header-right{
    display:flex;
    align-items:center;
    gap:12px;
    white-space:nowrap; /* 整体不换行 */
}
/* 电话图标 */
.phone-icon{
    font-size:32px;
    color:#333;
}
/* 热线文字区域 */
.phone-wrap{
    line-height:1.2;
    text-align:center;
}
/* 热线标题 */
.phone-txt{
    font-size:20px;
    color:#666;
}
/* 手机号 */
.phone-num{
    font-size:32px;
    font-weight:bold;
    color:#0066ff;
}

/* ========== 移动端关键适配：手机端强制一行 ========== */
@media (max-width:768px){
    .header{
        height:auto;
        padding:12px 0;
    }
    .header-box{
        flex-direction:row !important; /* 强制横向一行，不换行 */
        flex-wrap:nowrap; /* 禁止换行 */
        gap:10px;
    }
    /* 缩小logo */
    .logo{
        width:40px;
        height:40px;
    }
    /* 缩小公司名 */
    .company-name{
        font-size:15px;
    }
    /* 缩小电话图标 */
    .phone-icon{
        font-size:15px;
    }
    /* 缩小热线标题 */
    .phone-txt{
        font-size:10px;
    }
    /* 缩小手机号 */
    .phone-num{
        font-size:13px;
    }
    /* 缩小左右间距 */
    .header-left{
        gap:6px;
    }
    .header-right{
        gap:5px;
    }
}




/**
*首行导航栏
*/	
.run {
			background-color:#2b3f78;
			width:100%;
		}
        nav {
            background-color: #2b3f78;
			width:100%;
			margin: 0 auto;
			position: relative; /* 必须加 */
    		z-index: 9999;      /* 必须加，让导航永远在最上层 */         
		}

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap; /*强制不换行*/
			font-size:24px;
			padding: 0;
			margin: 0;
        }

        nav ul li {
            flex: 1; /* 让所有 li 等分剩余空间，自动缩小 */
            min-width: 0; /* 允许内容被压缩 */
            text-align: center;
        }

        nav ul li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 8px;
            text-decoration: none;
            white-space: nowrap; /* 文字不换行 */
            overflow: hidden; /* 防止文字溢出 */
        }

        nav ul li a:hover {
            background-color: #ddd;
            color: black;
        }
		
		/* 新增：下拉菜单容器样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%; /* 紧贴导航栏下方 */
            left: 0;
            width: 100%; /* 宽度和导航栏li一致 */
            background-color: #2b3f78;
            z-index: 999999; /* 确保在最上层 */
        }
        .dropdown-content a {
            font-size: 1.2vw; /* 下拉菜单文字比导航栏小 */
            padding: 10px 4px; /* 内边距适配 */
			overflow: hidden;   
			text-overflow: ellipsis; /* 极端情况才显示省略号，一般不会触发 */
            white-space: nowrap;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1); /* 可选：分隔线 */
        }
        /* 鼠标悬浮显示下拉菜单 */
        .dropdown:hover .dropdown-content {
            display: block;
        }
        /* 下拉菜单hover效果 */
        .dropdown-content a:hover {
            background-color: #ddd;
            color: black;
        }

        /* 滑动效果的样式 */
       .slider {
            position: relative;
            height: 4px;
            background-color: white;
            transition: left 0.2s ease;
        }
        @media (max-width: 768px) {
          nav ul {
            font-size: 14px; /* 移动端缩小字体 */
          }
          nav ul li a {
            padding: 12px 4px; /* 进一步减小内边距 */
          }
		  /* 下拉菜单移动端文字大小 */
          .dropdown-content a {
            font-size: 1.0vw; /* 比导航栏文字小 */
            padding: 8px 3px;
          }
        }
        
        @media (max-width: 480px) {
          nav ul {
            font-size: 12px; /* 更小屏幕再缩小 */
          }
		  /* 下拉菜单超小屏文字大小 */
          .dropdown-content a {
            font-size: 0.9vw;
            padding: 6px 2px;
          }
        }
        
        
        
        
/* 底栏整体 */
        footer{
            background-color:#33383f;
            color:#ffffff;
            padding:60px 80px 30px;
        }

        /* 上半部分：三栏信息区 */
        .foot-main{
            display:flex;
            justify-content:space-between;
            flex-wrap:wrap;
            gap:20px;
            margin-bottom:40px;
        }
        .foot-left,.foot-center,.foot-right{
            width:32%;
        }
        .foot-left h3,.foot-center h3,.foot-right h3{
            font-size:24px;
            margin-bottom:25px;
        }
        .foot-left p{
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .wechat-qrcode{
            margin-top:20px;
        }
        .wechat-qrcode img{
            width:100px;
            height:100px;
        }
        .wechat-qrcode span{
            display:block;
            font-size:14px;
            margin-top:8px;
        }
        .foot-center a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .foot-center a:hover{
            color:#a0cfff;
        }
        .foot-right a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:1.5;
            margin-bottom:8px;
        }
        .foot-right a:hover{
            color:#a0cfff;
        }

        /* ========== 版权区（你要的效果在这里） ========== */
        .foot-copyright{
            text-align:center;
            border-top:1px solid rgba(255,255,255,0.15);
            padding-top:25px;
            font-size:15px;
            line-height:2.2;
        }
        /* 所有链接默认：白色，无下划线 */
        .foot-copyright a{
            color:#ffffff !important;
            text-decoration:none !important;
            margin:0 6px;
            transition:all 0.3s;
        }
        /* 鼠标悬浮：浅蓝色 */
        .foot-copyright a:hover{
            color:#a0cfff !important;
        }
        .police-icon{
            width:18px;
            height:18px;
            vertical-align:middle;
            margin:0 4px;
        }

        /* ========== 移动端适配 ========== */
        @media (max-width:768px){
            footer{padding:30px 20px 20px;}
            .foot-main{flex-direction:column;}
            .foot-left,.foot-center,.foot-right{width:100%;margin-bottom:25px;}
            .foot-left h3,.foot-center h3,.foot-right h3{font-size:20px;margin-bottom:15px;}
            .wechat-qrcode img{width:80px;height:80px;}
            .foot-copyright{font-size:14px;line-height:2;}
        }