﻿
body {
	background: #fff;
}
/*header*/
.header {
	position: fixed;
	width: 100%;
	z-index: 999;
	background: none;
	transition: 0.5s;
}
.s-header, .header:hover {
	background: #090b1a;
}
.header .search {
	display: none;
}



/*index-title*/
.index-title {
	text-align: center;
}
.index-title .title {
	font-size: 30px;
	line-height: 30px;
	color: #333;
}
.index-title .tips {
	font-size: 15px;
	line-height: 15px;
	color: #888;
}
.index-title .title-line {
	height: 20px;
}
/*index-service*/

/* ===== 服务模块 ===== */

/* ===== 修复版：3D 翻转效果（一排放三个） ===== */
.index-service {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  min-width: 1200px;
 
}

/* 顶部装饰线 */
.index-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #5168b2, #60A5FA);
  border-radius: 2px;
}

.index-service .s {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 每个服务卡片 - 一排放三个 ===== */
.index-service .sub {
  width: calc(33.33% - 18px); /* 一排放三个 */
  max-width: 380px;
  min-width: 260px;
  height: 300px;
  perspective: 800px;
  transform-style: preserve-3d;
  background: transparent;
  border: none;
  box-shadow: none;
  float: none; /* 取消浮动 */
}


.index-service .dlx {
  position: relative;
  z-index: 2;
  background: transparent; 
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(0deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  width: 100%;
}


.index-service .dtx {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.index-service .des {
  height: 44px;
  line-height: 22px;
  padding: 0 5px;
  overflow: hidden;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ===== 背面卡片 ===== */
.index-service ul {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(81, 104, 178, 0.95) 0%, rgba(59, 77, 140, 0.95) 100%);
  border-radius: 8px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 60px rgba(81, 104, 178, 0.3);
  z-index: 3;
}

/* 悬浮时翻转 */
.index-service .sub:hover dl {
  transform: rotateY(-180deg);
}

.index-service .sub:hover ul {
  transform: rotateY(0deg);
}

/* ===== 背面样式（完整显示） ===== */
.index-service .ul-s {
  width: 100%;
  text-align: center;
}

.index-service ul h6 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: 1px;
}

.index-service ul li {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 18px;
}

/* ===== 查看详情按钮 ===== */
.index-service .index2n {
  margin-top: 5px;
}

.index-service .index2n a {
  display: inline-block;
  color: #ffffff;
  padding: 10px 32px;
  line-height: 1.4;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* 按钮波纹效果 */
.index-service .index2n a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.index-service .index2n a:hover::before {
  width: 300px;
  height: 300px;
}

.index-service .index2n a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.index-service .index2n a span {
  position: relative;
  z-index: 1;
}

/* ===== 卡片悬浮装饰 ===== */
.index-service .sub::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #5168b2, #60A5FA, #34D399);
  border-radius: 2px;
  transition: width 0.4s ease;
  z-index: 5;
}

.index-service .sub:hover::before {
  width: 80%;
}

/* ===== 卡片入场动画 ===== */
.index-service .sub {
  position: relative;
  width: calc(33.33% - 18px);
  max-width: 380px;
  min-width: 260px;
  height: 300px;
  perspective: 800px;
  transform-style: preserve-3d;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden; /* 确保图片不溢出 */
  border-radius: 16px;
}

/* ===== 背景图片层 - 铺满整个卡片 ===== */
.index-service .service-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s ease;
}

/* 悬浮时背景放大 */
.index-service .sub:hover .service-bg {
  transform: scale(1.1);
}

/* 背景图片上的半透明遮罩（让文字更清晰） */
.index-service .service-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}


.index-service .sub:nth-child(1) { animation-delay: 0.1s; }
.index-service .sub:nth-child(2) { animation-delay: 0.2s; }
.index-service .sub:nth-child(3) { animation-delay: 0.3s; }
.index-service .sub:nth-child(4) { animation-delay: 0.4s; }
.index-service .sub:nth-child(5) { animation-delay: 0.5s; }
.index-service .sub:nth-child(6) { animation-delay: 0.6s; }

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

/* ===== 响应式适配 ===== */
/* 大屏：一排三个 */
@media (min-width: 1200px) {
  .index-service .sub {
    width: calc(33.33% - 18px);
  }
}

/* 平板：一排两个 */
@media (max-width: 1199px) and (min-width: 769px) {
  .index-service {
    min-width: auto;
    padding: 50px 20px;
  }
  
  .index-service .sub {
    width: calc(50% - 14px);
    height: 280px;
  }
}

/* 手机：一排一个 */
@media (max-width: 768px) {
  .index-service {
    min-width: auto;
    padding: 40px 15px;
  }
  
  .index-service .s {
    gap: 15px;
  }
  
  .index-service .sub {
    width: 100%;
    height: 260px;
    min-width: auto;
  }
  
  .index-service dl,
  .index-service ul {
   
  }
  
  .index-service dt {
    font-size: 16px;
  }
  
  .index-service .m img {
    height: 60px;
    width: 60px;
  }
  
  .index-service ul h6 {
    font-size: 17px;
  }
}


