﻿.about .features-image {
	position: relative;
	top: 50px;
	margin-bottom: 50px;
}

.about .main-image {
	position: relative;
	z-index: 1;
	border-radius: 50%;
	border: 10px solid #cfd8dc;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about .stats-card {
	position: absolute;
	z-index: 2;
	width: 220px;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	background: color-mix(in srgb, var(--surface-color), transparent 20%);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
}

.about .stat-item {
	text-align: center;
}

.about .stat-item h3 {
	margin-bottom: 5px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-color);
}

.about .stat-item p {
	margin-bottom: 0;
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--default-color);
}

.about .experience-badge {
	position: absolute;
	z-index: 2;
	padding: 20px;
	background: color-mix(in srgb, var(--accent-color), transparent 35%);
	color: var(--contrast-color);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	top: auto;
	bottom: 2px;
	left: 50%;
	transform: translateX(-50%);
}

.about .badge-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about .number {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}

.about .text {
	font-size: 0.9rem;
	text-align: center;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.about .stats-card {
		width: 180px;
		padding: 15px;
		background: color-mix(in srgb, var(--surface-color), transparent 15%);
	}

	.about .stat-item h3 {
		font-size: 1.2rem;
	}

	.about .stat-item p {
		font-size: 0.7rem;
	}

	.about .experience-badge {
		top: auto;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
	}

	.about .number {
		font-size: 2rem;
	}
}

.round2 {
	border-radius: 50%;
	border: 3px solid #ddd
}

.services-item-list {
	padding: 0 10px
}

.services-item {
	width: calc(25%);
	float: left;
	text-align: center;
}

.services-item img {
	max-width: 100%;
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,.2);
	box-shadow: 0 0 1px rgba(0,0,0,.2);
	margin-right: 1px;
	margin-bottom: 1px
}

.awards {
	width: calc(50%);
	float: left;
	text-align: center;
}

.developments {
	text-align: center;
	padding: 40px 0 20px 0
}

@media only screen and (min-width:768px) and (max-width:991px) {
	.services-item {
		width: calc(33.33%)
	}

	.services-item-none {
		display: none;
		visibility: hidden
	}

	.awards {
		width: calc(100%);
		text-align: center
	}
}

@media (max-width:768px) {
	.services-item {
		width: calc(50%)
	}

	.awards {
		width: calc(100%);
		text-align: center
	}
}
/*--------------------------------------------------------------
# 推荐服务
--------------------------------------------------------------*/

.recommend {
	overflow: hidden;
}

.recommend-item-list {
	display: flex;
	flex-wrap: wrap;
	margin-right: -16px;
}

.recommend-item {
	width: calc(20% - 16px);
	margin-right: 16px;
	margin-bottom: 30px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0,0,0,.1);
	padding-top: 40px;
	padding-bottom: 25px;
	border-radius: 5px;
	background: #fff;
}

.recommend-item a:hover {
	border: none;
	color: #800;
	text-decoration: none;
	background: none;
}

.recommend-item i {
	font-size: 40px;
	padding: 14px;
}

.recommend-item p {
	padding: 16px 4px 0 4px;
	line-height: 150%;
	margin-bottom: 0 !important;
	font-size: 1.1rem;
	font-weight: 700;
}

.recommend-item h5 {
	padding: 12px 0 4px 0;
	font-weight: 700;
}

.recommend-item span {
	font-size: 12px;
	display: block;
	font-weight: 400;
}

@media only screen and (min-width:577px) and (max-width:992px) {
	.recommend-item {
		width: calc(33.33% - 16px);
	}
}

@media (max-width:576px) {
	.recommend-item {
		width: calc(50% - 16px);
	}

	.recommend-item h5 {
		font-size: 15px;
		font-weight: 300;
	}

	.recommend-item span {
		font-size: 10px;
	}

	.recommend-item p {
		font-size: .9rem;
	}
}

/*--------------------------------------------------------------
# 资质证书
--------------------------------------------------------------*/
.certificates {
	padding-bottom: 70px;
}

.certificates img {
	display: block;
	margin: 0 auto;
	padding: 0;
	max-width: 150px;
	border: 1px solid #777;
	box-shadow: 0 0 10px #777;
	transition: 0.3s all ease-in-out;
}

.certificates .swiper-wrapper {
	height: auto;
}

.certificates .swiper-pagination {
	position: relative;
	margin-top: 40px;
}

.certificates .swiper-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	opacity: 1;
	background-color: var(--background-color);
	border: 1px solid var(--accent-color);
}

