/* 全局样式重置 */
* {
    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: #f5f5f5;
}

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

/* 导航栏样式 */
.navbar {
    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;
}

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

.navbar .logo h1 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 700;
}

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

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

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

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

.navbar .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary {
    background-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
}

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

.btn-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* 头部横幅样式 */
.hero {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 页面头部样式 */
.page-header {
    background-color: #2c3e50;
    color: #fff;
    padding: 100px 0 40px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 章节标题样式 */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

/* 特色服务样式 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.feature-item i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 产品样式 */
.products {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

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

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.product-info {
    padding: 20px;
}

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

.product-info p {
    margin-bottom: 20px;
    color: #666;
}

/* 产品价格样式 */
.product-price {
    margin-bottom: 20px;
}

.product-price .price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.product-price .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

/* 产品特性样式 */
.product-features {
    margin-bottom: 20px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 8px;
    color: #666;
}

.product-features i {
    color: #27ae60;
    margin-right: 10px;
}

/* 客户评价样式 */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

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

.testimonial-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #3498db;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #666;
    font-size: 14px;
}

/* 联系我们区域样式 */
.contact-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 关于我们样式 */
.about-intro {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

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

/* 时间线样式 */
.timeline {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

.timeline-items::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #3498db;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.timeline-date {
    position: absolute;
    right: -80px;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    color: #3498db;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: -80px;
    right: auto;
}

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

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

/* 核心价值观样式 */
.values {
    padding: 80px 0;
    background-color: #fff;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.value-item i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 团队样式 */
.team {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

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

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #2c3e50;
}

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

.member-social a {
    display: inline-block;
    margin: 0 10px;
    font-size: 20px;
    color: #3498db;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: #2980b9;
}

/* 服务样式 */
.services {
    padding: 80px 0;
    background-color: #fff;
}

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

.service-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-content p {
    margin-bottom: 20px;
    color: #666;
}

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

.service-content li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.service-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* 服务流程样式 */
.service-process {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-content p {
    color: #666;
    font-size: 14px;
}

.process-arrow {
    color: #3498db;
    font-size: 24px;
    margin: 0 10px;
}

/* 服务套餐样式 */
.service-packages {
    padding: 80px 0;
    background-color: #fff;
}

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

.package-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.package-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.package-item.featured {
    border: 2px solid #3498db;
    transform: scale(1.05);
}

.package-badge {
    background-color: #3498db;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
}

.package-header {
    padding: 30px;
    text-align: center;
    background-color: #fff;
}

.package-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
}

.package-price .period {
    font-size: 18px;
    color: #666;
}

.package-features {
    padding: 30px;
}

.package-features ul {
    list-style: none;
}

.package-features li {
    margin-bottom: 15px;
    color: #666;
    display: flex;
    align-items: center;
}

.package-features i {
    color: #27ae60;
    margin-right: 10px;
}

.package-footer {
    padding: 0 30px 30px;
}

/* 联系我们样式 */
.contact-info {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

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

.contact-item i {
    font-size: 24px;
    color: #3498db;
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.social-links a {
    display: inline-block;
    margin-right: 20px;
    font-size: 24px;
    color: #3498db;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
}

/* 联系表单样式 */
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

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

/* 地图样式 */
.map {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.map h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.map-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ样式 */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    font-size: 18px;
    color: #2c3e50;
}

.faq-question i {
    font-size: 20px;
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 15px;
}

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

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

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #bdc3c7;
}

.footer-contact i {
    margin-right: 15px;
    color: #3498db;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 文本居中 */
.text-center {
    text-align: center;
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-links.active {
        left: 0;
    }

    .navbar .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .navbar .hamburger {
        display: block;
    }

    /* 头部横幅 */
    .hero h2 {
        font-size: 36px;
    }

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

    /* 关于我们 */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* 时间线 */
    .timeline-items::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 70px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(odd) {
        padding-left: 70px;
    }

    .timeline-date {
        left: 0;
        right: auto;
    }

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

    /* 联系我们 */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* 服务流程 */
    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    /* 服务套餐 */
    .package-item.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    /* 头部横幅 */
    .hero h2 {
        font-size: 28px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* 章节标题 */
    .section-title {
        font-size: 24px;
    }

    /* 产品样式 */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* 服务样式 */
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    /* 联系表单 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
}