:target {
	scroll-margin-top: 80px;
	/* 根据导航栏高度调整 */
}

/* h2[id^="h"] {
	scroll-margin-top: 180px;
} */

/* 英雄区域 */
.hero {
	height: 100vh;
	background-position: center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 100px;
	color: #fff;
	position: relative;
	z-index: 1;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(89, 87, 86, 0.3);
	z-index: -1;
}


.hero-content h1 {
	/* font-family: Calibri-Bold, Calibri; */
	font-size: 62px;
	font-weight: 700;
	letter-spacing: 0px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 1);
}

.hero-content button {
	background: #003782;
	border-radius: 3.75rem;
	font-size: 16px;
	color: #fff;
	padding: 0.75rem 3rem;
	cursor: pointer;
	transition: transform 0.3s;
	border: none;
	margin-top: 20px;
}

.hero-content button:hover {
	transform: scale(1.05);
}

/* 新增卡片样式 */
.card-section {
	/* max-width: 1200px; */
	margin: 3.75rem auto;
	margin-top: -4.375rem;
	padding: 0 8.75rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
	position: relative;
	/* 建立定位上下文 */
	z-index: 10;
	/* 提高层级，确保高于背景图 */
	/* gap: 24px; */
}

/* 基础卡片样式 */
.card {
	background: #fff;
	padding: 3rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: transform 0.3s ease;
	position: relative;
}

/* 中间卡片无阴影（适用于固定三列布局） */
.card:nth-child(2) {
	box-shadow: none;
	background-color: #f8f9fa;
}

