/* 确保body没有默认margin，避免布局偏移 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* 使用更现代的字体 */
    color: #333;
    /* 全局文字颜色 */
    line-height: 1.6;
    /* 全局行高 */
    overflow-x: hidden;
    /* 隐藏水平滚动条 */
}

/* 定义主题色 */
:root {
    --primary-color: #165DFF;
    /* 主题色 */
    --primary-light: rgba(22, 93, 255, 0.1);
    /* 主题色浅色 */
    --primary-dark: #0E46D9;
    /* 主题色深色 */
    --text-primary: #333;
    /* 主要文字颜色 */
    --text-secondary: #666;
    /* 次要文字颜色 */
    --text-light: #999;
    /* 浅色文字 */
    --bg-light: #f8f9fa;
    /* 浅色背景 */
    --bg-white: #ffffff;
    /* 白色背景 */
    --border-color: #e0e0e0;
    /* 边框颜色 */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    /* 主题色渐变 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* 小阴影 */
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    /* 中阴影 */
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    /* 大阴影 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 平滑过渡 */
}

/* 导航栏样式保持不变，使用原有CSS */
#main-nav {
    height: 70px;
    /* 固定导航栏高度 */
    z-index: 1000;
    /* 确保导航栏在最上层 */
    transition: var(--transition);
    /* 平滑过渡 */
}

/* 英雄模块容器 */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: 70px;
    /* 为固定导航栏留出空间 */
    overflow: hidden;
    /* 确保内容不溢出 */
}

/* 背景图片 - 确保完整显示且充满容器 */
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* 确保图片充满容器，可能会裁剪边缘 */
    object-position: center;
    /* 确保图片居中裁剪，保留关键内容 */
    min-height: 700px;
    /* 增加最小高度，提供更充足的视觉空间 */
}

/* 内容容器 - 绝对定位叠加在图片上 */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* 使用space-around替代space-between，使内容更居中 */
    padding: 0 50px;
    /* 调整内边距，适应不同屏幕 */
    box-sizing: border-box;
    z-index: 10;
    /* 确保内容在图片上方 */
}

/* 左侧文字样式 */
.hero-text {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    /* 增强文字阴影，提高可读性 */
    max-width: 600px;
    /* 增加最大宽度，让文字有更充足的显示空间 */
    padding: 20px;
    /* 添加内边距，增强文字区域的视觉独立性 */
}

.hero-text h1 {
    font-size: 56px;
    /* 调整标题大小，增强视觉冲击力 */
    font-weight: bold;
    margin-bottom: 25px;
    /* 调整标题与副标题的间距 */
    line-height: 1.2;
    /* 调整行高，增强可读性 */
    letter-spacing: 1px;
    /* 增加字间距，提升标题质感 */
}

.hero-text p {
    font-size: 28px;
    /* 调整副标题大小，与标题形成良好的视觉层次 */
    margin-bottom: 0;
    line-height: 1.4;
    /* 调整行高，增强可读性 */
    font-weight: 300;
    /* 调整字重，与标题形成对比 */
}

/* 右侧按钮容器 */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* 增加按钮间距，提升呼吸感 */
    padding: 20px;
    /* 添加内边距，增强按钮区域的视觉独立性 */
}

/* 按钮样式 */
.hero-btn {
    padding: 18px 40px;
    /* 调整按钮内边距，增大按钮尺寸 */
    font-size: 20px;
    /* 调整按钮文字大小 */
    font-weight: 600;
    /* 调整按钮文字字重 */
    border: none;
    border-radius: 50px;
    /* 使用更大的圆角，使按钮更柔和 */
    cursor: pointer;
    transition: var(--transition);
    /* 平滑过渡 */
    text-decoration: none;
    text-align: center;
    display: inline-block;
    min-width: 220px;
    /* 设置最小宽度，确保按钮尺寸一致 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* 添加按钮阴影，增强立体感 */
}

.btn-learn-more {
    background-color: rgba(76, 175, 80, 0.9);
    /* 使用原有绿色 */
    color: white;
    border: 2px solid transparent;
    /* 添加透明边框，为hover效果做准备 */
}

