/* Global Styles */
:root {
	--primary: #0066cc;
	--secondary: #ff6600;
	--dark: #222;
	--light: #f9f9f9;
	--gray: #777;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--dark);
	overflow-x: hidden;
}

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

ul {
	list-style: none;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.btn {
	display: inline-block;
	background-color: var(--secondary);
	color: white;
	padding: 12px 30px;
	border-radius: 4px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}

.btn:hover {
	background-color: #e65c00;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid #224b75;
	color: #224b75;
}

.btn-outline:hover {
	background-color: #224b75;
	color: white;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 36px;
	color: #224b75;
	margin-bottom: 15px;
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: '';
	position: absolute;
	width: 50px;
	height: 3px;
	background-color: var(--secondary);
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
}

.section-title p {
	color: var(--gray);
	font-size: 18px;
	max-width: 700px;
	margin: 0 auto;
}

/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	overflow: auto;
	backdrop-filter: blur(5px);
}

.modal-content {
	background-color: #fefefe;
	margin: 5% auto;
	padding: 40px;
	border-radius: 8px;
	width: 80%;
	max-width: 800px;
	position: relative;
	animation: modalopen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes modalopen {
	from {opacity: 0; transform: translateY(-50px) scale(0.95);}
	to {opacity: 1; transform: translateY(0) scale(1);}
}

.close-btn {
	position: absolute;
	right: 25px;
	top: 20px;
	font-size: 32px;
	color: #aaa;
	cursor: pointer;
	transition: color 0.3s;
}

.close-btn:hover {
	color: #333;
}

.modal-title {
	color: #2c3e50;
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	font-size: 1.8rem;
}

.modal-body {
	line-height: 1.7;
	color: #555;
}

.modal-body p {
	margin-bottom: 20px;
	font-size: 1.05rem;
}

.tech-specs {
	background-color: #f8f9fa;
	border-left: 4px solid #3498db;
	padding: 15px 20px;
	margin: 25px 0;
	border-radius: 0 4px 4px 0;
}

.tech-specs h4 {
	margin-top: 0;
	color: #2c3e50;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.specs-table th, .specs-table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.specs-table th {
	background-color: #f1f1f1;
	color: #2c3e50;
	width: 30%;
}

@media (max-width: 768px) {
	.projects-grid {
		grid-template-columns: 1fr;
		padding: 15px;
	}
	
	.modal-content {
		width: 90%;
		padding: 30px 20px;
	}
	
	.modal-title {
		font-size: 1.5rem;
	}
}

/* Header Styles */
header {
	background-color: white;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

header.scrolled {
	padding: 10px 0;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	transition: all 0.3s ease;
}

.logo {
	font-size: 28px;
	font-weight: bold;
	color: #224b75;
	display: flex;
	align-items: center;
}

.logo img {
	height: 65px;
	margin-right: 10px;
}

nav ul {
	display: flex;
}

nav ul li {
	margin-left: 30px;
	position: relative;
}

nav ul li a {
	font-weight: 600;
	transition: color 0.3s;
	font-size: 16px;
}

nav ul li a:hover {
	color: #224b75;
}

nav ul li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: #224b75;
	bottom: -5px;
	left: 0;
	transition: width 0.3s;
}

nav ul li a:hover::after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	font-size: 24px;
	cursor: pointer;
}

/* Slider/Carousel */
.slider {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	margin-top: 80px;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	color: white;
}

.slide.active {
	opacity: 1;
}

.slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.slide-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 0 20px;
	animation: slideIn 1s ease-out;
}



