* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  width: 100%;
  background-color: #ffffff;
  min-height: 100vh;
  /* 移除 flex 居中属性 */
}

.container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.bgImg {
  position: absolute;
  width: 100%;
  height: 1068px;
  top: 0;
  left: 0;
  z-index: -1;
}

.bgImg div {
  position: absolute; 
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
}

.bgImg div:nth-child(1) {
    height: 1068px;
}
.img1{
    width: 100%;
    height: 1068px ;
}




        header {
            max-width: 1200px;
            height: 120px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            position: relative;
            overflow: hidden;
            margin: 0 auto;  /* 关键：水平居中 */
            z-index: 1; /* 高于 bgImg 的 z-index */
        }
        
        .logo {
            font-size: 24px;
            font-weight: 600;
            color: #333333;
            display: flex;
            align-items: center;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 20px;
            position: relative;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333333;
            font-size: 20px;
            font-weight: 600;
            padding: 10px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: block;
            position: relative;
        }
        
        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            color: #333333;
        }
        
        .nav-links a.active {
            color: #333333;
        }
        
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #333333, #333333);
            border-radius: 2px;
        }
        
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            outline: none;
        }
        
        .hamburger span {
            display: block;
            width: 30px;
            height: 3px;
            background-color: #333333;
            margin: 6px 0;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
.content {
  max-width: 1550px;
  width: 100%;
  margin: 0 auto; /* 与 header 同宽并居中 */
  margin-top: 30px;
  display: flex;
  gap: 20px; /* 两列之间的间距 */
  padding: 20px 40px; /* 与 header 的 padding 保持一致 */
  transform: translateX(11%);

}
/* ------------------------------------------ */
.d1 {
  flex: 1.7; /* 占 2/3 宽度 */
  display: flex;
  flex-direction: column;
  gap: 20px; /* 三个子 div 之间的间距 */
  align-items: center; 
}
.d1d1{
  width: 100%;
  height: 160px;
  display: flex;
  position: relative;
  align-items: center;
  margin-top: 30px;
}
.img2{
    width: 160px;
    height: 160px ;
}
.img3{
    width: 501px;
    height: 68px ;
    position: absolute;
    left: 220px; /* 90px(img2宽度) + 20px(容器左边距) + 50px(间距) */
    top: 50%;
    transform: translateY(-50%);
}
.d1d2{
  width: 751px;
  height: 510px;
  position: absolute;
  left: 50px;
  top: 250px;
}
.d1t2{
  font-size: 30px;
  font-weight: 400;
  color: #333333;
}
.img4{
    width: 210px;
    height: 60px ;
      position: absolute;
  left: 50px;
  bottom: 50px;
}

/* ------------------------------------------ */

.d2 {
  flex: 1.3; /* 占 1/3 宽度 */
  min-height: 897px; /* d1 三个 div 总高度 + gap */
  position: relative;
}

.img5{
    width: 311px;
    height: 133px ;
    position: absolute;
    left: 0px;
    top: 143px;
    z-index: 1;
}
.img6{
    width: 311px;
    height: 133px ;
    position: absolute;
    left: 0px;
    top: 327px;
    z-index: 1;
}
.img7{
    width: 311px;
    height: 133px ;
    position: absolute;
    left: 0px;
    top: 511px;    
    z-index: 1;
}
.img8{
    width: 311px;
    height: 133px ;
    position: absolute;
    left: 0px;
    top: 695px;  
     z-index: 1;
}

.img9{
    width: 450px;
    height: 897px ;
    position: absolute;
    right: 0px;
    top: 0px;
}

/* ------------------------------------------ */

.d3 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 1070px;
}

.d31 {
  width: 313px;
  height: 34px;
  margin-top: 40px;
}
.d31 span{
  font-size: 36px;
  font-weight: 700;
  color: #333333;
}

.d32 {
  width: 1200px;
  margin-top: 40px;
  height: 790px;
}

.d32 img{
  width: 380px;
  height: 383px;
  background-color: aliceblue;
}

.d32-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* 关键属性：设置间距为60px */
    justify-items: center;
    align-content: flex-start;
}

.d32-grid img {
    margin-top: 0; /* 移除原始代码中的margin-top */
    object-fit: cover;
    height: 383px; /* 设置固定高度以保持比例 */
}



/* ------------------------------------------ */

.d4 {
  width: 100%;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 983px;
  background-color: #FFF7F9;
  display: flex;
}
.d43 {
  width: 1200px;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 983px;
  background-color: #FFF7F9;
  display: flex;
}


.d41 {
  flex: 2;
  min-height: 897px;
}

