/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: #0366d6;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
    color: white;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(90deg, #0083b0, #006a8e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 20px;
    color: #0083b0;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    color: white;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #e9ecef;
    padding: 10px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #0083b0;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 131, 176, 0.8), rgba(0, 180, 219, 0.8));
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    color: white;
    margin: 0;
    font-size: 32px;
}

.page-header h2:after {
    display: none;
}

/* 首页样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230083b0"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

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

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

.intro {
    padding: 60px 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.news {
    padding: 60px 0;
    background-color: #f1f8ff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.news-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-item h3 {
    margin-bottom: 10px;
}

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

.services {
    padding: 60px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: inherit;
}

.cases {
    padding: 60px 0;
    background-color: #e9f7fe;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 公司简介页面样式 */
.about-content {
    padding: 40px 0;
    background-color: white;
}

.about-section {
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0083b0;
}

.timeline li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline li:before {
    content: "";
    position: absolute;
    left: -36px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0083b0;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #0083b0;
}

.timeline h4 {
    color: #0083b0;
    margin-bottom: 5px;
}

.honors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.honor-item {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

/* 新闻动态页面样式 */
.news-archive {
    padding: 40px 0;
    background-color: white;
}

.news-filter {
    margin-bottom: 30px;
}

.news-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.news-item {
    display: flex;
    padding: 25px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-date {
    text-align: center;
    padding: 15px;
    background-color: #f1f8ff;
    border-radius: 4px;
    margin-right: 20px;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0083b0;
}

.news-date .month {
    display: block;
    font-size: 14px;
    color: #6c757d;
}

.news-date .year {
    display: block;
    font-size: 12px;
    color: #6c757d;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #2c3e50;
}

.news-content h3 a:hover {
    color: #0083b0;
}

.excerpt {
    color: #6c757d;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
}

.category {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    color: white;
}

.category.company {
    background-color: #0083b0;
}

.category.product {
    background-color: #28a745;
}

.category.technology {
    background-color: #ffc107;
    color: #212529;
}

.category.industry {
    background-color: #6f42c1;
}

.views {
    font-size: 12px;
    color: #6c757d;
}

/* 产品中心页面样式 */
.products {
    padding: 40px 0;
    background-color: white;
}

.product-categories {
    margin-bottom: 30px;
}

.product-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-categories li a {
    display: block;
    padding: 8px 15px;
    background-color: #f1f8ff;
    color: #0083b0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-categories li a:hover,
.product-categories li.active a {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

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

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

.product-image {
    height: 200px;
    background-color: #e9f7fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 60px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-desc {
    color: #6c757d;
    margin-bottom: 20px;
}

/* 服务中心页面样式 */
.services-detail {
    padding: 40px 0;
    background-color: white;
}

.services-intro {
    margin-bottom: 40px;
    text-align: center;
}

.services-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #6c757d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: inherit;
}

.service-process {
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.service-commitment ul {
    padding-left: 20px;
}

.service-commitment li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-commitment li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 成功案例页面样式 */
.cases-gallery {
    padding: 40px 0;
    background-color: white;
}

.cases-filter {
    margin-bottom: 30px;
}

.cases-filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cases-filter li a {
    display: block;
    padding: 8px 15px;
    background-color: #f1f8ff;
    color: #0083b0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cases-filter li a:hover,
.cases-filter li.active a {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.case-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.case-image {
    height: 180px;
    background-color: #e9f7fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-industry {
    color: #0083b0;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-desc {
    color: #6c757d;
    margin-bottom: 20px;
    flex: 1;
}

/* 知识库页面样式 */
.knowledge {
    padding: 40px 0;
    background-color: white;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.category-item h3 {
    color: #0083b0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.category-item ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #dee2e6;
}

.category-item ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-item ul li a {
    color: #495057;
}

.category-item ul li a:hover {
    color: #0083b0;
}

.latest-knowledge {
    background-color: #f1f8ff;
    padding: 30px;
    border-radius: 8px;
}

.knowledge-list .knowledge-item {
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

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

.knowledge-item .meta {
    display: flex;
    font-size: 14px;
    color: #6c757d;
}

.knowledge-item .date {
    margin-right: 20px;
}

/* 联系我们页面样式 */
.contact {
    padding: 40px 0;
    background-color: white;
}

.contact-info {
    margin-bottom: 40px;
}

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

.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.department {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-map .map-placeholder {
    height: 300px;
    background-color: #e9f7fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    color: #6c757d;
}

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

.pagination a {
    display: block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0083b0;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.current {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    color: white;
    border-color: #0083b0;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

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

.footer-section h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #00b4db;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00b4db;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .news-item,
    .case-item {
        flex-direction: column;
    }
    
    .news-date {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .departments {
        grid-template-columns: 1fr;
    }
}