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

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

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* 选项卡导航样式 */
.tab-nav {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tab-nav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 20px 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #007bff;
}

.tab-btn.active {
    color: #007bff;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #007bff;
}

/* 主内容区域 */
.main-content {
    padding: 60px 0;
}

.tab-content {
    display: none;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

/* 公司介绍样式 */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

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

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

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 业务领域样式 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.business-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.business-item:hover {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
    transform: translateY(-5px);
}

.business-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.business-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.business-item p {
    color: #666;
    line-height: 1.7;
}

/* 服务内容样式 */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-item:hover {
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border-left-color: #007bff;
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* 公司优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.7;
}

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

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

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

.contact-icon {
    font-size: 1.8rem;
    color: #007bff;
    margin-top: 5px;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 1rem;
}

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

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    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.1);
}

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

.submit-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* 页脚样式 */
.footer {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: 60px;
}

.footer p {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 40px 0;
    }

    .logo {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .tab-btn {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 40px 0;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .tab-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .header {
        padding: 30px 0;
    }

    .logo {
        font-size: 1.8rem;
    }

    .tab-nav .container {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .main-content {
        padding: 30px 0;
    }

    .tab-content {
        padding: 25px 15px;
    }

    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
}