/* 全局样式重置，但避免影响Bootstrap核心功能 */
body {
	margin: 0;
	padding: 0;
}

/* 图片展示区域样式 */
.image-showcase {
	background-color: white;
	padding-top: 120px;
	padding-bottom: 120px;
}

/* 展示图片样式 */
.showcase-image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 图片悬停效果 */
.showcase-image:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 - 图片展示区域 */
@media (max-width: 768px) {
	.image-showcase {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	
	.showcase-image {
		border-radius: 8px;
	}
}

@media (max-width: 576px) {
	.image-showcase {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	
	.showcase-image {
		border-radius: 6px;
	}
}

/* 为自定义元素添加box-sizing，避免影响Bootstrap */
.custom-element, .custom-wrapper {
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "Segoe UI", Tahoma, Geneva, Verdana,
		sans-serif;
	line-height: 1.6;
	color: #333;
}

/* 导航栏样式 */
.navbar {
	transition: all 0.3s ease;
	padding-top: 15px;
	padding-bottom: 15px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo大小设置 */
.navbar-brand img {
	height: 56px;
	width: auto;
	object-fit: contain;
}

/* 导航栏菜单项大幅右移 */
#navbarNav {
	margin-left: 280px;
}

/* 增加导航项间距 */
.nav-item {
	margin-left: 30px !important;
	margin-right: 30px !important;
}

/* 确保覆盖Bootstrap的mx-3类 */
.nav-item.mx-3 {
	margin-left: 30px !important;
	margin-right: 30px !important;
}

/* 导航栏链接样式 */
.navbar-nav .nav-link {
	color: #151619;
	font-size: 16px;
	font-weight: 500;
	position: relative;
	padding: 20px 0;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
	color: #DB0018;
}

.navbar-nav .nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #DB0018;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
	width: 100%;
}

/* 导航栏当前页面活跃状态样式 */
.navbar-nav .nav-link.active {
	color: #DB0018;
}

.navbar-nav .nav-link.active::after {
	width: 100%;
}

/* 关于我们冒泡弹窗样式 */
#aboutUsContainer {
	position: relative;
}

/* 为关于我们按钮添加微妙的悬停效果，与弹窗动画协调 */
#aboutUsBtn {
	transition: all 0.3s ease;
}

#aboutUsContainer:hover #aboutUsBtn {
	transform: translateY(-2px); /* 轻微上移，提示交互 */
}

/* 为了确保鼠标移入弹窗区域时弹窗不消失，我们需要在弹窗显示时也保持父元素的hover状态 */
#aboutUsContainer:hover .about-us-dropdown,
.about-us-dropdown:hover {
	visibility: visible;
	transform: translateY(0);
	opacity: 1;
	max-height: 500px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.about-us-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 5px;
	background-color: white;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 初始更淡的阴影 */
	padding: 20px 10px;
	width: 112px;
	font-size: 14px;
	visibility: hidden;
	z-index: 1000;
	/* 从上到下拉出的动画效果 */
	transform: translateY(-8px); /* 减小初始位移，让动画更自然 */
	opacity: 0;
	/* 统一使用更自然的缓动函数，确保所有属性同步变化 */
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			visibility 0s ease 0.4s, 
			box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	max-height: 0;
	overflow: hidden;
}

/* 修复hover时的可见性和过渡效果 */
#aboutUsContainer:hover .about-us-dropdown {
	visibility: visible;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
			visibility 0s ease 0s, 
			box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 弹窗内容样式 */
.dropdown-content {
	display: flex;
	flex-direction: column;
}

/* 弹窗按钮样式 */
.dropdown-item {
	background: none;
	border: none;
	text-align: center;
	padding: 12px 20px;
	cursor: pointer;
	color: #151619;
	font-size: 14px;
	transition: all 0.3s ease;
}

/* 移动端手拉琴效果 */
@media (max-width: 768px) {
	.about-us-dropdown {
		/* 重置桌面端动画 */
		transform: translateY(0);
		opacity: 1;
		transition: max-height 0.5s ease;
	}
	
	.about-us-dropdown.show {
		/* 保持手拉琴效果 */
		transform: translateY(0);
		opacity: 1;
	}
}

/* 弹窗按钮hover效果 */
.dropdown-item:hover {
	background-color: #FEEFF0;
	color: #DB0018;
	font-size: 14px;
}

