@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,900&display=swap");

.clear {
  font-size: 0;
  line-height: 0;
  clear: both;
  overflow: hidden;
  zoom: 1;
}
.fr {
  float: right;
}
.fl {
  float: left;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #c01701;
  transition: all 0.2s linear 0s;
}
@charset "utf-8";

/* ========== 全局重置 & 基础 ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', 'PingFang SC', Roboto, system-ui, -apple-system, sans-serif;
            color: #fff;
            background: #1a1a1a;
            line-height: 1.5;
        }

        /* ========== 每个板块通用 ========== */
        .section {
            position: relative;
            width: 100%;
            min-height: 100vh;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 8% 6%;
            /* 内容在左上侧靠内边距控制位置 */;
        }

        /* 半透明遮罩 - 增强文字可读性 */
        .section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            z-index: 1;
            pointer-events: none;
        }

        /* 所有内容在遮罩之上 */
        .section>* {
            position: relative;
            z-index: 2;
        }

        /* ========== 内容卡片（左上侧浮动） ========== */
        .content-left {
            max-width: 560px;
            padding: 32px 0px;                                  
            /* 左上浮动 */
            align-self: flex-start;
            margin-top: 30px;
        }

        .content-left h2 {
            font-size: 3.2rem;
            font-weight: 700;
            letter-spacing: 0em;
            margin-bottom: 0rem;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
        }

        .content-left p {
            font-size: 1.1rem;
            font-weight: 300;
            letter-spacing: 0.12em;
            margin-bottom: 6rem;
            opacity: 0.92;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        }

        .content-left .btn {
            display: inline-block;
            padding: 0.5rem 2.2rem;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.35);
            border-radius: 50px;
            color: #fff;
            font-size:0.85rem;
            font-weight: 500;
            text-decoration: none;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .content-left .btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
            border-color: #fff;
        }

        /* ========== 第六板块 - 特殊布局 ========== */
        .section-6 {
            align-items: center;
            justify-content: flex-start;
            padding: 5% 6%;
        }

        /* 第六板块上部内容 */
        .content-top {
            text-align: center;
            max-width: 700px;
            width: 100%;
            margin-bottom: 48px;
        }

        .content-top h2 {
            font-size: 3.2rem;
            font-weight: 700;
            letter-spacing: 0px;
            margin-bottom: 0px;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
        }

        .content-top p {
            font-size: 1.1rem;
            font-weight: 300;
            letter-spacing: 0.12em;
            opacity: 0.92;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        }

        /* 图片网格 — 上5下5 */
        .image-grid {
            display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5% 2%;
    max-width: 100%;
    width: 100%;
    padding: 0px;
    border-radius: 20px;
        }

        .image-grid img {background: #7b639e52;object-position: top;
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 12px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .image-grid img:hover {
            transform: scale(1.04);
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
            border-color: #c9a87c;
        }

        /* ========== 每个板块独立背景图 ========== */
        .section-1 {
            background-image: url('/images/index/pro1.jpg');
        }
        .section-2 {
            background-image: url('/images/team3.jpg');
        }
        .section-3 {
            background-image: url('/images/team7.jpg');
        }
        .section-4 {
            background-image: url('/images/team2.jpg');
        }
        .section-5 {
            background-image: url('/images/team4.jpg');
        }
        .section-6 {
            background-image: url('/images/caidanbg.jpg');
        }
        .section-7 {
            background-image: url('/images/team5.jpg');
        }

        /* ============================================================
                   移动端适配  < 768px
                   ============================================================ */
        @media (max-width: 768px) {

            /* 板块内边距减小 */
            .section {
                padding: 36px 20px 50px;
                min-height: 35vh;
            }

            /* 左上内容卡片 */
            .content-left {
                padding: 20px 24px;
                max-width: 100%;
                margin-top: 10px;
                border-left-width: 3px;
            }

            .content-left h2 {
                font-size: 30px;
                letter-spacing: 1px;
                margin-bottom: 1px;
            }

            .content-left p {
                font-size: 16px;
                margin-bottom: 16px;
            }

            .content-left .btn {
                padding: 10px 28px;
                font-size: 15px;
            }

            /* 第六板块 */
            .section-6 {
                padding: 36px 16px 50px;
            }

            .content-top {
                padding: 20px 18px 24px;
                margin-bottom: 28px;
                max-width: 100%;
            }

            .content-top h2 {
                font-size: 30px;
            }

            .content-top p {
                font-size: 16px;
            }

            /* 图片网格：改为 2 列 */
            .image-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                padding: 14px;
                max-width: 100%;
            }

            .image-grid img {
                border-radius: 10px;
                border-width: 1.5px;
            }

            /* 第六板块的上5下5在移动端变成 2列5行 */
            /* 已经通过 grid-template-columns: repeat(2, 1fr) 实现 */

            /* 所有板块的遮罩稍微加深，适应小屏 */
            .section::before {
                background: rgba(0, 0, 0, 0.45);
            }

            /* 内容卡片在移动端宽度更宽 */
            .content-left {
                width: 100%;
            }

            /* 图片悬停效果在触摸设备上取消 */
            .image-grid img:hover {
                transform: none;
            }

            .content-left .btn:hover {
                transform: none;
                background: rgba(255, 255, 255, 0.15);
            }
        }

        /* ========== 非常小的屏幕（< 420px）额外优化 ========== */
        @media (max-width: 420px) {
            .section {
                padding: 24px 12px 40px;
            }

            .content-left {
                padding: 12vw 6%;
            }

            .content-left h2 {
                font-size: 5vw;
            }

            .content-left p {
                font-size: 3.5vw;
            }

            .content-left .btn {
                padding: 8px 20px;
                font-size: 13px;
            }

            .content-top h2 {
                font-size: 24px;
            }

            .content-top p {
                font-size: 14px;
            }

            .image-grid {
                gap: 8px;
                padding: 10px;
            }

            .image-grid img {
                border-radius: 8px;
            }
        }