/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 导航栏样式 */
nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

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

.logo img {
    height: 50px;
}

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

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

.nav-links a {
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #007BFF;
    color: #fff;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

/* 主页横幅样式 */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f4f4f4;
}

.hero-content {
    flex: 1;
    padding: 50px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #007BFF;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 30px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* 通用段落样式 */
.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
}

.section h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #007BFF;
    display: block;
    margin: 10px auto 0;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

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

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.about-text ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.about-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #007BFF;
}

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #fff;
    color: #007BFF;
    border: 2px solid #007BFF;
    border-radius: 30px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.secondary-button:hover {
    background-color: #007BFF;
    color: #fff;
}

.about-image {
    flex: 1;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* 服务项目样式 */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-item {
    flex: 1 1 calc(33% - 40px);
    margin: 20px;
    text-align: center;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-item h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #007BFF;
}

.service-item p {
    font-size: 16px;
}

/* 我们的优势样式 */
.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advantage-item {
    flex: 1 1 calc(33% - 40px);
    margin: 20px;
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s;
}

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

.advantage-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007BFF;
}

.advantage-item p {
    font-size: 16px;
}

/* 对比优势样式 */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

.comparison-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* 技术支持样式 */
.support-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.support-item {
    flex: 1 1 300px;
    margin: 20px;
    text-align: center;
}

.support-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.support-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007BFF;
}

.support-item p {
    font-size: 16px;
}

/* 客户评价样式 */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-item {
    flex: 1 1 300px;
    margin: 20px;
    background-color: #007BFF;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.testimonial-item::before {
    content: '“';
    font-size: 50px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.testimonial-item p {
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-item h4 {
    text-align: right;
    font-size: 14px;
    color: #e0e0e0;
}

/* 常见问题解答样式 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #007BFF;
}

.faq-item p {
    font-size: 16px;
}

/* 联系我们部分样式 */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-info, .contact-form {
    flex: 1 1 400px;
    padding: 20px;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007BFF;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info .map {
    margin-top: 20px;
}

.contact-info .map img {
    width: 100%;
    border-radius: 10px;
}

/* 表单样式 */
form {
    max-width: 100%;
    margin: 0;
}

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

form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

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

form button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

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

.footer-content {
    text-align: center;
}

.social-media a {
    margin: 0 10px;
    display: inline-block;
}

.social-media img {
    width: 30px;
    height: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        width: 100%;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid #eee;
    }

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

    .hero-section {
        flex-direction: column;
    }

    .hero-content {
        padding: 30px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

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

    .about-text, .about-image {
        padding: 0;
    }

    .service-item {
        flex: 1 1 100%;
    }

    .advantages-container {
        flex-direction: column;
        align-items: center;
    }

    .advantage-item {
        flex: 1 1 100%;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        padding: 0;
    }
}

/* 保持原有样式，这里仅添加或修改部分 */

/* 导航栏样式调整 */
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap; /* 添加以适应小屏幕 */
}

.language-switcher {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-left: 20px;
}

.language-option {
    cursor: pointer;
    margin-left: 5px;
}

.language-option.active {
    font-weight: bold;
    text-decoration: underline;
}

/* 在移动端隐藏语言切换器 */
@media (max-width: 768px) {
    .language-switcher {
        display: none;
    }
}

/* 调整导航栏在移动端的布局 */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        align-items: flex-start;
    }
}
