/* 时间轴容器 */
.timeline {
	position: relative;
	padding: 40px 0;
}

/* 时间轴中心线 */
.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background: linear-gradient(to bottom, #4AAB3D, #2ecc71);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* 时间轴项目容器 */
.timeline-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

/* 已显示的项目 */
.timeline-item.visible {
	opacity: 1;
	transform: translateY(0);
}

/* 左侧项目 */
.timeline-item.left {
	left: 0;
}

/* 右侧项目 */
.timeline-item.right {
	left: 50%;
}

/* 内容框 */
.timeline-content {
	padding: 25px;
	background: white;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 时间点 */
.timeline-date {
	font-weight: 700;
	font-size: 1.3rem;
	color: #4AAB3D;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}

.timeline-date i {
	margin-right: 10px;
	font-size: 1.4rem;
}

/* 标题 */
.timeline-title {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #333333;
}

/* 描述 */
.timeline-desc {
	color: #555;
	font-size: 1.05rem;
	margin-bottom: 15px;
}

/* 标记点 */
.timeline-item::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	background-color: white;
	border: 5px solid #4AAB3D;
	border-radius: 50%;
	top: 20px;
	z-index: 1;
	transition: all 0.3s ease;
}

.timeline-item:hover::after {
	background-color: #4AAB3D;
	transform: scale(1.2);
}

.left::after {
	right: -12px;
}

.right::after {
	left: -12px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
	.timeline::after {
		left: 31px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
	}

	.timeline-item.right {
		left: 0;
	}

	.left::after,
	.right::after {
		left: 19px;
	}

	.timeline-title {
		font-size: 1.3rem;
	}
}

/* 动画定义 */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
	}

	70% {
		box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
	}
}

/* 控制按钮 */
.controls {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 30px;
}

.control-btn {
	padding: 10px 20px;
	background: #4AAB3D;
	color: white;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-size: 1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.control-btn:hover {
	background: #2980b9;
	transform: translateY(-3px);
}

.control-btn:active {
	transform: translateY(1px);
}

.control-btn i {
	margin-right: 8px;
}


@keyframes shine {
	100% {
		transform: translateX(100%);
	}
}