/* 通用区块标题样式 */
.section-title {
	font-size: 62px;
	color: #333;
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
}

/* Banner大图样式 */
.contact-banner {
	width: 100%;
	height: 470px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
}

/* Banner图片样式 */
.banner-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

/* Banner内容容器 */
.banner-content {
	padding-left: 150px;
	max-width: 100%;
	position: relative;
	z-index: 2;
}

/* Banner标题样式 */
.banner-title {
	color: white;
	font-size: 48px;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 响应式适配 */
@media (max-width: 768px) {
	.contact-banner {
		height: 300px;
	}
	
	.banner-content {
		padding-left: 30px;
	}
	
	.banner-title {
		font-size: 36px;
	}
}

@media (max-width: 480px) {
	.contact-banner {
		height: 250px;
	}
	
	.banner-title {
		font-size: 28px;
	}
}

/* 响应式设计 - Banner适配 */
@media (max-width: 1200px) {
	.section-title {
		font-size: 28px;
	}
	.banner-content {
		padding-left: 100px;
	}
	.banner-title {
		font-size: 48px;
	}
}

@media (max-width: 992px) {
	/* 导航栏响应式样式已统一在后面定义 */
	
	/* Banner适配 */
	.contact-banner {
		height: 500px;
	}
	.banner-content {
		padding-left: 60px;
	}
	.banner-title {
		font-size: 36px;
	}
}

@media (max-width: 768px) {
	.section-title {
		font-size: 24px;
	}
	
	/* Banner适配 */
	.contact-banner {
		height: 400px;
	}
	.banner-content {
		padding-left: 40px;
	}
	.banner-title {
		font-size: 28px;
	}
}

@media (max-width: 576px) {
	.section-title {
		font-size: 20px;
	}
	
	/* Banner适配 */
	.contact-banner {
		height: 300px;
	}
	.banner-content {
		padding-left: 20px;
	}
	.banner-title {
		font-size: 24px;
	}
}

/* 业务选择按钮容器 */
.button-container {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-top: 60px;
	margin-bottom: 60px;
}

/* 表单区域样式 */
.form-section {
	background-color: #efefef;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* 解决横向滚动条问题 */
html, body {
	overflow-x: hidden;
}

/* 表单容器 */
.form-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px;
	border-radius: 8px;
	display: flex;
	gap: 60px;
}

/* 表单左侧内容 */
.form-side-content {
	flex: 0 0 300px;
	display: flex;
	align-items: flex-start;
}

/* 激活的业务类型显示 */
.active-business-type {
	background-color: #007ac9;
	color: white;
	padding: 40px;
	border-radius: 8px;
	width: 100%;
}

/* 业务类型标题 */
.business-type-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
	display: block;
}

/* 业务类型副标题 */
.business-type-subtitle {
	font-size: 18px;
	line-height: 1.6;
	display: block;
}

/* 表单内容 */
.form-content {
	flex: 1;
}

/* 表单行 */
.form-row {
	margin-bottom: 25px;
	display: flex;
	flex-wrap: wrap;
}

/* 表单组 */
.form-group {
	position: relative;
}

/* 全宽表单组 */
.form-group.full-width {
	width: 100%;
}

/* 全宽表单组 - 上下布局 */
.form-group.full-width {
	display: block !important;
}

.form-group.full-width label {
	width: 100% !important;
	text-align: left !important;
	margin-right: 0 !important;
	margin-bottom: 8px !important;
}

.form-group.full-width .radio-group {
	width: 100% !important;
	margin-left: 0 !important;
}

/* 半宽表单组 */
.form-group.half-width {
	width: calc(50% - 20px);
	margin-right: 40px;
}

/* 半宽表单组最后一个不需要右边距 */
.form-group.half-width:last-child {
	margin-right: 0;
}

/* 表单标签 - 上下布局 */
.form-group label {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	color: #111;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
}

/* 表单输入框 - 上下布局 */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
	display: block;
	width: 100%;
	padding: 10px 0;
	border: none;
	border-bottom: 2px solid transparent;
	box-shadow: 0 -1px 0 0 #ddd inset;
	font-size: 16px;
	color: #333;
	background-color: transparent;
	transition: all 0.3s ease;
	text-align: left;
}

