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

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

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

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

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

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

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

/* 关于我们样式 */
.about {
    background-color: #fff;
}

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

.about-text {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

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

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 业务服务样式 */
.services {
    background-color: #f8f9fa;
}

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

.service-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 案例展示样式 */
.cases {
    background-color: #fff;
}

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

.case-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 40px 30px;
}

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

.case-icon {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.case-category {
    font-size: 14px;
    color: #666;
    background-color: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.case-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px;
    color: #333;
}

.case-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 20px 20px;
}

/* 专家团队样式 */
.team {
    background-color: #f8f9fa;
}

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

.team-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 40px 30px;
}

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

.team-icon {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-icon .icon-bg {
    width: 100px;
    height: 100px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-name {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 5px;
    color: #333;
}

.team-position {
    font-size: 14px;
    color: #007bff;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 20px 20px;
}

/* 联系我们样式 */
.contact {
    background-color: #fff;
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.contact-list {
    list-style: none;
}

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

.contact-item svg {
    margin-right: 15px;
    color: #007bff;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-note {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-link-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: #007bff;
}

.footer-contact-list {
    list-style: none;
    font-size: 14px;
    color: #ccc;
}

.footer-contact-list li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #007bff;
}

/* 404错误页面样式 */
.error-404 {
    text-align: center;
    padding: 150px 0;
    background-color: #fff;
    margin-top: 80px;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 30px;
}

.error-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.error-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-text,
    .contact-info {
        margin-right: 0;
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .service-item,
    .case-item,
    .team-item {
        padding: 20px;
    }

    .stat-item {
        padding: 20px;
    }

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

    .footer-info,
    .footer-links,
    .footer-contact {
        margin-right: 0;
        margin-bottom: 30px;
    }
}