* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-blue: #000f9a;
    --text-white: #ffffff;
    --section-padding: 2rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部logo区域样式 */
.header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container img {
    height: 40px;
    object-fit: contain;
}

/* 主banner区域样式 */
.main-banner {
    background: var(--primary-blue);
    color: var(--text-white);
    padding: var(--section-padding);
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.banner-text {
    flex: 1;
    padding-right: 2rem;
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.banner-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.banner-text p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-white);
}

.banner-footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.banner-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.banner-img {
   text-align: center;
   background-color: #000f9a;
   display: inline-block;
   width: 100%;
   text-align: center;
}

.banner-img img {
    margin:0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    
    display: block;
}

/* 新闻头条区域样式 */
.news-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    margin-top: 50px;
}

.news-item {
    display: block;
    gap: 2rem;
    background: #fff;
    position: relative;
    padding:1rem 1.5rem;
    height:160px; box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-icon {
   display:block ;
   position: absolute;
   bottom:0;
   left:-10px;font-size: 0;
}
.news-content{
    padding-left:106px; 
    font-size:1.2rem;
}

.news-content h3 {
    font-size: 2rem;
    margin-bottom: .5rem;
    color: #0c64db;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 2;
    max-height: 4em;
    font-size: 1rem;
}

/* 活动信息区域样式 */
.activity-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.activity-card {
   min-height:380px;
    gap: 2rem;
    position: relative;
    background: #fff;
   
    border-radius: 8px;
   
}
.activity-content p{color:#666; border-bottom:1px solid #dfdfdf;padding-bottom:20px;line-height: 2;
   
}
.activity-card img {
    width: 300px;
    object-fit: cover;
  
   
}
.activity-content{  padding-left:560px;padding: 1rem 1.5rem;padding-left:40px;
    margin-left:540px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); box-shadow: 0 2px 8px rgba(0,0,0,0.1);}
.activity-content h3 {
    font-size: 1.3rem;
    padding-bottom:10px;
    color: #333;
}
.carousel-item a{color:#fff;text-decoration: none; }

.activity-content ul {
    
   margin-left:22px;
    padding-top: 20px;
}

.activity-content li {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.2rem;
}

.activity-content li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2e2e2e;
    text-decoration: none;
}

.activity-content li a:hover {
    color: #0c64db;
}

/* 专家团队展示区域样式 */
.experts-section {
    background: url('../img/bgteam.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: var(--text-white);
    padding: 4rem 2rem;
    min-height:840px;
    box-sizing: border-box;
}


.experts-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    height: 577px;
}

.experts-description {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.experts-description p {
   
    line-height: 2;
    font-size: 1.1rem;
    color:#1835bd;
}

/* 图片展示区域样式 */
.gallery-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transition: bottom 0.3s ease;
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: normal;
}

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

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: var(--text-white);
    padding: 3rem 2rem;
}

.footer-links {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        padding: 1.5rem;
    }

    .banner-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .banner-img {
        max-width: 100%;
    }

    .activity-card {
        flex-direction: column;
    }

    .activity-card img {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }

    .experts-section {
        padding: 3rem 1rem;
    }
    
    .experts-description {
        padding: 1.5rem;
    }
    
    .experts-description p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text h2 {
        font-size: 1.5rem;
    }

    .gallery-section {
        padding: 0 1rem;
    }
}

/* 轮播图样式 */
.carousel {
    position: absolute;
    width: 560px;
    overflow: hidden;
    left:0;
    top:1rem;
   
   
}

.carousel-container {
    display: flex;
    width: 570;
    height: 380px;
    transform: translateX(-100%);
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.carousel-item h2 {
    position: absolute;
    bottom: 0;
    text-align: center;
    left: 0;
    right: 0;
    overflow: hidden;
    font-weight: 100;
    color: white;
    padding: 10px 10px;
    margin: 0;
    background-color: #2054a4;
    font-size: 1rem;
    pointer-events: none;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
    width: 44px;
    height: 44px;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel {
        width: 100%;
        max-width: 560px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-item img {
        height: 100%;
    }
    
    .carousel-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .carousel-item h2 {
        font-size: 1rem;
        padding: 15px 10px;
    }
} 