/* 非中间卡片阴影效果 */
.card:not(:nth-child(2)) {
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

/* 卡片悬停效果 */
.card:hover {
	transform: translateY(-0.3125rem);
}

/* 小屏幕布局调整 */
@media (max-width: 768px) {
	.card-section {
		grid-template-columns: 1fr;
		margin-top: 1.875rem;
		padding: 0 1.875rem;
	}

	. {
		padding: 1rem;
		gap: 0.75rem;
		box-shadow: none !important;
		background: #fff !important;
	}
	
	.first-content img {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
		width: 50%;
	}
	
	.partner-section img {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
	}
	
	.partner-section2 img{
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
	}
}

/* 中等屏幕布局调整 */
@media (min-width: 769px) and (max-width: 1024px) {
	.card-section {
		grid-template-columns: repeat(1, 1fr);
	}

	/* 确保在双列布局中正确识别中间卡片 */
	.card:nth-child(2n) {
		box-shadow: none;
		background-color: #f8f9fa;
	}

	.card:nth-child(2n+1) {
		box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
	}
}

/* 卡片图标样式 */
.card-icon {
	min-width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	/* background: #e8eaf6; */
}

.card-icon img {
	width: 100px;
	height: 100px;
}

/* 卡片内容样式 */
.card-content {
	flex: 1;
}

.card h3 a {
	font-size: 16px;
	color: #292C57;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.card p {
	font-size: 12px;
	color: #666;
	margin: 0;
}

/* 地图与距离模块自适应 */
.map-section {
	max-width: 109.5625rem;
	text-align: center;
	padding: 0 1.5rem;
	margin: 0 auto;
}

.map-item {
	max-width: 100%;
	/* 自适应容器宽度 */
	margin-bottom: 2.5rem;
	/* 调整间距 */
}

.map-item img {
	width: 100%;
	/* 图片随容器缩放 */
	height: auto;
	/* 保持比例 */
	max-height: 25rem;
	/* 限制最大高度 */
	object-fit: cover;
	/* 图片裁剪方式 */
}

.map-section p {
	max-width: 50rem;
	/* 限制文本最大宽度 */
	margin: 0 auto;
	/* 居中显示 */
	font-size: 1rem;
	/* 调整字体大小 */
	line-height: 1.5;
	/* 优化行高 */
	color: #666;
	/* 统一文本颜色 */
}

/* 小屏幕优化 */
@media (max-width: 768px) {
	.map-item {
		max-height: 18.75rem;
		/* 小屏幕限制高度 */
	}
}

.line-img {
	margin-top: 4.0625rem;
	width: 100%;
	height: 22.5625rem;
}

.line-img img {
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.line-img {
		max-height: 9.375rem;
		/* 小屏幕限制高度 */
	}
}

/* 学校定位板块 */
/* 基础布局 */
.section {
	max-width: 75rem;
	margin: 3.75rem auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	/* 默认垂直布局 */
	gap: 2.5rem;
}

/* 内容和图片区域 */
.section-content,
.section-image {
	flex: 1;
	width: 100%;
}

/* 标题和按钮样式 */
.section-title {
	font-size: 4rem;
	color: #ffc107;
	/* margin-bottom: 1rem; */
	line-height: 1.5;
}

.title2 {
	font-size: 36px;
	/* padding-left: 6rem; */
	color: #FFC107;
}

.title3 {
	font-size: 28px;
	/* padding-left: 6rem; */
	color: rgba(0, 55, 130, 1);
}

.section-subtitle {
	font-size: 18px;
	line-height: 1.5;
	color: rgba(0, 55, 130, 1);
}

.section-btn {
	background: #0d47a1;
	color: #fff;
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 3.125rem;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.section-btn:hover {
	background: #012c66;
	transform: translateY(-0.125rem);
	box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.15);
}

/* 图片样式 */
.section-image img {
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
	transition: transform 0.5s ease;
}

.section-image img:hover {
	transform: scale(1.02);
}

.section-image2 img {
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
	transition: transform 0.5s ease;
}

.section-image2 img:hover {
	transform: scale(1.02);
}

/* 中等屏幕 (平板) */
@media (min-width: 768px) {
	.section {
		flex-direction: row;
		/* 水平布局 */
	}
}

/* 基础样式 */
.first-content {
	padding: 2.5rem 7.5rem;
}

.nstc-section {
	display: grid;
	grid-template-columns: 9fr 1fr;
	gap: 50px;
}

.left-part {
	position: relative;
	z-index: 1;
	margin-right: 0;
	margin-bottom: 1.875rem;
	width: 100%;
}


.right-part {
	position: relative;
	z-index: 1;
	line-height: 1.5;
	max-width: 100%;
	/* 移动端占满宽度 */
}

.right-part h3 {
	font-size: 22px;
	margin-bottom: 20px;
	color: rgba(0, 55, 130, 1);
}

.right-part p {
	flex: 1;
	align-items: center;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0px;
	line-height: 1.5;
	color: rgba(0, 55, 130, 1);

}

.logo-box {
	display: show;
	position: absolute;
	top: 4.5rem;
	left: -4.5rem;
}

.campus-image {
	width: 260px;
	height: 260px;
}

/* 移动端适配（≤768px） */
@media (max-width: 768px) {

	.first-content,
	.partner-section,
	.partner-section2,
	.card-carousel {
		padding: 1rem 2rem !important;
	}

	.partner-section {
		display: flex !important;
		justify-content: center;
		flex-direction: column !important;
	}

	.partner-image {
		width: 100%;
	}

	.nstc-section,
	.content-flex {
		display: flex !important;
		justify-content: center;
		flex-direction: column;
	}

	.left-part img {
		height: auto;
		max-height: 400px;
	}

	h2,
	h3,
	h4 {
		font-size: 24px !important;
	}

	.partres-college,
	.card-title {
		font-size: 10px !important;
	}

	.card-description {
		font-size: 8px !important;
	}

}


.line {
	width: 100%;
	height: 7.1875rem;
	background: #003782;
}

.partner-section {
	/* 浅蓝色背景 */
	padding: 2.5rem 7.5rem;
	display: grid;
	grid-template-columns: 9fr 1fr;
	gap: 50px;
	justify-content: space-between;
}

.partner-image {
	flex: 1;
	width: 100%;
}

.partner-image img {
	width: 260px;
	height: 260px;
}

.first-content h2 {
	margin-bottom: 0.9375rem;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: 0px;
	line-height: 1.5;
	color: rgba(254, 204, 72, 1);
}

.partner-section h2 {
	margin-bottom: 0.9375rem;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: 0px;
	line-height: 1.5;
	color: rgba(254, 204, 72, 1);

}

.partner-section p {
	color: rgba(0, 55, 130, 1);
	font-size: 18px;
	margin-bottom: 1.25rem;
}

.partres-college {
	color: rgba(0, 55, 130, 1);
	font-size: 18px;
}

@media (min-width: 1440px) {
	.nstc-section {
		grid-template-columns: 7.5fr 2.5fr;
	}

	.partner-section {
		grid-template-columns: 7.5fr 2.5fr;
	}


}

.explore-btn {
	background: #003782;
	/* 深蓝色按钮 */
	color: white;
	padding: 0.625rem 1.5625rem;
	border: none;
	border-radius: 0.3125rem;
	cursor: pointer;
	transition: background 0.3s;
	font-size: 13px;
}

.explore-btn:hover {
	background: #002966;
}

.partner-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin-top: 2rem;
}

