/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    padding: 15px 0;
}

.navbar .nav-link {
    color: #1e3c72 !important;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
}

.navbar .nav-link:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.navbar .nav-link i {
    color: #2a5298;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover i {
    color: white;
}

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

body {
    font-family: 'Microsoft YaHei', 'Source Han Sans CN', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 页眉样式 */
.header-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.sub-title {
    font-size: 1.8rem;
    font-weight: 100;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.award-info {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 主内容区样式 */
.main-content {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    color: #1e3c72;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.section-title i {
    margin-right: 15px;
    color: #2a5298;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

/* 简介模块样式 */
.intro-section {
    margin-bottom: 80px;
}

.intro-content {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #1e3c72;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

.intro-text.highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    font-weight: 500;
    color: #1e3c72;
}

.intro-image {
    padding: 20px;
}

.intro-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.05);
}

/* 图文展示模块样式 */
.gallery-section {
    margin-bottom: 80px;
}

.gallery-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gallery-item img:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-caption {
    margin-top: 15px;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 文档链接模块样式 */
.documents-section {
    margin-bottom: 60px;
}

.document-card {
    transition: transform 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-card .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.document-card .card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.document-icon {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 20px;
}

.document-card .card-title {
    color: #1e3c72;
    font-weight: 600;
    margin-bottom: 15px;
}

.document-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.document-card .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.document-card .btn-primary:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
}

.document-card .btn-primary i {
    margin-right: 8px;
}

/* 页脚样式 */
.footer-section {
    background: #1e3c72;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.institutions {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ffd700;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .intro-content {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .header-section {
        padding: 40px 0;
    }
    
    .intro-content {
        padding: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* 齿轮式滚动图片展示 */
.gallery-scroll-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.gallery-scroll-track {
    display: flex;
    height: 100%;
    align-items: center;
    will-change: transform;
    transition: transform 0.1s linear;
}

.scroll-image-item {
    flex: 0 0 auto;
    width: 300px;
    height: 350px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-image-item .gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
}

.scroll-image-item .gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.scroll-image-item .gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.scroll-image-item .gallery-item:hover img {
    transform: scale(1.05);
}

.scroll-image-item .gallery-item:hover .gallery-caption {
    background: rgba(30, 60, 114, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    border-top: 2px solid #ffd700;
}

.scroll-image-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 60, 114, 0.85);
    color: #ffd700;
    padding: 15px 12px 12px;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    border-radius: 0 0 12px 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-top: 2px solid rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}

/* 滚动容器悬停效果 */
.gallery-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        transparent 10%, 
        transparent 90%, 
        rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-scroll-container {
        height: 300px;
    }
    
    .scroll-image-item {
        width: 250px;
        height: 280px;
        margin-right: 15px;
    }
    
    .scroll-image-item .gallery-item img {
        height: 220px;
    }
    
    .scroll-image-item .gallery-caption {
        font-size: 12px;
        padding: 15px 10px 10px;
    }
}

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

.intro-section,
.gallery-section,
.documents-section {
    animation: fadeInUp 0.8s ease-out;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}