/* 导航整体 - 透明背景 */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	padding: 0 5%;
	border-bottom: 1px solid #afc1ce;
}

.nav-container {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo */
.logo {
	font-size: 22px;
	font-weight: bold;
	color: #ce241b;
	text-decoration: none;
	height: 50px;
	width: auto;
}

/* 电脑端菜单 */
.nav-menu {
	display: flex;
	list-style: none;
	height: 100px;
	flex: 1;
	margin: 0 5%;
	padding:0;
}

.nav-menu li {
	position: relative;
	line-height: 100px;
	flex: 1;
	text-align: center;
}

.has-dropdown li {
	position: relative;
	line-height: normal;
}

/* 一级菜单样式 */
.nav-menu li {
	display: block;
	align-items: center;
	gap: 0;
	text-decoration: none;
	color: #fff;
	font-size: 0.9vw;
	position: relative;
	white-space: nowrap;
	font-weight: bold;
}

.nav-menu ul.dropdown a {
	font-weight: 400;
}

/* 一级菜单 hover：底部横线动画（核心） */
.nav-menu a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 4px;
	transition: width 0.3s ease;
}

.nav-menu a.active {
	background-color: rgb(0, 60, 169);
}

.nav-menu a:hover {
	background-color: rgba(172, 172, 172, 0.5);
}

.nav-menu a.active:hover {
	background-color: rgb(0, 60, 169);
}

.nav-menu a:hover::after {
	/* width: 100%; */
}


/* 二级下拉菜单 */
.dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 160px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	list-style: none;
	padding: 8px 0;
	display: none;
	width: 100%;
}

.dropdown li {
	padding: 0;
}

.dropdown a {
	display: block;
	padding: 10px 20px;
	color: #333;
	border-radius: 0;
}

/* 二级菜单 hover 背景高亮 */
.dropdown li a:hover {
	background: #f1f5f9;
	color: rgb(0, 60, 169) ;

}

.dropdown a:hover::after {
	display: none;
	/* 二级菜单不显示横线 */
}

/* 显示下拉 */
.nav-menu li:hover .dropdown {
	display: grid;
}

/* 汉堡按钮 */
.hamburger {
	display: none;
	font-size: 26px;
	background: none;
	border: none;
	color: #333;
	cursor: pointer;
}

.hamburger i {
	font-size: 28px;
	color: #fff;
}

/* ———— 手机端 ———— */
@media (max-width: 768px) {
	.hamburger {
		display: block;
	}

	.nav-menu {
		position: absolute;
		top: 60px;
		left: -0;
		width: 100vw;
		background: white;
		flex-direction: column;
		padding: 15px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		display: none;
		margin: 0;
		height: inherit;
		background-color: rgba(0, 60, 169, 0.9);
	}

	.nav-menu li {
		line-height: 45px;
		text-align: center;
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-menu.active li a {
		color: #fff !important;
		display: block;
	}

	.dropdown {
		position: static;
		box-shadow: none;
		padding-left: 15px;
		display: block;
		background-color: rgba(0, 60, 169, 0.9);
		margin-top: 5px;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 内容占位 */
.content {
	margin-top: 120px;
	padding: 20px;
	text-align: center;
}

.navbar {
	height: 100px;
	display: flex;
	justify-content: space-between;
	position: sticky;
	top: 0;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
	.navbar {
		padding: 0 !important;
		position: sticky;
	}

	.navbar .search-input {
		display: none;
	}
}

.navbar .logo {
	height: 50px;
	width: auto;
}

.navbar .top_tel {
	line-height: 22px;
	/* font-family: Number; */
	font-size: 1.2vw;
	white-space: nowrap;
	font-weight: bold;
}

.navbar .top_tel .iconfont {
	font-size: 30px;
	vertical-align: middle;
	margin-right: 10px;
	color: rgb(0, 60, 169);
}

.navbar .top_tel .tel-icon {
	display: inline-block;
	vertical-align: middle;
	margin-top: -4px;
}

@media screen and (max-width: 768px) {
	.navbar {
		height: 60px;
		border-bottom: none;
	}

	.navbar .logo {
		height: 40px;
		width: auto;
		padding-left: 15px;
	}

	.navbar .top_tel {
		display: none;
	}
}

.navbar:before {
	content: ' ';
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: height 0.3s ease;
	z-index: 1;
}

.navbar .nav-container {
	z-index: 2;
}

.header2 {
	color: #333 !important;
}

.navbar .top_tel {
	/* font-family: Number; */
	font-size: 1.2vw;
}

.navbar .top_tel .iconfont {
	font-size: 45px;
	vertical-align: middle;
}

.header2:before {
	height: 100%;
}
.top_tel .icon-a-dianhuadianhua-icon::before{
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
}
.top_tel .icon-a-dianhuadianhua-icon::after{
	position: absolute;
	width:25px;
	height: 25px;
	content:'';
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	z-index: -1;
}

.wap_header{
	background-color: rgb(0, 60, 169);
}
.top_tel .tip{
	font-size: 15px;
	font-weight: 500;
}
.tel-number{
	font-size: 1.4vw;
}