:root {
    --primary-color: #6bf0e5;
    --secondary-color: #6bf0e5;
    --feature-color: #6bf0e5;
    --background-color: #6bf0e5;
    --card-color: #6bf0e5;
    --text-color: #2c3e50;
    --shadow-color: rgba(0,0,0,0.1);
    --max-width: 1680px;
    --gap: 2rem;
    --border-radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 4rem 2rem;
    background-color: rgba(255, 255, 255, 0.5);  /* 透明度50%的白色 */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    margin: 2rem auto;
}

/* Typography */
h1, h2, h3 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.section-title h2 {
    max-width: 800px;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--gap);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95); /* 轻微透明的白色 */
    backdrop-filter: blur(5px); /* 添加模糊效果 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 添加细边框 */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

/* Banner */
.banner {
    background: url('images/correction-bg.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner h1 {
    font-size: clamp(3rem, 8vw, 5rem) !important;
    margin-bottom: 1rem !important;
}

.banner p {
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    font-weight: 300 !important;
    opacity: 0.9 !important;
}

.banner .container {
    transform: translateX(65%);
    max-width: 800px;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo {
    width: 400px;
    height: auto;
    background: none !important;
    mix-blend-mode: multiply;
    margin-bottom: 0;
}

.banner-content > div {
    text-align: center;
    transform: translateX(5%);
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color);
}

/* Content */
.content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 0.5rem;
    }
    
    .nav-link {
        margin: 0 0.5rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .banner .container {
        transform: translateX(40%);
    }
    
    .logo {
        width: 250px;
        margin-bottom: 0;
    }
    .banner-content > div {
        transform: translateX(2.5%);
    }
}

/* 项目背景样式 */
#background .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* 项目特色样式 */
#features .features-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* 行间距 */
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 两列布局 */
    gap: 2rem; /* 列间距 */
}

/* 公益模式样式 */
#model .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* 项目实效样式 */
#achievements .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

/* 项目团队样式 */
#team .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* 新增项目特色板块样式 */
/*
.features-section {
    background-color: #6bf0e5;
}
*/

.features-section .card {
    background-color: rgba(255, 255, 255, 0.9);
}

/* 特色服务板块 */
.features {
    background-color: #6bf0e5; /* 将背景色改为#6bf0e5 */
    padding: 4rem 2rem;
}

/* 数据展示 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 1680px; /* 原1200px扩大40% */
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 删除项目简介相关样式 */
#about .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* 调整容器宽度 */
.container {
    max-width: 1960px; /* 原1400px扩大40% */
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* 调整行宽度 */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* 公益模式样式 */
.model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 两列布局 */
    gap: 2rem; /* 列间距 */
}

.model-content {
    background-color: #ffffff; /* 背景色 */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 全局卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 自动适应列数，最小宽度300px */
    gap: 2rem; /* 列间距 */
    padding: 1rem; /* 内边距 */
}
/* 立体感文本框样式 */
.content {
    background-color: #ffffff; /* 背景色 */
    padding: 2rem; /* 内边距 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1); /* 更强的阴影 */
    border: 1px solid #e0e0e0; /* 添加边框 */
    max-width: 800px; /* 最大宽度 */
    margin: 0 auto; /* 居中显示 */
    line-height: 1.8; /* 行高 */
    text-align: justify; /* 文本对齐方式 */
    transition: box-shadow 0.3s ease; /* 添加阴影过渡效果 */
}

/* 悬停时增强立体感 */
.content:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 10px rgba(0, 0, 0, 0.2); /* 更强的悬停阴影 */
}

.section + .section {
    margin-top: 3rem; /* 调整板块之间的间距 */
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* 侧边导航栏样式 */
.sidebar {
    position: absolute;  /* 从fixed改为absolute */
    left: 0;
    top: auto;  /* 移除固定顶部 */
    width: 200px;
    background-color: rgba(106, 231, 220, 0.9);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;  /* 文字居中 */
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin: 1rem 0;
}

.sidebar nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.sidebar nav ul li a:hover {
    color: #6bf0e5;
}

/* 调整主内容区域 */
.main-content {
    margin-left: 220px;
    position: relative;  /* 添加相对定位 */
}

@media (max-width: 768px) {
    .sidebar {
        width: 150px;
    }
    .main-content {
        margin-left: 170px;
    }
}

/* 时间模块样式 */
.time-module {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}

#current-date {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;  /* 与时间保持距离 */
}

#current-time {
    font-size: 1.4rem;
    font-weight: bold;
}

/* 右侧联系我们模块 */
.contact-sidebar {
    position: absolute;  /* 绝对定位，与项目动态板块固定 */
    right: 0;
    top: 80px;  /* 与项目动态板块顶部对齐 */
    width: 200px;
    height: calc(100% - 80px);  /* 高度调整 */
    background-color: rgba(255, 255, 255, 0.75);  /* 透明度75%，与左侧导航栏一致 */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);  /* 阴影方向调整 */
    padding: 1rem;
    z-index: 1000;  /* 中层 */
    text-align: center;  /* 文字居中 */
}

.contact-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-sidebar ul li {
    margin: 1rem 0;
}

.contact-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;  /* 使链接占据整个宽度，便于居中 */
}

.contact-sidebar ul li a:hover {
    color: #6bf0e5;
}
/* 左侧导航栏标题 */
.sidebar-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;  /* 与导航栏内容保持距离 */
}

/* 右侧文本容器 */
.right-text-container {
    position: absolute;
    right: -220px;  /* 移动到项目动态板块右侧 */
    top: 0;  /* 与项目动态板块顶部对齐 */
    width: 200px;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.75);  /* 透明度75% */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);  /* 阴影方向调整 */
    border-radius: var(--border-radius);
    text-align: center;  /* 文字居中 */
}

.right-text-container h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.right-text-container p {
    font-size: 1rem;
    color: #333;
}

/* 项目动态板块专用样式 */
.project-dynamics-module {
    font-size: 18px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    padding: 20px;
}

.project-dynamics-module .module-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    text-align: center;
}

.project-dynamics-module .dynamic-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-dynamics-module .dynamic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.project-dynamics-module .dynamic-title {
    font-size: 20px;
    color: #2980b9;
    margin-bottom: 8px;
}

.project-dynamics-module .dynamic-date {
    font-size: 18px;
    color: #7f8c8d;
}
