/* 联系我们页面特有样式 */
.contact-banner {
	position: relative;
	height: 400px;
	background-image: url('../../Lib/img/neibu_ban.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.contact-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

.contact-banner-content {
	position: relative;
	z-index: 1;
}

.contact-banner h1 {
	font-size: 42px;
	margin-bottom: 16px;
}

.contact-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.contact-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
}

.contact-breadcrumb a:hover {
	color: white;
}

/* 联系信息部分 */
.contact-info-section {
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.contact-info-container {
	display: flex;
	flex-wrap: wrap;
}

.contact-info-left {
	flex: 0 0 50%;
	padding: 40px;
}

.contact-info-right {
	flex: 0 0 50%;
	min-height: 500px;
	background-color: #f5f5f5;
}

/* 地图容器 */
.map-container {
	width: 100%;
	height: 100%;
	background-image: url('/Company/Lib/Img/map-placeholder.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(30, 136, 229, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-text {
	text-align: center;
	color: #333;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	max-width: 300px;
}

.map-text h4 {
	margin-bottom: 10px;
	font-size: 18px;
	color: var(--primary-color);
}

/* 联系信息卡片 */
.contact-info-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 30px;
	color: #333;
	position: relative;
	padding-bottom: 15px;
}

.contact-info-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.contact-card {
	background-color: #f8f9fa;
	padding: 24px;
	border-radius: 12px;
	transition: all 0.3s ease;
	text-align: center;
	border: 1px solid transparent;
}

.contact-card:hover {
	background-color: white;
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: var(--primary-color);
}

.contact-icon {
	width: 60px;
	height: 60px;
	background-color: rgba(30, 136, 229, 0.1);
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin: 0 auto 16px;
	transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
	background-color: var(--primary-color);
	color: white;
	transform: scale(1.1);
}

.contact-card h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
}

.contact-card p {
	color: #666;
	line-height: 1.6;
}

.contact-card a {
	color: var(--primary-color);
	transition: color 0.3s ease;
}

.contact-card a:hover {
	color: #0D47A1;
	text-decoration: underline;
}

/* 社交媒体链接 */
.social-links {
	display: flex;
	gap: 16px;
	margin-top: 30px;
}

.social-link {
	width: 40px;
	height: 40px;
	background-color: #f8f9fa;
	color: #666;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: all 0.3s ease;
	border: 1px solid #e0e0e0;
}

.social-link:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-3px);
	border-color: var(--primary-color);
}

/* 留言表单部分 */
.contact-form-section {
	margin-top: 40px;
	background-color: white;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 30px;
	color: #333;
	text-align: center;
	position: relative;
	padding-bottom: 15px;
}

.contact-form-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.contact-form-desc {
	text-align: center;
	color: #666;
	margin-bottom: 40px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-group {
	flex: 1;
	position: relative;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	transition: all 0.3s ease;
	background-color: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
	background-color: white;
}

.form-textarea {
	min-height: 150px;
	resize: vertical;
}

.form-button {
	display: inline-block;
	padding: 14px 32px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.form-button:hover {
	background-color: #0D47A1;
	transform: translateY(-2px);
}

.form-button:active {
	transform: translateY(0);
}

/* 表单验证样式 */
.form-input.error,
.form-textarea.error {
	border-color: #E53935;
	box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-input.success,
.form-textarea.success {
	border-color: #4CAF50;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.error-message {
	color: #E53935;
	font-size: 12px;
	margin-top: 5px;
	display: none;
}

/* 常见问题部分 */
.faq-section {
	margin-top: 40px;
	background-color: white;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 30px;
	color: #333;
	text-align: center;
	position: relative;
	padding-bottom: 15px;
}

.faq-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.faq-question {
	padding: 16px 20px;
	background-color: #f8f9fa;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question:hover {
	background-color: #f1f3f4;
}

.faq-question.active {
	background-color: rgba(30, 136, 229, 0.1);
	color: var(--primary-color);
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
	color: #666;
	line-height: 1.6;
}

.faq-answer.active {
	padding: 20px;
	max-height: 500px;
}

.faq-icon {
	transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
	transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 1024px) {

	.contact-info-left,
	.contact-info-right {
		flex: 0 0 100%;
	}

	.contact-info-right {
		min-height: 400px;
	}

	.form-row {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.contact-banner {
		height: 300px;
	}

	.contact-banner h1 {
		font-size: 32px;
	}

	.contact-info-left,
	.contact-form-section,
	.faq-section {
		padding: 24px;
	}

	.contact-info-title,
	.contact-form-title,
	.faq-title {
		font-size: 24px;
	}

	.contact-cards {
		grid-template-columns: 1fr;
	}

	.form-button {
		width: 100%;
	}
}