/* 自定义样式 */
body {
	padding-top: 60px;
	background-color: #f8f9fa;
}

.navbar {
	background-color: #17397f;
}

.zs {
	width: 100%;
	height: auto;
}

.navbar-brand {
	color: #fff;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.logo {
	width: 50px;
	height: 50px;
	margin-right: 10px;
}

.navbar-nav .nav-link {
	color: #fff;
}

#home {
	background: url(../img/img2.jpg) no-repeat;
	background-size: cover;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 30px;
	color: #007bff;
	position: relative;
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background-color: #007bff;
}

footer {
	background-color: #343a40;
	color: #fff;
	padding: 30px 0;
}

footer a {
	color: #fff;
}

footer a:hover {
	text-decoration: none;
}

.certificate-header {
	background: linear-gradient(135deg, #007bff, #00c6ff);
	color: white;
	padding: 30px 0;
	margin-bottom: 30px;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
	margin-bottom: 25px;
	overflow: hidden;
}

.info-card:hover {
	transform: translateY(-5px);
}

.info-card .card-header {
	background-color: #007bff;
	color: white;
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 10px 10px 0 0 !important;
}

.deadline-box {
	background: linear-gradient(135deg, #ff416c, #ff4b2b);
	color: white;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
	margin-bottom: 30px;
}

.deadline-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 15px;
}

.deadline-date {
	font-size: 2.5rem;
	font-weight: 800;
	text-align: center;
	margin: 15px 0;
	background: rgba(255, 255, 255, 0.2);
	padding: 10px;
	border-radius: 8px;
}

.btn-enroll {
	background: linear-gradient(135deg, #00b09b, #96c93d);
	color: white;
	font-weight: 600;
	padding: 12px 30px;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.btn-enroll:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.question-list {
	list-style-type: none;
	padding-left: 0;
}

.question-list li {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s;
}

.question-list li:before {
	content: "•";
	color: #007bff;
	font-weight: bold;
	display: inline-block;
	width: 1.5em;
	margin-left: -1.5em;
}

.question-list li:hover {
	background-color: #f8f9ff;
}

.policy-list {
	list-style-type: none;
	padding-left: 20px;
}

.policy-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
}

.policy-list li:before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 2px;
	color: #28a745;
}

.contact-box {
	background: linear-gradient(135deg, #4b6cb7, #182848);
	color: white;
	border-radius: 10px;
	padding: 25px;
	text-align: center;
}

.contact-box h4 {
	margin-bottom: 20px;
}

.step-box {
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	background-color: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	height: 100%;
}

.step-number {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-color: #007bff;
	color: white;
	border-radius: 50%;
	line-height: 40px;
	font-weight: 700;
	margin-bottom: 15px;
}

.benefit-badge {
	display: inline-block;
	background-color: #ffc107;
	color: #333;
	padding: 5px 15px;
	border-radius: 30px;
	font-weight: 600;
	margin-bottom: 15px;
}

.hero-section {
	background-color: #f8f9fa;
	padding: 100px 0;
}

.certificate-card {
	cursor: pointer;
	transition: transform 0.3s ease;
	margin-bottom: 20px;
}

.certificate-card:hover {
	transform: scale(1.05);
}

/* 修改为 flex 布局 */
.card-deck {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	/* 在每行项目之间添加间距 */
}

.col-md-3 {
	flex: 1 1 22%;
	/* 每个项目占宽度22%，以确保每行有多个项 */
	max-width: 22%;
	/* 限制最大宽度 */
	margin-bottom: 20px;
	/* 每个卡片底部有间距 */
}

/* 响应式处理：当屏幕宽度小于768px时，每行只显示1个卡片 */
@media (max-width: 768px) {
	.col-md-3 {
		flex: 1 1 48%;
		/* 每行显示两个卡片 */
		max-width: 48%;
	}
}

@media (max-width: 576px) {
	.col-md-3 {
		flex: 1 1 100%;
		/* 每行显示一个卡片 */
		max-width: 100%;
	}
}