/* 针对radio group的特殊处理 - 上下布局 */
.form-group .radio-group {
	display: flex;
	gap: 30px;
	width: 100%;
	margin-top: 8px;
}

/* 针对提交按钮的特殊处理 */
.form-group.text-center label {
	display: none;
}

.form-group.text-center input,
.form-group.text-center textarea {
	width: 100%;
}

/* 输入框聚焦效果 */
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
	outline: none;
	box-shadow: 0 -2px 0 0 #007ac9 inset;
}

/* 文本域样式 */
.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

/* 单选按钮组 */
.radio-group {
	display: flex !important;
	gap: 30px !important;
	flex-direction: row !important;
}

/* 单选按钮项 */
.radio-item {
	display: flex !important;
	align-items: center !important;
	cursor: pointer;
	flex-direction: row !important;
}

/* 单选按钮 */
.radio-item input[type="radio"] {
	margin-right: 8px !important;
	cursor: pointer;
	vertical-align: middle !important;
}

/* 单选按钮标签 */
.radio-item label {
	margin: 0 !important;
	cursor: pointer;
	vertical-align: middle !important;
	display: inline-block !important;
}

/* 增强的选择器优先级 - 确保电话和邮件选项左右对齐 */
.form-row .form-group.full-width .radio-group {
	display: flex !important;
	gap: 30px !important;
	flex-direction: row !important;
}

/* 增强的选择器优先级 - 确保radio按钮和标签文字左右对齐 */
.form-row .form-group.full-width .radio-group .radio-item {
	display: flex !important;
	align-items: center !important;
	flex-direction: row !important;
}

/* 提交按钮 - 居中显示 */
.submit-button {
	background-color: rgb(22, 151, 60);
	color: white;
	border: none;
	padding: 15px 50px;
	font-size: 18px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: block;
	margin: 0 auto;
}

/* 提交按钮悬停效果 */
.submit-button:hover {
	background-color: rgb(18, 120, 48);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(22, 151, 60, 0.3);
}

