/* 样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul, li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #333;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}
.btn:hover {
    background: #0052a3;
}
.btn-small {
    display: inline-block;
    padding: 8px 15px;
    background: #0066cc;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.3s;
}
.btn-small:hover {
    background: #0052a3;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

/* 头部导航 */
.header-top {
    background: #f5f5f5;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-left span {
    margin-right: 20px;
    color: #666;
}
.top-right a {
    color: #0066cc;
}
.header-main {
    padding: 20px 0;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 60px;
}
.nav ul {
    display: flex;
}
.nav li {
    margin-left: 35px;
    position: relative;
}
.nav li a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.nav li.active a, .nav li a:hover {
    color: #0066cc;
}
.nav li.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0066cc;
}

/* 轮播图 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.banner-item {
    position: relative;
    height: 100%;
}
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.banner-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.banner-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 核心产品 */
.product-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.product-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.product-item {
    width: 23%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.product-item:hover {
    transform: translateY(-5px);
}
.product-item img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}
.product-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}
.product-item p {
    color: #666;
    margin-bottom: 15px;
}

/* 企业优势 */
.advantage-section {
    padding: 80px 0;
}
.advantage-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.advantage-item {
    width: 23%;
    text-align: center;
}
.advantage-item .icon {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 20px;
}
.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}
.advantage-item p {
    color: #666;
}

/* 解决方案 */
.solution-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.solution-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.solution-item {
    width: 31%;
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}
.solution-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.solution-item:hover img {
    transform: scale(1.05);
}
.solution-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0,102,204,0.8);
    color: #fff;
    font-size: 18px;
}
.solution-item .btn-small {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #0066cc;
    opacity: 0;
    transition: opacity 0.3s;
}
.solution-item:hover .btn-small {
    opacity: 1;
}

/* 新闻动态 */
.news-section {
    padding: 80px 0;
}
.news-section .section-title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-section .more {
    margin-left: 20px;
    font-size: 14px;
    color: #0066cc;
}
.news-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-item {
    width: 48%;
    display: flex;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.news-item img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
}
.news-text h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.news-text h3 a {
    color: #222;
}
.news-text h3 a:hover {
    color: #0066cc;
}
.news-text .date {
    color: #999;
    margin-bottom: 10px;
    font-size: 12px;
}
.news-text .desc {
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: #0066cc;
    color: #fff;
}
.contact-section .section-title h2, .contact-section .section-title p {
    color: #fff;
}
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.info-item {
    margin: 0 40px;
    text-align: center;
}
.info-item h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.info-item p {
    margin-bottom: 10px;
}

/* 底部 */
.footer {
    background: #222;
    color: #999;
    padding: 50px 0 20px;
}
.footer-top {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.footer-nav h3, .footer-contact h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    width: 300px;
}
.footer-nav li {
    width: 50%;
    margin-bottom: 10px;
}
.footer-nav a {
    color: #999;
}
.footer-nav a:hover {
    color: #0066cc;
}
.footer-contact p {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
}

/* 响应式适配（适配手机/平板） */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    .product-item, .advantage-item {
        width: 48%;
        margin-bottom: 30px;
    }
    .solution-item {
        width: 48%;
        margin-bottom: 30px;
    }
    .news-item {
        width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .header-top .top-left {
        display: none;
    }
    .header-main .container {
        flex-direction: column;
    }
    .nav ul {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }
    .nav li {
        margin-left: 0;
        margin-top: 10px;
    }
    .banner {
        height: 300px;
    }
    .banner-text {
        left: 10%;
    }
    .banner-text h2 {
        font-size: 24px;
    }
    .banner-text p {
        font-size: 14px;
    }
    .product-item, .advantage-item, .solution-item {
        width: 100%;
    }
    .info-item {
        margin: 0 10px 20px;
        width: 100%;
    }
}