/* 通用样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
}

/* 顶部信息条 */
.top-bar {
    background-color: #fff;
    color: #333;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

/* 头部 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0px;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 48px;
    display: block;
}

.header-phone img {
    height: 90px;
    display: block;
}

/* 导航 */
.nav {
    background-color: #0d74b7;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 16px 34px;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-list li a:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.15);
}

.nav-list li.active a {
    color: #fff;
    background-color: rgba(0,0,0,0.15);
}

/* 下拉菜单 */
.has-submenu {
    position: relative;
}

.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d74b7;
    min-width: 140px;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.has-submenu:hover .submenu {
    display: block;
}

.has-submenu .submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.has-submenu .submenu li:last-child {
    border-bottom: none;
}

.has-submenu .submenu li a {
    padding: 12px 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.has-submenu .submenu li a:hover {
    background-color: rgba(0,0,0,0.2);
    color: #fff;
}

/* 轮播图 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* 通用section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: #0d74b7;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.section-title p {
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 产品展示 */
.product-display {
    background-color: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    text-align: center;
    text-decoration: none;
    display: block;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: translateY(-5px);
}

.product-item p {
    color: #333;
    font-size: 14px;
    padding: 0 10px;
}

/* 公司简介 */
.company-intro {
    background-color: #0d74b7;
    color: #fff;
}

.intro-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-image {
    flex: 0 0 410px;
    display: block;
    text-decoration: none;
}

.intro-img {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    display: block;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.intro-content h3 {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.intro-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    line-height: 1.8;
    text-indent: 2em;
}

.btn-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 30px;
    background-color: #fff;
    color: #0d74b7;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

/* 成功案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-item {
    text-align: center;
    text-decoration: none;
    display: block;
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.case-img:hover {
    transform: scale(1.05);
}

.case-item p {
    color: #333;
    font-size: 14px;
}

/* 新闻中心 */
.news {
    background-color: #fafafa;
}

.news-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.news-image {
    flex: 0 0 350px;
    display: block;
    text-decoration: none;
}

.news-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.news-list {
    flex: 1;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    background-color: rgba(26, 84, 144, 0.05);
}

.news-date {
    flex: 0 0 70px;
    text-align: center;
    background-color: #0d74b7;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    height: fit-content;
}

.news-date .day {
    display: block;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h4 {
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-item:hover .news-content h4 {
    color: #0d74b7;
}

.news-content p {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

/* 底部 */
.footer {
    background-color: #0d74b7;
    color: #fff;
    padding: 30px 0 12px 0;
}

.footer-top {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-nav a {
    color: #fff;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #ffd700;
}

.footer-nav span {
    color: rgba(255,255,255,0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-copyright {
    text-align: center;
    padding: 12px 0;
}

.footer-copyright p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-top: 10px;
}

.footer-info p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-code {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d74b7;
    font-size: 12px;
}

.qr-placeholder {
    padding: 5px;
    text-align: center;
}

.contact-text p {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    margin-bottom: 5px;
}



/* 手机端适配 (max-width: 900px) */
@media (max-width: 900px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .top-bar {
        display: none;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .header-inner {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        gap: 6px;
        z-index: 200;
        flex-shrink: 0;
        margin-right: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #333;
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    body {
        padding-top: 68px;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: #0d74b7;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .nav .container {
        width: 100%;
        padding: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list li a {
        padding: 14px 20px;
        font-size: 15px;
        color: rgba(255,255,255,0.9);
    }

    .has-submenu .submenu {
        display: none;
        position: static;
        background-color: rgba(0,0,0,0.15);
        box-shadow: none;
        min-width: 100%;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .has-submenu .submenu li a {
        padding: 12px 30px;
        font-size: 14px;
        color: rgba(255,255,255,0.85);
    }

    .banner-slide img {
        height: 176px;
        object-fit: cover;
    }

    .banner-dots {
        bottom: 10px;
    }

    .section {
        padding: 35px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img {
        height: 140px;
    }

    .intro-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .intro-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .intro-img {
        height: 200px;
    }

    .intro-content h2 {
        font-size: 22px;
    }

    .intro-content p {
        font-size: 13px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .case-img {
        height: 140px;
    }

    .news-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .news-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .news-img {
        height: 200px;
    }

    .news-item {
        gap: 10px;
        padding: 12px 0;
    }

    .news-date {
        flex: 0 0 55px;
        padding: 8px 5px;
    }

    .news-date .day {
        font-size: 18px;
    }

    .news-content h4 {
        font-size: 14px;
    }

    .footer {
        padding: 20px 0 10px 0;
    }

    .footer-top {
        padding-bottom: 15px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        text-align: center;
    }

    .footer-info p {
        font-size: 12px;
    }
    .about-sidebar{ display: none;}
    .logo img{ height: 30px;}
    .banner{ margin-top: -10px;}
    
    .footer-copyright p{display: inline!important;}
    .sub-banner-text h2{ font-size: 18px!important;}
    .sub-banner-text p{ font-size: 14px!important;}

    
    
    
}


    .header-inner{ position: relative;padding: 29px 2px;}
    .header-phone{position: absolute;
    right: 0;
    top: 13px;}
    
    
    
    
    @media (max-width: 900px) {
    	.header-inner{ padding: 10px 2px;}
    	
    	
    }
    





