/* ========================================
 * Back to Top Button
 * ======================================== */
.back-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 50px;
	height: 50px;
	background: #1863AB;
	color: #fff;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	transition: all 0.3s ease;
	box-shadow: 0 3px 10px rgba(24, 99, 171, 0.3);
}

.back-to-top i {
	font-size: 20px;
}

.back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(24, 99, 171, 0.4);
	background: #1a6fc4;
}

.back-to-top:active {
	transform: translateY(0);
}

@media (max-width: 768px) {
	.back-to-top {
		right: 20px;
		bottom: 20px;
		width: 44px;
		height: 44px;
	}
}

/* ========================================
 * Smart Customer Service
 * ======================================== */
.smart-customer-service {
	position: fixed;
	right: 30px;
	bottom: 100px;
	z-index: 9998;
	font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.cs-toggle-btn {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #1863AB 0%, #1e87e4 100%);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(24, 99, 171, 0.4);
	transition: all 0.3s ease;
	color: #fff;
}

.cs-toggle-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(24, 99, 171, 0.5);
}

.cs-toggle-btn i {
	font-size: 24px;
	margin-bottom: 2px;
}

.cs-toggle-text {
	font-size: 10px;
	white-space: nowrap;
}

.cs-popup {
	position: absolute;
	right: 0;
	bottom: 70px;
	width: 320px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
	display: none;
	overflow: hidden;
}

.cs-popup.active {
	display: block;
	animation: csPopupSlide 0.3s ease;
}

