/* 基础样式 */
:root {
	--primary-color: #1e50a2;
	--secondary-color: #f8b500;
	--text-color: #333;
	--light-gray: #f5f5f5;
	--white: #fff;
	--black: #000;
	--transition: all 0.3s ease;
}

/* 地图统计模块 */
.map-container {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 0 0 40px 0;
}

.map-image {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.map-stats {
    flex: 0 0 35%;
}

.stat-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 35px;
}

.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 3px;
    background: #007bff;
    transform: translateY(-50%);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #007bff;
    line-height: 1.2;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
        gap: 30px;
    }
    .map-image {
        width: 100%;
    }
    .stat-item {
        padding-left: 40px;
    }
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: var(--text-color);
	transition: var(--transition);
}

a:hover {
	color: var(--primary-color);
}

img {
	max-width: 100%;
	height: auto;
}

ul {
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.btn {
	display: inline-block;
	padding: 10px 25px;
	background-color: var(--primary-color);
	color: var(--white);
	border-radius: 4px;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-weight: 500;
}

.btn:hover {
	background-color: #153b7d;
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title h2 {
	font-size: 2.2rem;
	color: var(--primary-color);
	margin-bottom: 15px;
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: '';
	position: absolute;
	width: 50px;
	height: 3px;
	background-color: var(--secondary-color);
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
}

.section-title p {
	color: #666;
	font-size: 1.1rem;
}

/* 顶部信息栏 */
.top-bar {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 8px 0;
	font-size: 0.9rem;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.contact-info span {
	margin-right: 20px;
}

.contact-info i {
	margin-right: 5px;
}

.social-links a {
	color: var(--white);
	margin-left: 15px;
	font-size: 1rem;
}

/* 导航栏 */
header {
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 50px;
	margin-right: 10px;
}

.logo h1 {
	font-size: 1.5rem;
	color: var(--primary-color);
}

.nav-list {
	display: flex;
}

.nav-list li {
	margin-left: 30px;
	position: relative;
}

.nav-list a {
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--text-color);
}

.nav-list li.active a {
	color: var(--primary-color);
}

.nav-list li::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	bottom: -5px;
	left: 0;
	transition: var(--transition);
}

.nav-list li:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	margin: 5px 0;
	transition: var(--transition);
}

/* 轮播图 */
.slider {
	position: relative;
	height: 600px;
	overflow: hidden;
}

.slides {
	height: 100%;
	position: relative;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1s ease;
}

.slide.active {
	opacity: 1;
}

.slide-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--white);
	width: 100%;
	padding: 0 20px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
	font-size: 3rem;
	margin-bottom: 20px;
	animation: fadeInDown 1s ease;
}

.slide-content p {
	font-size: 1.5rem;
	margin-bottom: 30px;
	animation: fadeInUp 1s ease;
}

.slide-content .btn {
	animation: fadeIn 1.5s ease;
}

.slider-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	z-index: 10;
}

.slider-controls button {
	background-color: rgba(0, 0, 0, 0.3);
	color: var(--white);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	transition: var(--transition);
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 20px;
}

.slider-controls button:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

.slider-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
}

.slider-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
	cursor: pointer;
	transition: var(--transition);
}

.slider-dots .dot.active {
	background-color: var(--white);
	transform: scale(1.2);
}

