* {
	padding: 0;
	margin: 0;
}

/* 重置a标签样式 */
a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: none;
	color: inherit;
}

a:focus {
	outline: none;
}

.flex-ajc{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-acjl{
	display: flex;
	align-items: center;
	justify-content: left;
}
.flex-acjr{
	display: flex;
	align-items: center;
	justify-content: right;
}
.flex-acjsb{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cursor-pointer{
	cursor: pointer;
}
.side-bar {
	display: flex;
	position: fixed;
	top: 70%;
	right: 20px;
	/* transform: translateY(-50%); */
	flex-direction: column;
	align-items: flex-end;
	border: 1px solid #dddddd;
	border-radius: 10px;
	overflow: hidden;
	z-index: 999;

}

.side-bar .side-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 65px;
	height: 60px;
	background-color: #fff;

	cursor: pointer;
}

.side-bar hr {
	height: 1px;
	background-color: #e8e8e8;
	width: 100%;
	padding: 0;
	margin: 0;
}

.side-bar .side-item img {
	width: 24px;
}

.side-bar .side-item .side-text {
	font-size: 14px;
	color: #000;
}

.side-bar .side-item:hover {
	background-color: #b8b8b8;
}

.navABan {
	position: relative;
	width: 100%;
	height: auto;

}

.nav {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	border-radius: 5px;
	z-index: 100;
}

.bg-blue {
	background-color: rgba(57, 114, 159, 0.5);
	border-radius: 5px;
}

.nav-logo {
	height: 80px;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 5px 50px;
}

/* 导航栏样式 */

.nav-link {
	color: white !important;
	margin-right: 1rem;
	transition: all 0.3s ease;
	position: relative;
	padding: 0.5rem 0;
	font-size: 1.2rem;
	white-space: nowrap;
}

.nav-link:hover {
	color: white !important;
	transform: translateY(-2px);
}

/* 单个链接的下划线效果 - 显示在navbar组件的边框位置 */
.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -5px;
	/* 精确调整到底部边框位置 */
	width: 0;
	height: 3px;
	background-color: white;
	transition: width 0.3s ease;
}
.nav-link.active {
	font-weight: bold;
}
.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.nav-item {
	margin-left: 30px;
}

/* 修改的bootstrap样式 */
.navbar {
	width: 100%;
	--bs-navbar-color: white;
	--bs-navbar-padding-y: 0;
}

.navbar-text {
	font-size: 1.2rem;
}

.container-fluid {
	padding-left: 0;
}

.nav-link:focus,
.nav-link:hover {
	font-weight: bold;
	color: red;
}

/* .nav-link:focus{
	background-color: #fff;
} */


 /* Footer样式 */
footer{
	width: 100%;
}

/* 客服条 */
.footer-service{
	background-color: #7b7d7c;
}

.footer-service-content{
	display: flex;
	align-items: center;
	justify-content: left;
	position: relative;
	height: 50px;
}



.footer-service-img{
	position: absolute;
	bottom: 0;
	width: 100px;
}

.footer-service-text{
	vertical-align: middle;
	font-size: 16px;
	color: #fff;
	margin-left: 120px;
}
.footer-service-text1{
	font-size: 1.2rem;
}
/* 主体内容 */
.footer-main{
	background-color: #2c3e50;
	color: #fff;
	padding: 40px 0;
}

.footer-logo{
	height: 60px;
	margin-bottom: 20px;
}

.footer-brand{
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.footer-desc{
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

.footer-title{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #fff;
}

.footer-course-item{
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 10px;
	cursor: pointer;
}

.footer-course-item:hover{
	color: #fff;
}
.footer-qrcode{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
}

.footer-qrcode-content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 120px;
}
.footer-qrcode-img{
	width: 120px;
	height: 120px;
	margin-bottom: 10px;
}

.footer-qrcode-text{
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
}

/* 版权信息 */
.footer-copyright{
	background-color: #1a252f;
	color: rgba(255, 255, 255, 0.6);
	padding: 20px 0;
	font-size: 12px;
}
.com-title{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: 2.5rem;
	padding-top: 2rem;
	font-weight: bold;
}
.com-titletext{
	margin-top: 0.8rem;
	font-size: 1rem;
	font-weight: normal;
	margin-bottom: 2rem;
	color: #4c4c4c;
}
@media(max-width:1460px){
	.nav-item{
		margin-left: 0;
	}
}
@media(max-width:1300px){
	.nav-item{
		margin-left: 30px;
	}
	.navbar-text{
		display: none;
	}
}
/* 响应式设计 */
@media (max-width: 768px){
	.bg-blue {
	background-color: rgba(57, 114, 159);
}

.nav-logo {
	height: 50px;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 5px 20px;
}
.navbar-text{
	display: none;
}
	
	.footer-service-text{
		font-size: 14px;
	}
	
	.footer-main{
		padding: 30px 0;
	}
	
	.footer-info,
	.footer-courses,
	
	.footer-qrcode{
		margin-bottom: 30px;
		align-items: center;
	}
	
	.footer-qrcode{
		margin-bottom: 0;
	}
	
	.footer-copyright{
		padding: 15px 0;
		font-size: 11px;
	}
}