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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

:root {
    --primary-color:#0b318f;
    --secondary-color: #b1e2f1;
    --text-color: #333;
    --spacing-unit: 8px;
}

@font-face {
    font-family: 'EnFont';
    src: url('../fonts/BarlowCondensed-SemiBold.woff2') format('woff2'),
        url('../fonts/BarlowCondensed-SemiBold.woff') format('woff'),
        url('../fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CnFont';
    src: url('../fonts/SourceHanSansCN-Medium.woff2') format('woff2'),
        url('../fonts/SourceHanSansCN-Medium.woff') format('woff'),
        url('../fonts/SourceHanSansCN-Medium.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a {
    text-decoration: none;
    color: #333;
}

img, embed, iframe, object, video {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

.index-title{
    text-align: center;
    font-size: 32px;
    margin: 40px 0;
    font-weight: 600;
    color: #1f2937;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.index-more{
    text-align: center;
    margin-top: 50px;
}
.index-more a{
    display: inline-block;
    /*background: linear-gradient(to bottom, white, gray);*/
    background: var(--primary-color);
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    /*color: #000000;*/
    color: #fff;
    transition: background-color 0.4s ease-in-out;
    
}
.index-more a:hover{
    background: var(--primary-color);
    color: #ffffff;
}


/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* position: sticky; */
    /* top: 0; */
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    max-width: 300px;
}

.logo-text {
    font-size: 14px;
    color: #666;
    padding: 2px 0 2px;
    padding-left: 20px;
    border-left: 2px solid #444;
}

.logo-text h1 {
    /* margin-bottom: 0; */
    color: #444;
    font-size: 26px;
    letter-spacing: 2px;
}

.logo-text span {
    color: #444;
    font-size: 20px;
    font-weight: 600;
    font-family: SimHei;
}
.countdown-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.countdown {
    text-align: right;
}

.countdown-label {
    margin-top: 35px;
    font-size: 14px;
}

.countdown-label span {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 10px
}

/* Navigation Styles */
/* nav */
.hamburger{
    display: none;
}
.nav{
	background-color: var(--primary-color);
	height: 55px;
	line-height: 55px;
    z-index: 2;
    position: relative;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}
nav ul li {
    margin: 0 10px;
    position: relative;
    height: 55px;
    line-height: 55px;
    
}
.nav ul li a:hover{
    background-color: var(--secondary-color);
}
nav ul li img{
    vertical-align: middle;
    margin-right: 5px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    display: block;
    padding: 0 15px;
}
ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    z-index: 1000;
}
ul.dropdown-menu li {
    margin: 0;
}
ul.dropdown-menu li a {
    padding: 0 20px;
    display: block;
    text-align: left;
    white-space: nowrap;
    color: #333;
    font-size: 16px;
    font-weight: 400;
}
ul.dropdown-menu li a:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}
.dropdown:hover .dropdown-menu {
    display: block;
}


/* Banner Carousel */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.banner-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: white;
}

/* Service Cards */
.index-button-module {
    z-index: 2;
    display: flex;
    gap: 130px;
    justify-content: center;
    align-items: center;
    /*margin-top: 100px;*/
    padding-top: 100px;
}

.index-btn {
    flex: 1;
    height: 200px;
    /*background: var(--secondary-color);*/
    background: #fff;
    border: solid 6px var(--primary-color);
    transition: transform 0.3s;
    cursor: pointer;
    max-width: 400px;
    font-size: 18px;
    position: relative;
    border-radius: 40px;
    position: relative;
}

.index-btn .index-btn-text {
    margin-top: 70px;
    padding-left: 60px;
    font-size: 28px;
    font-weight: 600;
    color: #004c8f;
    letter-spacing: 0.1em;
}



.index-btn span {
    font-size: 20px;
    font-family: 'EnFont', sans-serif;
    display: block;
    color: var(--primary-color);
    margin-top: 10px;
    letter-spacing: 0;
}