@keyframes slideIn {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.slide h1 {
	font-size: 48px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide p {
	font-size: 20px;
	margin-bottom: 30px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-nav {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	z-index: 2;
}

.slider-nav span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 0 8px;
	cursor: pointer;
	transition: all 0.3s;
}

.slider-nav span.active {
	background-color: white;
	transform: scale(1.3);
}

/* Services Section */
/*
.services {
	padding: 100px 0;
	background-color: var(--light);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: white;
	padding: 40px 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	text-align: center;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	font-size: 50px;
	color: #224b75;
	margin-bottom: 20px;
}

.service-card h3 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #224b75;
}
*/
/* Services Section */
.services {
	padding: 50px 0;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	height: 250px;
}

.service-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.service-card:hover img {
	transform: scale(1.1);
}

.service-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(52, 152, 219, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s;
	color: #fff;
	padding: 20px;
	text-align: center;
}

.service-card:hover .service-overlay {
	opacity: 1;
}

.service-overlay h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.modal-body ul {
    list-style-type: none; /* 移除默认的项目符号 */
    padding-left: 0;
}

.modal-body li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.modal-body li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db; /* 可以设置颜色 */
    font-weight: bold;
}
/* About Section */
.about {
	padding: 50px 0;
	position: relative;
	overflow: hidden;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-text h2 {
	font-size: 36px;
	color: #224b75;
	margin-bottom: 20px;
}

.about-text p {
	margin-bottom: 20px;
	color: var(--gray);
	font-size: 16px;
	line-height: 1.8;
}

.about-stats {
	display: flex;
	margin-top: 30px;
}

.stat-item {
	flex: 1;
	text-align: center;
	padding: 20px;
}

.stat-number {
	font-size: 40px;
	font-weight: bold;
	color: #224b75;
	margin-bottom: 5px;
}

.stat-text {
	color: var(--gray);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.about-image {
	flex: 1;
	position: relative;
}

.about-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
	padding: 50px 0;
}
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

/* 基础卡片样式 */
.project-card {
	position: relative;
	height: 300px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

/* 透明标题效果 */
.project-overlay h3 {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	color: white;
	font-size: 1.5rem;
	font-weight: 600;
	text-shadow: 
		0 1px 3px rgba(0,0,0,0.8),
		0 1px 1px rgba(0,0,0,0.5);
	/*background-color: rgba(0,0,0,0.5); /* 半透明背景 */
	padding: 12px 20px;
	border-radius: 4px;
	backdrop-filter: blur(2px); /* 毛玻璃效果 */
	margin: 0;
	transition: all 0.3s ease;
}

/* 悬停时标题效果增强 */
.project-card:hover .project-overlay h3 {
	background-color: rgba(0,0,0,0.7);
	text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

/* 覆盖层样式 */
.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
}

/* 其他元素样式保持不变 */
.project-overlay p {
	color: white;
	margin-bottom: 15px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

.project-overlay .btn {
	align-self: flex-start;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease 0.1s;
}

.project-card:hover .project-overlay p,
.project-card:hover .project-overlay .btn {
	opacity: 1;
	transform: translateY(0);
}
	
/* Why Choose Us Section */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

.modal-title {
    margin-bottom: 20px;
    color: #2c3e50;
}

.modal-body {
    line-height: 1.6;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Feature hover effect */
.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.view-more {
    color: #3498db;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Partners Section */
.partners {
	padding: 50px 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

.partner-logo {
	/*max-width: 150px;*/
	/*filter: grayscale(100%);*/
	opacity: 0.9;
	transition: all 0.3s;
}

.partner-logo:hover {
	filter: grayscale(0);
	opacity: 1;
}

/* Career Section */
.career-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.career-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.benefit {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Why Choose Us Section */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.feature {
	text-align: center;
	padding: 30px 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
	font-size: 40px;
	color: #3498db;
	margin-bottom: 20px;
}

.feature h3 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #2c3e50;
}

/* Contact Section */
.contact {
	padding: 100px 0;
}

.contact-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 50px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.contact-icon {
	width: 50px;
	height: 50px;
	background-color: #224b75;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.contact-text h3 {
	font-size: 18px;
	margin-bottom: 5px;
	color: #224b75;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact-text p, .contact-text a {
	color: var(--gray);
	font-size: 16px;
	transition: color 0.3s;
}

.contact-text a:hover {
	color: #224b75;
}

.contact-form {
	background-color: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--dark);
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: #224b75;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

/* Footer */
footer {
	background-color: var(--dark);
	color: white;
	padding: 80px 0 30px;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.footer-col h3 {
	font-size: 20px;
	margin-bottom: 25px;
	color: white;
	position: relative;
	padding-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 2px;
	background-color: var(--secondary);
	bottom: 0;
	left: 0;
}

.footer-col p {
	color: #bbb;
	margin-bottom: 20px;
	line-height: 1.8;
}

.footer-links li {
	margin-bottom: 15px;
}

.footer-links a {
	color: #bbb;
	transition: all 0.3s;
	display: block;
	text-transform: capitalize;
}

.footer-links a:hover {
	color: white;
	transform: translateX(5px);
}

.footer-links a i {
	margin-right: 8px;
	color: var(--secondary);
}

.footer-social {
	display: flex;
	gap: 15px;
}

.footer-social a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.footer-social a:hover {
	background-color: var(--secondary);
	color: white;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #bbb;
	font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}
	
	.about-image {
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 15px 0;
	}
	
	nav {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 80%;
		height: calc(100vh - 80px);
		background-color: white;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transition: all 0.3s ease;
		z-index: 999;
	}
	
	nav.active {
		left: 0;
	}
	
	nav ul {
		flex-direction: column;
		padding: 30px;
	}
	
	nav ul li {
		margin: 15px 0;
	}
	
	.mobile-menu-btn {
		display: block;
	}
	
	.slide h1 {
		font-size: 36px;
	}
	
	.slide p {
		font-size: 18px;
	}
	
	.section-title h2 {
		font-size: 30px;
	}
}

@media (max-width: 576px) {
	.slide h1 {
		font-size: 28px;
	}
	
	.slide p {
		font-size: 16px;
	}
	
	.btn {
		padding: 10px 20px;
	}
	
	.section-title h2 {
		font-size: 26px;
	}
	
	.stat-item {
		padding: 10px;
	}
	
	.stat-number {
		font-size: 30px;
	}
}