﻿/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 链接基础样式 */
a {
    color: #0366d6;
    text-decoration: none;
}

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
    }

/* 按钮样式 */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* 边框与阴影 */
.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* ======================== 导航栏样式 ======================== */
header {
    background: #1f2d3d !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    border: none !important;
}

.navbar {
    background: #1f2d3d !important;
    border-bottom: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
    padding: 14px 0 !important;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Logo 样式 */
.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .navbar-brand:hover {
        color: #4dabf7 !important;
        transform: scale(1.03);
    }

    .navbar-brand img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        vertical-align: middle;
    }

/* 导航链接 */
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #e0e6ed !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 3px;
}

    .nav-link:hover {
        background-color: rgba(77, 171, 247, 0.15) !important;
        color: #4dabf7 !important;
        transform: translateY(-1px);
    }

/* 移动端菜单按钮 */
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
    gap: 4px;
}

/* ======================== 轮播图 Banner ======================== */
/* ======================== 轮播图 Banner ======================== */
.banner-container {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    left: auto;
    right: auto;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
}

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
}

    .banner-arrow:hover {
        background: rgba(0, 0, 0, 0.6);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
}

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
}

    .banner-arrow:hover {
        background: rgba(0, 0, 0, 0.6);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

    .dot.active {
        background: #fff;
    }

/* ======================== 公共区域样式 ======================== */
.section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

    .section h2 {
        text-align: center;
        font-size: 26px;
        margin-bottom: 40px;
        color: #1f2d3d;
    }

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: #409eff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* 服务卡片 */
.service-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-item {
    flex: 1;
    min-width: 280px;
    background: #f9fafc;
    padding: 24px;
    border-radius: 8px;
}

    .service-item h3 {
        margin-bottom: 12px;
        color: #1f2d3d;
    }

/* 案例 & 新闻 */
.case-list,
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-item,
.news-item {
    padding: 12px;
    background: #f9fafc;
    border-radius: 4px;
}

/* 合作伙伴 */
.partner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

    .partner img {
        height: 40px;
        opacity: 0.8;
    }

/* ======================== 服务区域模块 ======================== */
.service-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.service-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: normal;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-section .service-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    .service-section .service-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        background: #fff;
    }

    .service-section .service-item img {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
        object-fit: contain;
    }

    .service-section .service-item h3 {
        font-size: 20px;
        color: #333;
        margin-bottom: 15px;
    }

    .service-section .service-item p {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
    }

/* ======================== 城市服务区域 ======================== */
#Co-working {
    background: #fff;
    padding: 60px 0;
}

.home_solutions {
    width: 100%;
    position: relative;
}

.home_solutions_title {
    text-align: center;
    margin-bottom: 30px;
}

    .home_solutions_title img {
        display: inline-block;
    }

.home_solutions_list {
    margin-top: 50px;
    position: relative;
}

