@charset "utf-8";
.mobile-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #236a9e, #085c98);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

/* 电话号码样式 */
.mobile-contact .phone {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    animation: pulse 1.5s infinite; /* 呼吸光效 */
    margin-right: 34px;
    padding-left: 32px;
  background-repeat: no-repeat;
  background-position: left center;
  background: url("/image/tel.png") no-repeat left center;
  background-size: 40px 50px;
}



/* 呼吸动画 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}



/* 只在手机显示 */
@media (min-width: 768px) {
    .mobile-contact {
        display: none;
    }
}

/* 移动端导航菜单 */
@media screen and (max-width: 767px) {
    /* 移动端菜单按钮 */
    #mobile-menu-toggle {
        display: block;
        color: white;
        border: none;
        padding: 5px 15px;
        font-size: 16px;
        cursor: pointer;
        width: 100%;
        text-align: left;
    }

.foot .friendlink li
{
width:46%;
margin:2%;
}


/* 图片自适应，不要超出父容器 */
.main,.foot {
    height: auto;
    padding:0;
}

/* 列表和容器不要超出 */
ul, li, .nav, .banner, .content, .main, .partOne, .partTwo, .foot {
    max-width: 100%;
}
    /* 隐藏桌面导航 */
    .nav ul{
        display: none;
    }
        .partOne .leftpart{
        display:none;
        }
    /* 移动端导航容器 */
    .nav-container {
        position: relative;
        width: 100%;
    }
    .product .title .txt{
    margin-left:10px;
    }
    .nav-container.show ul {
        display: block;
        position: absolute;
        top: 0%;
        left: 0;
        right: 0;
        background: #333;
        z-index: 1000;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-container.show ul li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #555;
        height:unset;
    }
    .nav-container.show ul li .secondUL
    {
        display:none
    }
    
    
    .nav-container.show ul li a {
        display: block;
        color: white;
        text-decoration: none;
        width: 100%;
    }
    
    .nav-container.show ul li a:hover {
        background: #555;
    }
    
    /* 移动端logo和联系方式 */
    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .contact {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    /* 移动端内容区域 - 只处理最基本的宽度问题 */
    .partOne, .partTwo {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0px !important;
    }
    
     .partOne .centerpart, .partOne .rightpart {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        display: block !important;
    }
    
    .partTwo .leftpart, .partTwo .rightpart {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        display: block !important;
    }
    
    /* 产品展示 - 简单处理 */
    .product .content {
        width: 100% !important;
        max-width: 100% !important;
    }
    .product .content li .pic,.product .content li .pic img{
       width: 100% !important;
        max-width: 100% !important;
        height:100% !important;
    }
    .product .content li {
        width: 46% !important;
        float: left !important;
        margin-right: 2% !important;
        margin-left: 2% !important;
        margin-bottom: 15px !important;
        height:auto;
    }
    
    .product .content li:nth-child(2n) {
        margin-right: 0 !important;
    }
    
    /* 其他固定宽度元素 */
    .box01, .company, .partner {
        width: 100% !important;
        max-width: 100% !important;
        height:auto;
    }
    .secondUL{
      display:none;
    }
    .prodir .title {
  
        background: url(/image/p01.jpg) repeat-x;
    }
    .prodir .content li{
      background: linear-gradient(90deg, #236a9e 0%, #085c98 100%);
      }
    .company .title {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 产品目录区域 */
    .prodir .title, .prodir .content {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 产品标题区域 */
    .product .title {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .product .title .txt {
        width: auto !important;
        max-width: none !important;
    }
    
    .product .title .line {
        width: auto !important;
        max-width: none !important;
        flex: 1 !important;
    }
    
    .product .title .more {
        width: auto !important;
        max-width: none !important;
    }
    .news .title{
        background: url(/image/p04.jpg);
    }
    /* 新闻区域 */
    .news .title, .news .content {
        width: 100% !important;
        max-width: 100% !important;
          
    }
    
    /* 合作伙伴区域 */
    .partner .title {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .partner .content li {
        width: 47% !important;
        float: left !important;
        margin-right: 1% !important;
        margin-bottom: 10px !important;
        text-align: center;
                margin-left: 1% !important;
    }
    
    .partner .content li:nth-child(2n) {
        margin-right: 0 !important;
    }
}

/* 平板端样式 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .main {
        max-width: 768px;
    }
    
    .top, .headbody, .nav, .banner, .foot, .footshadow {
        max-width: 768px;
    }
    
    #mobile-menu-toggle {
        display: none;
    }
    
    .nav ul {
        display: block;
    }
}

/* 桌面端样式 */
@media screen and (min-width: 1024px) {
    .main {
        max-width: 1000px;
    }
    
    .top, .headbody, .nav, .banner, .foot, .footshadow {
        max-width: 1000px;
    }
    
    #mobile-menu-toggle {
        display: none;
    }
    
    .nav ul {
        display: block;
    }
}