.index-btn .index-btn-img-top {
    position: absolute;
    top: 35px;
    right: 30px;
    background: url('../images/index_btn_ico02.png') no-repeat;
    width: 26px;
    height: 26px;
}

.index-btn .index-btn-img-bot {
    position: absolute;
    bottom: 20px;
    right: 60px;
    width: 100px;
    height: 100px;
}

.index-btn .index-btn-img-bot-zs {
    background: url('../images/index_btn_zs01.png') no-repeat;
}

.index-btn .index-btn-img-bot-gz {
    background: url('../images/index_btn_gz01.png') no-repeat;
}

.index-btn:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    border: solid 6px #fff;
}


.index-btn:hover .index-btn-text,
.index-btn:hover .index-btn-text span {
    color: #fff;
}
.index-btn2:hover .index-btn-text,
.index-btn2:hover .index-btn-text span {
    color: var(--primary-color);
}

.index-btn:hover .index-btn-img-top {
    background: url('../images/index_btn_ico01.png') no-repeat;
}

.index-btn:hover .index-btn-img-bot-zs {
    background: url('../images/index_btn_zs02.png') no-repeat;
}

.index-btn:hover .index-btn-img-bot-gz {
    background: url('../images/index_btn_gz02.png') no-repeat;
}

.index-btn2 {
    flex: 1;
    height: 200px;
    background: var(--primary-color);
    border:solid 6px #fff;
    transition: transform 0.3s;
    cursor: pointer;
    max-width: 400px;
    font-size: 18px;
    position: relative;
    border-radius: 40px;
    position: relative;
}
.index-btn2 .index-btn-text{
    margin-top: 70px;
    padding-left: 60px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.1em;
}

.index-btn2 span {
    font-size: 20px;
    font-family: 'EnFont', sans-serif;
    display: block;
    /*color: var(--primary-color);*/
    color: #fff;
    margin-top: 10px;
    letter-spacing: 0;
}

.index-btn2 .index-btn-img-top {
    position: absolute;
    top: 35px;
    right: 30px;
    background: url('../images/index_btn_ico01.png') no-repeat;
    width: 26px;
    height: 26px;
}

.index-btn2 .index-btn-img-bot {
    position: absolute;
    bottom: 20px;
    right: 60px;
    width: 100px;
    height: 100px;
}

.index-btn2 .index-btn-img-bot-zs {
    background: url('../images/index_btn_zs02.png') no-repeat;
}

.index-btn2 .index-btn-img-bot-gz {
    background: url('../images/index_btn_gz02.png') no-repeat;
}

.index-btn2:hover {
    transform: translateY(-10px);
    /*background-color: var(--primary-color);*/
    background-color: #fff;
    border: solid 6px var(--primary-color);
}

.index-btn2:hover .index-btn-text,
.index-btn2:hover .index-btn-text span {
    color: #fff;
}
.index-btn2:hover .index-btn-text,
.index-btn2:hover .index-btn-text span {
    color: var(--primary-color);
}

.index-btn2:hover .index-btn-img-top {
    background: url('../images/index_btn_ico02.png') no-repeat;
}

.index-btn2:hover .index-btn-img-bot-zs {
    background: url('../images/index_btn_zs01.png') no-repeat;
}

