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

/* 导航栏样式 */
.navbar {
    margin-bottom: 0;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 10px 15px;
}

.logo {
    height: 40px;
}

.navbar-nav > li > a {
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    color: #0066cc;
    background-color: transparent;
}

/* 轮播图样式 */
.carousel {
    margin-top: 60px;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

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

h2 {
    margin-bottom: 30px;
    color: #0066cc;
    font-weight: 600;
}

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

.about-section img {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 产品服务样式 */
.products-section {
    background-color: #0066cc;
    color: #fff;
}

.products-section h2 {
    color: #fff;
}

.product-item {
    background-color: #fff;
    color: #333;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.product-item img {
    margin-bottom: 15px;
    border-radius: 5px;
}

/* 成功案例样式 */
.case-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

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

.news-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    margin-top: 0;
    color: #0066cc;
}

.news-item .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 联系我们样式 */
.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #0066cc;
    margin-bottom: 20px;
}

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

.contact-info i {
    margin-right: 10px;
    color: #0066cc;
}

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

footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ccc;
    text-decoration: none;
}

footer ul li a:hover {
    color: #fff;
}

footer .text-center {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    background-color: #0052a3;
}

/* 页面标题样式 */
.page-header {
    background-color: #0066cc;
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 60px;
}

.page-header h1 {
    margin: 0;
    font-size: 36px;
}

/* 企业文化样式 */
.culture-section {
    background-color: #f8f9fa;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.culture-item h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

/* 发展历程样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0066cc;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #0066cc;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

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

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

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

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

.timeline-content h3 {
    color: #0066cc;
    margin-top: 0;
}

/* 团队介绍样式 */
.team-section {
    background-color: #f8f9fa;
}

.team-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid #0066cc;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item h3 {
    color: #0066cc;
    margin-bottom: 5px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-inner > .item > img {
        height: 300px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

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

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
}