/* Contact Us Page Styles */

/* Hero Section */
.contact-hero {
	position: relative;
	width: 100%;
	height: 500px;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-align: center;
	overflow: hidden;
}

.contact-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(6, 30, 72, 0.55);
	z-index: 1;
}

.contact-hero__content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	padding: 0 20px;
	width: 100%;
}

.contact-hero__title {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 24px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.breadcrumb--contact {
	justify-content: center;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
}

.breadcrumb--contact a {
	color: rgba(255, 255, 255, 0.9);
}

.breadcrumb--contact .breadcrumb__current {
	color: #ffffff;
}

.breadcrumb--contact .breadcrumb__separator {
	color: rgba(255, 255, 255, 0.7);
	margin: 0 12px;
}

/* Section Styles */
.section {
	padding: 80px 0;
}

.section--alt {
	background: #f7f9fb;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section__header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #0f1f2f;
	margin-bottom: 16px;
}

.section-title-underline {
	width: 80px;
	height: 4px;
	background: #0b6efd;
	margin: 0 auto 20px;
	border-radius: 2px;
}

.section-subtitle {
	font-size: 1.1rem;
	color: #6c757d;
	margin-top: 12px;
}

/* Contact Information Section */
.contact-info-section {
	padding: 80px 0;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 40px;
}

.contact-info-card {
	background: #ffffff;
	padding: 40px 30px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
	            box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            background 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.contact-info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(11, 110, 253, 0.1), transparent);
	transition: left 0.5s ease;
}

.contact-info-card:hover::before {
	left: 100%;
}

.contact-info-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 12px 40px rgba(11, 110, 253, 0.2);
	background: #ffffff;
}

.contact-info-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
	background: linear-gradient(135deg, #0b6efd 0%, #0d6efd 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            background 0.4s ease,
	            box-shadow 0.4s ease;
	position: relative;
}

.contact-info-icon::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0b6efd, #37c9ff);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.contact-info-card:hover .contact-info-icon {
	transform: scale(1.15) rotate(5deg);
	background: linear-gradient(135deg, #0d6efd 0%, #37c9ff 100%);
	box-shadow: 0 8px 24px rgba(11, 110, 253, 0.4);
}

.contact-info-card:hover .contact-info-icon::after {
	opacity: 0.3;
}

.contact-info-icon svg {
	width: 40px;
	height: 40px;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover .contact-info-icon svg {
	transform: scale(1.1);
}

.contact-info-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #0f1f2f;
	margin-bottom: 16px;
	transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info-card:hover .contact-info-title {
	color: #0b6efd;
	transform: translateY(-2px);
}

.contact-info-text {
	font-size: 1rem;
	color: #6c757d;
	line-height: 1.8;
	transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-text {
	color: #495057;
}

.contact-info-text .highlight {
	color: #0f1f2f;
	font-weight: 600;
	transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-text .highlight {
	color: #0b6efd;
}

/* Send Inquiry Section */
.send-inquiry-section {
	padding: 80px 0;
	background: #ffffff;
	position: relative;
	overflow: hidden;
}

.send-inquiry-section::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><path d="M0,200 Q100,100 200,200 T400,200" stroke="%230b6efd" stroke-width="2" fill="none" opacity="0.1"/><path d="M0,250 Q100,150 200,250 T400,250" stroke="%230b6efd" stroke-width="2" fill="none" opacity="0.1"/><path d="M0,300 Q100,200 200,300 T400,300" stroke="%230b6efd" stroke-width="2" fill="none" opacity="0.1"/></svg>') no-repeat;
	background-size: cover;
	opacity: 0.3;
	z-index: 0;
}

.inquiry-form-wrapper {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
}

.inquiry-form {
	background: #ffffff;
	padding: 50px;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 24px;
}

.form-group {
	margin-bottom: 24px;
}

.form-group--full {
	grid-column: 1 / -1;
}

.form-group label {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: #0f1f2f;
	margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #0b6efd;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: #0f1f2f;
	background: #ffffff;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #0b6efd;
	box-shadow: 0 0 0 3px rgba(11, 110, 253, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: #adb5bd;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.btn--submit {
	width: 100%;
	padding: 16px;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 8px;
	margin-top: 20px;
	background: linear-gradient(135deg, #0b6efd 0%, #0d6efd 100%);
	color: #ffffff;
	border: none;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn--submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 110, 253, 0.3);
}

/* Headquarters Address Section */
.headquarters-section {
	padding: 80px 0;
}

.map-container {
	position: relative;
	width: 100%;
	height: 600px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
	background: #f0f0f0;
}

.map-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-info {
	text-align: center;
	z-index: 2;
}

.map-marker {
	position: relative;
	margin-bottom: 20px;
}

.marker-pin {
	width: 40px;
	height: 40px;
	background: #0b6efd;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	margin: 0 auto;
	position: relative;
}

.marker-pin::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 20px;
	height: 20px;
	background: #ffffff;
	border-radius: 50%;
}

.marker-label {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	background: #ffffff;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 600;
	color: #0f1f2f;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-address {
	font-size: 1.1rem;
	color: #0f1f2f;
	line-height: 1.8;
	margin-top: 20px;
}

.map-approval {
	position: absolute;
	bottom: 10px;
	left: 10px;
	font-size: 0.85rem;
	color: #6c757d;
	z-index: 3;
}

/* Floating Chat Widget */
.chat-widget {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-end;
}

.chat-bubble {
	background: #ffffff;
	padding: 12px 16px;
	border-radius: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	color: #0f1f2f;
	max-width: 200px;
	animation: fadeInUp 0.5s ease;
}

.chat-icon {
	width: 24px;
	height: 24px;
	background: #0b6efd;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.9rem;
	flex-shrink: 0;
}

.chat-text {
	flex: 1;
}

.chat-button {
	background: linear-gradient(135deg, #0b6efd 0%, #0d6efd 100%);
	color: #ffffff;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(11, 110, 253, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	font-size: 1rem;
	font-weight: 600;
}

.chat-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(11, 110, 253, 0.4);
}

.chat-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.chat-button-text {
	font-size: 1rem;
}

/* Animations - 使用全局样式中的动画类 */
/* 动画效果由 style.css 中的 IntersectionObserver 控制 */

/* Responsive Design */
@media (max-width: 768px) {
	.contact-hero {
		height: 400px;
	}

	.contact-hero__title {
		font-size: 2.5rem;
	}

	.section {
		padding: 60px 0;
	}

	.section-title {
		font-size: 2rem;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.inquiry-form {
		padding: 30px 20px;
	}

	.map-container {
		height: 400px;
	}

	.chat-widget {
		right: 10px;
		bottom: 10px;
	}

	.chat-bubble {
		max-width: 150px;
		font-size: 0.85rem;
		padding: 10px 12px;
	}

	.chat-button {
		padding: 10px 16px;
		font-size: 0.9rem;
	}

	.chat-avatar {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 480px) {
	.contact-hero__title {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.contact-info-card {
		padding: 30px 20px;
	}

	.contact-info-icon {
		width: 60px;
		height: 60px;
	}

	.contact-info-icon svg {
		width: 30px;
		height: 30px;
	}
}