.home_solutions_list_inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

    .home_solutions_list_inner dl {
        width: 280px;
        height: 150px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s ease;
        list-style: none;
        margin: 0;
    }

        .home_solutions_list_inner dl dt {
            width: 100%;
            height: 100%;
            display: block;
        }

            .home_solutions_list_inner dl dt a {
                display: block;
                width: 100%;
                height: 100%;
            }

        /* 城市背景图 */
        .home_solutions_list_inner dl.solu_dl_0 dt {
            background: url("https://www.becess5.com/content/becess/images/nanjing.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_8 dt {
            background: url("https://www.becess5.com/content/becess/images/beijing.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_1 dt {
            background: url("https://www.becess5.com/content/becess/images/shanghai.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_10 dt {
            background: url("https://www.becess5.com/content/becess/images/guangzhou.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_6 dt {
            background: url("https://www.becess5.com/content/becess/images/shenzhen.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_2 dt {
            background: url("https://www.becess5.com/content/becess/images/suzhou.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_5 dt {
            background: url("https://www.becess5.com/content/becess/images/hangzhou.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_3 dt {
            background: url("https://www.becess5.com/content/becess/images/wuxi.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_4 dt {
            background: url("https://www.becess5.com/content/becess/images/hefei.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_7 dt {
            background: url("https://www.becess5.com/content/becess/images/chengdu.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_11 dt {
            background: url("https://www.becess5.com/content/becess/images/wuhan.jpg") center/cover no-repeat;
        }

        .home_solutions_list_inner dl.solu_dl_9 dt {
            background: url("https://www.becess5.com/content/becess/images/tianjin.jpg") center/cover no-repeat;
        }

        /* 城市名称 */
        .home_solutions_list_inner dl dd.t {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            text-align: center;
            font-size: 24px;
            color: #fff;
            font-weight: bold;
            z-index: 2;
            pointer-events: none;
            margin: 0;
        }

        /* 遮罩层 */
        .home_solutions_list_inner dl dd.bg {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.35);
            z-index: 1;
            transition: all 0.3s ease;
            margin: 0;
        }

        /* 悬停效果 */
        .home_solutions_list_inner dl:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

            .home_solutions_list_inner dl:hover dd.bg {
                background: rgba(0, 0, 0, 0.5);
            }

/* 清除浮动 */
.c {
    clear: both;
}

/* ======================== 页脚样式 ======================== */
.footer {
    background-color: #1f2d3d;
    color: #e0e6ed !important;
    border-top: 1px solid #2c3b4e !important;
    padding: 40px 0;
    margin-top: auto;
}

    .footer .container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

        .footer .container > div:first-child {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

    .footer .contact {
        line-height: 1.7;
        color: #cbd5e1;
    }

    .footer .container > div[style] {
        margin-top: 20px !important;
        font-size: 12px !important;
        color: #8899aa !important;
        opacity: 0.8;
    }

/* ======================== 响应式适配 ======================== */
@media (max-width: 1200px) {
    .home_solutions_list_inner dl {
        width: 31%;
    }
}

@media (max-width: 768px) {
    .home_solutions_list_inner dl {
        width: 48%;
    }

    .footer {
        padding: 30px 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .home_solutions_list_inner dl {
        width: 100%;
    }

    .banner-container {
        height: 300px;
    }
}


/* 城市背景图（地标建筑高清图） */
.home_solutions_list_inner dl.solu_dl_0 dt {
    background: url("../lib/imgs/address1.png") center/cover no-repeat; /* 湖北 */
}

.home_solutions_list_inner dl.solu_dl_8 dt {
    background: url("../lib/imgs/address2.png") center/cover no-repeat; /* 上海地标 */
}

.home_solutions_list_inner dl.solu_dl_1 dt {
    background: url("../lib/imgs/address3.png") center/cover no-repeat; /* 新加坡地标 */
}

.home_solutions_list_inner dl.solu_dl_10 dt {
    background: url("../lib/imgs/address4.png") center/cover no-repeat; /* 瑞典地标 */
}

.home_solutions_list_inner dl.solu_dl_6 dt {
    background: url("../lib/imgs/address5.png") center/cover no-repeat; /* 中国台湾地标 */
}

.home_solutions_list_inner dl.solu_dl_2 dt {
    background: url("../lib/imgs/address6.png") center/cover no-repeat; /* 苏州地标 */
}

.home_solutions_list_inner dl.solu_dl_4 dt {
    background: url("../lib/imgs/address7.png") center/cover no-repeat; /* 美国地标 */
}

.home_solutions_list_inner dl.solu_dl_7 dt {
    background: url("../lib/imgs/address8.png") center/cover no-repeat; /* 成都地标 */
}


.service-section {
    padding: 60px 20px;
    background-color: #f7f8fa;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service-section h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: left;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .service-card h3 {
        font-size: 18px;
        color: #0d47a1;
        margin-bottom: 15px;
    }

    .service-card p {
        font-size: 15px;
        color: #555;
        line-height: 1.6;
        margin: 0;
    }

