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

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero区域样式 */
.hero {
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: 56px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p.lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 页面标题样式 */
.page-header {
    background-color: #f8f9fa;
    padding: 80px 0 60px;
    margin-top: 56px;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 服务简介样式 */
.services-intro {
    padding: 80px 0;
    background-color: white;
}

/* 公司简介样式 */
.about-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #343a40;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 成功案例样式 */
.cases-intro {
    padding: 80px 0;
    background-color: white;
}

/* 联系我们样式 */
.contact-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* 服务项目样式 */
.services-detail {
    padding: 80px 0;
    background-color: white;
}

.service-detail-item {
    margin-bottom: 60px;
}

.service-detail-item h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #343a40;
}

.service-detail-item p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 成功案例详情样式 */
.cases-detail {
    padding: 80px 0;
    background-color: white;
}

.case-detail-item {
    margin-bottom: 60px;
}

.case-detail-item h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #343a40;
}

.case-detail-item p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 团队介绍样式 */
.team-detail {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team-member {
    margin-bottom: 40px;
}

.team-member .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.team-member .card-body {
    text-align: center;
}

.team-member .card-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.team-member .card-text {
    color: #6c757d;
    margin-bottom: 15px;
}

/* 联系方式样式 */
.contact-detail {
    padding: 80px 0;
    background-color: white;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #1677ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #343a40;
}

.contact-text p {
    color: #6c757d;
    margin: 0;
}

.contact-form .form-control {
    margin-bottom: 20px;
}

/* 发展历程样式 */
.development-history {
    padding: 80px 0;
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #1677ff;
    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(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #343a40;
}

/* 企业文化样式 */
.corporate-culture {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.culture-icon i {
    font-size: 2rem;
}

/* 企业资质样式 */
.company-certificates {
    padding: 80px 0;
    background-color: white;
}

.certificate-item .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: white;
    padding: 60px 0 30px;
}

.footer-about h3,
.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-about p {
    color: #adb5bd;
    line-height: 1.8;
}

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

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

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

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

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #667eea;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #adb5bd;
    font-size: 0.9rem;
}

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

.footer-bottom a:hover {
    color: white;
}

/* 通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #343a40;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .services-intro,
    .about-intro,
    .cases-intro,
    .contact-intro,
    .services-detail,
    .cases-detail,
    .team-detail,
    .development-history,
    .corporate-culture,
    .company-certificates {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 卡片悬停效果 */
.service-card .card,
.case-card .card,
.culture-item .card,
.certificate-item .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.service-card .card:hover,
.case-card .card:hover,
.culture-item .card:hover,
.certificate-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 服务图标样式 */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #1677ff;
    border-color: #1677ff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4096ff;
    border-color: #4096ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    color: #1677ff;
    border-color: #1677ff;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #1677ff;
    border-color: #1677ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 表单样式 */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.card-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #343a40;
}

.card-text {
    color: #6c757d;
    line-height: 1.8;
}

/* 列表样式 */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 10px;
}

/* 锚点样式 */
a {
    color: #667eea;
    transition: color 0.3s ease;
}

a:hover {
    color: #5a6fd8;
    text-decoration: none;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
