/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

/* 顶部导航栏 */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    color: #333;
    font-weight: 500;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd;
}

/* 页面标题 */
.page-header {
    background-color: #0d6efd;
    color: #fff;
    padding: 4rem 0;
    margin-top: 70px;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.footer a:hover {
    color: #fff;
}

.footer .border-top {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* 返回顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 懒加载图片样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 120px;
    }
}

/* 首屏样式 */
.hero-section {
    background-color: #f8f9fa;
    padding: 6rem 0 4rem;
    margin-top: 70px;
}

.hero-content {
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #343a40;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #6c757d;
}

.hero-image {
    padding: 2rem 0;
}

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

/* 产品服务样式 */
.product-service {
    padding: 4rem 0;
}

.product-service h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #343a40;
}

.product-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.product-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background-color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.product-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.product-item p {
    color: #6c757d;
}

/* 关于我们样式 */
.about-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #343a40;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

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

/* 成功案例样式 */
.case-section {
    padding: 4rem 0;
}

.case-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #343a40;
}

.case-item {
    margin-bottom: 2rem;
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.case-content {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.case-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* 新闻资讯样式 */
.news-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.news-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #343a40;
}

.news-item {
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.news-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* 联系我们样式 */
.contact-section {
    padding: 4rem 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #343a40;
}

.contact-info {
    margin-bottom: 2rem;
}

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

.contact-info i {
    color: #0d6efd;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #343a40;
}

/* 招聘中心样式 */
.recruitment-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.recruitment-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #343a40;
}

.job-item {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
}

.job-salary {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d6efd;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-info-item {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.job-info-item i {
    margin-right: 0.5rem;
    color: #0d6efd;
}

.job-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0d6efd;
    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-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #0d6efd;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

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

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 21px !important;
        right: auto !important;
    }
}

/* 图标圆圈样式 */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}