/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-bottom: 300px; /* 为固定页脚预留更多空间 */
}

/* 顶部导航栏样式 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 50px;
    border-bottom: 1px solid #e0e0e0;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.top-links a:hover {
    color: #1e88e5;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 15px;
    width: 250px;
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.search-bar input::placeholder {
    color: #999;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #e3f2fd;
}

/* 主标题样式 */
.main-title {
    text-align: center;
    padding: 30px 50px;
    background: white;
}

.main-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.main-title p {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* 主导航菜单样式 */
.main-nav {
    background: #1e3a8a;
    padding: 0 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 15px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(255,255,255,0.1);
}

.nav-list a.active {
    border-bottom: 2px solid #ff6b35;
}

.nav-list li:last-child a {
    border-right: none;
}

.nav-list a i {
    font-size: 12px;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e3a8a;
    min-width: 200px;
    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: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 0 0 8px 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    border-right: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* 英雄横幅区域样式 */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 50px;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.hero-text h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-keywords {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1;
}

.keyword {
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    font-weight: 500;
}

.hero-icons {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1;
}

.hero-icon {
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.icon-circle.light-blue {
    background: rgba(59, 130, 246, 0.8);
}

.icon-circle.orange {
    background: rgba(255, 107, 53, 0.8);
}

.carousel-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.indicator-line {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

/* 主要内容区域样式 */
.main-content {
    padding: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* 左侧图片轮播区域 */
.left-column {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.image-carousel {
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    padding: 20px;
    background: white;
}

.carousel-caption p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.carousel-pagination {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.page-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.page-dot.active {
    background: #ff6b35;
    color: white;
}

.page-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* 右侧新闻区域 */
.right-column {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.news-tabs {
    display: flex;
    gap: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #1e88e5;
    border-bottom-color: #1e88e5;
}

.tab-btn:hover {
    color: #1e88e5;
}

.more-link {
    color: #1e88e5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #1565c0;
}

.news-content {
    flex: 1;
    padding: 20px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-item:hover {
    background: #f8f9fa;
    margin: 0 -10px;
    padding: 10px;
    border-radius: 5px;
}

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

.news-bullet {
    width: 8px;
    height: 8px;
    background: #1e88e5;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.news-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.news-title {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.news-date {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .search-bar {
        width: 100%;
        max-width: 300px;
    }
    
    .main-title {
        padding: 20px;
    }
    
    .main-title h1 {
        font-size: 24px;
    }
    
    .main-nav {
        padding: 0 20px;
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-list a {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
    
    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-keywords {
        padding: 0 20px;
    }
    
    .hero-icons {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .news-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .news-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .news-text {
        flex-direction: column;
        gap: 5px;
    }
    
    .news-date {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-text h2 {
        font-size: 20px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .carousel-image {
        height: 200px;
    }
}

/* 服务按钮区域样式 */
.service-buttons-section {
    padding: 50px;
    background: #f8f9fa;
    max-width: 1400px;
    margin: 0 auto;
}

.service-buttons-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-button {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    border: 2px solid transparent;
}

.service-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #1e88e5;
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.service-icon .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1e88e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.service-icon .icon-text {
    font-size: 18px;
    font-weight: bold;
}

.service-icon i {
    font-size: 32px;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.service-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-buttons-section {
        padding: 30px 20px;
    }
    
    .service-buttons-container {
        gap: 20px;
    }
    
    .service-button {
        min-width: 160px;
        padding: 25px 20px;
    }
    
    .service-icon .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-title {
        font-size: 14px;
    }
    
    .service-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .service-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-button {
        width: 100%;
        max-width: 280px;
    }
}

/* 固定页脚样式 */
.fixed-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #1a1a1a !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: white !important;
    z-index: 1000 !important;
    transition: all 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3) !important;
}

.fixed-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px;
    pointer-events: none;
}

.fixed-footer.collapsed {
    transform: translateY(calc(100% - 50px));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    padding: 40px 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.footer-left h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info strong {
    color: #e3f2fd;
}

.footer-center {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 32px;
    color: white;
}

.footer-center h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
}

.footer-center p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.4;
}

.back-to-top {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.back-to-top:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-right {
    text-align: center;
}

.qr-codes {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: white;
}

.qr-code p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 15px 50px;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.footer-bottom-content p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: rgba(255,255,255,0.5);
}

.footer-toggle {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    border: none;
    border-radius: 50% 50% 0 0;
    width: 50px;
    height: 25px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.footer-toggle:hover {
    background: #1e293b;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 30px 20px 15px;
    }
    
    .footer-bottom {
        padding: 15px 20px;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .footer-toggle {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .footer-center h2 {
        font-size: 16px;
    }
    
    .footer-center p {
        font-size: 12px;
    }
    
    .contact-info p {
        font-size: 12px;
    }
    
    .footer-bottom-content {
        font-size: 10px;
    }
}

