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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button, .secondary-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2980b9;
}

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

.secondary-button:hover {
    background-color: #3498db;
    color: white;
}

/* 关于我们预览区域 */
.about-preview, .services-preview {
    padding: 5rem 0;
    text-align: center;
}

.about-preview {
    background-color: #f9f9f9;
}

.about-preview h2, .services-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.stat {
    margin: 0 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
}

.stat p {
    font-size: 1rem;
    margin: 0;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-section p i {
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ddd;
}

/* 关于我们页面样式 */
.about-company {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 时间线样式 */
.timeline-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #3498db;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid #3498db;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

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

.timeline-content h3 {
    color: #3498db;
    margin-bottom: 10px;
}

/* 价值观样式 */
.values-section {
    padding: 5rem 0;
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.value-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* 团队样式 */
.team-section {
    padding: 5rem 0;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid #3498db;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: #3498db;
    margin-bottom: 1rem;
}

/* 成就样式 */
.achievements-section {
    padding: 5rem 0;
    text-align: center;
}

.achievements-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.achievement-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.achievement-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.achievement-item h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* 联系预览样式 */
.contact-preview {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
}

.contact-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-preview p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* 产品服务页面样式 */
.services-overview {
    padding: 5rem 0;
    text-align: center;
}

.services-overview h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.services-overview p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 核心服务样式 */
.core-services {
    padding: 3rem 0;
    text-align: center;
}

.core-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* 详细服务内容 */
.service-detail {
    padding: 5rem 0;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.service-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-text ul {
    list-style: none;
}

.service-text li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.service-text li i {
    color: #3498db;
    margin-right: 10px;
    margin-top: 5px;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 其他服务样式 */
.additional-services {
    padding: 5rem 0;
}

.additional-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.additional-service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.additional-service-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.additional-service-item h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* 行业解决方案样式 */
.industry-solutions {
    padding: 5rem 0;
}

.industry-solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.industry-solutions p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.industry-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.industry-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.industry-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #2c3e50;
}

.industry-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    text-align: left;
}

/* 服务流程样式 */
.service-process {
    padding: 5rem 0;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* 客户评价样式 */
.client-testimonials {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.client-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.client-details h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.client-details p {
    margin: 0;
    font-style: normal;
    color: #777;
    font-size: 0.9rem;
}

/* 联系咨询样式 */
.contact-consult {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
}

.contact-consult h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-consult p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* 联系我们页面样式 */
.contact-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* 联系内容区域 */
.contact-content {
    padding: 5rem 0;
}

.contact-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 联系信息样式 */
.contact-info {
    padding: 2rem;
    background-color: #f9f9f9;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.info-item p {
    margin: 0;
}

/* 地图区域样式 */
.map-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.map-container {
    height: 400px;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #777;
}

/* FAQ部分样式 */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    background-color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

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

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

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

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

.faq-answer.active {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
    }

    .stat {
        margin: 1rem 0;
    }
    
    /* 关于页面响应式 */
    .about-content {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* 产品服务页面响应式样式 */
    .services-overview h2,
    .core-services h2,
    .additional-services h2,
    .industry-solutions h2,
    .service-process h2,
    .client-testimonials h2 {
      font-size: 2rem;
    }
    
    .service-content {
      flex-direction: column;
      gap: 2rem;
    }
    
    .service-content.reverse {
      flex-direction: column;
    }
    
    .additional-services-grid,
    .industry-grid,
    .process-steps,
    .testimonials-slider {
      grid-template-columns: 1fr;
    }
    
    .contact-consult h2 {
      font-size: 2rem;
    }
    
    /* 联系我们页面响应式样式 */
    .contact-hero h1 {
      font-size: 2.5rem;
    }
    
    .contact-info {
      padding: 1.5rem;
    }
    
    .map-container {
      height: 300px;
    }
    
    .faq-section h2 {
      font-size: 2rem;
    }
}