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

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

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

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    color: #7f8c8d;
    font-size: 14px;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #e67e22;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 主要内容样式 */
main {
    margin-top: 80px;
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Banner样式 */
.banner {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9));
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

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

.btn {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #e67e22;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #e67e22;
}

/* 公司简介样式 */
.intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    padding-bottom: 40px;
}

.intro h2,
.services h2,
.cases h2,
.news h2,
.about-content h2,
.services-detailed h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.intro h2::after,
.services h2::after,
.cases h2::after,
.news h2::after,
.about-content h2::after,
.services-detailed h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e67e22;
}

.services-detailed h2 {
    margin-bottom: 40px !important;
}

.services-detailed h2::after {
    width: 100%;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    text-align: center;
    color: #e67e22;
}

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

/* 发展历程时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e67e22;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: -35px;
    top: 0;
    width: 70px;
    height: 30px;
    background: #e67e22;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 15px;
}

.timeline-content {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #7f8c8d;
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.culture-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-10px);
}

.culture-item i {
    color: #e67e22;
    margin-bottom: 20px;
}

.culture-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.culture-item p {
    color: #7f8c8d;
}

/* 团队成员 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-member p {
    color: #e67e22;
}

/* 业务范围样式 */
.services {
    padding: 80px 0;
}

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

.service-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    color: #e67e22;
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    color: #7f8c8d;
}

/* 详细业务范围 */
.services-detailed {
    padding: 80px 0;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    text-align: left;
    margin-bottom: 30px;
    color: #2c3e50;
}

.service-category h2 i {
    color: #e67e22;
    margin-right: 15px;
}

.service-items {
    display: grid;
    gap: 30px;
}

.service-item-detail {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.service-icon {
    width: 80px;
    background: #e67e22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.service-text {
    padding: 20px;
    flex: 1;
}

.service-text h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-text p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* 服务流程 */
.service-process {
    margin-top: 60px;
}

.service-process h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e67e22;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.process-step p {
    color: #7f8c8d;
}

/* 成功案例样式 */
.cases {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.case-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.case-item i {
    color: #e67e22;
    margin-bottom: 15px;
}

.case-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.case-item p {
    color: #7f8c8d;
}

/* 案例筛选 */
.cases-filter {
    padding: 30px 0;
    background: #fff;
}

.cases-filter ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.cases-filter ul li {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}

.cases-filter ul li.active,
.cases-filter ul li:hover {
    background: #e67e22;
    color: #fff;
}

/* 案例卡片 */
.cases-gallery {
    padding: 50px 0;
    background: #f8f9fa;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
}

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

.case-info {
    padding: 20px;
}

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

.case-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    color: #e67e22;
    font-size: 14px;
}

.case-meta span {
    display: flex;
    align-items: center;
}

.case-meta i {
    margin-right: 5px;
}

/* 项目流程 */
.project-process {
    padding: 80px 0;
    background: #fff;
}

.project-process h2 {
    text-align: center;
    margin-bottom: 50px;
}

.project-process .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #e67e22;
}

/* 新闻动态样式 */
.news {
    padding: 80px 0;
}

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

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.date {
    color: #e67e22;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item p {
    color: #7f8c8d;
}

/* 新闻页面 */
.news-content {
    padding: 50px 0;
    background: #f8f9fa;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-main {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-article {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.news-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-image {
    height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-bottom: 20px;
    border-radius: 10px;
}

.article-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    margin-bottom: 20px;
    color: #e67e22;
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
}

.tags {
    display: flex;
    flex-wrap: wrap;
}

.tags a {
    display: inline-block;
    background: #f8f9fa;
    color: #333;
    padding: 5px 15px;
    margin: 0 10px 10px 0;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.tags a:hover {
    background: #e67e22;
    color: #fff;
}

.recent-news li,
.archive li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-news li:last-child,
.archive li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-news a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-news a:hover {
    color: #e67e22;
}

.recent-news span {
    color: #e67e22;
    font-size: 14px;
}

.archive a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.archive a:hover {
    color: #e67e22;
}

.archive li {
    display: flex;
    justify-content: space-between;
}

/* 知识库页面 */
.knowledge-content {
    padding: 50px 0;
    background: #f8f9fa;
}

.knowledge-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.knowledge-main {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.category-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    color: #e67e22;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.knowledge-articles h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e67e22;
}

.article-list {
    display: grid;
    gap: 30px;
}

.article-item {
    display: flex;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.article-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-thumb {
    width: 100px;
    height: 100px;
    background: #e67e22;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.article-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    color: #e67e22;
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.knowledge-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-form {
    display: flex;
    margin-bottom: 20px;
}

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

.search-form button {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}

.recommended li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recommended li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommended a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.recommended a:hover {
    color: #e67e22;
}

/* 联系我们页面 */
.contact-content {
    padding: 50px 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.contact-main {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-intro h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-intro p {
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.department-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.department-card:hover {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dept-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.dept-header i {
    color: #e67e22;
    margin-right: 15px;
}

.dept-header h3 {
    color: #2c3e50;
}

.contact-person {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.contact-person:last-child {
    border-bottom: none;
}

.contact-person .name::after {
    content: "：";
}

.contact-person .name,
.contact-person .email {
    color: #333;
}

.contact-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.company-info i {
    color: #e67e22;
    width: 20px;
    margin-right: 10px;
}

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

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

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

.contact-form .btn {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #fff;
    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 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e67e22;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

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

.footer-section ul {
    list-style: none;
}

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

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #bdc3c7;
}

.social-icons a:hover {
    color: #e67e22;
}

.footer-bottom {
    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;
        padding: 10px 0;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .banner {
        padding: 60px 0;
    }

    .banner h2 {
        font-size: 32px;
    }

    .banner p {
        font-size: 16px;
    }

    .intro-content {
        flex-direction: column;
    }

    main {
        margin-top: 130px;
    }

    .news-layout,
    .knowledge-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cases-filter ul li {
        margin: 5px;
        padding: 8px 15px;
        font-size: 14px;
    }

    .article-meta,
    .article-meta span {
        display: block;
        margin-bottom: 5px;
    }

    .article-meta span {
        margin-right: 0;
    }

    .article-item {
        flex-direction: column;
    }

    .article-thumb {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .departments {
        grid-template-columns: 1fr;
    }
}