.btn-learn-more:hover {
    background-color: rgba(76, 175, 80, 1);
    /* 悬停时增加不透明度 */
    transform: translateY(-3px);
    /* 增大上浮效果 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    /* 增大阴影，增强立体感 */
    border-color: rgba(255, 255, 255, 0.8);
    /* 悬停时显示边框，增强交互反馈 */
}

.btn-join-us {
    background-color: rgba(33, 150, 243, 0.9);
    /* 使用原有蓝色 */
    color: white;
    border: 2px solid transparent;
    /* 添加透明边框，为hover效果做准备 */
}

.btn-join-us:hover {
    background-color: rgba(33, 150, 243, 1);
    /* 悬停时增加不透明度 */
    transform: translateY(-3px);
    /* 增大上浮效果 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    /* 增大阴影，增强立体感 */
    border-color: rgba(255, 255, 255, 0.8);
    /* 悬停时显示边框，增强交互反馈 */
}

/* 关于我们板块样式 - 优化排版，使用主题色，去掉图片 */
.about-section {
    padding: 100px 0;
    /* 增加上下内边距，提供更充足的视觉空间 */
    background-color: var(--bg-light);
    /* 浅色背景 */
    color: var(--text-primary);
    /* 文字颜色 */
    position: relative;
    /* 为装饰元素定位 */
    overflow: hidden;
    /* 隐藏溢出的装饰元素 */
    transition: var(--transition);
    /* 平滑过渡 */
}

/* 装饰元素 - 背景圆点，使用主题色 */
.about-section::before,
.about-section::after {
    content: '';
    /* 伪元素内容 */
    position: absolute;
    /* 绝对定位 */
    border-radius: 50%;
    /* 圆形 */
    background: var(--primary-light);
    /* 主题色浅色 */
    animation: float 6s ease-in-out infinite;
    /* 浮动动画 */
}

.about-section::before {
    width: 300px;
    /* 宽度 */
    height: 300px;
    /* 高度 */
    top: -100px;
    /* 位置 */
    left: -100px;
    /* 位置 */
    animation-delay: 0s;
    /* 动画延迟 */
}

.about-section::after {
    width: 200px;
    /* 宽度 */
    height: 200px;
    /* 高度 */
    bottom: -50px;
    /* 位置 */
    right: -50px;
    /* 位置 */
    animation-delay: 3s;
    /* 动画延迟 */
}

/* 浮动动画 */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        /* 初始和结束状态 */
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        /* 中间状态 */
    }
}

.about-container {
    max-width: 1100px;
    /* 最大宽度，调整为更适合纯文字内容 */
    margin: 0 auto;
    /* 居中 */
    padding: 0 20px;
    /* 左右内边距 */
    position: relative;
    /* 确保内容在装饰元素上方 */
    z-index: 2;
    /* 提高层级 */
}

/* 标题区域排版 - 去掉副标题 */
.about-header {
    text-align: center;
    /* 标题居中 */
    margin-bottom: 60px;
    /* 调整与内容的间距 */
}

.about-header h2 {
    font-size: 48px;
    /* 增大标题大小，增强视觉冲击力 */
    font-weight: bold;
    /* 标题字重 */
    color: var(--text-primary);
    /* 标题颜色 */
    margin-bottom: 0;
    /* 去掉副标题后，调整间距 */
    position: relative;
    /* 为伪元素定位 */
    display: inline-block;
    /* 使伪元素宽度适应文字 */
    letter-spacing: -0.5px;
    /* 调整字间距 */
}

/* 标题下划线 */
.about-header h2::after {
    content: '';
    /* 伪元素内容 */
    position: absolute;
    /* 绝对定位 */
    bottom: -12px;
    /* 距离标题底部的距离 */
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%);
    /* 精确居中 */
    width: 80px;
    /* 下划线宽度 */
    height: 4px;
    /* 下划线高度 */
    background: var(--primary-color);
    /* 主题色下划线 */
    border-radius: 2px;
    /* 下划线圆角 */
    box-shadow: 0 2px 10px rgba(22, 93, 255, 0.3);
    /* 下划线阴影 */
}

/* 内容区域布局 - 去掉图片后调整为单列布局 */
.about-content {
    background: var(--bg-white);
    /* 白色背景 */
    border-radius: 16px;
    /* 圆角 */
    padding: 56px;
    /* 内边距，增加内边距 */
    box-shadow: var(--shadow-md);
    /* 阴影 */
    border: 1px solid var(--border-color);
    /* 边框 */
    transition: var(--transition);
    /* 平滑过渡 */
}