/*index-case*/
.index-case {
	min-width: 1200px;
	padding: 80px 0;
	text-align: center;
	zoom: 1;
	background: #f8f8f8 url(../images/case-bg.jpg) no-repeat center center;
}
.index-case .title {
	color: #eee;
}
.index-case ul {
	padding: 40px 10px;
}
.index-case li {
	float: left;
	width: 25%;
}
.index-case li a {
	display: block;
	margin: 2px;
	position: relative;
	overflow: hidden;
}
.index-case li img {
	width: 100%;
	height: 192px;
	transition: 1s;
	-moz-transition: 1s;
	-webkit-transition: 1s;
	-o-transition: 1s;
	vertical-align: middle;
}
.index-case li img:hover {
	transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-webkit-transform: scale(1.1);
}
.index-case li p {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	line-height: 32px;
	height: 32px;
	overflow: hidden;
	background: url(../images/a.png);
}
.index-case li span {
	color: #fff;
	padding: 0 15px;
	text-decoration: none;
}
.index-case .more {
	display: block;
	margin: 0 auto;
	width: 130px;
	height: 36px;
	line-height: 36px;
	font-size: 16px;
	color: #0595C7;
	border: 1px #0595C7 solid;
	border-radius: 3px;
}
.index-case .more span {
	color: #0595C7;
}
.index-case .more em {
	background: #0595C7;
}
.index-case .more:hover span {
	color: #fff;
}
/*index-customer*/
.index-customer {
	min-width: 1200px;
	padding: 40px 0;
	background: #fff;
}
.customer-box {
	padding: 50px 150px 30px;
}
.customer-box .m {
	float: left;
	width: 130px;
	margin-right: 20px;
}
.customer-box .m img {
	width: 130px;
	height: 130px;
	border-radius: 50%;
}
.customer-box .big-title {

	font-size: 18px;
	color: #333;
}
.customer-box p {
	padding: 15px 0 10px;
	line-height: 22px;
	font-size: 14px;
	color: #777;
	max-height: 66px;
	overflow: hidden;
}
.customer-box .s-title {
	height: 20px;
	line-height: 20px;
	font-size: 14px;
	color: #999;
}
/*.customer-box .hd {*/
/*	text-align: center;*/
/*	padding: 20px 0 0;*/
/*}*/
/*.customer-box .hd li {*/
/*	display: inline-block;*/
/**display: inline;*/
/*	zoom: 1;*/
/*	width: 8px;*/
/*	height: 8px;*/
/*	margin: 0 3px;*/
/*	cursor: pointer;*/
/*	border: 1px #0590c7 solid;*/
/*	border-radius: 50%;*/
/*}*/
/*.customer-box .hd .on {*/
/*	background: #0595c7;*/
/*}*/
/*index-news*/
.index-news {
	min-width: 1200px;
	padding: 80px 0;
	background: #f8f8f8 url(../images/brand_bg.png) no-repeat center;
	border: 1px #f0f0f0 solid;
	border-width: 1px 0;
}
.index-news .s {
	padding-top: 40px;
}
.index-news .news-list {
	float: left;
	width: 400px;
}
.index-news .list-s {
	margin: 0 15px;
	background: #fff;
	border: 1px #f2f2f2 solid;
}
.index-news .m {
	position: relative;
}
.index-news .m p {
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	bottom: 0;
	text-align: center;
	line-height: 120px;
	font-size: 20px;
	background: rgba(0,0,0,0.5);
	color: #eee;
}
.index-news .m img {
	width: 100%;
	height: 120px;
}
.index-news ul {
	padding: 10px 15px;
}
.index-news li {
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	font-size: 13px;
	padding-left: 10px;
	background: url(../images/lidot.gif) no-repeat left center;
}
.index-news li span {
	float: right;
	margin-left: 10px;
	font-size: 12px;
	color: #888;
}
/*index-partner*/
.index-partner {
	min-width: 1200px;
	padding: 100px 0;
	background: #fff;
}
.index-partner .s {
	padding: 50px 0 0;
}
.index-partner ul {
	padding: 0 10px;
}
.index-partner li {
	float: left;
	width: 20%;
}
.index-partner a {
	display: block;
	margin: 10px;
	height: 80px;
	border: 1px #ededed solid;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
	transition: 0.5s;
}
.index-partner a:hover {
	border-color: #dcdcdc;
	-webkit-filter: grayscale(0);
	-moz-filter: grayscale(0);
	-ms-filter: grayscale(0);
	-o-filter: grayscale(0);
	filter: grayscale(0);
	filter: none;
}
/*index-contact*/
.index-contact {
	min-width: 1200px;
	padding: 45px 0;
	background-image: url(../images/contact-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center top;
	position: relative;
}
.index-contact .cover {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	z-index: 1;
}
.index-contact .s {
	position: relative;
	padding: 0 120px;
	z-index: 100;
}
.index-contact h6 {
	font-size: 30px;
	color: #fff;
	line-height: 40px;
}
.index-contact p {
	line-height: 50px;
	font-size: 18px;
	color: #eee;
}
.index-contact .btn {
	position: absolute;
	top: 50%;
	right: 120px;
	display: block;
	width: 200px;
	margin-top: -25px;
	border: 1px #fff solid;
	text-align: center;
	border-radius: 3px;
}
.index-contact .btn a {
	display: block;
	height: 48px;
	line-height: 48px;
	font-size: 18px;
	color: #fff;
}
/*index-process*/
.index-process {
	min-width: 1200px;
	background: #fff;
	padding: 80px 0;
}
.index-process ul {
	padding: 40px 40px 0;
}
.index-process li {
	float: left;
	width: 12.5%;
}
.index-process li a {
	display: block;
	border-left: 1px #ddd dotted;
	text-align: center;
	color: #808080;
}
.index-process .no a {
	border-left: 0;
}
.index-process li p {
	font-size: 16px;
	line-height: 40px;
}
.index-process li img {
	height: 50px;
}