.index-btn2:hover .index-btn-img-bot-gz {
    background: url('../images/index_btn_gz01.png') no-repeat;
}
/* Statistics */
.stats-section {
    padding: 100px 0 60px 0;
    margin-top: -50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-number {
    margin-bottom: 10px;
    font-size: 100px;
    font-family: 'EnFont', sans-serif;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2px;
}

.stat-label {
    /* color: #6b7280; */
    font-size: 16px;
    font-size: 16px;
    margin-top: 10px;
    padding-left: 10px;
    font-weight: 600;
    /* text-align: left; */
}

/* Exhibition Content */
.content-section {
    padding: 80px 0;
    /*background: url(/public/images/zt_bg.jpg) no-repeat top center;*/
    background-color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.content-text p {
    color: #000000;
    margin-bottom: 15px;
    line-height: 2.0;
    text-indent: 2em;
    font-size: 14px;
}

.content-card img {
    width: 100%
}


/* Exhibition Zones */
.zones-section {
    padding: 80px 0;
    /*background: var(--secondary-color);;*/
    background: url(/public/images/jianbian_bj.jpg) no-repeat top center;
    background-size: cover;
}

.section-title {
    /* text-align: center; */
    /* font-size: 32px; */
    /* margin: 40px 0; */
    /* color: #1f2937; */
    /* font-weight: 600; */
    background: url(/public/images/title_bg.png) no-repeat center center;
    height: 100px;
    line-height: 100px;
    padding-left: 42px;
    letter-spacing: 2px;
    font-size: 28px;
    color: white;
    font-family: 'CnFont', sans-serif;
    margin: 40px 0;
    margin-left: -20px;
    text-align: center;
}

.zones-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.zone-row {
    display: flex;
    gap: 40px;
    width: 100%;
    height: 250px;
}

/* 第一行 - 2个项目 */
.zone-row.first-row .zone-card {
    flex: 1;
    /* 平分空间 */
    min-width: 0;
}

/* 第二行 - 3个项目 */
.zone-row.second-row .zone-card {
    flex: 1;
    /* 平分空间 */
    min-width: 0;
    max-width: calc(33.333% - 14px);
}

.first-row {
    width: 70%;
    margin: 0 auto;
    height: 250px;
}

.zone-card {
    position: relative;
    aspect-ratio: 2;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.zone-bg {
    width: 100%;
    height: 100%;
}

.zone-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.zone-content {
    position: absolute;
    top: 50%;
    margin-top: -35px;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    text-align: center;
}

.zone-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 24px;
    letter-spacing: 1px;
}

.zone-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 84, 167, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    color: white;
    text-align: center;
    padding: 20px;
}

.zone-hover p{
  text-align: left;
}

.zone-card:hover .zone-hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .zone-row {
        flex-wrap: wrap;
    }

    .zone-row.first-row .zone-card,
    .zone-row.second-row .zone-card {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {

    .zone-row.first-row .zone-card,
    .zone-row.second-row .zone-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* tqtq */
.tq {
    background: url(/public/images/tq_bg.jpg) no-repeat top center;
    padding: 80px 0;
}

#certify {
    position: relative;
    margin: auto;
    padding: 30px 0;
    width: 1200px;
}

#certify .swiper-slide {
    position: relative;
    width: 415px;
    background-color: #fff;
    box-shadow: 0px 0px 4px 10px #00000040;
}

#certify .swiper-slide img {
    width: 100%;
    vertical-align: middle;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 50px;
    background: url(/public/images/news-btn-left.png) no-repeat;
    background-size: 100%;
}

.swiper-button-prev {
    left: -30px;
    transform: rotate(180deg);
}

.swiper-button-next {
    right: -30px;
}


/* Activities Section */
.activities-section {
    padding: 40px 0 100px 0;
    /*background: url(/public/images/tq_bg.jpg) no-repeat left center;*/
    background-color: #fff;
    position: relative;
}

.activities-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.activities-container {
    flex: 1;
    overflow: hidden;
}

.activities-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.activities-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.activity-card {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.activity-bg {
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.activity-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/placeholder.svg?height=200&width=400') center/cover;
    opacity: 0.3;
}

.activity-content {
    position: relative;
    z-index: 2;
}

.activity-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.activity-subtitle {
    font-size: 16px;
}

.activity-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #666;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    transition: color 0.2s;
}

.activity-nav:hover {
    color: var(--primary-color);
}

.activity-prev {
    left: -30px;
}