/* 段落排版 */
.about-text p {
    font-size: 16px;
    /* 正文大小 */
    line-height: 1.8;
    /* 调整行高，增强可读性 */
    color: var(--text-secondary);
    /* 文字颜色 */
    margin-bottom: 24px;
    /* 段落间距 */
    text-align: justify;
    /* 文字两端对齐 */
}

/* 特性列表样式 - 修复图标显示问题 */
.about-features {
    display: grid;
    /* 使用grid布局 */
    grid-template-columns: repeat(4, 1fr);
    /* PC端固定4列布局 */
    gap: 24px;
    /* 列表项间距，增加间距 */
    margin: 48px 0;
    /* 上下外边距，增加间距 */
    padding: 0;
    /* 去掉内边距，改为直接使用卡片样式 */
    background: transparent;
    /* 去掉背景色 */
    border-radius: 0;
    /* 去掉圆角 */
}

.feature-item {
    display: flex;
    /* 使用flex布局 */
    flex-direction: column;
    /* 垂直排列 */
    align-items: center;
    /* 水平居中 */
    text-align: center;
    /* 文字居中 */
    gap: 16px;
    /* 图标与文字间距，增加间距 */
    padding: 32px 24px;
    /* 内边距，增加内边距 */
    background: var(--bg-light);
    /* 浅色背景 */
    border-radius: 12px;
    /* 圆角 */
    transition: var(--transition);
    /* 平滑过渡 */
    border: 1px solid var(--border-color);
    /* 边框 */
    min-height: 200px;
    /* 固定最小高度，确保卡片对齐 */
    justify-content: center;
    /* 垂直居中 */
}

.feature-item:hover {
    background: var(--primary-light);
    /* 主题色浅色背景 */
    transform: translateY(-6px);
    /* 悬停时上浮效果增强 */
    box-shadow: var(--shadow-md);
    /* 悬停时阴影增强 */
    border-color: var(--primary-color);
    /* 悬停时主题色边框 */
}

/* 特性图标 - 修复显示问题 */
.feature-icon {
    width: 64px;
    /* 图标宽度，增大图标 */
    height: 64px;
    /* 图标高度，增大图标 */
    background: white;
    /* 白色背景，增强对比度 */
    border-radius: 16px;
    /* 圆角 */
    display: flex;
    /* 使用flex布局 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    font-size: 32px;
    /* 图标大小，增大图标 */
    color: var(--primary-color);
    /* 主题色图标，确保清晰可见 */
    box-shadow: var(--shadow-sm);
    /* 图标阴影 */
    flex-shrink: 0;
    /* 防止图标缩小 */
    border: 2px solid var(--primary-color);
    /* 主题色边框，增强视觉效果 */
}

/* 确保Font Awesome图标正确显示 */
.feature-icon i {
    color: var(--primary-color) !important;
    /* 强制设置图标颜色 */
    font-weight: 900;
    /* 使用实心图标 */
}

.feature-text {
    font-size: 15px;
    /* 文字大小，增大文字 */
    font-weight: 500;
    /* 文字字重 */
    color: var(--text-primary);
    /* 文字颜色 */
    line-height: 1.5;
    /* 行高，调整行高 */
}

/* 统计数据样式 - 优化显示位置 */
.about-stats {
    display: grid;
    /* 使用grid布局 */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    /* 自适应列数，调整最小宽度 */
    gap: 32px;
    /* 统计项间距，增加间距 */
    margin-top: 48px;
    /* 与文字的间距，增加间距 */
    padding-top: 32px;
    /* 顶部内边距 */
    border-top: 1px solid var(--border-color);
    /* 顶部边框 */
}

.stat-item {
    text-align: center;
    /* 统计项文字居中 */
    padding: 32px 24px;
    /* 内边距，增加内边距 */
    background: var(--bg-light);
    /* 浅色背景 */
    border-radius: 12px;
    /* 圆角 */
    transition: var(--transition);
    /* 平滑过渡 */
    border: 1px solid var(--border-color);
    /* 边框 */
}

