/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1e88e5;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.navbar-brand {
    height: 60px;
    padding: 15px 0;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: #1e88e5;
}

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

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #1e88e5;
    background-color: transparent;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    color: #1e88e5;
    background-color: transparent;
}

/* 轮播图 */
#carousel {
    margin-top: 60px;
}

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

.carousel-caption {
    bottom: 50px;
}

.carousel-caption h3 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 18px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 页面标题 */
.page-header {
    margin-top: 60px;
    padding: 60px 0;
    background-color: #1e88e5;
    color: #fff;
    text-align: center;
}

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

.page-header p {
    font-size: 18px;
}

/* 通用样式 */
.container {
    margin-top: 50px;
    margin-bottom: 50px;
}

h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #1e88e5;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

p {
    margin-bottom: 15px;
    color: #666;
}

.btn-primary {
    background-color: #1e88e5;
    border-color: #1e88e5;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1976d2;
    border-color: #1976d2;
}

/* 公司简介 */
.about-section {
    padding: 50px 0;
    background-color: #fff;
}

.about-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 产品服务 */
.products-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.product-item {
    margin-bottom: 30px;
}

.product-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-item .thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.product-item .caption {
    padding: 20px;
}

.product-item .caption h3 {
    margin-bottom: 10px;
}

/* 成功案例 */
.cases-section {
    padding: 50px 0;
    background-color: #fff;
}

.case-item {
    margin-bottom: 30px;
}

.case-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.case-item .caption {
    padding: 20px;
}

.case-item .caption h3 {
    margin-bottom: 10px;
}

/* 新闻资讯 */
.news-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.news-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

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

.news-list {
    padding-left: 0;
}

.news-list li {
    margin-bottom: 10px;
}

.news-list li a {
    color: #666;
    transition: color 0.3s;
}

.news-list li a:hover {
    color: #1e88e5;
}

/* 联系我们 */
.contact-section {
    padding: 50px 0;
    background-color: #fff;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h2 {
    text-align: left;
}

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

.info-item i {
    font-size: 24px;
    color: #1e88e5;
    margin-right: 15px;
    margin-top: 5px;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.map-container {
    margin-bottom: 30px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    color: #666;
    text-align: center;
    padding: 20px;
}

.contact-form-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.contact-form {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.required {
    color: #f44336;
}

.verification-code {
    padding: 10px;
    background-color: #1e88e5;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

/* 常见问题 */
.faq-section {
    padding: 50px 0;
    background-color: #fff;
}

.panel-group .panel {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.panel-heading {
    background-color: #f5f5f5;
    border-radius: 8px 8px 0 0;
}

.panel-title a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.panel-title a:hover,
.panel-title a:focus {
    color: #1e88e5;
    text-decoration: none;
}

.panel-body {
    padding: 20px;
}

/* 页脚 */
.footer {
    padding: 50px 0;
    background-color: #333;
    color: #fff;
}

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

.footer p {
    color: #ccc;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #1e88e5;
}

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

/* 侧边栏 */
.sidebar {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.product-categories,
.case-categories,
.news-categories,
.job-categories {
    padding-left: 0;
}

.product-categories li,
.case-categories li,
.news-categories li,
.job-categories li {
    margin-bottom: 10px;
}

.product-categories li a,
.case-categories li a,
.news-categories li a,
.job-categories li a {
    display: block;
    padding: 10px;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.product-categories li a:hover,
.case-categories li a:hover,
.news-categories li a:hover,
.job-categories li a:hover {
    background-color: #1e88e5;
    color: #fff;
}

.product-categories li.active a,
.case-categories li.active a,
.news-categories li.active a,
.job-categories li.active a {
    background-color: #1e88e5;
    color: #fff;
}

/* 产品详情 */
.product-detail {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-detail h2 {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-detail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-detail ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.product-detail li {
    margin-bottom: 10px;
    color: #666;
}

/* 案例详情 */
.case-list {
    margin-bottom: 30px;
}

.case-item {
    margin-bottom: 30px;
}

.case-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.case-item .caption {
    padding: 20px;
}

.case-item .caption h3 {
    margin-bottom: 10px;
}

/* 新闻详情 */
.news-list {
    margin-bottom: 30px;
}

.news-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .pagination {
    justify-content: center;
}

.pagination li a {
    color: #666;
    transition: color 0.3s, background-color 0.3s;
}

.pagination li a:hover,
.pagination li a:focus {
    color: #1e88e5;
    background-color: #f5f5f5;
}

.pagination li.active a {
    color: #fff;
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.pagination li.active a:hover,
.pagination li.active a:focus {
    color: #fff;
    background-color: #1976d2;
    border-color: #1976d2;
}

/* 招聘信息 */
.job-list {
    margin-bottom: 30px;
}

.job-item {
    margin-bottom: 30px;
}

.job-item .panel {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.job-item .panel-heading {
    background-color: #f5f5f5;
    border-radius: 8px 8px 0 0;
}

.job-item .panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.job-salary {
    font-size: 16px;
    color: #1e88e5;
}

.job-info {
    margin-bottom: 20px;
}

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

.job-info ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-info li {
    margin-bottom: 5px;
    color: #666;
}

.job-actions {
    text-align: right;
}

/* 模态框 */
.modal-header {
    background-color: #1e88e5;
    color: #fff;
    border-radius: 6px 6px 0 0;
}

.modal-title {
    color: #fff;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

/* 公司文化 */
.culture-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.culture-item {
    margin-bottom: 30px;
}

.culture-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.culture-item .caption h3 {
    margin-bottom: 15px;
    color: #1e88e5;
}

/* 发展历程 */
.history-section {
    padding: 50px 0;
    background-color: #fff;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: #1e88e5;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -5px;
    width: 12px;
    height: 12px;
    background-color: #1e88e5;
    border-radius: 50%;
}

.timeline-date {
    font-size: 18px;
    font-weight: bold;
    color: #1e88e5;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 团队介绍 */
.team-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.team-item {
    margin-bottom: 30px;
}

.team-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.team-item .caption h3 {
    margin-bottom: 5px;
    color: #333;
}

.team-item .caption .position {
    font-size: 16px;
    color: #1e88e5;
    margin-bottom: 15px;
}

/* 资质证书 */
.certificate-section {
    padding: 50px 0;
    background-color: #fff;
}

.certificate-item {
    margin-bottom: 30px;
}

.certificate-item .thumbnail {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.certificate-item .caption h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 图片懒加载 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-brand {
        padding: 15px 15px;
    }
    
    .company-name {
        font-size: 18px;
    }
    
    .navbar-nav > li > a {
        padding: 15px 15px;
    }
    
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
    }
    
    .carousel-caption h3 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .product-item .thumbnail img,
    .case-item .thumbnail img {
        height: 150px;
    }
    
    .news-item img {
        height: 120px;
    }
    
    .map {
        height: 300px;
    }
    
    .job-item .panel-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-salary {
        margin-top: 10px;
    }
    
    .job-actions {
        text-align: left;
        margin-top: 15px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-inner > .item > img {
        height: 200px;
    }
    
    .carousel-caption {
        bottom: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .carousel-caption p {
        font-size: 12px;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .product-item .thumbnail img,
    .case-item .thumbnail img {
        height: 120px;
    }
    
    .news-item img {
        height: 100px;
    }
    
    .map {
        height: 250px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}