@import './common.css';

.banner {
	height: 100%;
	background-position: center;
	position: relative;
	color: #ffffff;
	min-width: 1200px;
	display: none;
}

.banner .mask {
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	font-size: 80px;
	font-weight: 600;
	color: rgba(255, 255, 255, 1);
	line-height: 112px;
}

.banner-box {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
}
.banner-box .switch {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	cursor: auto;
}

.banner-box .switch .progress {
	width: 60px;
	height: 14px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 7px;
	margin: 0 4px;
}

.banner-box .switch .progress-inner {
	width: 33px;
	height: 14px;
	background: #FFFFFF;
	border-radius: 7px;
}

.banner-box .switch .dot {
	width: 14px;
	height: 14px;
	background: #FFFFFF;
	opacity: 0.2;
	border-radius: 7px;
	cursor: pointer;
	margin: 0 4px;
}

.banner .title {
	color: #ffffff;
	line-height: 66px;
	font-size: 48px;
	font-weight: bold;
	left: 50%;
	margin-bottom: 18px;
	text-align: center;
	letter-spacing: 0.3em;
}

.banner .text {
	font-size: 24px;
	line-height: 50px;
	margin-top: 30px;
	text-align: center;
}
.banner button {
	margin-top: 240px;
}

section {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--text-color);
}
section .title {
	font-size: 32px;
	font-weight: bold;
	line-height: 40px;
	position: relative;
	z-index: 1;
}
section .title img {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -34px;
	z-index: -1;
}
section .title::before {
	content: '';
	width: 100px;
	height: 4px;
	position: absolute;
	bottom: -26px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--primary-color);
}
section .desc {
	margin-top: 89px;
	font-size: 18px;
	line-height: 34px;
	text-align: center;
}

section.s1 {
	height: 598px;
	background: url('../image/index/s1-bg.png');
	background-position-y: -123px;
	background-position-x: -140px;
}
section.s1 .title {
	margin-top: 120px;
}
section.s1 .cards {
	margin-top: 70px;
}
section.s1 .item {
	width: 401px;
	height: 150px;
	border-radius: var(--border-radius-card);
	background: #ffffff;
	border: 2px solid #ffffff;
	box-shadow: var(--shadow-base);
	padding: 25px 20px;
}
section.s1 .item img {
	width: 100px;
	height: 100px;
}
section.s1 .item:hover .top {
	color: var(--primary-color);
}
section.s1 .item:not(:first-child) {
	margin-left: 38px;
}
section.s1 .item .info {
	margin-left: 33px;
	flex-direction: column;
	align-items: flex-start;
}
section.s1 .item .info .top {
	margin-top: 5px;
	font-size: 18px;
	font-weight: bold;
}
section.s1 .item .info .bottom {
	text-align: left;
	margin-top: 20px;
	font-size: 14px;
	line-height: 21px;
}
.s2bg {
	background-color: #f2f6fa;
}
section.s2 {
	height: 811px;
}
section.s2 .title {
	margin-top: 160px;
}
section.s2 .cards {
	margin-top: 91px;
	height: 396px;
	justify-content: space-between;
}
section.s2 .cards .item {
	position: relative;
	width: 295px;
	height: 100%;
	border-radius: var(--border-radius-float);
	border: 2px solid #ffffff;
	transition: all 0.3s;
	background: transparent;
	box-shadow: var(--shadow-base);
	padding: 38px 30px;
	overflow: hidden;
}
section.s2 .cards .item .bg {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(650px + 295px);
	height: 396px;
	display: flex;
	justify-content: space-between;
	/* z-index: -1; */
}
section.s2 .cards .item .bg .bg-left {
	width: 291px;
	height: 392px;
}
section.s2 .cards .item .bg .bg-right {
	width: 214px;
	height: 214px;
	margin-top: 157px;
	margin-right: 40px;
}
section.s2 .cards .item:not(:first-child) {
	margin-left: 18px;
}
/* section.s2 .cards .item:hover {
	width: 650px;
	background: linear-gradient(122deg, #7a86f9 0%, #4d5ced 98%);
}
section.s2 .cards .item:hover .bg {
	transform: translateX(-291px);
}
section.s2 .cards .item:hover .name,
section.s2 .cards .item:hover .desc {
	color: #ffffff;
}
section.s2 .cards .item:hover .desc {
	margin-top: 52px;
}
section.s2 .cards .item:hover .name::after {
	opacity: 1;
}
section.s2 .cards .item:hover button {
	background: #ffffff;
	left: 20px;
} */
section.s2 .cards .item.active {
	width: 650px;
	background: linear-gradient(122deg, #7a86f9 0%, #4d5ced 98%);
}
section.s2 .cards .item.active .bg {
	transform: translateX(-291px);
}
section.s2 .cards .item.active .name,
section.s2 .cards .item.active .desc {
	color: #ffffff;
}
section.s2 .cards .item.active .desc {
	margin-top: 52px;
}
section.s2 .cards .item.active .name::after {
	opacity: 1;
}
section.s2 .cards .item.active button {
	background: #ffffff;
	left: 20px;
}
section.s2 .cards .item .name {
	position: relative;
	font-size: 18px;
	font-weight: bold;
	line-height: 22px;
	color: var(--text-color);
}
section.s2 .cards .item .name::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -16px;
	width: 30px;
	height: 4px;
	border-radius: 13px;
	background: #ffffff;
	opacity: 0;
}
section.s2 .cards .item .desc {
	font-size: 14px;
	line-height: 21px;
	color: var(--text-color-secondary);
	margin-top: 32px;
	text-align: left;
	position: relative;
}
section.s2 .cards .item button {
	position: absolute;
	left: -2px;
	bottom: 50px;
	background-color: transparent;
	color: var(--primary-color);
	border: 1px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}