.stat-item:hover {
    background: var(--primary-light);
    /* 主题色浅色背景 */
    transform: translateY(-5px);
    /* 悬停时上浮 */
    box-shadow: var(--shadow-md);
    /* 悬停时阴影 */
    border-color: var(--primary-color);
    /* 悬停时主题色边框 */
}

/* 统计数字 */
.stat-number {
    font-size: 44px;
    /* 数字大小，增大数字 */
    font-weight: bold;
    /* 数字字重 */
    color: var(--primary-color);
    /* 主题色数字 */
    display: block;
    /* 块级元素 */
    margin-bottom: 8px;
    /* 与标签的间距，增加间距 */
    line-height: 1.2;
    /* 行高 */
}

.stat-label {
    font-size: 14px;
    /* 标签大小，增大标签 */
    color: var(--text-secondary);
    /* 标签颜色 */
    font-weight: 500;
    /* 标签字重 */
    text-transform: uppercase;
    /* 标签大写 */
    letter-spacing: 0.5px;
    /* 标签字间距 */
}

/* 仅优化新闻资讯板块的样式，不影响其他板块 */

/* 新闻资讯板块容器 */
#news {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    color: #333;
    position: relative;
    overflow: hidden;
}

/* 波浪装饰 */
#news::before,
#news::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
}

#news::before {
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,192L48,181.3C96,171,192,149,288,160C384,171,480,213,576,218.7C672,224,768,192,864,176C960,160,1056,160,1152,181.3C1248,203,1344,245,1392,266.7L1440,288L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    transform: translateY(-100%);
}

#news::after {
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,224C672,224,768,192,864,176C960,160,1056,160,1152,181.3C1248,203,1344,245,1392,266.7L1440,288L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    transform: translateY(100%);
}

/* 新闻容器 */
.news-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* 新闻标题区域 */
.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.news-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #165DFF;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}

/* 新闻内容布局 */
.news-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

/* 新闻卡片 */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(224, 224, 224, 0.6);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 卡片进入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同卡片设置不同的动画延迟 */
.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* 卡片悬停效果 */
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
    border-color: #165DFF;
}

/* 图片容器 */
.news-image-container {
    overflow: hidden;
    height: 200px;
}

/* 新闻图片 */
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #165DFF 0%, #0E46D9 100%);
    transition: transform 0.3s ease;
}

/* 图片悬停效果 */
.news-card:hover .news-image {
    transform: scale(1.05);
}

/* 新闻卡片内容 */
.news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 新闻标签 */
.news-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #165DFF;
    background: rgba(22, 93, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    line-height: 1;
}

/* 标签悬停效果 */
.news-card:hover .news-tag {
    background: #165DFF;
    color: white;
}

/* 新闻标题 */
.news-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* 标题悬停效果 */
.news-card:hover .news-title {
    color: #165DFF;
}

/* 新闻摘要 */
.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    text-align: justify;
}

/* 新闻底部信息 */
.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    padding-top: 16px;
    border-top: 1px solid rgba(224, 224, 224, 0.6);
}

/* 新闻日期 */
.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

/* 阅读更多链接 */
.news-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #165DFF;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

/* 阅读更多悬停效果 */
.news-read-more:hover {
    gap: 12px;
    color: #0E46D9;
}

/* 查看更多按钮 */
.news-more {
    text-align: center;
    margin-top: 0;
}

.btn-news-more {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #165DFF;
    background: transparent;
    border: 2px solid #165DFF;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

/* 查看更多按钮悬停效果 */
.btn-news-more:hover {
    background: #165DFF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #news {
        padding: 60px 0;
    }

    .news-header h2 {
        font-size: 32px;
    }

    .news-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-body {
        padding: 20px;
    }

    .news-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 0 16px;
    }

    .news-content {
        gap: 16px;
    }

    .news-image-container {
        height: 180px;
    }
}

/* 联系我们板块样式 */
.contact-section {
    padding: 100px 0;
    /* 上下内边距 */
    background-color: var(--bg-white);
    /* 白色背景 */
    color: var(--text-primary);
    /* 文字颜色 */
    position: relative;
    /* 为装饰元素定位 */
    overflow: hidden;
    /* 隐藏溢出的装饰元素 */
}

/* 装饰元素 - 背景圆点，使用主题色 */
.contact-section::before,
.contact-section::after {
    content: '';
    /* 伪元素内容 */
    position: absolute;
    /* 绝对定位 */
    border-radius: 50%;
    /* 圆形 */
    background: var(--primary-light);
    /* 主题色浅色 */
    animation: float 6s ease-in-out infinite;
    /* 浮动动画 */
}

