:root {
    --primary-blue: #005BAC;
    --main-color: #005BAC;
    --light-blue: #005BAC;
    --dark-blue: #004b8d;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --gray: #6b7280;
    --dark-gray: #374151;
    --yellow: #F59E0B;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.15); 
    --shadow-lg: 2px 2px 15px 0px rgba(0, 0, 0, 0.15); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.5;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-banner {
    background: var(--main-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding-top: 16px;
}

.top-banner-content {
    display: -ms-flexbox; 
    display: flex;
    -ms-flex-pack: justify; 
    justify-content: space-between;
    -ms-flex-align: center; 
    align-items: center;
    gap: 20px;
}

.ie9 .logo-section {
    float: left;
}

.ie9 .search-section {
    float: right;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.logo-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    padding: 10px 15px;
    border: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 180px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    width: 220px;
}

.search-btn {
    border: none;
    background: var(--yellow);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    position: relative;
    left: -9px;
}

.search-btn svg {
    stroke: var(--white);
}

.search-btn:hover {
    box-shadow: var(--shadow-lg);
}

.search-btn:active {
    transform: scale(0.95);
}

.main-nav {
    background: var(--main-color);
    padding: 0;
    position: sticky;
    top: 70px;
    z-index: 1000;
    overflow: visible;
}
@media (min-width: 1025px) {
    .main-nav .container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav .container::-webkit-scrollbar {
        height: 4px;
    }
    
    .main-nav .container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .main-nav .container::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
}
.main-nav .container {
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.mobile-nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    width: 100%;
}

.mobile-logo-section {
    display: flex;
    align-items: center;
}
.mobile-logo-section a{
    display: flex;
}

.mobile-logo-section img {
    height: 40px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-search-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
    z-index: 10;
}

.mobile-search-toggle svg {
    stroke: var(--white);
    width: 24px;
    height: 24px;
}

.mobile-search-toggle:hover {
    opacity: 0.8;
}

.mobile-search-section {
    display: none;
    width: 100%;
    padding: 15px 0;
    gap: 8px;
    align-items: center;
}

.mobile-search-section.active {
    display: flex;
}

.mobile-search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.mobile-search-btn {
    border: none;
    background: var(--yellow);
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

.mobile-search-btn svg {
    stroke: var(--white);
}

.mobile-search-btn:hover {
    background: rgba(245, 158, 11, 0.9);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: space-between;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu li {
    flex-shrink: 0;
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    font-size: 18px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--yellow);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu .has-submenu {
    position: relative;
}

.nav-menu .has-submenu > a {
    display: block;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-radius: 4px;
    pointer-events: none;
}

.nav-menu .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    white-space: nowrap;
}

.submenu a::after {
    display: none;
}

.submenu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 25px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

.hero-swiper .swiper-pagination-bullet {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: var(--transition);
    margin: 0 4px;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--main-color);
    width: 40px;
    opacity: 1;
}

.main-content {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-section {
    margin-bottom: 40px;
}

.news-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
}


.news-box {
    flex: 0 0 calc((100% - 60px) * 2 / 3 + 30px);
    width: calc((100% - 60px) * 2 / 3 + 30px);
    box-sizing: border-box;
}

.announcement-box {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    box-sizing: border-box;
}

.news-grid > * {
    min-width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
    position: relative;
}

.section-header h2 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--yellow);
    border-radius: 2px;
}

.more-link {
    color: var(--yellow);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    font-weight: 500;
}

.more-link:hover {
    color: #f59e0b;
    transform: translateX(5px);
}

.news-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.news-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.news-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 20px;
}

.news-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.news-swiper .swiper-slide {
    height: auto;
    width: 100%;
    flex-shrink: 0;
    display: flex;
}

.news-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.news-image-wrapper {
    flex: 0 0 auto;
    flex-shrink: 0;
}

.news-details {
    flex: 1 1 auto;
    min-width: 0;
}

.news-image-wrapper {
    display: flex;
    flex-direction: column;
    width: 580px;
    height: 380px;
    align-items: center;
    position: relative;
}

