/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f8faff;
}

/* 滑动入场动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 动画类 */
.slide-in-up {
    animation: slideInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 延迟动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* 滚动动画元素初始状态 */
.core-business .business-item,
.news-item,
.footer-nav .nav-list > li,
.footer-info > div {
    opacity: 0;
}

/* 业务区块悬停动画增强 */
.business-item {
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

/* 新闻卡片悬停动画增强 */
.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 通用容器样式 */
.wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.navbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    
}

.logo img {
    height: 90px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
    margin: 0 15px;
}

.nav-menu > li > a {
    display: block;
    padding: 30px 0;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-menu > li > a:hover {
    color: #0066cc;
}

/* 下拉菜单样式 */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background-color: #e6f0ff;
    color: #0066cc;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 英雄区样式 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 核心业务区样式 */
.core-business {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.core-business .wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.business-item.technology,
.business-item.solution {
    color: #fff;
}

.business-item .inner {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.business-item.technology .inner,
.business-item.solution .inner {
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.business-item h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.business-item p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    flex: 1;
}

.business-item .content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.business-item .brand-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    list-style: none;
}

.business-item .brand-list li {
    flex: 1;
    text-align: center;
}

.business-item .brand-list img {
    max-width: 100%;
    height: auto;
}

/* 更多按钮样式 */
.more {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more span {
    margin-right: 8px;
}

.more i {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-right: 2px solid #0066cc;
    border-bottom: 2px solid #0066cc;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.more:hover i {
    transform: rotate(-45deg) translate(3px, 3px);
}

.business-item.technology .more,
.business-item.solution .more {
    color: #fff;
}

.business-item.technology .more i,
.business-item.solution .more i {
    border-color: #fff;
}

/* 新闻资讯区样式 */
.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.news-section .wrap {
    position: relative;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.news-section .more {
    position: absolute;
    top: 0;
    right: 20px;
}

.news-container {
    margin-top: 40px;
}

.news-item {
    display: block;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.news-item .img {
    height: 200px;
    overflow: hidden;
}

.news-item .img .inner {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.news-item:hover .img .inner {
    transform: scale(1.05);
}

.news-item .content {
    padding: 20px;
}

.news-item .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news-item .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .title {
    color: #0066cc;
}

.news-item .more {
    position: relative;
    right: auto;
    top: auto;
    font-size: 12px;
}

/* 轮播样式 */
.swiper-container {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #0066cc;
    width: 24px;
    border-radius: 6px;
}

/* 页脚样式 */
.footer {
    background-color: #003366;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-nav {
    margin-bottom: 40px;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 60px;
}

.nav-list > li {
    flex: 1;
    min-width: 150px;
}

.nav-list > li > a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.nav-list > li > a:hover {
    color: #66b3ff;
}

.nav-list .child {
    margin-top: 10px;
}

.nav-list .child p {
    margin-bottom: 10px;
}

.nav-list .child a {
    color: #b3d9ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-list .child a:hover {
    color: #66b3ff;
}

.footer .bottom {
    border-top: 1px solid #004080;
    padding-top: 30px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-info .contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info .contact a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-info .contact a:hover {
    color: #66b3ff;
}

.footer-info .contact i {
    font-size: 20px;
}

.footer-info .info {
    font-size: 14px;
    color: #b3d9ff;
    line-height: 1.8;
}

.footer-info .info a {
    color: #b3d9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info .info a:hover {
    color: #66b3ff;
}

.footer-info .share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b3d9ff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.footer-info .share:hover {
    color: #66b3ff;
}

.footer-info .share .code {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.footer-info .share:hover .code {
    opacity: 1;
    visibility: visible;
}

.footer-info .share .code img {
    width: 120px;
    height: 120px;
    display: block;
}

.otherinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
}

.otherinfo .link {
    position: relative;
}

.otherinfo .link > a {
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.otherinfo .link > a:hover {
    color: #66b3ff;
}

.otherinfo .link ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.otherinfo .link:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.otherinfo .link li {
    list-style: none;
}

.otherinfo .link li a {
    display: block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.otherinfo .link li a:hover {
    background-color: #e6f0ff;
    color: #0066cc;
}

/* 返回顶部按钮 */
#gotoTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

#gotoTop.visible {
    opacity: 1;
    visibility: visible;
}

#gotoTop:hover {
    background-color: #004080;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

/* 关于我们样式 */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0066cc;
    position: relative;
    padding-bottom: 10px;
}

.about-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #0066cc;
    border-radius: 2px;
}

.about-item p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666;
}

/* 视频弹窗样式 */
.videoPop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.videoPop.visible {
    opacity: 1;
    visibility: visible;
}

#videoClose {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

#videoClose:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-container {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .wrap {
        width: 100%;
        padding: 0 20px;
    }
    
    .core-business .wrap {
        grid-template-columns: 1fr;
    }
    
    .nav-list {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 80px);
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu > li > a {
        padding: 15px 20px;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        padding: 0;
        background-color: #f8f9fa;
        display: none;
    }
    
    .nav-menu > li:hover .sub-menu {
        display: block;
    }
    
    .sub-menu a {
        padding: 10px 40px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
    }
    
    .otherinfo {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .business-item .inner {
        padding: 30px;
    }
    
    .news-item .img {
        height: 150px;
    }
    
    .nav-list > li {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .business-item .inner {
        padding: 20px;
    }
    
    .business-item h2 {
        font-size: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    #gotoTop {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}