/* 业务按钮基础样式 */
.business-button {
	background-color: white;
	border: 2px solid #ddd;
	color: #000;
	padding: 40px 60px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	max-width: 400px;
	width: 100%;
	min-height: 200px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* 页脚样式 - 复制自首页 */
footer {
	background: #141519;
	padding-top: 60px;
	padding-bottom: 30px;
	width: 100vw;
	margin: 0;
	overflow-x: hidden;
}

/* 移除Bootstrap容器限制，使用自定义容器，并添加左右内边距 */
footer > .container {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

/* 使用Flexbox布局实现100vw横向排列，每项长度由内部元素决定 */
footer .row {
	display: flex !important;
	flex-direction: row;
	justify-content: center;
	gap: 180px;
	margin: 0 !important;
	width: 100%;
	padding: 0;
}

/* 页脚列样式 - 长度由内部元素决定 */
footer .col-md-3 {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	padding: 0 !important;
	display: flex;
	align-items: flex-start;
}

/* 统一的列内容容器 - 默认上下居中对齐 */
.footer-column-content {
	padding: 10px 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: auto;
}

/* 联系方式和关注品牌监测平台 - 上下对齐，左右靠左对齐 */
.col-md-3:nth-child(3) .footer-column-content,
.col-md-3:nth-child(4) .footer-column-content,
.col-md-3:nth-child(5) .footer-column-content {
	align-items: flex-start;
	text-align: left;
}

/* 页脚标题 - 统一标题样式 */
.footer-title {
	font-size: 20px;
	font-weight: 500;
	color: #ffffff;
	text-align: center;
  height: 60px;
}

.footer-title-diff {
  text-align: left !important;
}

/* 链接列表 - 关于我们和业务介绍 */
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	text-align: center;
}

.about-us-links, .business-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

/* 链接点击动画 */
.footer-link-item {
	color: #b0b0b0;
	font-size: 18px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-block;
	position: relative;
	padding: 2px 0;
	line-height: 1.4;
}

.footer-link-item::before {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #ff6b6b;
	transition: width 0.3s ease;
}

.footer-link-item:hover {
	color: #ffffff;
	transform: translateX(5px);
}

.footer-link-item:hover::before {
	width: 100%;
}

/* 联系我们 */
.contact-info {
	margin-top: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* 确保联系地址与联系方式电话元素持平对齐 */
.contact-phone,
.contact-address {
	margin-top: 0;
	padding-top: 0;
}

.contact-content {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
	width: 100%;
	flex-wrap: wrap;
	box-sizing: border-box;
	max-width: 100%;
}

.contact-phone,
.contact-address {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.contact-phone p,
.contact-address p {
	color: #b0b0b0;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 3px;
}

.contact-phone img,
.contact-address img {
	width: 24px;
  height: 24px;
  margin-bottom: 13px;
}

.contact-group,
.contact-item,
.contact-icon,
.contact-text {
	display: none;
}

/* 二维码容器 */
.qrcode-container {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 0;
	width: 100%;
}

.qrcode-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.qrcode-image {
	width: 80px;
	height: 80px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	padding: 5px;
	background-color: white;
	border-radius: 4px;
	object-fit: cover;
}

.qrcode-text {
	color: #ffffff;
	font-size: 14px;
	margin-top: 14px;
	text-align: center;
}

/* 页脚底部 */
.footer_bottom {
  width: 100%;
  height: 98px;
  background: #333538;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #FFFFFF;
}

/* 按钮标题样式 */
.button-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
	display: block;
}

/* 按钮副标题样式 */
.button-subtitle {
	font-size: 18px;
	line-height: 1.6;
	display: block;
}

/* 按钮选中状态 */
.business-button.active {
	background-color: #007ac9;
	border-color: #007ac9;
	color: white;
}

/* 按钮悬停效果 */
.business-button:hover:not(.active) {
	border-color: #007ac9;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 - 按钮和表单适配 */
@media (max-width: 1200px) {
	.section-title {
		font-size: 28px;
	}
	.button-container {
		gap: 30px;
	}
	.business-button {
		padding: 30px 40px;
	}
	.button-title {
		font-size: 28px;
	}
	.button-subtitle {
		font-size: 16px;
	}
	
	/* 表单适配 */
	.form-container {
		max-width: 100%;
		padding: 30px;
	}
	.form-group.half-width {
		width: calc(50% - 15px);
		margin-right: 30px;
	}
}

@media (max-width: 992px) {
	.navbar-nav {
		background-color: white;
		border-radius: 8px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		padding: 15px 0;
		margin-top: 15px;
	}

	.navbar-nav .nav-item {
		margin: 0;
		text-align: center;
	}

	.navbar-nav .nav-link {
		padding: 10px 15px;
	}
	
	/* 按钮适配 */
	.business-button {
		padding: 25px 30px;
	}
	.button-title {
		font-size: 24px;
	}
	.button-subtitle {
		font-size: 14px;
	}
	
	/* 表单适配 */
	.form-container {
		padding: 25px;
	}
	.form-group.half-width {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.form-row {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.section-title {
		font-size: 24px;
	}

	.section-subtitle {
		font-size: 16px;
	}
	
	/* 按钮适配 */
	.button-container {
		gap: 20px;
	}
	.business-button {
		padding: 20px 25px;
	}
	.button-title {
		font-size: 20px;
	}
	.button-subtitle {
		font-size: 13px;
	}
	
	/* 表单适配 */
	.form-section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.form-container {
		padding: 20px;
		flex-direction: column;
		gap: 20px;
	}
	.form-side-content {
		flex: none;
		width: 100%;
	}
	.active-business-type {
		padding: 20px;
	}
	.business-type-title {
		font-size: 20px;
	}
	.business-type-subtitle {
		font-size: 13px;
	}
	.form-group label {
			font-size: 14px;
			width: 100%;
			text-align: left !important;
			margin-right: 0 !important;
			margin-bottom: 8px !important;
		}
		.form-group input,
		.form-group textarea {
			font-size: 14px;
			width: 100%;
		}
		.form-group .radio-group {
			width: 100%;
		}
	.radio-group {
		flex-direction: column;
		gap: 15px;
	}
	

}

@media (max-width: 576px) {
	.section-title {
		font-size: 20px;
	}

	.section-subtitle {
		font-size: 14px;
	}
	
	/* 按钮适配 */
	.business-button {
		padding: 15px 20px;
	}
	.button-title {
		font-size: 18px;
	}
	.button-subtitle {
		font-size: 12px;
	}
	
	/* 表单适配 */
	.form-section {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.form-container {
		padding: 15px;
	}
	.submit-button {
		width: 100%;
		padding: 12px;
		font-size: 16px;
	}
	

}