/* 内联样式确保导航栏吸顶效果*/
header {
	background-color: rgba(34, 34, 34, 0.16);
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled-past-banner {
	background-color: white !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
	border-bottom: 1px solid #eee !important;
}

header.scrolled-past-banner .menu a {
	color: #333333 !important;
}

header.scrolled-past-banner .language-switch a {
	color: #333333 !important;
}

/* 三角形装饰样*/
.banner-triangle {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	width: 30px;
	height: 30px;
	background-color: #ff6600;
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	z-index: 100;
}

/* 轮播图文字样*/
.banner-text-overlay {
	position: absolute;
	bottom: 25%;
	left: 60px;
	width: 100%;
	color: white;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.banner-text-en {
	font-size: 3.5rem;
	font-weight: bold;
	margin-bottom: 2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.banner-text-cn {
	font-size: 3.5rem;
	font-weight: bold;
	letter-spacing: 4px;
	font-family: "Microsoft YaHei Bold", "Microsoft YaHei", "微软雅黑", sans-serif;
}

/* 移动端适配 */
@media (max-width: 768px) {
	.banner-text-en {
		font-size: 2rem;
		margin-bottom: 0.5rem;
	}

	.banner-text-cn {
		font-size: 2rem;
	}

	.banner {
		height: auto !important;
	}
}

.certificate-card {
	cursor: pointer;
}

.about-images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 轮播图容器样式 */
.banner {
	width: 100%;
	height: 100vh; /* 设置为视口高度 */
	position: relative;
	overflow: hidden;
}

/* Swiper容器样式 */
.banner .swiper {
	width: 100%;
	height: 100%;
}

/* 轮播图图片样式 */
.banner .banner-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 分页器样式 */
.banner .swiper-pagination {
	bottom: 30px;
}

.banner .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
}

.banner .swiper-pagination-bullet-active {
	background: #ffffff;
}

/* 导航按钮样式 */
.banner .swiper-button-next,
.banner .swiper-button-prev {
	color: #ffffff;
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
}

.banner .swiper-button-next:hover,
.banner .swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.5);
}

.banner .swiper-button-next:after,
.banner .swiper-button-prev:after {
	font-size: 20px;
}
