* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-size: 16px;
}
a,a:hover{
    text-decoration: none;
}
img,a{
    border: none;
}
ul,li{
    padding: 0px;
    list-style: none;
    margin: 0px;
}
.clear{
    clear: both;
}
body {
    font-family: "微软雅黑","Microsoft YaHei","黑体","STHeiti", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section span {
    font-size: 40px;
    color: #1b72b1;
}
.title-section h1 {
    font-size: 24px;
    color: #c41e3a;
    margin-bottom: 5px;
}

.title-section h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 3px;
}

.english-title {
    font-size: 12px;
    color: #666;
}

.search-section {
    display: flex;
    gap: 10px;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.search-btn {
    padding: 8px 16px;
    background: rgb( 0, 63, 136);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-btn:hover {
    background: #a01729;
}

/* 主导航样式 */
.main-nav {
    background: rgb( 0, 63, 136);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    position: relative;
}

/* 添加下划线动画效果 */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
	bottom:0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgb(176, 31, 36);
	background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after {
    width: 80%;
    left: 10%;
}


/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-flex;   /* 或 inline-block */
    justify-content: center; /* 水平居中 */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;   /* 自动左右 margin 居中 */
    width: max-content; /* 或写死最大宽度 */
    max-width: 200px;   /* 可选 */
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    flex: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f8f8;
    color: #c41e3a;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* 悬浮球状态下的下拉菜单 */
.main-nav.floating .dropdown {
    position: relative;
}

.main-nav.floating .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    white-space: nowrap;
}

/* 确保下拉菜单不会被悬浮球容器裁剪 */
.main-nav.floating .dropdown {
    position: static;
}

/* 当悬浮球菜单展开时，调整下拉菜单位置 */
.main-nav.floating:hover .dropdown-menu,
.main-nav.floating.expanded .dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
}

/* 确保下拉菜单不超出屏幕右边界 */
.main-nav.floating .dropdown:last-child .dropdown-menu,
.main-nav.floating .dropdown:nth-last-child(-n+3) .dropdown-menu {
    right: 0;
    left: auto;
}

.main-nav.floating .dropdown:hover .dropdown-menu,
.main-nav.floating.expanded .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav.floating .dropdown-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 11px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-nav.floating .dropdown-menu a:hover {
    background: rgba(196, 30, 58, 0.1);
    color: #c41e3a;
}

.main-nav.floating .dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* 移动端悬浮球下拉菜单优化 */
@media (max-width: 768px) {
    .main-nav.floating .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 70px;
        right: 20px;
        left: auto;
        max-width: 200px;
    }
}