@keyframes csPopupSlide {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.cs-popup-header {
	background: linear-gradient(135deg, #1863AB 0%, #1e87e4 100%);
	color: #fff;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cs-popup-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}

.cs-popup-header h4 i {
	margin-right: 8px;
}

.cs-popup-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.3s ease;
}

.cs-popup-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.cs-popup-body {
	padding: 20px;
}

.cs-working-hours {
	background: #f8f9fa;
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 13px;
	color: #666;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.cs-working-hours i {
	color: #1863AB;
	margin-right: 8px;
}

.cs-quick-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.cs-action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px 10px;
	background: #f0f7ff;
	border-radius: 10px;
	text-decoration: none;
	color: #1863AB;
	transition: all 0.3s ease;
}

.cs-action-item:hover {
	background: #1863AB;
	color: #fff;
	transform: translateY(-3px);
}

.cs-action-item i {
	font-size: 24px;
	margin-bottom: 8px;
}

.cs-action-item span {
	font-size: 13px;
}

.cs-contact-info {
	border-top: 1px solid #eee;
	padding-top: 15px;
	margin-bottom: 15px;
}

.cs-contact-item {
	display: flex;
	align-items: center;
	padding: 8px 0;
	font-size: 13px;
	color: #666;
}

.cs-contact-item i {
	width: 24px;
	color: #1863AB;
}

.cs-wechat-section {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 10px;
	text-align: center;
}

.cs-wechat-section h5 {
	margin: 0 0 12px;
	font-size: 14px;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cs-wechat-section h5 i {
	color: #07C160;
	margin-right: 8px;
	font-size: 18px;
}

.cs-wechat-qrcode {
	width: 100px;
	height: 100px;
	margin: 0 auto;
	background: #fff;
	padding: 5px;
	border-radius: 8px;
}

.cs-wechat-qrcode img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 768px) {
	.smart-customer-service {
		right: 20px;
		bottom: 90px;
	}

	.cs-toggle-btn {
		width: 54px;
		height: 54px;
	}

	.cs-toggle-btn i {
		font-size: 20px;
	}

	.cs-popup {
		width: 280px;
		right: -10px;
	}
}

/* ========================================
 * Service Section
 * ======================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-single-item {
	animation: fadeInUp 0.6s ease-out both;
	display: flex;
	align-items: stretch;
}

/* 服务卡片基础样式 */
.single-service-card {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.single-service-card .service-card-inner {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 40px 28px;
	text-align: center;
}

/* 图标样式 */
.single-service-card .service-icon-wrapper {
	position: relative;
	z-index: 1;
	padding-top: 10px;
	margin-bottom: 20px;
}

.single-service-card .service-icon {
	position: relative;
	z-index: 1;
}

.single-service-card .service-icon i {
	font-size: 42px;
	color: #1a73e8;
	transition: all 0.4s ease;
}

.single-service-card h5 {
	margin: 0 0 16px 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a1a;
	transition: color 0.3s ease;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-service-card .service-content {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.single-service-card .service-content p {
	margin: 0;
	color: #666666;
	line-height: 1.7;
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

/* 发光效果 - 不拦截点击 */
.single-service-card .service-card-glow {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(26, 115, 232, 0.08) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
	pointer-events: none;
}

/* 悬停效果 */
.single-service-card:hover .service-card-inner {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(26, 115, 232, 0.15) !important;
}

.single-service-card:hover .service-card-glow {
	opacity: 1 !important;
}

.single-service-card:hover .service-icon i {
	color: #1a73e8 !important;
	transform: scale(1.15);
}

.single-service-card:hover h5 {
	color: #1a73e8 !important;
}

.single-service-card:hover .service-content p {
	color: #555 !important;
}

.service-icon .fa {
	font-family: 'FontAwesome' !important;
	font-style: normal !important;
	font-weight: normal !important;
}

.view-all-services:hover {
	background: linear-gradient(135deg, #1a73e8, #1557b0) !important;
	border-color: #1a73e8 !important;
	color: #fff !important;
}

.view-all-services:hover i {
	transform: translateX(4px);
}

@media (max-width: 991px) {
	.services-area {
		padding: 80px 0;
	}
	.section-title {
		margin-bottom: 50px !important;
	}
	.section-title h2 {
		font-size: 34px !important;
	}
}

@media (max-width: 767px) {
	.services-area {
		padding: 60px 0;
	}
	.section-title {
		margin-bottom: 40px !important;
	}
	.section-title h2 {
		font-size: 28px !important;
	}
	.section-label {
		font-size: 11px !important;
		letter-spacing: 2px !important;
	}
	.single-service-card {
		margin-bottom: 30px !important;
	}
	.service-icon-wrapper {
		padding: 30px 20px 20px !important;
	}
	.service-icon-bg {
		width: 70px !important;
		height: 70px !important;
		top: 20px !important;
	}
	.service-icon i {
		font-size: 32px !important;
	}
	.service-content {
		padding: 0 20px 25px !important;
	}
	h5 {
		font-size: 18px !important;
	}
}

@media (max-width: 575px) {
	.section-title h2 {
		font-size: 24px !important;
	}
	.service-icon-wrapper {
		padding: 25px 15px 15px !important;
	}
	.service-icon i {
		font-size: 28px !important;
	}
	.service-content {
		padding: 0 15px 20px !important;
	}
}

/* ========================================
 * News Section
 * ======================================== */
.news-single-item {
	animation: fadeInUp 0.6s ease-out both;
	display: flex;
	align-items: stretch;
	height: 480px; /* 固定高度确保所有卡片一致 */
}

/* 卡片基础样式 */
.news-card {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.news-card .card-inner {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

/* 封面图固定高度 */
.news-card .news-thumbnail {
	flex-shrink: 0;
	height: 180px; /* 稍微减小以适应固定高度 */
	position: relative;
	overflow: hidden;
}

.news-card .news-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

/* 分类标签 */
.news-card .news-category {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
}

.news-card .news-category span {
	display: inline-block;
	background: linear-gradient(135deg, #1a73e8, #1557b0);
	color: #fff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

/* 内容区域 */
.news-card-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.news-card-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #999;
}

.news-card-meta i {
	font-size: 11px;
}

.news-card-title {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 12px 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.news-card-excerpt {
	margin: 0 0 16px 0;
	color: #666666;
	line-height: 1.7;
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-readmore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1a73e8;
	font-weight: 500;
	font-size: 14px;
	margin-top: auto;
	transition: color 0.3s ease;
}

.news-card:hover .news-card-readmore {
	color: #1557b0;
}

.news-card:hover .news-card-readmore i {
	transform: translateX(4px);
}

/* 发光效果 - 不拦截点击 */
.news-card .card-glow {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(26, 115, 232, 0.08) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
	pointer-events: none;
}

/* 卡片悬停效果 */
.news-card:hover .card-inner {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(26, 115, 232, 0.15) !important;
}

.news-card:hover .card-glow {
	opacity: 1 !important;
}

.news-card:hover .news-thumbnail img {
	transform: scale(1.08);
}

.news-card:hover .news-card-title {
	color: #1a73e8 !important;
}

/* 摘要颜色变化 */
.news-card:hover .news-card-excerpt {
	color: #555 !important;
}

/* 查看更多按钮 */
.view-all-news:hover {
	background: linear-gradient(135deg, #1a73e8, #1557b0) !important;
	border-color: #1a73e8 !important;
	color: #fff !important;
}

.view-all-news:hover i {
	transform: translateX(4px);
}

@media (max-width: 991px) {
	.news-area {
		padding: 80px 0;
	}
	.section-title {
		margin-bottom: 50px !important;
	}
	.section-title h2 {
		font-size: 34px !important;
	}
	.news-single-item {
		height: 450px;
	}
}

@media (max-width: 767px) {
	.news-area {
		padding: 60px 0;
	}
	.section-title {
		margin-bottom: 40px !important;
	}
	.section-title h2 {
		font-size: 28px !important;
	}
	.section-label {
		font-size: 11px !important;
		letter-spacing: 2px !important;
	}
	.news-single-item {
		height: auto;
		min-height: 400px;
	}
	.news-card {
		margin-bottom: 30px !important;
	}
	.news-card-content {
		padding: 20px !important;
	}
	.news-card-title {
		font-size: 16px !important;
	}
}

@media (max-width: 575px) {
	.section-title h2 {
		font-size: 24px !important;
	}
	.news-card-content {
		padding: 16px !important;
	}
	.news-single-item {
		min-height: 380px;
	}
}

/* ========================================
 * Partner Section
 * ======================================== */
/* 合作伙伴卡片悬停效果 */
.partner-item {
	cursor: pointer;
}

.partner-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.partner-item:hover .partner-logo {
	filter: grayscale(0%) !important;
	opacity: 1 !important;
	transform: scale(1.05);
}

.partner-item:hover h5 {
	color: #1a73e8 !important;
}

/* 响应式 */
@media (max-width: 991px) {
	.partner-area {
		padding: 80px 0;
	}
	.section-title {
		margin-bottom: 50px !important;
	}
	.section-title h2 {
		font-size: 34px !important;
	}
}

@media (max-width: 767px) {
	.partner-area {
		padding: 60px 0;
	}
	.section-title {
		margin-bottom: 40px !important;
	}
	.section-title h2 {
		font-size: 28px !important;
	}
	.section-label {
		font-size: 11px !important;
		letter-spacing: 2px !important;
	}
	.partner-item {
		padding: 20px !important;
	}
	.partner-item img {
		max-width: 120px !important;
	}
}

@media (max-width: 575px) {
	.section-title h2 {
		font-size: 24px !important;
	}
}