.news-image {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.news-image:hover img {
    transform: scale(1.05);
}


.news-swiper {
    position: relative;
}

.news-pagination-custom {
    position: absolute;
    bottom: 15px !important;
    left: 15px !important;
    display: flex;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
}

.news-pagination-custom .swiper-pagination-bullet {
    pointer-events: auto;
}

.news-pagination-custom .swiper-pagination-bullet,
.news-pagination-custom .news-page-num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 91, 172, 0.2);
    margin: 0 !important;
    opacity: 1 !important;
}

.news-pagination-custom .swiper-pagination-bullet:hover,
.news-pagination-custom .news-page-num:hover {
    background: var(--light-blue);
    color: var(--white);
    border-color: var(--light-blue);
    transform: scale(1.1);
}

.news-pagination-custom .swiper-pagination-bullet-active,
.news-pagination-custom .swiper-pagination-bullet-active.news-page-num,
.news-page-num.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.news-details {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.news-item {
    width: 100%;
}

.news-item h3 a{
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: var(--transition);
    word-wrap: break-word;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: var(--primary-blue);
}

.news-date {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 10px;
}

.news-excerpt {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    width: 100%;
}

.news-nav {
    position: absolute;
    bottom: 15px; 
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.news-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #e0f2fe;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    color: var(--primary-blue);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.news-nav-btn:hover {
    background: #bae6fd;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.news-nav-btn:active {
    transform: scale(0.95);
}

.announcement-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.announcement-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.announcement-list {
    list-style: none;
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: var(--transition);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    padding-left: 5px;
    background: var(--light-gray);
    margin: 0 -5px;
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 4px;
}

.announcement-title {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.6;
    transition: var(--transition);
    width: 100%;
    display: block;
}

.announcement-title:hover {
    color: var(--primary-blue);
}

.announcement-date {
    color: var(--gray);
    font-size: 18px;
    margin-top: 4px;
}

.dynamics-section {
    margin-bottom: 40px;
}

.dynamics-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.dynamics-grid > * {
    flex: 0 0 calc((100% - 40px) / 2);
    width: calc((100% - 40px) / 2);
    min-width: 0;
    box-sizing: border-box;
    
}

.dynamics-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dynamics-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.dynamics-list {
    list-style: none;
}

.dynamics-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.dynamics-list li:last-child {
    border-bottom: none;
}

.dynamics-list li:hover {
    padding-left: 5px;
    background: var(--light-gray);
    margin: 0 -5px;
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 4px;
}

.dynamics-title {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.6;
    transition: var(--transition);
    width: 100%;
    display: block;
}

.dynamics-title:hover {
    color: var(--primary-blue);
}

.dynamics-date {
    color: var(--gray);
    font-size: 18px;
    margin-top: 4px;
}

.role-model-section {
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-bottom: 60px;
}

.role-model-section .section-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.role-models-swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}


.role-model-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.role-model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.role-model-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    flex-shrink: 0; 
}

.role-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    flex-shrink: 0;
    display: block;
}

.role-model-card:hover .role-model-image img {
    transform: scale(1.05);
}

.role-model-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    min-height: 0; 
}

.role-model-name {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    flex-shrink: 0; 
}

.role-model-desc {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    min-height: calc(1.5em * 2);
    max-height: calc(1.5em * 2);
}

.role-models-swiper {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.role-models-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-station-section {
    margin-bottom: 40px;
}

.service-station-section .section-header {
    margin-bottom: 30px;
}

.service-station-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    width: 100%;
}

.service-station-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    gap: 15px;
}

.service-station-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--light-gray);
}

.service-station-item:hover .service-station-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-station-icon svg {
    width: 40px;
    height: 40px;
}

.service-station-label {
    color: var(--dark-gray);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    transition: var(--transition);
}

.service-station-item:hover .service-station-label {
    color: var(--primary-blue);
}


.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    background-image: url('../images2512/footer_bg.png');
    opacity: 0.6;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-left {
    flex: 1 1 auto;
}

.footer-right {
    flex: 0 0 auto;
}

.footer-left p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-link a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.footer-link a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.footer-right {
    text-align: center;
}

.footer-qr {
    border-radius: 8px;
    display: inline-block;
    box-shadow: var(--shadow);
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--light-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-qr p {
    color: var(--white);
    font-size: 12px;
    margin: 0;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}


html {
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.news-box,
.announcement-box,
.dynamics-box,
.service-station-item {
    animation: fadeIn 0.6s ease-out;
}