/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 确保hero-slider完全填充hero容器 */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* SVG图标样式优化 */
.logo {
    height: 50px;
    object-fit: contain;
}

.contact-icon, .news-icon {
    width: 100%;
    max-width: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
}

ul, ol {
    list-style: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

/* 部分通用样式 */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #2c3e50;
    color: white;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-10 {
    margin-top: 6rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
}

.navbar-nav ul {
    display: flex;
    gap: 30px;
}

.navbar-nav a {
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.navbar-nav a.active::after,
.navbar-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.navbar-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* 轮播图样式 - 重新设计 */
.hero {
    /* 设置为100%视口高度和宽度 */
    height: 100vh;
    width: 100%;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    /* 移除所有可能的边距和内边距 */
    margin: 0;
    padding: 0;
    /* 深蓝色背景，适配白色字体 */
    background-color: #0f1e3a;
    /* 添加banner背景图 */
    background-image: url('../images/banner-illustration.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* 确保背景图正确显示 */
    overflow: hidden;
    position: relative;
    /* 添加轻微的半透明遮罩以增强文字可读性 */
    background-blend-mode: overlay;
    /* 添加深色渐变增强层次感 */
    box-shadow: inset 0 0 0 2000px rgba(15, 30, 58, 0.7);
}

/* .hero-image类已移除，因为不再使用img标签方式显示背景图 */

/* 内容容器 */
.hero-slider {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 确保完全填充hero容器 */
    min-width: 100%;
    min-height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 确保完全填充hero-slider容器 */
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}

/* 文本内容样式 */
.hero-content {
    text-align: center;
    color: #ffffff;
    /* 增强文字阴影，确保在背景图上清晰可见 */
    text-shadow: 0 3px 12px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.9);
    transition: all 0.3s ease;
    max-width: 800px;
    padding: 30px;
    z-index: 3;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    /* 增加轻微的发光效果以提高在背景图上的可读性 */
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.15));
    /* 添加半透明背景以进一步增强文字可读性 */
    background: rgba(15, 30, 58, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* 确保没有冲突的样式 - 所有标题和段落样式通过.hero-content定义 */

/* 确保body和html没有额外边距 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    font-weight: 700;
    /* 添加鼠标悬停放大效果 */
    transition: transform 0.3s ease;
}

/* 鼠标悬停时放大效果 */
.hero-content h1:hover {
    transform: scale(1.1);
    /* 增强阴影效果以配合放大 */
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e6f0ff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    line-height: 1.6;
}

.hero-content a {
    display: inline-block;
    padding: 14px 30px;
    background-color: #3182ce;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: none;
    /* 增加按钮在深色背景上的可见性 */
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.hero-content a:hover {
    background-color: #2c5aa0;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* 区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: #3498db;
    margin: 0 auto;
    transition: width 0.3s ease;
}

.section-header:hover .section-divider {
    width: 120px;
}

/* 关于我们样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: #3498db;
    min-width: 40px;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

/* 产品服务样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    height: 200px;
    object-fit: contain;
    width: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-card h3 {
    padding: 20px 20px 10px;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

.product-card .btn {
    margin: 0 20px 20px;
}

/* 产品详情页额外样式 */
.product-features {
    padding: 0 20px 20px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features i {
    color: #2ecc71;
}

/* 服务优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

/* 联系我们提示样式 */
.contact-prompt {
    background-color: #3498db;
    color: white;
}

.contact-prompt h2 {
    color: white;
}

/* 新闻动态样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    margin-top: 10px;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 新闻详情页额外样式 */
.news-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.news-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.news-category {
    background-color: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.news-read-more {
    color: #3498db;
    font-weight: 500;
}

/* 侧边栏样式 */
.news-sidebar > div {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-sidebar h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.search-box {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-btn {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.news-categories ul,
.hot-news ul {
    list-style: none;
}

.news-categories li,
.hot-news li {
    margin-bottom: 10px;
}

.news-categories a,
.hot-news a {
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.news-categories a:hover,
.hot-news a:hover {
    color: #3498db;
    padding-left: 5px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination ul {
    display: flex;
    gap: 10px;
}

.pagination li a {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

.pagination li.active a {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    background-color: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-social h3 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* 表单样式 */
.contact-form form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
}

/* 地图区域样式 */
.map-section {
    height: 400px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

/* 常见问题样式 */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* 页脚样式 */
.footer {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid,
    .news-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-content,
    .news-container {
        grid-template-columns: 1fr;
    }
    
    /* 英雄区h1样式已在.hero-content下定义 */
    
    .navbar-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .navbar-nav.active {
        transform: translateY(0);
    }
    
    .navbar-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .products-grid,
    .news-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* 英雄区h1和p样式已在.hero-content下定义 */
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* 英雄区h1样式已在.hero-content下定义 */
    
    .btn {
        padding: 10px 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .form-submit {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 头部样式 */
header {
    background-color: #1e50ae;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0f0f0;
}

/* 主要内容区域 */
main {
    padding: 40px 0;
}

/* 英雄区域 */
.hero {
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #1e50ae;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 服务卡片样式 */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #1e50ae;
    margin-bottom: 15px;
    font-size: 20px;
}

/* 产品列表样式 */
.product-list {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.product-item:last-child {
    border-bottom: none;
}

.product-item h3 {
    color: #1e50ae;
    margin-bottom: 10px;
}

/* 新闻列表样式 */
.news-list {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    color: #1e50ae;
    margin-bottom: 10px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 联系我们样式 */
.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 10px;
    color: #1e50ae;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .service-card {
        padding: 20px;
    }
}