:root {
    --primary-color: #E6F2FF;
    --secondary-color: #265598;
    --accent-color: #45b2ff;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    padding-top: 56px;
    color: var(--dark-gray);
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
    margin: 0 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 轮播图样式 */
.carousel {
    margin-bottom: 30px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    bottom: 100px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* 通用部分样式 */
section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 图标盒子 */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* 卡片悬停效果 */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #142d57;
    border-color: #142d57;
}

.btn-light {
    padding: 10px 25px;
}

/* 页脚样式 */
footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color) !important;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    section {
        padding: 50px 0;
    }
}
/* 关于我们页面特定样式 */
.page-header {
    padding: 100px 0;
    margin-bottom: 50px;
    background: linear-gradient(rgba(47, 129, 244, 0.8), rgba(47, 126, 237, 0.8)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    left: -7.5px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: -7.5px;
}

/* 团队卡片 */
.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-content::after {
        left: -7.5px !important;
    }
    
    .page-header {
        padding: 70px 0;
    }
}
/* 联系页面特定样式 */
.contact-info-box {
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 15px;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

.contact-method div {
    flex: 1;
}

.contact-method h6 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* 社交媒体图标 */
.social-media-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon i {
    transition: transform 0.3s, color 0.3s;
}

.social-icon span {
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
}

.social-icon:hover i {
    transform: translateY(-5px);
}

.social-icon:hover span {
    opacity: 1;
}

/* 常见问题 */
.faq-item {
    background-color: white;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h5 {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .social-media-links {
        flex-direction: row;
        justify-content: center;
    }
    
    .social-icon {
        margin: 10px;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-method i {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .social-icon span {
        display: none;
    }
    
    .social-icon {
        margin: 5px;
    }
}