/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.bg-gray {
    background-color: #f5f7fa;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #222;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #0066cc;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

/* 导航栏 */
.header {
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #0066cc;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav-item {
    font-size: 16px;
    transition: color 0.3s;
}

.nav-item.active,
.nav-item:hover {
    color: #0066cc;
}

.menu-btn {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

/* 横幅Banner 背景图改为本地 images/banner.jpg */
.banner {
    width: 100%;
    height: 600px;
    background: url(images/banner.jpg) top/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    position: relative;
}
/* Logo 容器：图标+文字横向排列、垂直居中 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;       /* 图标和文字之间的间距 */
    height: 70px;    /* 和导航栏高度保持一致 */
    color: #333;  /* 企业主色 */
    text-decoration: none;
}

/* Logo 图标样式 */
.logo img {
    height: 48px;    /* 图标高度，可按需 40~55 微调 */
    width: auto;
    /* 透明png无需额外背景 */
}

/* Logo 文字样式 */
.logo span {
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap; /* 文字不换行 */
}

/* hover 变色效果（可选） */
.logo:hover {
    color: #0052a3;
}
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.banner-text {
    position: relative;
    z-index: 2;
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 22px;
    margin-bottom: 30px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #0066cc;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    transition: background 0.3s;
}

.banner-btn:hover {
    background: #0052a3;
}

/* 关于我们 */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-img {
    width: 50%;
    border-radius: 8px;
    overflow: hidden;
}

.about-text {
    width: 50%;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

.about-text p {
    margin-bottom: 15px;
}

/* 企业优势 */
.advantage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.advantage-card {
    width: 270px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-8px);
}

.adv-img {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 业务板块 */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    transition: transform 0.5s;
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    color: #0066cc;
}

.service-card > p {
    padding: 0 20px 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.service-card ul {
    padding: 0 20px 25px;
}

.service-card ul li {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    padding-left: 15px;
    position: relative;
}

.service-card ul li::before {
    content: "●";
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* 合作理念 */
.cooperate-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.cooperate-content img {
    width: 50%;
    border-radius: 8px;
    overflow: hidden;
}

.cooperate-text {
    width: 50%;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

.cooperate-text p {
    margin-bottom: 15px;
}

/* 联系我们 */
.contact-box {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-left {
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
}

.contact-right {
    width: 45%;
    line-height: 2;
    font-size: 16px;
    color: #444;
}

.contact-right .tips {
    color: #e64340;
    margin-top: 15px;
}

/* 页脚 */
.footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    line-height: 1.8;
}

/* 移动端响应式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .banner-text h1 {
        font-size: 32px;
    }
    .about-content,
    .cooperate-content,
    .contact-box {
        flex-direction: column;
    }
    .about-img, .about-text,
    .cooperate-content img, .cooperate-text,
    .contact-left, .contact-right {
        width: 100%;
    }
}