/* ====== ESG页面样式 ====== */
/* 页面内容容器 */
.container {
	max-width: 1200px;
	margin: 20px auto 40px;
	padding: 0 20px;
	flex: 1;
	width: 100%;
	overflow-x: hidden; /* 防止容器内溢出 */
}

/* ESG页面切换器 */
.esg-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.esg-tab {
	padding: 15px 30px;
	margin: 0 5px 10px;
	background: var(--white);
	border-radius: 50px;
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	box-shadow: var(--box-shadow);
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

.esg-tab.active {
	background: linear-gradient(to right, var(--primary), var(--secondary));
	color: var(--white);
	box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.esg-tab:hover:not(.active) {
	background: rgba(46, 125, 50, 0.1);
}

/* 关键数据展示 */
.data-section {
	background: linear-gradient(135deg, #1a5e20 0%, #2e7d32 100%);
	padding: 60px 0;
	color: white;
	margin: 50px 0;
	border-radius: var(--border-radius);
	width: 100%;
}

.data-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.data-item {
	text-align: center;
	padding: 30px 20px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--border-radius);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.data-value {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--accent);
}

.data-label {
	font-size: 1.2rem;
	font-weight: 500;
}

/* 社会责任举措卡片 */
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}

.card {
	background: var(--white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	height: 100%;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-image {
	height: 220px;
	overflow: hidden;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card-image img {
	transform: scale(1.05);
}

.card-content {
	padding: 25px;
}

.card-content h3 {
	font-size: 1.5rem;
	color: var(--dark);
	margin-bottom: 15px;
}

.card-content p {
	color: var(--text-light);
	margin-bottom: 20px;
	line-height: 1.7;
}

.card-icon {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 15px;
}

/* 数据图表 */
.chart-container {
	background: var(--white);
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: var(--box-shadow);
	margin-bottom: 40px;
	width: 100%;
	overflow: hidden;
}

.chart-header {
	text-align: center;
	margin-bottom: 30px;
}

.chart-header h3 {
	font-size: 1.8rem;
	color: var(--dark);
	margin-bottom: 15px;
}

.chart-header p {
	color: var(--text-light);
}

.chart {
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	background: var(--light);
	border-radius: var(--border-radius);
	padding: 20px;
	height: 300px;
}

.chart-bar {
	width: 40px;
	background: var(--primary);
	border-radius: 5px 5px 0 0;
	position: relative;
	transition: height 0.5s ease;
}

.chart-bar-label {
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.9rem;
	color: var(--dark);
	white-space: nowrap;
}

.chart-bar-value {
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.9rem;
	color: var(--dark);
	font-weight: 500;
}

/* 发展历程时间线 */
.history-section {
	background: var(--white);
	border-radius: var(--border-radius);
	padding: 40px 30px;
	box-shadow: var(--box-shadow);
	margin-bottom: 40px;
	width: 100%;
	overflow: hidden;
}

.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-header h2 {
	font-size: 2rem;
	color: var(--dark);
	margin-bottom: 15px;
}

.section-header p {
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto;
}

.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--primary);
	left: 50%;
	margin-left: -2px;
	border-radius: 2px;
}

.timeline-item {
	position: relative;
	margin-bottom: 40px;
}

.timeline-year {
	position: absolute;
	top: 0;
	width: 80px;
	height: 80px;
	background: var(--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	left: 50%;
	margin-left: -40px;
	z-index: 1;
	box-shadow: 0 0 0 6px var(--light);
}

.timeline-content {
	width: calc(50% - 60px);
	padding: 25px;
	background: var(--light);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.timeline-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 左右交替排列 */
.timeline-item:nth-child(odd) .timeline-content {
	margin-left: calc(50% + 60px);
}

.timeline-item:nth-child(even) .timeline-content {
	margin-right: calc(50% + 60px);
}

.timeline-content h3 {
	color: var(--primary-dark);
	margin-bottom: 10px;
	font-size: 1.3rem;
}

.timeline-content p {
	color: var(--text);
	line-height: 1.6;
	margin-bottom: 15px;
}

.milestone-icon {
	font-size: 1.8rem;
	color: var(--accent);
	margin-bottom: 10px;
}