:root {
	--primary: #0066cc;
	--primary-dark: #0d47a1;
	--secondary: #004d99;
	--accent: #00aaff;
	--light: #f8f9fa;
	--dark: #212529;
	--success: #28a745;
	--gray: #718096;
	--industrial-blue: #1a4b8c;
	--industrial-dark: #0f2e56;
	--warning: #ecc94b;
    --danger: #e53e3e;
	--light-gray: #e8eaed;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Microsoft YaHei', sans-serif;
}

body {
	color: #333;
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 右侧悬浮导航 */
.floating-nav {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	padding: 15px 10px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.floating-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--gray);
	font-size: 0.8rem;
	padding: 8px 10px;
	border-radius: 6px;
	transition: all 0.3s;
}

.floating-nav a i {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.floating-nav a:hover, .floating-nav a.active {
	background-color: var(--primary);
	color: white;
}

/* 导航栏样式 */
header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	display: flex;
	align-items: center;
}

.logo i {
	margin-right: 10px;
	font-size: 2.2rem;
	color: var(--primary);
}

.nav-links {
	display: flex;
	list-style: none;
	align-items: center;
}

.nav-links li {
	margin-left: 30px;
	position: relative;
}

.nav-links > li > a {
	color: var(--text-dark);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	align-items: center;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-links a:hover::after {
	width: 100%;
}

.btn {
	display: inline-block;
	padding: 10px 25px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.3s;
}

.btn:hover {
	background-color: var(--secondary);
}

.btn1 {
	display: inline-block;
	padding: 14px 32px;
	background-color: var(--primary);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn1:hover {
	background-color: #e55a2b;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-outline {
	background: transparent;
	border: 2px solid white;
	margin-left: 15px;
}

.btn-outline:hover {
	background: white;
	color: #1a56db;
}

/* 产品下拉菜单样式 */
.has-dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	width: 300px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 1000;
	padding: 10px 0;
}

.has-dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
	padding: 0;
	list-style-type: none; 
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: var(--text-dark);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
	border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
	background: var(--light);
	color: var(--primary);
	border-left: 3px solid var(--primary);
}

.dropdown-menu a i {
	margin-right: 10px;
	color: var(--primary);
	width: 20px;
	text-align: center;
}

/* 响应式菜单按钮 */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary);
	cursor: pointer;
}
/* 联系表单样式 */
.contact-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

textarea.form-control {
	min-height: 150px;
	resize: vertical;
}

/* 页脚样式 */
footer {
	background-color: var(--dark);
	color: white;
	padding: 50px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-column h3 {
	margin-bottom: 20px;
	font-size: 18px;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: white;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #444;
	color: #ccc;
}

.error {
	color: #e74c3c;
	font-size: 14px;
	margin-top: 5px;
	display: none;
}

.success-message {
	background: #d4edda;
	color: #155724;
	padding: 15px;
	border-radius: 5px;
	margin-top: 20px;
	display: none;
}

.error-message {
	background: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 5px;
	margin-top: 20px;
	display: none;
}