section.s2 .cards .item button a {
	width: 100%;
	height: 100%;
	position: absolute;
}
section.s2 .cards .item button:hover {
	color: var(--primary-color-hover);
}
section.s2 .cards .item.active button:hover {
	border: 1px solid var(--primary-color-hover);
}
section.s2 .cards .item button:active {
	color: var(--primary-color-active);
}
section.s2 .cards .item.active button:active {
	border: 1px solid var(--primary-color-active);
}
section.s3 {
	position: relative;
	height: 928px;
}
section.s3 .title {
	margin-top: 160px;
}
section.s3 .info {
	margin-top: 91px;
}
section.s3 .left {
	position: relative;
	width: 451px;
	height: 517px;
	display: block;
	border-radius: var(--border-radius-card);
	box-shadow: var(--shadow-base);
	overflow: hidden;
}
section.s3 .left .img_new {
	width: 100%;
	height: 254px;
	background-position: center top;
	background-size: cover;
}
section.s3 .left .tip {
	position: absolute;
	width: 66px;
	height: 24px;
	line-height: 24px;
	left: 0;
	top: 266px;
	padding-left: 9px;
	color: #ffffff;
	font-size: 12px;
	background-color: var(--primary-color);
}
section.s3 .left .tip::before {
	content: '';
	position: absolute;
	right: -24px;
	top: 0;
	border: 12px solid;
	border-color: transparent transparent transparent var(--primary-color);
}