.certificates .swiper-pagination .swiper-pagination-bullet-active {
	background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .section-category {
	font-weight: 800;
}

.contact .section-contact {
	font-weight: 500;
	color: var(--accent-color);
	font-size: 1rem;
}

.contact .content h2 {
	font-weight: 700;
	line-height: 1.2;
}

.contact .content img {
	padding-right: 15px;
}

.contact .content .lead {
	color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.contact .info-item {
	height: 100%;
}

.contact .info-item {
	position: relative;
	background: url(../images/bgcode.webp);
	border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
	border-radius: 16px;
	padding: 18px 30px;
	box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
	transition: 0.3s;
	overflow: hidden;
}

.contact .info-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: var(--accent-color);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.contact .info-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.contact .info-item:hover::before {
	transform: scaleX(1);
}

.contact .info-item p {
	padding: 5px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.contact .info-item i {
	color: var(--heading-color);
	width: 56px;
	height: 56px;
	font-size: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.45s ease-in-out;
	border-radius: 50%;
	border: 2px dotted color-mix(in srgb, var(--heading-color), transparent 40%);
}

.contact .info-item h3 {
	font-size: 1.1rem;
	font-weight: 900;
	margin: 15px 0 20px 0;
}


/*--------------------------------------------------------------
# 媒体站点
--------------------------------------------------------------*/
/* --------------------------------------------------------------
# 媒体站点（响应式优化版）
-------------------------------------------------------------- */
.media .site-masonry {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  /* 默认手机端归零，防止溢出出现滚动条 */
  margin-left: 0;
  margin-right: 0;
}

/* 仅在平板及桌面端（≥768px）启用负边距扩展 */
@media (min-width: 768px) {
  .media .site-masonry {
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

.media .site-item {
  width: 33.3333%;
  padding: 0 1rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.media .site-item:nth-child(3n-1) {
  margin-top: 3rem;
}

.media .site-item:nth-child(3n) {
  margin-top: 1.5rem;
}

.media .site-item.highlight .site-content {
  background-color: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.3);
}

.media .site-item.highlight .site-icon {
  background-color: rgba(13, 110, 253, 0.15);
}

.media .site-item.highlight .site-icon img {
  color: #0d6efd;
  max-width: 35px;
}

.media .site-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.media .site-content:hover {
  transform: translateY(-5px);
}

.media .site-content h3 {
  font-size: 1.125rem;
  padding-bottom: 0.5rem;
}

.media .site-content p {
  line-height: 1.7;
  margin: 1.5rem 0;
  font-size: 90%;
}

/* 链接样式修正：规范属性名小写，防止 hover 抖动 */
.media .site-content a,
.media .site-content a:visited {
  padding: 1px 5px;
  height: 18px;
  text-decoration: none;
  background-color: transparent;
  border-bottom: 2px solid #cf007d;
  color: #cf007d;
  transition: background 0.14s ease 0s, color 0.14s ease 0s, border-color 0.14s ease 0s;
  orphans: 2;
}

.media .site-content a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #f06;
  border-radius: 3px;
  border-bottom-color: transparent; /* 保持 2px 边框防止上下抖动 */
}

.media .site-icon {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.media .site-icon i {
  font-size: 1.25rem;
  color: #0d6efd;
}

.media .details-info {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.media .details-info p {
  margin: 0;
}

/* 响应式断点 */
@media (max-width: 1199.98px) {
  .media .site-item {
    width: 50%;
  }

  .media .site-item:nth-child(3n),
  .media .site-item:nth-child(3n-1) {
    margin-top: 0;
  }

  .media .site-item:nth-child(2n) {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .media .site-item {
    width: 100%;
    padding: 0; /* 手机端单列时取消左右内边距，完全对齐容器边界 */
  }

  .media .site-item:nth-child(2n) {
    margin-top: 0;
  }

  .media .site-content p {
    font-size: 0.9375rem;
  }

  .media .site-icon {
    width: 2.25rem;
    height: 2.25rem;
    top: -1.125rem;
  }

  .media .site-icon i {
    font-size: 1.125rem;
  }

  .media .site-content h3 {
    font-size: 1rem;
  }
}

/* 海外院校申请流程 */

.process-timeline {
	max-width: 950px;
}

/* 时间线容器 */
.process-timeline .timeline-steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 28px;
	margin-bottom: 32px;
	flex-wrap: wrap;
	border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
	border-radius: 16px;
}

.process-timeline .timeline-step {
	display: flex;
	align-items: center;
	gap: 12px;
}

.process-timeline .step-marker {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--contrast-color);
	font-size: 16px;
	font-weight: 700;
}

.process-timeline .step-info strong {
	display: block;
	font-size: 14px;
	color: var(--heading-color);
}

.process-timeline .step-info span {
	font-size: 12px;
	color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* 连接线 */
.process-timeline .timeline-connector {
	flex: 1;
	min-width: 20px;
	max-width: 60px;
	height: 2px;
	background: var(--accent-color);
}

@media (max-width: 768px) {

	.process-timeline .timeline-steps {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.process-timeline .timeline-connector {
		display: none;
	}
}

