* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

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

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

/* 公司介绍样式 */
#about {
    background-color: #ffffff;
    text-align: center;
    margin-top: 70px;
    padding: 80px 20px;
}

#about h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

#about p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    text-align: left;
    padding: 0 20px;
    text-indent: 2em;
}

/* 服务范围样式 */
#services {
    background-color: #f5f7fa;
}

#services h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .service-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

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

#contact h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.contact-info {
    font-size: 1.1rem;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

.contact-info .contact-label {
    color: #3498db;
    margin-right: 10px;
    font-weight: bold;
    width: 20px;
    text-align: center;
}



/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

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

.footer-content p {
    margin-bottom: 10px;
}

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

.icp-link:hover {
    color: #2980b9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav-links {
        margin-top: 15px;
    }

    .nav-links li {
        margin: 0 15px;
    }

    section {
        padding: 80px 0;
    }

    #about h1 {
        font-size: 2rem;
    }

    #services h2,
    #contact h2 {
        font-size: 1.8rem;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 8px 0;
    }

    #about h1 {
        font-size: 1.8rem;
    }

    #services h2,
    #contact h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 20px;
    }
}