
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #004b8d;
    --secondary-color: #ffffff;
    --text-color: #333;
    --bg-light: #f5f5f5;
    --max-width: 1400px;
}

body {
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header {
    background-image: url('../images2512/top_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    height: 140px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.logo-section {
    flex: 0 0 auto;
}

.search-section {
    flex: 0 0 auto;
    margin-left: auto;
}

.header-right {
    display: none;
    gap: 10px;
    align-items: center;
}

.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-search-toggle img {
    width: 20px;
    height: 20px;
    display: block;
}

.mobile-search-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logo-section .logo {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
}

.logo-section .logo img {
    max-height: 80px;
    width: auto;
}

.logo-en {
    font-size: 14px;
    font-weight: normal;
    display: block;
}

.logo-subtitle {
    font-size: 18px;
    display: block;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.search-section.mobile-search {
    display: flex;
}

.search-input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 250px;
    height: 38px;
    box-sizing: border-box;
    outline: none;
    opacity: 0.6;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #003d7a;
}

.search-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

.navbar {
    background-color: #005BAC;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.nav-menu > li {
    text-align: center;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--secondary-color);
    transition: all 0.3s;
    position: relative;
    font-size: 18px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 5px;
    border: 1px solid rgba(0, 91, 172, 0.1);
}

.has-dropdown-research .dropdown-menu {
    overflow: visible;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.has-dropdown .dropdown-menu:hover {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.has-subdropdown {
    position: relative;
}

.has-subdropdown > a {
    padding-right: 34px;
}

.has-subdropdown > a::after {
    content: '›';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 75, 141, 0.7);
    font-size: 18px;
    line-height: 1;
}

.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #ffffff;
    width: 100%;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 91, 172, 0.1);
    display: none;
    z-index: 1100;
}

.has-subdropdown:hover > .sub-dropdown-menu {
    display: block;
    animation: fadeInRight 0.2s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(6px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sub-dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-dropdown-menu li:last-child {
    border-bottom: none;
}

.sub-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.sub-dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s;
    font-size: 14px;
    position: relative;
    text-align: center;
}


.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

@media (min-width: 769px) {
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
    }

    .has-dropdown:hover .dropdown-menu {
        animation: fadeInDownCentered 0.3s ease;
    }

    @keyframes fadeInDownCentered {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
}

.has-dropdown-team .dropdown-menu {
    min-width: 320px;
    width: 420px;
    max-width: calc(100vw - 40px);
}

.has-dropdown-team .dropdown-menu a {
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    background-color: var(--bg-light);
}

.carousel-section {
    background-color: var(--secondary-color);
}

.carousel-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-carousel {
    width: 100%;
    height: 400px;
}

.main-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-carousel .swiper-button-next,
.main-carousel .swiper-button-prev {
    color: var(--secondary-color);
    background-color: rgba(0, 75, 141, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.main-carousel .swiper-button-next:after,
.main-carousel .swiper-button-prev:after {
    font-size: 18px;
}

.main-carousel .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.news-section {
    padding: 40px 0;
}

.news-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.news-left {
    flex: 2;
    min-width: 0;
    max-width: 66.666%;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 4px;
}

.news-right {
    flex: 1;
    min-width: 0;
    max-width: 33.333%;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    cursor: pointer;
    margin-bottom: -15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.more-link {
    color: var(--primary-color);
    font-size: 14px;
}

.more-link:hover {
    text-decoration: underline;
}

.news-content-wrapper {
    display: flex;
    gap: 20px;
}

.news-carousel-wrapper {
    flex: 1;
    min-width: 0;
}

.news-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.news-carousel .swiper-wrapper {
    height: auto;
    width: 100%;
}

.news-carousel .swiper-slide {
    height: auto;
    width: 100%;
    flex-shrink: 0;
}

.news-slide-wrapper {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.news-carousel .swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.news-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #004b8d;
    color: #ffffff;
    padding: 0 15px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 40px;
    box-sizing: border-box;
   
}

.news-list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    flex: 1;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list a:hover {
    color: var(--primary-color);
}

.news-list .date {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
    white-space: nowrap;
}

.news-carousel {
    position: relative;
}

.news-carousel .swiper-pagination {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    left: auto;
    margin: 0;
    display: flex;
    z-index: 10;
}

.news-carousel .swiper-pagination-bullet {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: var(--primary-color);
    border-radius: 4px;
    opacity: 1;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.news-carousel .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.announcement-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.announcement-list li:last-child {
    border-bottom: none;
}

.announcement-list a {
    flex: 1;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.announcement-list a:hover {
    color: var(--primary-color);
}

.announcement-list .date {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
    white-space: nowrap;
}

.dynamics-section {
    padding-bottom: 40px;
}

.dynamics-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.dynamics-left,
.dynamics-right {
    flex: 1;
    min-width: 0;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 4px;
}

.dynamics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dynamics-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.dynamics-list li:last-child {
    border-bottom: none;
}

.dynamics-list a {
    flex: 1;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dynamics-list a:hover {
    color: var(--primary-color);
}

.dynamics-list .date {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
    white-space: nowrap;
}

.platform-section {
    padding: 40px 0;
    background-color: var(--secondary-color);
}

.platform-section .section-header {
    border-bottom: none;
    padding-bottom: 0;
}

.platform-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.platform-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 34px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.platform-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.platform-content {
    flex: 1;
}

.platform-card h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 8px;
}

.platform-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.lab-section {
    padding: 40px 0;
}

.lab-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.lab-section .section-header {
    position: relative;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 13px;
}

.lab-section .section-header h2 {
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.lab-section .section-header h2::after {
    bottom: 0px;
}

.links-navigation {
    display: flex;
    gap: 10px;
    align-items: center;
}

.links-prev,
.links-next {
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.links-prev:after,
.links-next:after {
    font-size: 14px !important;
    font-weight: bold;
}

.links-prev:hover,
.links-next:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.links-carousel-wrapper {
    margin-top: 20px;
    position: relative;
}

.links-carousel {
    width: 100%;
    overflow: hidden;
}

.links-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-item {
    display: block;
    width: 100%;
    height: 81px;
    overflow: hidden;
    transition: transform 0.3s, opacity 0.3s;
}

.link-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.link-item img {
    width: 100%;
    height: 81px;
    object-fit: cover;
    display: block;
}

.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0 20px;
    position: relative;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-qr {
    display: flex;
    gap: 30px;
}

.qr-item {
    text-align: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 4px;
}

.qr-item p {
    font-size: 12px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 20px;
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}