.d42 {
  flex: 1;
  min-height: 897px;
  display: flex;
}

.d42 img{
  width: 380px;
  height: 823px;
  margin-top: 80px;
  margin-bottom: 80px;

}
.d41sp1{
  font-size: 36px;
  font-family: Source Han Sans;
  font-weight: bold;
}
.d41sp2{
  font-size: 30px;
  font-family: Source Han Sans;
  font-weight: normal;
}

.d41 div:nth-child(1) {
    width:  313px;
    height: 34px;
    margin-top: 100px;
}
.d41 div:nth-child(2) {
   margin-top: 60px;
   width:  643px;
}

/* ------------------------------------------ */


.d5 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 1435px;
}

.d5 div:nth-child(1) {
    width:  747;
    height: 34px;
    margin-top: 100px;
}
.d5 div:nth-child(2) {
    width:  100%;
    margin-top: 50px;
}
.d5 div:nth-child(3) {
    width:  100%;
    margin-top: 50px;
    display: flex;
  align-items: center;
  justify-content: center;
}

.d5img1{
  width: 1043px;
  height: 922px;
}

/* ------------------------------------------ */


.d6 {
  width: 100%;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 1325px;
  background-color: #FFF7F9;
}
.d6d1 {
  width: 1200px;
  margin: 0 auto; /* 与 header 同宽并居中 */
  height: 1325px;
  background-color: #FFF7F9;
  position: relative;
}


.d6img1{
  width: 400px;
  height: 530px;
  position: absolute;
  top: 527px;
  left: -10px;
}

.d6img2{
  width: 400px;
  height: 530px;
  position: absolute;
  top: 700px;
  left: 500px;
}

.d6img3{
  width: 400px;
  height: 530px;
  position: absolute;
  top: 80px;
  right: 0px;
}

.d6d1 div:nth-child(1) {
    width:  422px;
    height: 34px;
     position: absolute;
  top: 100px;
  left: 0px;
}
.d6d1 div:nth-child(2) {
    width:  660px;
    height: 34px;
  position: absolute;
  top: 194px;
}
.d6sp2{
    font-size: 24px;
  font-family: Source Han Sans;
  font-weight: normal;
}



/* ------------------------------------------ */
.d7 {
  width: 100%;
  margin: 0 auto;
  position: relative;
    height: 800PX;
}

.d8{
    width: 1200px;
    height: 600PX;
    align-items: center;
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 50px; 
    justify-content: center; /* 水平居中排列 */ 
    z-index: 11;
}

.d5p1{
     width: 1200px;
     text-align: center;
    align-items: center;
    color: rgba(0, 0, 0, 1);
    font-size: 48px;
    margin: 0 auto 0px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px;   
}

.d5p2{
    width: 432px;
    align-items:start;
    color: rgba(0, 0, 0, 1);
    font-size: 32;
    margin-top: 30px;   
}
 .text-input1 {
    margin-top: 10px;
    width: 1200px;
    height: 300px;
    border: 2px solid #000;
     border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
    z-index: 11;
}
.text-input2 {
    margin-top: 10px;
    width: 1200px;
    height: 80px;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    z-index: 12;
    box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
}

.submit-btn {
            width: 240px;
            height: 64px;
            background: #F35756;
            color: white;
            border: none;
            border-radius: 37px;
            font-size: 26px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
            position: absolute;
            left: 50%;
     transform: translateX(-50%); /* 向左平移自身宽度的一半 */
    z-index: 11;
}
        
        .submit-btn:hover {
            background: #e04a49;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            font-size: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
.d9 {
    width: 1020px;
    height: 40px;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);

      display: flex;
  /* 让内部元素均分宽度 */
  justify-content: space-around;
  /* 垂直居中对齐文字 */
  align-items: center;
}

.d9 span{
    color:#FFFFFF;
    font-size: 16px ;
    font-weight: 300;
 /* 每个span占据相同宽度 */
  flex: 1;
  /* 文本居中 */
  text-align: center;
}
/* 00000000000000000000000000000000000000000000000000000000000 */
.footbg{
   width: 100%;
    height: 250px;
      background-color: #FFF7F9;
}
.foot{
    width: 100%;
    height: 250px;
    max-width: 1200px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            position: relative;
         
            margin: 0 auto;  /* 关键：水平居中 */
            z-index: 1; /* 高于 bgImg 的 z-index */
}

     
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background-image: url("img/i1.png");
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
          
            background-size: cover; /* 确保图片覆盖整个div */
            background-position: center; /* 图片居中显示 */
        }