.contact-section::before {
    width: 250px;
    /* 宽度 */
    height: 250px;
    /* 高度 */
    top: -80px;
    /* 位置 */
    right: -80px;
    /* 位置 */
    animation-delay: 0s;
    /* 动画延迟 */
}

.contact-section::after {
    width: 150px;
    /* 宽度 */
    height: 150px;
    /* 高度 */
    bottom: -50px;
    /* 位置 */
    left: -50px;
    /* 位置 */
    animation-delay: 3s;
    /* 动画延迟 */
}

.contact-container {
    max-width: 1100px;
    /* 最大宽度 */
    margin: 0 auto;
    /* 居中 */
    padding: 0 20px;
    /* 左右内边距 */
    position: relative;
    /* 确保内容在装饰元素上方 */
    z-index: 2;
    /* 提高层级 */
}

/* 标题区域排版 */
.contact-header {
    text-align: center;
    /* 标题居中 */
    margin-bottom: 60px;
    /* 调整与内容的间距 */
}

.contact-header h2 {
    font-size: 48px;
    /* 增大标题大小，增强视觉冲击力 */
    font-weight: bold;
    /* 标题字重 */
    color: var(--text-primary);
    /* 标题颜色 */
    margin-bottom: 0;
    /* 调整间距 */
    position: relative;
    /* 为伪元素定位 */
    display: inline-block;
    /* 使伪元素宽度适应文字 */
    letter-spacing: -0.5px;
    /* 调整字间距 */
}

/* 标题下划线 */
.contact-header h2::after {
    content: '';
    /* 伪元素内容 */
    position: absolute;
    /* 绝对定位 */
    bottom: -12px;
    /* 距离标题底部的距离 */
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%);
    /* 精确居中 */
    width: 80px;
    /* 下划线宽度 */
    height: 4px;
    /* 下划线高度 */
    background: var(--primary-color);
    /* 主题色下划线 */
    border-radius: 2px;
    /* 下划线圆角 */
    box-shadow: 0 2px 10px rgba(22, 93, 255, 0.3);
    /* 下划线阴影 */
}

/* 联系内容布局 */
.contact-content {
    display: grid;
    /* 使用grid布局 */
    grid-template-columns: 1fr 1fr;
    /* 两列布局 */
    gap: 48px;
    /* 列间距 */
    background: var(--bg-light);
    /* 浅色背景 */
    border-radius: 16px;
    /* 圆角 */
    padding: 56px;
    /* 内边距 */
    box-shadow: var(--shadow-md);
    /* 阴影 */
    border: 1px solid var(--border-color);
    /* 边框 */
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    /* 使用flex布局 */
    flex-direction: column;
    /* 垂直排列 */
    gap: 32px;
    /* 信息项间距 */
}

.contact-item {
    display: flex;
    /* 使用flex布局 */
    align-items: flex-start;
    /* 垂直顶部对齐 */
    gap: 20px;
    /* 图标与文字间距 */
    padding: 24px;
    /* 内边距 */
    background: var(--bg-white);
    /* 白色背景 */
    border-radius: 12px;
    /* 圆角 */
    transition: var(--transition);
    /* 平滑过渡 */
    border: 1px solid var(--border-color);
    /* 边框 */
}

.contact-item:hover {
    background: var(--primary-light);
    /* 主题色浅色背景 */
    transform: translateY(-3px);
    /* 悬停时上浮 */
    box-shadow: var(--shadow-md);
    /* 悬停时阴影 */
    border-color: var(--primary-color);
    /* 悬停时主题色边框 */
}

/* 联系图标 */
.contact-icon {
    width: 56px;
    /* 图标宽度 */
    height: 56px;
    /* 图标高度 */
    background: white;
    /* 白色背景 */
    border-radius: 12px;
    /* 圆角 */
    display: flex;
    /* 使用flex布局 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    font-size: 24px;
    /* 图标大小 */
    color: var(--primary-color);
    /* 主题色图标 */
    box-shadow: var(--shadow-sm);
    /* 图标阴影 */
    flex-shrink: 0;
    /* 防止图标缩小 */
    border: 2px solid var(--primary-color);
    /* 主题色边框 */
}

