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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 链接样式 */
a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
h1,
h2,
h3,
h4 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

h3 {
    font-size: 1.5rem;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #007bff;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 5px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #007bff;
    color: white;
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header h2:after {
    display: none;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.hero h2:after {
    display: none;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 公司简介区域 */
.intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    text-align: center;
}

.placeholder-icon {
    font-size: 8rem;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 30px;
    display: inline-block;
}

/* 新闻动态区域 */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.news-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* 业务范围区域 */
.services {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.service-item:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item:hover h3,
.service-item:hover p {
    color: white;
}

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

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* 成功案例区域 */
.cases {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.case-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.case-item .placeholder-icon {
    font-size: 4rem;
    padding: 20px;
}

.case-item h3 {
    font-size: 1.3rem;
    margin: 20px 0 15px;
}

/* 人才发展区域 */
.careers {
    padding: 80px 0;
    background-color: #fff;
}

.careers-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.careers-text {
    flex: 1;
}

.careers-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.careers-image {
    flex: 1;
    text-align: center;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
    float: left;
    width: 50%;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    font-size: 1.5rem;
    background-color: #34495e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #007bff;
}

/* 关于我们页面样式 */
.about-content {
    padding: 40px 0;
}

.about-section {
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: #007bff;
}

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

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.culture-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.honor-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.honor-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* 新闻列表页面样式 */
.news-list {
    padding: 40px 0;
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #e9ecef;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #007bff;
    color: white;
}

.news-article {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.category {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.category.company {
    background-color: #d4edda;
    color: #155724;
}

.category.industry {
    background-color: #d1ecf1;
    color: #0c5460;
}

.category.tech {
    background-color: #fff3cd;
    color: #856404;
}

.news-article h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.excerpt {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #e9ecef;
    color: #333;
}

.pagination a:hover,
.pagination a.active {
    background-color: #007bff;
    color: white;
}

/* 产品中心页面样式 */
.product-categories {
    padding: 40px 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.product-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.version {
    background-color: #e9ecef;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.category-tag {
    background-color: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.solutions {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.solution-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* 服务中心页面样式 */
.services-overview {
    padding: 40px 0;
}

.services-intro {
    margin-bottom: 50px;
    text-align: center;
}

.services-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #6c757d;
}

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

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.service-item ul {
    margin-top: 20px;
    padding-left: 20px;
}

.service-item ul li {
    margin-bottom: 8px;
}

.service-levels {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.levels-table {
    overflow-x: auto;
}

.level-header,
.level-row {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

.level-name {
    flex: 2;
    padding: 15px;
    font-weight: bold;
}

.level-basic,
.level-standard,
.level-premium {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.level-header {
    background-color: #007bff;
    color: white;
}

.service-commitment {
    padding: 80px 0;
}

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

.commitment-item {
    text-align: center;
    padding: 30px;
}

.commitment-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* 成功案例页面样式 */
.cases-filter {
    padding: 40px 0;
}

.industry-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.case-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.case-image {
    padding: 30px;
    background-color: #f8f9fa;
    text-align: center;
}

.case-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.industry-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.industry-tag.finance {
    background-color: #d4edda;
    color: #155724;
}

.industry-tag.health {
    background-color: #d1ecf1;
    color: #0c5460;
}

.industry-tag.manufacturing {
    background-color: #fff3cd;
    color: #856404;
}

.industry-tag.government {
    background-color: #f8d7da;
    color: #721c24;
}

.industry-tag.education {
    background-color: #e2e3e5;
    color: #383d41;
}

.case-summary {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.case-details p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.client-testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
}

.testimonial-content:before {
    content: "";
    font-size: 4rem;
    position: absolute;
    left: -15px;
    top: -20px;
    color: #007bff;
    opacity: 0.2;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: bold;
    margin-bottom: 5px;
}

/* 知识库页面样式 */
.knowledge-search {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 2px solid #007bff;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 15px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1.2rem;
}

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

.knowledge-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.knowledge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.knowledge-summary {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.knowledge-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.update-time {
    color: #6c757d;
}

.contribute-knowledge {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.contribute-knowledge h2 {
    color: white;
}

.contribute-knowledge h2:after {
    display: none;
}

.contribute-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.contribute-content .btn {
    background-color: white;
    color: #007bff;
}

.contribute-content .btn:hover {
    background-color: #f8f9fa;
}

/* 常见问题页面样式 */
.faq-search {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.faq-list {
    margin: 40px 0;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.faq-meta {
    margin-top: 15px;
}

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

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 1000px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
    margin: 15px 0;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-contact {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.faq-contact h3 {
    margin-bottom: 20px;
}

/* 联系我们页面样式 */
.contact-info {
    padding: 40px 0;
}

.contact-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.company-info {
    flex: 1;
}

.company-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.map-container {
    flex: 1;
}

.placeholder-map {
    font-size: 8rem;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.departments-contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.department-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dept-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.contact-person {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-person p {
    margin-bottom: 10px;
}

.contact-notes {
    padding: 60px 0;
}

.notes-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.notes-content p {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.notes-content p:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
}

.main-home .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.main-home .case-item {
    padding: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .intro-content,
    .careers-content,
    .contact-details {
        flex-direction: column;
    }

    .news-grid,
    .services-grid,
    .cases-grid,
    .products-grid,
    .departments-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-year {
        left: -30px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input,
    .search-box button {
        border-radius: 4px;
        width: 100%;
    }

    .search-box input {
        margin-bottom: 10px;
    }
}

/* 文本对齐工具类 */
.text-center {
    text-align: center;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.intro,
.news,
.services,
.cases,
.careers {
    animation: fadeIn 0.8s ease-out;
}