.activity-next {
    right: -30px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    /*background-color: var(--secondary-color);*/
    background: url(/public/images/jianbian_bj.jpg) no-repeat top center;
    background-size: cover;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-carousel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.news-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.news-slide,
.news-slide a{
    min-width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.news-slide img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

/* .news-slide a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
} */

.news-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 30px 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
}
.news-slide-content p{
    height: 52px;
}

.news-slide-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-carousel-dots {
    /* position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10; */
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

.news-tabs {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    padding: 15px 10px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 1px dotted #cccc;
}

.news-item:hover {
    background: #f9fafb;
}

.news-date {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    margin-top: 5px;
}

.news-title {
    font-size: 16px;
    color: #374151;
    transition: color 0.3s;
    max-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item:hover .news-title {
    color: var(--primary-color);
    max-height: 28px;
    overflow: hidden;
}

/* Media Partners Section */
.media-section {
    padding: 80px 0;
    background: #fff;
}

.media-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* background: #f9fafb; */
    padding: 40px 0;
}

.media-slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.media-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    /* padding: 15px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 80px;
}

.media-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.media-item img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    transition: filter 0.3s ease;
}

.media-item:hover img {
    filter: grayscale(0%);
}

.media-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.media-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.media-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}




/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

.floating-sidebar.show {
    right: 0;
}

.floating-sidebar.hidden {
    right: -80px !important;
}

.sidebar-content {
    background: var(--primary-color);
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 10px;
}

.sidebar-close {
    position: absolute;
    top: 5px;
    right: 0;
    background: none;
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 18px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-icon {

    margin-right: 5px;
}

.sidebar-text {
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}

/* Links Section */
.links-section {
    padding: 40px 0;
    /*background: #c4c4c4;*/
    background: url(/public/images/jianbian_bj.jpg) no-repeat top center;
    background-size: cover;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 0 auto;
}

.link-card {
    text-align: center;
}

.link-card img {
    max-width: 100%;
    height: auto;
}

.link-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.link-subtitle {
    font-size: 12px;
    color: #1d4ed8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-weight: bold;
    margin-bottom: 15px;

}

.footer-section h4.mt30 {
    margin-top: 30px
}

.footer-section p,
.footer-section div {
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.qr-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.qr-code {
    background: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.qr-code img {
    width: 100px;
}

.qr-placeholder {
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.footer-bottom {
    border-top: 1px solid #1d4ed8;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.75;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 15px;
}



/* 移动端适配样式 */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    #certify {
        width: 100%;
        padding: 30px 15px;
    }
    
}

@media (max-width: 992px) {
    .nav ul li a{
        display: inline;
        padding: 0;
        font-size: 16px;
    }
    .countdown-section {
       display: none;
    }
        
    .stat-number {
        font-size: 60px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zone-row {
        height: auto;
    }
    
    .zone-row.second-row .zone-card {
        max-width: 100%;
    }
    
    .zone-card {
        margin-bottom: 20px;
        height: 200px;
    }
    
    .activities-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .media-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .logo-section{
        flex-wrap: wrap;
    }
    .logo img {
        max-width: 100%;
    }
    .logo-text{
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text span {
        font-size: 14px;
    }
    /* nav */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2;
        padding: 5px;
    }
    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: #fff;
        margin: 6px 0;
        transition: 0.3s;
        border-radius: 20px;
    }
    /* 导航菜单初始状态 */
    .nav .container > ul {
        display: none;
        width: 100%;
        position: absolute;
        top: 55px;
        left: 0;
        background: #000;
        flex-direction: column;
        padding: 10px 0;
    }
    /* 激活状态 */
    .nav.active .container > ul {
        display: flex;
        background-color: white;
        color: #333;
        z-index: 999;
    }
     .nav.active .container > ul li a{
        color: #333;
     }
    /* 菜单项样式 */
    .nav ul li {
        margin: 0;
        padding: 0 20px;
        height: auto;
        line-height: 28px;
    }
    .nav ul li a {
        padding: 8px 10px;
        display: block;
    }
    /* 下拉菜单适配 */
    .dropdown-menu {
        position: static;
        display: none;
        min-width: auto;
    }
    .dropdown-menu li {
        border-bottom: none;
    }
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
        width: 100%;
    }
    .banner-section {
        height: 300px; 
        overflow: hidden;
    }
    
    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        filter: none; 
        -webkit-filter: none;
    }
    
    .banner-content {
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
        background: rgba(0, 0, 0, 0.5); 
        border-radius: 8px;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
    }
    
    .banner-dots {
        bottom: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .index-button-module{
        gap: 20px;
        padding: 30px 10px 0 10px;
    }
    .index-btn,.index-btn2{
        height: 100px;
        border-radius: 15px
    }
    .index-btn .index-btn-text,.index-btn2 .index-btn-text{
        padding-left: 20px;
        font-size: 18px;
        margin-top: 30px;
    }
    .index-btn span,.index-btn2 span{
        font-size: 12px;
        margin-top: 0;
    }
    .index-btn .index-btn-img-top,.index-btn2 .index-btn-img-top{
        right: 10px;
        top: 20px;
    }
    .index-btn .index-btn-img-top,.index-btn:hover .index-btn-img-top,.index-btn2 .index-btn-img-top,.index-btn2:hover .index-btn-img-top{
        background-size: cover;
        width: 16px;
        height: 16px;
    }
    .index-btn .index-btn-img-bot-zs,.index-btn .index-btn-img-bot-gz,.index-btn:hover .index-btn-img-bot-zs,.index-btn:hover .index-btn-img-bot-gz,.index-btn2 .index-btn-img-bot-zs,.index-btn2 .index-btn-img-bot-gz,.index-btn2:hover .index-btn-img-bot-zs,.index-btn2:hover .index-btn-img-bot-gz{
        background-size: cover;
        width: 50px;
        height: 50px;
    }
    .index-btn .index-btn-img-bot,.index-btn2 .index-btn-img-bot{
        right: 10px;
        bottom: 10px
    }
    
    .zones-section {
        padding: 40px 0;
    }
    
    .zones-container {
        gap: 20px;
    }
    
    .zone-row {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    
    .zone-row.first-row,
    .zone-row.second-row {
        width: 100%;
        height: auto;
    }
    
    .zone-row.second-row .zone-card {
        max-width: 100%;
    }
    
    .zone-card {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
        aspect-ratio: unset;
    }
    
    .first-row {
        width: 100%;
        height: auto;
    }
    
    .section-title {
        font-size: 24px;
        margin: 30px 0;
    }
    
    .content-section, .zones-section, .activities-section, .news-section, .media-section {
        padding: 40px 0;
    }
    .content-text h2{
        font-size: 20px;
    }
    .content-text p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .activities-slide {
        grid-template-columns: 1fr;
    }
    
    .activity-nav {
        position: relative;
        top: auto;
        transform: none;
        margin: 20px auto;
        display: inline-block;
    }
    
    .activity-prev {
        left: auto;
        margin-right: 20px;
    }
    
    .activity-next {
        right: auto;
        margin-left: 20px;
    }

    .tq{
        padding: 20px 0;
    }
    .news-title{
        font-size: 14px;
        max-height: 25px;
    }
    .media-carousel{
        padding: 0;
    }
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .media-item img{
        max-width: 100px;
        max-height: 40px;
    }
    
    .media-item {
        height: 60px;
    }
    .links-grid {
        grid-template-columns: 1fr;   
    }
    .link-card{
        margin-bottom: 10px;
    }
    
    .qr-codes {
        gap: 20px;
    }
    
    .floating-sidebar {
        display: none;
    }
    
    .footer-section {
        flex: 1 1 100%;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }

    .live-events-list-content h2{
        font-size: 22px;
    }
}