/* 确保Font Awesome图标正确显示 */
.contact-icon i {
    color: var(--primary-color) !important;
    /* 强制设置图标颜色 */
    font-weight: 900;
    /* 使用实心图标 */
}

.contact-details h3 {
    font-size: 18px;
    /* 标题大小 */
    font-weight: 600;
    /* 标题字重 */
    color: var(--text-primary);
    /* 标题颜色 */
    margin-bottom: 8px;
    /* 与内容的间距 */
}

.contact-details p {
    font-size: 15px;
    /* 内容大小 */
    color: var(--text-secondary);
    /* 内容颜色 */
    margin-bottom: 0;
    /* 去掉默认间距 */
    line-height: 1.6;
    /* 行高 */
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    /* 使用flex布局 */
    gap: 16px;
    /* 链接间距 */
    margin-top: 16px;
    /* 与上方内容的间距 */
}

.social-link {
    display: flex;
    /* 使用flex布局 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    width: 40px;
    /* 链接宽度 */
    height: 40px;
    /* 链接高度 */
    background: white;
    /* 白色背景 */
    border-radius: 8px;
    /* 圆角 */
    color: var(--primary-color);
    /* 主题色图标 */
    text-decoration: none;
    /* 去掉下划线 */
    transition: var(--transition);
    /* 平滑过渡 */
    border: 1px solid var(--border-color);
    /* 边框 */
}

.social-link:hover {
    background: var(--primary-color);
    /* 主题色背景 */
    color: white;
    /* 白色图标 */
    transform: translateY(-3px);
    /* 悬停时上浮 */
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
    /* 悬停时阴影 */
    border-color: var(--primary-color);
    /* 悬停时主题色边框 */
}

/* 联系表单样式 */
.contact-form {
    background: var(--bg-white);
    /* 白色背景 */
    border-radius: 12px;
    /* 圆角 */
    padding: 32px;
    /* 内边距 */
    box-shadow: var(--shadow-sm);
    /* 阴影 */
    border: 1px solid var(--border-color);
    /* 边框 */
}

.contact-form h3 {
    font-size: 24px;
    /* 表单标题大小 */
    font-weight: 600;
    /* 表单标题字重 */
    color: var(--text-primary);
    /* 表单标题颜色 */
    margin-bottom: 24px;
    /* 与表单的间距 */
    text-align: center;
    /* 表单标题居中 */
}

.form-group {
    margin-bottom: 24px;
    /* 表单组间距 */
}

.form-label {
    display: block;
    /* 块级元素 */
    font-size: 14px;
    /* 标签大小 */
    font-weight: 500;
    /* 标签字重 */
    color: var(--text-primary);
    /* 标签颜色 */
    margin-bottom: 8px;
    /* 与输入框的间距 */
}

.form-control {
    width: 100%;
    /* 输入框宽度 */
    padding: 12px 16px;
    /* 输入框内边距 */
    font-size: 15px;
    /* 输入框文字大小 */
    color: var(--text-primary);
    /* 输入框文字颜色 */
    background-color: var(--bg-light);
    /* 输入框背景色 */
    border: 1px solid var(--border-color);
    /* 输入框边框 */
    border-radius: 8px;
    /* 输入框圆角 */
    transition: var(--transition);
    /* 平滑过渡 */
    box-sizing: border-box;
    /* 盒模型 */
}

.form-control:focus {
    outline: none;
    /* 去掉默认轮廓 */
    border-color: var(--primary-color);
    /* 聚焦时主题色边框 */
    box-shadow: 0 0 0 3px var(--primary-light);
    /* 聚焦时主题色阴影 */
    background-color: var(--bg-white);
    /* 聚焦时白色背景 */
}

.form-control::placeholder {
    color: var(--text-light);
    /* 占位符颜色 */
}

textarea.form-control {
    resize: vertical;
    /* 允许垂直调整大小 */
    min-height: 120px;
    /* 最小高度 */
    max-height: 300px;
    /* 最大高度 */
}