/* 悬浮球样式 */
.main-nav.floating {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    overflow: visible;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

/* 确保悬浮球容器不会裁剪下拉菜单 */
.main-nav.floating .nav-menu {
    overflow: visible;
}

.main-nav.floating .dropdown {
    overflow: visible;
}

.main-nav.floating::before {
    content: '☰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1002;
}

.main-nav.floating:hover::before,
.main-nav.floating.expanded::before {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

.main-nav.floating .nav-menu {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    border-radius: 30px;
    padding: 10px;
    min-width: 320px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    transform: translateX(calc(100% - 60px));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    overflow: visible;
}

.main-nav.floating:hover .nav-menu,
.main-nav.floating.expanded .nav-menu {
    transform: translateX(0);
}

.main-nav.floating .nav-menu li {
    flex: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-nav.floating:hover .nav-menu li,
.main-nav.floating.expanded .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.main-nav.floating .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.main-nav.floating .nav-menu li:nth-child(2) { transition-delay: 0.15s; }
.main-nav.floating .nav-menu li:nth-child(3) { transition-delay: 0.2s; }
.main-nav.floating .nav-menu li:nth-child(4) { transition-delay: 0.25s; }
.main-nav.floating .nav-menu li:nth-child(5) { transition-delay: 0.3s; }
.main-nav.floating .nav-menu li:nth-child(6) { transition-delay: 0.35s; }
.main-nav.floating .nav-menu li:nth-child(7) { transition-delay: 0.4s; }
.main-nav.floating .nav-menu li:nth-child(8) { transition-delay: 0.45s; }
.main-nav.floating .nav-menu li:nth-child(9) { transition-delay: 0.5s; }
.main-nav.floating .nav-menu li:nth-child(10) { transition-delay: 0.55s; }

.main-nav.floating .nav-menu a {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 15px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.main-nav.floating .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* 移动端悬浮球优化 */
@media (max-width: 768px) {
    .main-nav.floating .nav-menu {
        min-width: 280px;
        flex-wrap: wrap;
        height: auto;
        max-height: 60px;
        padding: 5px;
    }
    
    .main-nav.floating:hover .nav-menu,
    .main-nav.floating.expanded .nav-menu {
        max-height: 200px;
        padding: 10px;
    }
    
    .main-nav.floating .nav-menu a {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* 悬浮球呼吸动画 */
.main-nav.floating::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* 主要内容区域 */
.main-content {
    padding: 0 0;
}

/* 轮播图样式 */
.hero-section {
    position: relative;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.carousel-text p {
    font-size: 48px;
    font-weight: bold;
}

.carousel-controls {
    position: absolute;
    /* bottom: 20px; */
    /* right: 20px; */
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 10px; */
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.carousel-controls button:hover {
    background: rgba(0,0,0,0.7);
}

/* 内容包装器 */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* 左侧内容 */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 右侧内容 */
.right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* 通用区块样式 */
.section-title {
    position: relative;
    background: rgb( 0, 63, 136);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0px 0px 0 0;
    box-shadow: 0 2px 6px rgba(139, 21, 56, 0.2);
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

/* 新闻动态样式 */
.news-section {
    background: white;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    border-top: 0px solid #c41e3a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.news-section .section-title {
    background: rgb( 0, 63, 136);
    position: relative;
    font-size: 24px;
}

.news-section .section-title::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: url(../../images/news.png) no-repeat center / contain;
    opacity: 0.8;
}



.news-item.featured {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.news-item.featured img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.news-item.featured p a{
    text-decoration: none;
    color: #666;
    line-height: 1.6;
}

.news-list {
    padding: 0 20px 20px;
}

.news-list .news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 20px;
}

.news-list .news-item:last-child {
    border-bottom: none;
}

.news-list .date {
    position: relative;
    background: rgb( 0, 63, 136);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(139, 21, 56, 0.3);
    transform: perspective(100px) rotateX(10deg);
    transition: all 0.3s ease;
}

.news-list .date::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4); */
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-list .news-item:hover .date::before {
    opacity: 1;
    animation: rainbow-border 2s linear infinite;
}

@keyframes rainbow-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.news-list .date:hover {
    transform: perspective(100px) rotateX(0deg) scale(1.05);
    box-shadow: 0 4px 8px rgba(139, 21, 56, 0.4);
}

.news-list a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.news-list a:hover {
    color: #c41e3a;
}

/* 通知公告样式 */
.notice-section {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    border-top: 2px solid rgb( 0, 63, 136);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notice-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.notice-section .section-title {
    background: rgb( 0, 63, 136);
    position: relative;
    font-size: 24px;
}

.notice-section .section-title::after {
    content: '';
    background: url(../../images/notice.png) no-repeat center / contain;
    position: absolute;
    right: 15px;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.8;
}

.notice-list {
    padding: 0 20px 20px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 20px;
}

.notice-item:last-child {
    border-bottom: none;
}

.bottom-content .research-section{
    /* background: white; */
    border-radius: 0px;
    /* overflow: hidden; */
    /* box-shadow: 0 3px 8px rgba(0,0,0,0.08); */
    /* border-top: 2px solid rgb( 0, 63, 136); */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.notice-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.bottom-content .research-section .section-title {
    background: rgb( 0, 63, 136);
    position: relative;
}

.bottom-content .research-section .section-title::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.8;
}

.bottom-content .research-list {
    padding: 0 20px 20px;
}

.bottom-content .research-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bottom-content .research-item:last-child {
    border-bottom: none;
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb( 0, 63, 136);
    padding: 12px 8px;
    /* border: 2px solid #c41e3a; */
    border-radius: 4px;
    min-width: 70px;
    position: relative;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    transform: perspective(200px) rotateY(-5deg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.date-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.1));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.date-box:hover {
    transform: perspective(200px) rotateY(0deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.date-box .day {
    font-size: 24px;
    font-weight: bold;
    color: white;
    /* color: #c41e3a; */
    /* background-color: rgba(255,255,255,0.9); */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.date-box .month {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.notice-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    line-height: 1.5;
}

.notice-item a:hover {
    color: #c41e3a;
}

/* 合作伙伴样式 */
.partners-section {
    background: white;
    padding: 30px 0;
    margin-top: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: center;
}

.partners-grid img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partners-grid img:hover {
    filter: grayscale(0%);
}

/* 友情链接样式 */
.links-section {
    background: #f8f8f8;
    padding: 20px 0;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.links-grid a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    /* border-right: 1px solid #ddd; */
    border: 1px solid;

}

/* .links-grid a:last-child {
    border-right: none;
} */

.links-grid a:hover {
    color: #c41e3a;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* 页脚样式 */
.footer {
    background: rgb( 0, 63, 136) ;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* 移动端下拉菜单样式 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        background: #a01729;
        border-radius: 0;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .dropdown.mobile-open .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        max-height: 200px;
    }
    
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 30px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .links-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid a {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .links-grid a:last-child {
        border-bottom: none;
    }
    
    .carousel-text {
        left: 20px;
    }
    
    .carousel-text h3 {
        font-size: 18px;
    }
    
    .carousel-text p {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .search-input {
        width: 150px;
    }
    
    .title-section h1 {
        font-size: 20px;
    }
    
    .title-section h2 {
        font-size: 16px;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .carousel {
        height: 250px;
    }
    
    .carousel-text p {
        font-size: 24px;
    }
}