section.s3 .left .tip::after {
	content: '';
	position: absolute;
	right: -3px;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffffff;
}
section.s3 .left .article {
	margin-top: 55px;
	padding: 0 16px;
	flex-direction: column;
	align-items: flex-start;
}
section.s3 .left .article-title {
	width: 100%;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	color: var(--text-color);
	font-weight: bold;
	cursor: pointer;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
section.s3 .left .article-title:hover {
	color: var(--primary-color);
}
section.s3 .left .content {
	height: 85px;
	font-size: 14px;
	color: var(--text-color-weak);
	line-height: 30px;
	margin-top: 20px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}
section.s3 .left .button {
	margin-left: 23px;
	margin-top: 29px;
	display: flex;
	align-items: center;
}
section.s3 .left .button i {
	margin-left: 8px;
}
section.s3 .right {
	flex-direction: column;
	margin-left: 60px;
}
section.s3 .right .item {
	width: 768px;
	height: 109px;
	border-bottom: 1px solid var(--divider-dark);
	align-items: flex-start;
}
section.s3 .right .item:not(:first-of-type) {
	margin-top: 27px;
}
section.s3 .right .item .time {
	position: relative;
	width: 135px;
	height: 75px;
	margin-right: 23px;
}
section.s3 .right .item .time .year {
	position: absolute;
	left: 0;
	top: 6px;
	font-size: 12px;
	color: var(--primary-color);
}
section.s3 .right .item .time .date {
	position: absolute;
	left: 0;
	top: 35px;
	font-size: 40px;
	color: var(--primary-color);
	font-family: ArialMT-Regular, ArialMT;
}
section.s3 .right .item .time .bar {
	position: absolute;
	top: 10px;
	right: 0;
	width: 80px;
	height: 1px;
	background-color: #a1aacd;
}
section.s3 .right .item .article {
	padding: 0 16px;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
}
section.s3 .right .item .article .article-title {
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	color: var(--text-color);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
}
section.s3 .right .item .article .article-title:hover {
	cursor: pointer;
	color: var(--primary-color);
}
section.s3 .right .item .article .content {
	color: var(--text-color-weak);
	margin-top: 16px;
	font-size: 14px;
	line-height: 21px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}
section.s3 .right .item .img {
	width: 151px;
	height: 85px;
	margin-left: 23px;
	background-position: center top;
	background-size: cover;
	border-radius: var(--border-radius-base);
}
section.s4 {
	width: 100%;
	height: 720px;
	background: linear-gradient(144deg, #F2F6FA 0%, #EFF3FC 100%);
	position: relative;
}
section.s4::before {
	content: '';
	position: absolute;
	width: 730px;
	height: 670px;
	right: 0;
	top: 0;
	background: url('../image/index/s4-bg.png') no-repeat center;
	background-size: cover;
}
section.s4 .title {
	margin-top: 160px;
}

section.s4 .info {
	width: calc(100% -  180px);
	margin-top: 111px;
	display: flex;
	overflow: hidden;
	z-index: 1;
}
section.s4.special {
	height: 550px;
}

section.s4 .info .animationBox {
	display: grid;
	grid-template-columns: repeat(8, 200px);
	row-gap: 60px;
	column-gap: 24px;
	animation: CasePlay 50s linear infinite;
}

section.s4.special .info .animationBox{
	grid-template-columns: repeat(7, 200px);
}

section.s4 .info .animationBox:nth-child(1) {
	margin-right: 24px;
}

@media (min-width: 1970px) {
	section.s4 .info {
		justify-content: center;
	}
    section.s4 .info .animationBox {
        animation: none;
    }
	section.s4 .info .animationBox:nth-child(1) {
		margin-right: 0;
	}
	section.s4 .info .animationBox:nth-child(2) {
		display: none;
	}
}

@media (min-width: 1764px) {
	section.s4.special .info {
		justify-content: center;
	}
    section.s4.special .info .animationBox {
        animation: none;
    }
	section.s4.special .info .animationBox:nth-child(1) {
		margin-right: 0;
	}
	section.s4.special .info .animationBox:nth-child(2) {
		display: none;
	}
}

@keyframes CasePlay {
	0% {
		-webkit-transform: translate(0);
		-moz-transform: translate(0);
		transform: translate(0);
	}
	100% {
		-webkit-transform: translate(-100%);
		-moz-transform: translate(-100%);
		transform: translate(-100%);
	}
}

section.s4 .info:hover .animationBox{
	animation-play-state: paused;
}

section.s4 .info .animationBox .item {
	width: 200px;
	height: 110px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 150px 70px;
	cursor: pointer;
	border-radius: 4px;
}
section.s4 .info .item:hover {
	background-color: #fff;
}
section.s4.special .info .item.ch{
	display: none;
}
section.s4 .info .item:nth-child(1) {
	background-image: url('../image/index/jiliqiche_2.png');
}
section.s4 .info .item:nth-child(2) {
	background-image: url('../image/index/yuncongkeji_2.png');
}
section.s4 .info .item:nth-child(3) {
	background-image: url('../image/index/ansys_2.png');
}
section.s4 .info .item:nth-child(4) {
	background-image: url('../image/index/shanqizhongka_2.png');
}
section.s4 .info .item:nth-child(5) {
	background-image: url('../image/index/zhuxiankeji_2.png');
}
section.s4 .info .item:nth-child(6) {
	background-image: url('../image/index/waylancer_2.png');
}
section.s4 .info .item:nth-child(7) {
	background-image: url('../image/index/futurewei_2.png');
}
section.s4 .info .item:nth-child(8) {
	background-image: url('../image/index/changanqiche_2.png');
}
section.s4 .info .item:nth-child(9) {
	background-image: url('../image/index/hp_2.png');
}
section.s4 .info .item:nth-child(10) {
	background-image: url('../image/index/ruantong_2.png');
}
section.s4 .info .item:nth-child(11) {
	background-image: url('../image/index/freetech_2.png');
}
section.s4 .info .item:nth-child(12) {
	background-image: url('../image/index/iscas_2.png');
}
section.s4 .info .item:nth-child(13) {
	background-image: url('../image/index/nanjingdaxue_2.png');
}
section.s4 .info .item:nth-child(14) {
	background-image: url('../image/index/xianjiaoda_2.png');
}
section.s4 .info .item:nth-child(15) {
	background-image: url('../image/index/shandongdaxue_2.png');
}
section.s4 .info .item:nth-child(16) {
	background-image: url('../image/index/huanghuaixueyuan_2.png');
}
section.s5 {
	background-position: center;
	background-size: cover;
	background-image: url('../image/index/s5-bg.png');
}
section.s5 .mg-auto {
	width: 66.67%;
	height: 245px;
	justify-content: space-between;
}
section.s5 .slogan {
	font-size: 32px;
	font-weight: bold;
	line-height: 40px;
	color: var(--text-color);
}
section.contact {
	height: 246px;
	line-height: 246px;
	background-image: url("../image/index/contact_1.png");
	background-position: center;
	background-size: cover;
}
section.contact .center {
	width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center
}
@media screen {
	@media (max-width: 1920px) and (max-height: 1080px) {
		.banner {
			background-size: cover;
		}
	}
	@media (min-width: 1920px), (min-height: 1080px) {
		@media (max-aspect-ratio: 1920/1080) {
			.banner {
				background-size: 100% 100%;
			}
		}
		@media (min-aspect-ratio: 1920/1080) {
			.banner {
				background-size: 100% auto;
			}
		}
	}
}


.box {
	width: 160px;
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: #f8f9fb;
}

.line-transparent {
	position: absolute;
	left: 190px;
	width: 820px;
}

.line-check {
	position: absolute;
	left: 190px;
	width: 820px;
}

.line-grey {
	position: absolute;
	left: 190px;
	width: 820px;
}

.box i {
	color: #828496;
	font-size: 50px;
}
.box i:hover {
	color: #00031f;
}

.wechat-qrcode {
	display: none;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	position: absolute;
	width: 150px;
	height: 150px;
	background: #fff;
	bottom: 110px;
	left: 50%;
	transform: translateX(calc(-50% - 8px));
}

.wechat-qrcode img {
	width: 120px;
	height: 120px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.wechat-qrcode .popper__arrow {
	border-color: transparent;
	border-top-color: #fff;
	bottom: -12px;
	border-width: 6px;
	position: absolute;
	display: block;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	-webkit-filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
}

.iconwechat:hover .wechat-qrcode {
	display: block;
}

input::-webkit-input-placeholder {
	color: #8d8e9b;
	font-size: 14px;
}
textarea::-webkit-input-placeholder {
	color: #8d8e9b;
	font-size: 14px;
}
input::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: #8d8e9b;
	font-size: 14px;
}
input:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: #8d8e9b;
	font-size: 14px;
}
input:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #8d8e9b;
	font-size: 14px;
}