/* 特色板块 */
.features {
	padding: 80px 0;
	background-color: var(--light-gray);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.feature-item {
	background-color: var(--white);
	padding: 30px;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.feature-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background-color: rgba(30, 80, 162, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 2rem;
	color: var(--primary-color);
}

.feature-item h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

/* 关于学校 */
.about {
	padding: 80px 0;
}

.tri-cards {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.tri-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.tri-card-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.tri-card-item:hover {
  transform: translateY(-5px);
}

.tri-card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tri-card-content {
  padding: 25px;
  text-align: center;
}

.tri-card-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.tri-card-content p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tri-card-grid {
    grid-template-columns: 1fr;
  }
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-text h2 {
	font-size: 2rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.about-text p {
	margin-bottom: 20px;
	color: #555;
}

.about-image {
	flex: 1;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
	transition: var(--transition);
}

.about-image:hover img {
	transform: scale(1.05);
}

/* 新闻动态 */
.news {
	padding: 80px 0;
	background-color: var(--light-gray);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.news-item {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.news-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.news-item:hover .news-image img {
	transform: scale(1.1);
}

.news-date {
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: var(--primary-color);
	color: var(--white);
	padding: 10px;
	text-align: center;
	border-radius: 5px;
}

.news-date span:first-child {
	font-size: 1.5rem;
	font-weight: bold;
	display: block;
	line-height: 1;
}

.news-content {
	padding: 20px;
}

.news-content h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.news-content p {
	color: #666;
	margin-bottom: 15px;
	font-size: 0.95rem;
}

.read-more {
	color: var(--primary-color);
	font-weight: 500;
	font-size: 0.9rem;
}

.read-more i {
	margin-left: 5px;
	transition: var(--transition);
}

.read-more:hover i {
	transform: translateX(5px);
}

.view-all {
	text-align: center;
	margin-top: 40px;
}

/* 校园风采样式 */
.campus {
  padding: 60px 0;
  background: #f9f9f9;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.campus-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.campus-item:hover {
  transform: translateY(-5px);
}

.campus-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.campus-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px;
  color: white;
}

.campus-caption h3 {
  margin: 0;
  font-size: 1.4rem;
}

/* 时间轴模块 */
.timeline-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.timeline-container {
    display: flex;
    position: relative;
    margin-top: 40px;
}

.timeline-middle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #1e50a2;
    transform: translateX(-50%);
}

.timeline-dots {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1e50a2;
    margin-left: -7px;
}

.timeline-left, .timeline-right {
    flex: 1;
}

.timeline-right {
    padding-left: 50px;
}

.timeline-left {
    padding-right: 50px;
    text-align: right;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-year {
    display: inline-block;
    padding: 8px 15px;
    background-color: #1e50a2;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timeline-content h3 {
    color: #1e50a2;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 180px;
    object-fit: cover;
}

.timeline-left .timeline-image {
    margin-left: auto;
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
    }
    
    .timeline-middle {
        left: 30px;
    }
    
    .timeline-left, .timeline-right {
        padding: 0 0 0 60px;
        text-align: left;
    }
    
    .timeline-left .timeline-image {
        margin-left: 0;
    }
    
    .timeline-item {
        margin-bottom: 40px;
    }
}

/* 领导关怀模块 */
.leadership-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.leadership-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.leadership-left, .leadership-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.leadership-item {
    text-align: center;
}

.leadership-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.leadership-item p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .leadership-container {
        flex-direction: column;
    }
    
    .leadership-left, .leadership-right {
        grid-template-columns: 1fr;
    }
}

/* 快速链接 */
.quick-links {
	padding: 80px 0;
}

.links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

/* 响应式布局：在小屏幕设备上每行显示一个链接项 */
@media (max-width: 768px) {
	.links-grid {
		grid-template-columns: 1fr;
	}
}

.link-item {
	height: 250px;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.link-item a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--white);
	text-align: center;
	padding: 20px;
	background-color: rgba(30, 80, 162, 0.7);
	opacity: 0;
	transition: var(--transition);
}

.link-item:hover a {
	opacity: 1;
}

.link-item h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	transform: translateY(20px);
	transition: var(--transition);
}

.link-item p {
	transform: translateY(20px);
	transition: var(--transition);
	transition-delay: 0.1s;
}

.link-item:hover h3,
.link-item:hover p {
	transform: translateY(0);
}

/* 页脚 */
footer {
	background-color: #222;
	color: #aaa;
	padding: 60px 0 0;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-col h3 {
	color: var(--white);
	font-size: 1.3rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 2px;
	background-color: var(--secondary-color);
	bottom: 0;
	left: 0;
}

.footer-col p {
	margin-bottom: 20px;
	line-height: 1.8;
}

.footer-social a {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-color: #333;
	color: var(--white);
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	margin-right: 10px;
	transition: var(--transition);
}

.footer-social a:hover {
	background-color: var(--primary-color);
	transform: translateY(-5px);
}

.footer-col ul li {
	margin-bottom: 15px;
}

.footer-col ul li a {
	color: #aaa;
	transition: var(--transition);
}

.footer-col ul li a:hover {
	color: var(--white);
	padding-left: 5px;
}

.contact-info li {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.contact-info i {
	margin-right: 10px;
	color: var(--secondary-color);
	width: 20px;
	text-align: center;
}

.wechat-qr {
	text-align: center;
}

.wechat-qr img {
	width: 120px;
	margin-bottom: 10px;
}

.copyright {
	background-color: #111;
	padding: 20px 0;
	margin-top: 40px;
	text-align: center;
}

/* 动画 */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}

	.about-text,
	.about-image {
		flex: none;
		width: 100%;
	}

	.slider {
		height: 500px;
	}

	.slide-content h2 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.top-bar .container {
		flex-direction: column;
		text-align: center;
	}

	.contact-info {
		margin-bottom: 10px;
	}

	.social-links a {
		margin: 0 7px;
	}

	.menu-toggle {
		display: block;
	}

	.nav-list {
		position: fixed;
		top: 90px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 90px);
		background-color: var(--white);
		flex-direction: column;
		align-items: center;
		padding: 40px 0;
		transition: var(--transition);
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	}

	.nav-list.active {
		left: 0;
	}

	.nav-list li {
		margin: 15px 0;
	}

	.slider {
		height: 400px;
	}

	.slide-content h2 {
		font-size: 2rem;
	}

	.slide-content p {
		font-size: 1.2rem;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	ssss .links-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.slider {
		height: 350px;
	}

	.slide-content h2 {
		font-size: 1.8rem;
	}

	.slide-content p {
		font-size: 1rem;
	}

	.slider-controls button {
		width: 40px;
		height: 40px;
		margin: 0 10px;
	}

	.section-title h2 {
		font-size: 1.8rem;
	}
}