/* 全局样式 */
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
}

/* 英雄区样式 */
.hero-section {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.hero-slider {
	display: flex;
	width: 100%;
	/* 1个幻灯片 */
	height: 100%;
	transition: transform 0.6s ease-in-out;
}

.hero-slide {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* 幻灯片内容 */
.slide-content {
	position: relative;
	width: 100%;
	height: 100%;
}

.indicator {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background-color: #ff7100;
	transform: scale(1.2);
}

/* 通用部分样式 */
.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 30px;
	color: #333;
	text-align: center;
}

/* 关于我们 */
.about-section {
	padding: 80px 0;
}

.about-section p {
	font-size: 24px;
	text-indent: 2em;
	line-height: 44px;
}

/* 产品中心 */
.products-section {
	padding: 80px 0;
}

.product-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 解决方案 */
.solutions-section {
	padding: 80px 0;
}

.solution-item {
	padding: 30px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
	width: 60px;
	height: 60px;
	font-size: 1.5rem;
}

/* 联系我们 */
.contact-section {
	padding: 80px 0;
}

.contact-info h3 {
	margin-bottom: 20px;
	color: #333;
}

.contact-info ul li {
	font-size: 1.1rem;
}

.contact-form {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 页脚 */
.footer {
	background-color: #343a40;
	color: white;
	padding: 40px 0 20px;
}

.footer ul li a {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s ease;
}

.footer ul li a:hover {
	color: white;
	text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.hero-section {
		height: 70vh;
	}

	.floating-text {
		position: static;
		transform: none;
		max-width: 90%;
		margin: 10px auto;
		text-align: center;
		animation: none;
	}

	.floating-text.left,
	.floating-text.right {
		position: static;
		margin: 10px auto;
	}

	.section-title {
		font-size: 2rem;
	}

	.navbar-collapse {
		background-color: rgba(0, 0, 0, 0.95);
		padding: 10px;
		border-radius: 5px;
	}

}

@media (max-width: 576px) {
	.logo-text {
		font-size: 1.5rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.hero-section {
		height: 60vh;
	}

}

/* 下拉菜单鼠标悬浮显示 */
.dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0;
	/* 移除默认的边距，使下拉菜单紧挨着导航项 */
	animation: fadeIn 0.3s ease-in-out;
}

/* 下拉菜单动画 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 导航链接样式 */
.nav-link {
	position: relative;
	transition: all 0.3s ease;
	padding: 15px 10px;
}

.nav-link:hover {
	color: #0d6efd !important;
}

/* 下拉菜单样式 */
.dropdown-menu {
	border: none;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 10px 0;
}

.dropdown-item {
	padding: 10px 20px;
	transition: all 0.2s ease;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
	color: #0d6efd;
	padding-left: 25px;
}