* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	scroll-behavior: smooth;
	overflow-x: hidden;
	/* 禁止页面水平溢出 */
}

a {
	text-decoration: none;
}

ul {
	list-style: none;
}

input,
textarea {
	border: none;
	outline: none;
}

/* //超出1行省略号 */
.one_ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* //超出2行省略号 */
.two_ellipsis {
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ============= 顶部导航栏 ============= */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	backdrop-filter: blur(5px);
	transition: background 0.3s;
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px 108px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.logo-img {
	width: 295px;
	height: 60px;
}



nav {
	display: flex;
	align-items: center;
	gap: 50px;
}

.nav-item {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
}

.nav-item:hover {
	opacity: 0.8;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nav-icon {
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

.lang-select {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	margin-left: 30px;
}

/* ============= 二级下拉菜单 ============= */
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100vw;
	background: #fff;
	color: #1450a0;
	padding: 37px 108px;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
	display: flex;
	gap: 80px;
	display: flex;
	justify-content: space-between;
}

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

.dropdown-col>a {
	font-weight: 400;
	font-size: 18px;
	color: #010F37;
	line-height: 22px;
	text-align: center;
	margin-bottom: 16px;
	display: block;
}

.dropdown-col>a:hover {
	color: rgba(0, 72, 169, 1);
}


.dropdown-links {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.dropdown-links a {
	font-weight: 400;
	font-size: 14px;
	color: #878C91;
	line-height: 17px;
}

.dropdown-links a:hover {
	color: #1450a0;
}

/* 语言下拉容器 */
.lang-select {
	position: relative;
	cursor: pointer;
	user-select: none;
}

/* 下拉菜单默认隐藏 */
.lang-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 140px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 999;
}

/* 打开状态 */
.lang-dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 语言选项 */
.lang-item {
	padding: 10px 15px;
	font-size: 14px;
	color: #333;
	transition: background 0.2s;
}

.lang-item:hover {
	background: #f5f5f5;
}

/* nav-right 图标默认：显示白色，隐藏黑色 */
.nav-right .white {
	display: inline-block;
}

.nav-right .black {
	display: none;
}


/* 搜索框下拉层 */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 395px;
	background: #fff;
	z-index: 200;
	transform: translateY(-100%);
	transition: transform 0.4s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 10%;
}

.search-overlay.active {
	transform: translateY(0);
}

.search-close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 40px;
	height: 40px;
	border: 2px solid #000;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	cursor: pointer;
}

.search-title {
	font-size: 48px;
	margin-bottom: 40px;
	color: #000;
}

.search-input-wrapper {
	width: 100%;
	position: relative;
}

.search-input {
	width: 100%;
	border: none;
	border-bottom: 1px solid #ddd;
	font-size: 20px;
	padding: 15px 0;
	padding-right: 40px;
	outline: none;
}

.search-input::placeholder {
	color: #aaa;
}

.search-submit {
	position: absolute;
	right: 0;
	bottom: 15px;
	font-size: 20px;
	cursor: pointer;
}

/* 滚动后切换：显示黑色，隐藏白色 */
header.scrolled .nav-right .white,
header.detailscrolled .nav-right .white {
	display: none;
}

header.scrolled .nav-right .black,
header.detailscrolled .nav-right .black {
	display: inline-block;
}

/* 滚动后给 header 加 .scrolled 样式 */
header.scrolled,
header.detailscrolled {
	background: #FFFFFF !important;
	box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.03);
}

/* 滚动后：显示蓝色logo、黑色箭头；隐藏白色 */
header.scrolled .logo-blue,
header.detailscrolled .logo-blue {
	display: block;
}

header.scrolled .logo-white,
header.detailscrolled .logo-white {
	display: none;
}

header.scrolled .arrow-black,
header.detailscrolled .arrow-black {
	display: inline-block;
}

header.scrolled .arrow-white,
header.detailscrolled .arrow-white {
	display: none;
}

/* 滚动后导航文字变黑色 */
header.scrolled .nav-item,
header.scrolled .nav-icon,
header.scrolled .lang-select,
header.detailscrolled .nav-item,
header.detailscrolled .nav-icon,
header.detailscrolled .lang-select {
	color: #000;
}

/* =============  页脚样式 ============= */
footer {
	background: #fafafa;
	padding: 14px 14px 58px;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
	padding: 0 86px;
}

.footer-container .footer-col:nth-child(1) {
	width: 760px;
}

.footer-container .footer-col:nth-child(2) {
	width: 300px;
}

.footer-container .footer-col:nth-child(3) {
	width: 28%;
}

.footer-desc {
	font-weight: 400;
	font-size: 16px;
	color: #9B9B9C;
	line-height: 32px;
	margin: 40px 0;
}

.footer-social {
	display: flex;
	gap: 16px;
}

.social-icon {
	width: 45px;
	height: 45px;
	border-radius: 50%;
}



.footer-col h3 {
	margin-bottom: 50px;
	font-weight: 600;
	font-size: 24px;
	color: #192031;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 25px;
}

.footer-links a {
	text-decoration: none;
	transition: color 0.3s;
	font-weight: 400;
	font-size: 18px;
	color: #9B9B9C;
}

.footer-links a:hover {
	color: #0047ab;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}

.contact-icon {
	font-size: 24px;
	color: #0047ab;
	margin-top: 3px;
}

.contact-text p {
	margin-bottom: 5px;
	font-weight: 400;
	font-size: 14px;
	color: #9B9B9C;
}

.contact-text a,
.contact-text span {
	font-weight: 400;
	font-size: 16px;
	color: #1E2C5C;
	margin-right: 40px;
}


.footer-bottom {
	padding: 0 86px;
	font-weight: 400;
	font-size: 14px;
	color: #9B9B9C;
}

.footer-bottom a {
	font-weight: 400;
	font-size: 14px;
	color: #9B9B9C;
	padding: 0 10px;
}

/* ============= 底部联系栏 ============= */
.contact-banner {
	background: RGBA(7, 12, 19, 1);
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 16px;
	padding: 120px 86px;
	box-sizing: border-box;
	margin-bottom: 58px;
}

.contact-banner h2 {
	font-weight: 600;
	font-size: 64px;
	color: #FFFFFF;
}

.contact-btn {
	width: 345px;
	height: 75px;
	box-sizing: border-box;
	padding: 0 42px;

	background: #FFFFFF;
	border-radius: 93px;
	font-weight: bold;
	font-size: 21px;
	color: #010205;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: all 0.3s ease;
}

.contact-btn img {
	width: 32px;
	height: 32px;
	transition: transform 0.3s ease;
}

/* 悬停时箭头向右移动 */
.contact-btn:hover img {
	transform: translateX(10px);
}

/* 默认隐藏蓝色logo、黑色箭头 */
.logo-blue,
.arrow-black {
	display: none;
}

.flex {
	display: flex;
}

.flex_center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.flex_between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}