.btn-submit {
    width: 100%;
    /* 按钮宽度 */
    padding: 14px 24px;
    /* 按钮内边距 */
    font-size: 16px;
    /* 按钮文字大小 */
    font-weight: 600;
    /* 按钮文字字重 */
    color: white;
    /* 按钮文字颜色 */
    background-color: var(--primary-color);
    /* 按钮背景色 */
    border: none;
    /* 按钮边框 */
    border-radius: 8px;
    /* 按钮圆角 */
    cursor: pointer;
    /* 鼠标悬停时显示指针 */
    transition: var(--transition);
    /* 平滑过渡 */
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
    /* 按钮阴影 */
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    /* 悬停时深色背景 */
    transform: translateY(-2px);
    /* 悬停时上浮 */
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
    /* 悬停时增强阴影 */
}

.btn-submit:active {
    transform: translateY(0);
    /* 点击时恢复原位 */
}

/* 返回顶端按钮样式 */
.back-to-top {
    position: fixed;
    /* 固定定位 */
    bottom: 30px;
    /* 距离底部的距离 */
    right: 30px;
    /* 距离右侧的距离 */
    width: 50px;
    /* 按钮宽度 */
    height: 50px;
    /* 按钮高度 */
    background-color: #2196F3;
    /* 保持原有蓝色 */
    color: white;
    /* 图标颜色 */
    border: none;
    /* 移除边框 */
    border-radius: 50%;
    /* 圆形按钮 */
    cursor: pointer;
    /* 鼠标悬停时显示指针 */
    display: flex;
    /* 使用flex布局 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    font-size: 20px;
    /* 图标大小 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* 按钮阴影 */
    transition: var(--transition);
    /* 平滑过渡 */
    z-index: 999;
    /* 确保按钮在最上层 */
    opacity: 0.8;
    /* 初始透明度 */
}

.back-to-top:hover {
    background-color: #0b7dda;
    /* 悬停时背景色变化 */
    transform: translateY(-5px);
    /* 悬停时上浮效果 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    /* 悬停时阴影增强 */
    opacity: 1;
    /* 悬停时完全不透明 */
}

/* 响应式调整 */
@media (max-width: 1200px) {

    /* 大屏幕调整 */
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        /* 大屏幕2列布局 */
        gap: 20px;
        /* 调整间距 */
    }

    .news-content {
        grid-template-columns: repeat(2, 1fr);
        /* 大屏幕2列布局 */
    }
}

@media (max-width: 992px) {

    /* 平板设备调整 */
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 30px;
        /* 调整内边距 */
    }

    .hero-text {
        max-width: 100%;
        /* 平板设备上文字区域占满宽度 */
        margin-bottom: 30px;
        /* 增加文字区域与按钮区域的间距 */
    }

    .hero-text h1 {
        font-size: 48px;
        /* 调整标题大小 */
    }

    .hero-text p {
        font-size: 24px;
        /* 调整副标题大小 */
    }

    .hero-buttons {
        width: 100%;
        max-width: 350px;
        /* 限制按钮区域最大宽度 */
    }

    .hero-btn {
        padding: 16px 35px;
        /* 调整按钮内边距 */
        font-size: 18px;
        /* 调整按钮文字大小 */
        min-width: 200px;
        /* 调整按钮最小宽度 */
    }

    /* 关于我们板块响应式 */
    .about-content {
        padding: 40px 32px;
        /* 调整内边距 */
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        /* 平板设备2列布局 */
        gap: 20px;
        /* 调整间距 */
    }

    /* 新闻资讯板块响应式 */
    .news-content {
        grid-template-columns: 1fr;
        /* 平板设备单列布局 */
    }

    /* 联系我们板块响应式 */
    .contact-content {
        grid-template-columns: 1fr;
        /* 单列布局 */
        gap: 32px;
        /* 调整间距 */
        padding: 40px 32px;
        /* 调整内边距 */
    }
}

