﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Source Han Sans CN', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.98) 0%, rgba(0, 102, 204, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background: linear-gradient(135deg, #00cccc, #0066cc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu > li {
    position: relative;
    margin-left: 30px;
}

.nav-menu > li > a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.15);
}

.nav-menu > li.has-submenu > a::after {
    content: '';
    margin-left: 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    transition: transform 0.3s ease;
}

.nav-menu > li.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 4px 8px;
}

.submenu li a:hover {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav {
    display: none;
    background: rgba(0, 51, 102, 0.98);
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-submenu {
    display: none;
    margin-left: 20px;
    margin-top: 10px;
}

.mobile-submenu.active {
    display: block;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #003366;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.7) 0%, rgba(0, 102, 204, 0.5) 50%, rgba(0, 204, 204, 0.3) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.banner-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #00cccc, #0066cc);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 6px 20px rgba(0, 204, 204, 0.4);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 204, 204, 0.5);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-arrow.prev {
    left: 30px;
}

.banner-arrow.next {
    right: 30px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #00cccc, #0066cc);
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
}

.news-card-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-card-content {
    padding: 20px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-summary {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #0066cc;
    background: transparent;
    border: 2px solid #0066cc;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
    border-color: transparent;
}

.notice-list {
    background: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 18px 20px 18px 30px;
    border-radius: 6px;
}

.notice-date {
    width: 100px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.notice-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-title:hover {
    color: #0066cc;
}

.notice-tag {
    padding: 4px 10px;
    font-size: 12px;
    color: #fff;
    background: #00cccc;
    border-radius: 12px;
    margin-left: 15px;
    flex-shrink: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    border-radius: 16px;
    padding: 35px 25px;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.service-card:hover::before {
    top: -20%;
    right: -20%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer {
    background: #003366;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00cccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00cccc;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .nav-menu > li {
        margin-left: 20px;
    }
    
    .nav-menu > li > a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .banner-content h1 {
        font-size: 44px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .banner-content h1 {
        font-size: 38px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 10px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .news-grid,
    .services-grid,
    .data-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-content {
        padding: 15px;
    }
    
    .news-card-title {
        font-size: 16px;
    }
    
    .news-card-summary {
        font-size: 13px;
    }
    
    .notice-item {
        padding: 15px 0;
    }
    
    .notice-date {
        width: 80px;
        font-size: 13px;
    }
    
    .notice-title {
        font-size: 14px;
    }
    
    .notice-tag {
        padding: 3px 8px;
        font-size: 11px;
        margin-left: 10px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .banner-arrow.prev {
        left: 10px;
    }
    
    .banner-arrow.next {
        right: 10px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-dot.active {
        width: 25px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .view-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}