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

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #0056b3;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0056b3;
}

/* 主横幅样式 */
.hero-section {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1497215842964-222b430dc094?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 500px;
    position: relative;
    padding-top: 80px;
}

.hero-section h1 {
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 按钮样式 */
.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

/* 特色图标样式 */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 86, 179, 0.1);
    margin-bottom: 1rem;
}

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

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

/* 联系信息样式 */
.contact-info i {
    font-size: 1.2rem;
    width: 25px;
}

.contact-info a {
    color: #333;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
}

/* 联系表单样式 */
.contact-form {
    border-radius: 10px;
}

.form-control {
    padding: 0.75rem;
    border-radius: 5px;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1497215842964-222b430dc094?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
    padding-top: 80px;
}

.page-header h1 {
    font-size: 2.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

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

.timeline-item.left {
    padding-left: 30px;
}

.timeline-item.right {
    padding-right: 30px;
}

.timeline-item.left:before,
.timeline-item.right:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0056b3;
    top: 15px;
}

.timeline-item.left:before {
    left: -8px;
}

.timeline-item.right:before {
    right: -8px;
}

@media (max-width: 767px) {
    .timeline:before {
        left: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-item.left:before,
    .timeline-item.right:before {
        left: 7px;
        right: auto;
    }

    .col-md-6.offset-md-6 {
        margin-left: 0;
    }
}