.partner-item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.partner-icon {
	display: flex;
	justify-content: center;
	border-radius: 50%;
	/* 浅灰色图标背景 */
}

.partner-icon img {
	width: 60px;
	height: 60px;
}


/* 合作院校模块样式 */
.partner-section2 {
	background: #f0f2f5;
	padding: 3.75rem 7.5rem;
}

.partner-section2 h2 {
	font-size: 24px;
	text-align: center;
	color: #ffc107;
}

.content-flex {
	display: grid;
	grid-template-columns: 7.5fr 2.5fr;
	gap: 50px;
	margin: 0 auto;
	/* margin-top: 1.25rem; */
	/* margin-bottom: 1.5rem; */
}

.text-part {
	flex: 1;
	text-align: left;
}

.image-part {
	flex: 1;
}

@media (min-width:1200px) {
	.left-part img {
		height: 240px;
		width: 300px;
		/* margin-left: 160px; */
	}



	.image-part {
		max-width: 250px;
	}
}

@media (min-width:992px) {
	.left-part img {
		height: 260px;
		width: 260px;
	}

	.image-part {
		max-width: 200px;
	}
}

.partner-image2 {
	width: 260px;
	height: 180px;
	transition: transform 0.3s ease;
}

.partner-image2:hover {
	transform: scale(1.05);
}

.margin-top {
	margin-top: 2.5rem;
}

/* 视频播放器 */

.card-carousel {
	position: relative;
	margin: 0 auto;
	padding: 1.25rem 7.5rem;
	box-sizing: border-box;
}

.carousel-wrapper {
	overflow: hidden;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
	gap: 1.25rem;
}

.carousel-card {
	flex: 0 0 100%;
	min-width: 0;
}

.card-inner {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform 0.3s;
}

.card-inner:hover {
	transform: translateY(-0.3125rem);
}

.card-thumbnail {
	position: relative;
	height: 12.5rem;
	overflow: hidden;
}

.card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 3.75rem;
	height: 3.75rem;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003782;
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.3s;
}

.play-icon:hover {
	opacity: 1;
}

.card-content {
	padding: 1rem 1.25rem;
}

.card-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.5rem;
}

.card-description {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* 控制按钮 */
.carousel-control {
	position: absolute;
	top: 70%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003782;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
}

.card-carousel h2 {
	color: #ffc107;
	text-align: center;
	margin-bottom: 30px;
	font-size: 36px;
}

.carousel-control:hover {
	background: white;
}

.carousel-control:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.prev {
	left: -0.625rem;
}

.next {
	right: -0.625rem;
}

/* 指示器 */
.carousel-indicators {
	display: flex;
	justify-content: center;
	margin-top: 1.25rem;
	gap: 0.5rem;
}

.carousel-indicators button {
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: #e0e0e0;
	border: none;
	cursor: pointer;
	transition: all 0.3s;
}

.carousel-indicators button.active {
	width: 1.875rem;
	border-radius: 0.3125rem;
	background: #003782;
}

/* 响应式布局 */
@media (min-width: 768px) {
	.carousel-card {
		flex: 0 0 calc((100% - 2.5rem) / 3);
	}
	
}

@media (min-width: 576px) and (max-width: 767px) {
	.carousel-card {
		flex: 0 0 calc((100% - 1.25rem) / 2);
	}

	.carousel-container2 {
		height: 50vh !important;
	}
}

@media (max-width: 1480px) {
	.partres-college {
		font-size: 12px;
	}

	.partner-section h2,
	.title2 {
		font-size: 28px;
	}

	.first-content h2 {
		font-size: 28px;
	}

	.card-carousel h2 {
		font-size: 28px;
	}

	.partner-icon img {
		width: 60px;
		height: 60px;
	}
}