@media (max-width: 768px) {

    /* 移动设备调整 */
    #main-nav {
        height: auto;
        /* 移动端导航栏高度自适应 */
    }

    .hero-image {
        min-height: 600px;
        /* 调整移动端最小高度 */
    }

    .hero-text h1 {
        font-size: 36px;
        /* 调整标题大小 */
        margin-bottom: 20px;
        /* 调整间距 */
    }

    .hero-text p {
        font-size: 20px;
        /* 调整副标题大小 */
    }

    .hero-btn {
        padding: 14px 30px;
        /* 调整按钮内边距 */
        font-size: 16px;
        /* 调整按钮文字大小 */
        min-width: 180px;
        /* 调整按钮最小宽度 */
    }

    .hero-buttons {
        gap: 20px;
        /* 调整按钮间距 */
    }

    /* 关于我们板块响应式 */
    .about-section {
        padding: 80px 0;
        /* 调整内边距 */
    }

    .about-header h2 {
        font-size: 36px;
        /* 调整标题大小 */
    }

    .about-content {
        padding: 32px 24px;
        /* 调整内边距 */
    }

    .about-features {
        grid-template-columns: 1fr;
        /* 移动设备单列布局 */
        gap: 16px;
        /* 调整间距 */
        margin: 32px 0;
        /* 调整上下外边距 */
    }

    .feature-item {
        padding: 24px 20px;
        /* 调整内边距 */
        min-height: auto;
        /* 去掉最小高度 */
    }

    .feature-icon {
        width: 56px;
        /* 调整图标大小 */
        height: 56px;
        /* 调整图标大小 */
        font-size: 28px;
        /* 调整图标大小 */
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        /* 两列布局 */
        gap: 16px;
        /* 调整间距 */
        margin-top: 32px;
        /* 调整间距 */
    }

    /* 新闻资讯板块响应式 */
    .news-section {
        padding: 60px 0;
        /* 调整内边距 */
    }

    .news-header h2 {
        font-size: 32px;
        /* 调整标题大小 */
    }

    .news-content {
        grid-template-columns: 1fr;
        /* 移动设备单列布局 */
        gap: 20px;
        /* 调整间距 */
    }

    .news-card {
        margin-bottom: 0;
        /* 去掉卡片间距 */
    }

    .news-body {
        padding: 20px;
        /* 调整内边距 */
    }

    .news-title {
        font-size: 20px;
        /* 调整标题大小 */
    }

    /* 联系我们板块响应式 */
    .contact-section {
        padding: 80px 0;
        /* 调整内边距 */
    }

    .contact-header h2 {
        font-size: 36px;
        /* 调整标题大小 */
    }

    .contact-content {
        padding: 32px 24px;
        /* 调整内边距 */
    }

    .contact-item {
        padding: 20px;
        /* 调整内边距 */
        gap: 16px;
        /* 调整间距 */
    }

    .contact-icon {
        width: 48px;
        /* 调整图标大小 */
        height: 48px;
        /* 调整图标大小 */
        font-size: 20px;
        /* 调整图标大小 */
    }

    .contact-details h3 {
        font-size: 16px;
        /* 调整标题大小 */
    }

    .contact-details p {
        font-size: 14px;
        /* 调整内容大小 */
    }

    .contact-form {
        padding: 24px;
        /* 调整内边距 */
    }

    /* 返回顶端按钮响应式 */
    .back-to-top {
        width: 45px;
        /* 调整按钮宽度 */
        height: 45px;
        /* 调整按钮高度 */
        font-size: 18px;
        /* 调整图标大小 */
        bottom: 20px;
        /* 调整距离底部的距离 */
        right: 20px;
        /* 调整距离右侧的距离 */
    }
}

@media (max-width: 480px) {

    /* 小屏移动设备调整 */
    .hero-content {
        padding: 0 20px;
        /* 调整内边距 */
    }

    .hero-text h1 {
        font-size: 28px;
        /* 调整标题大小 */
    }

    .hero-text p {
        font-size: 18px;
        /* 调整副标题大小 */
    }

    .hero-btn {
        padding: 12px 25px;
        /* 调整按钮内边距 */
        font-size: 14px;
        /* 调整按钮文字大小 */
        min-width: 160px;
        /* 调整按钮最小宽度 */
    }

    /* 关于我们板块响应式 */
    .about-stats {
        grid-template-columns: 1fr;
        /* 单列布局 */
    }

    .stat-number {
        font-size: 36px;
        /* 调整数字大小 */
    }

    /* 新闻资讯板块响应式 */
    .news-content {
        grid-template-columns: 1fr;
        /* 小屏单列布局 */
        gap: 16px;
        /* 调整间距 */
    }

    /* 联系我们板块响应式 */
    .contact-info {
        gap: 16px;
        /* 调整间距 */
    }

    .social-links {
        flex-wrap: wrap;
        /* 允许换行 */
    }
}