/* 全局重置样式 - 去除所有元素的默认边距和内边距 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;

  [class*="product"],
  .active {
    will-change: transform, opacity, box-shadow;
  }

  /* 给所有元素加红色边框 */
  outline: 1px solid red !important;



}

.about-one,
.home-one,
.Project-one,
.Project-div,
.news-div,
.rocket-btn {
  transition:
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 页面基础样式 */
body {

  background-color: rgb(255, 255, 255);

}

.header {
  display: flex;
  justify-content: center;
  /* 水平居中内容 */
  align-items: center;
  /* 垂直居中内容 */
  width: 100%;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  position: sticky;
  /* 或 relative/fixed */
  top: 0;
  z-index: 100;
  /* 比 20 大即可 */
}

.nav {
  display: flex;
  justify-content: space-between;
  /* 左右分布 */
  align-items: center;
  /* 垂直居中 */
  position: relative;
  /* 确保子元素的绝对定位基于父级 */
  width: 1920px;
  height: 60px;
  position: relative;
  z-index: 100;

}

.nav-logo img {
  width: 40px;
  /* 设置 logo 的宽度 */
  height: auto;
  /* 保持宽高比 */
}

.nav-links {
  display: flex;
  gap: 40px;
  /* 链接之间的间距 */
}

.nav-links a {
  text-decoration: none;
  /* 去掉下划线 */
  color: inherit;
  /* 继承颜色 */
  font-weight: 500;
  /* 字体加粗 */
  font-size: 22px;
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中 */
  height: 40px;
  /* 设置链接高度 */

}





@media (max-width: 1300px) {
  .nav {
    width: 90vw;
    /* 小于1000px时自适应 */
  }
}

@media (max-width: 768px) {
  .nav {
    justify-content: space-between;
    width: 90vw;
    /* 移动端宽度为90%视口宽度 */
  }

}




.hamburger {
  display: none;
  /* 默认隐藏 */

  justify-content: center;
  align-items: center;
  position: absolute;
  /* 使用绝对定位 */
  right: 0;
  /* 距离父级右侧 20px */
  top: 50%;
  /* 垂直居中 */
  transform: translateY(-50%);
  /* 修正垂直居中偏移 */
  cursor: pointer;

}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: rgb(37, 37, 37);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
  transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    /* 显示汉堡按钮 */

  }

  .nav-links {
    display: none;
  }
}






.home {

  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  height: 1250px;

  color: #e9e9e9;

}

.home-one {
  display: flex;
  flex-direction: column;
  /* 子元素垂直排列 */
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中 */
  text-align: center;
  width: 1920px;
  /* 固定宽度，不随窗口变化 */
  height: 950px;
  border-radius: 10px;
  background: white;
  color: rgb(43, 43, 43);
  font-weight: 700;
  margin-top: -100px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  /* 多层阴影，但方向一致 */


}

.home-one h3 {
  margin: 0;
  /* 移除默认的上下间距 */
  padding: 0;
  /* 确保没有额外的内边距 */
  font-size: 120PX;
}

.home-one p {
  padding-top: 10px;

  font-size: 18px;
}

.icon {
  margin-top: 50px;
  width: 50%;
  height: 50%;
  background: url('svgs/a_man_typing.svg') no-repeat center;
  background-size: contain;
  transition: transform 0.5s ease;
  /* 缩放动画 */
}

.icon:hover {
  transform: scale(1.10);
  /* 放大5% */
}

@media (max-width: 1300px) {
  .home {
    height: 600px;
  }

  .home-one {
    width: 90vw;
    /* 小于1000px时自适应 */
    height: 500px;
  }
}

@media (max-width: 768px) {

  .home-one {
    margin-top: 10px;
    width: 90vw;
    /* 移动端宽度为90%视口宽度 */

  }

}









.infunte {
  width: 100%;

}


.wrapper {
  margin-top: 2rem;
  width: 2000px;
  /* 固定宽度，不随窗口变化 */
  max-width: 95%;
  margin-inline: auto;
  height: 100px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0));
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}

@keyframes scrollRight {
  to {
    right: -200px;
  }
}

.itemLeft,
.itemRight {
  width: 200px;
  height: 100px;
  background-color: #e11d48;
  border-radius: 6px;
  position: absolute;
  animation-timing-function: linear;
  animation-duration: 30s;
  animation-iteration-count: infinite;
}

.itemLeft {
  left: max(calc(200px * 8), 100%);
  animation-name: scrollLeft;
}

.itemRight {
  right: max(calc(200px * 8), calc(100% + 200px));
  animation-name: scrollRight;
}

.item1 {
  animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.item2 {
  animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.item3 {
  animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.item4 {
  animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.item5 {
  animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.item6 {
  animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.item7 {
  animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.item8 {
  animation-delay: calc(30s / 8 * (8 - 8) * -1);
}




























.inspiration {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-content: center;
  margin-top: 140px;
}

.inspiration-all {
  width: 2000px;
  /* 固定宽度，不随窗口变化 */
  max-width: 95%;
  height: 950px;

}

@media (max-width: 1300px) {

  .inspiration-all {
    width: 95%;
    /* 小于1000px时自适应 */

  }
}

.title {
  width: 100%;
  height: auto;
  padding-bottom: 110px;
}

@media (max-width: 768px) {
  .inspiration {
    height: auto;
  }

  .inspiration-all {
    height: auto;
  }

  .title {
    padding-bottom: 60px;
  }
}

.inspiration-all h {
  font-size: 40px;
}

.inspiration-all h3 {
  font-size: clamp(12px, 8vw, 70px);
}

/* 卡片容器 */
.card-container {
  /* background-color: #6c757d; */
  width: 100%;

  height: auto;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* 卡片 */
.card {
  background-color: white;
  width: 700px;

  height: auto;

  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;

  /* 新增：让子元素可用 flex 布局 */
}




@media (max-width: 768px) {
  .card-container {
    flex-wrap: wrap;
    gap: 40px;
  }

  .card {
    width: 700px;
    height: auto;
  }
}

/* 图片 */

.card-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.card-image {
  display: block;
  width: 100%;
  height: auto;
  background-color: rgb(69, 69, 69);

  height: auto;
  border-radius: 16px;
  overflow: hidden;
  /* 保证伪元素不溢出 */
}

@media (max-width: 768px) {
  .card-image {
    height: auto;

  }
}

.card-image-mask {
  position: absolute;
  inset: 0;
  bottom: 0px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
}

.card-image-text {
  color: #fff;
  font-size: 18px;
  padding: 24px;
  padding-bottom: 32px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper:hover .card-image-mask {
  opacity: 1;
}

.title-container {
  margin-top: auto;
  /* 自动推到底部 */
  padding-bottom: 24px;
  /* 可选：底部留白 */

}

.card-title {

  font-size: clamp(26px, 2vw, 36px);

}

.tag {

  display: inline-block;
  min-width: 80px;
  padding: 2px 16px;
  border: 1.5px solid #3c3c3c;
  border-radius: 40px;
  /* 圆角拉满 */
  font-size: 16px;
  text-align: center;

  background: #fff;
  box-sizing: border-box;

}

.tag:hover{
  background-color: rgb(44, 44, 44);
  color: white;
  cursor: pointer;
  transition: .25s;
}





.web {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin-top: 140px;
  align-items: center;
  /* 添加这行使子元素水平居中 */
}

.web-all {
  width: 2000px;
  /* 固定宽度，不随窗口变化 */
  max-width: 95%;
  height: auto;

}

@media (max-width: 1300px) {
  .web-all {
    width: 95%;
    /* 小于1000px时自适应 */

  }
}

.web-title {
  display: flex;
  flex-direction: column;

  align-items: center;

}

.web-title h {
  font-size: 40px;

}

.web-title h3 {
  font-size: 80px;
}

.web-title p {
  font-size: 24px;
  margin-bottom: 80px;
}

.web-card-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;

}

.web-card {
  padding: 20px;
  width: 50%;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  /* 关键：让子项高度同步 */
  gap: 10px;
}

.web-card-image {
  width: 50%;
  height: auto;
  border-radius: 24PX;
  object-fit: cover;
  /* 可选：保持图片比例 */
}

.web-title-container {
  width: 50%;
  /* 与图片平分宽度 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;


}

.web-title-container h {
  font-size: clamp(18px, 4vw, 28px);
  /* 在 28px ~ 40px 之间变化，4vw 是相对视口宽度 */
}

.web-title-container h2 {
  padding-top: 20px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  /* 无单位，表示字体的1.5倍行高 */
}

.web-card-title-boom p {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
}

.web-card-tags {

  display: flex;
  justify-content: flex-start;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中（可选） */






  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease;
  /* 添加悬停动画效果 */

}

.web-card-tags .tag:hover {
  background-color: #e0e0e0;
  /* 悬停时改变背景色 */
  color: #333;
  border-color: #bbb;
}


























.site-footer {
  margin-top: 140px;
  width: 100%;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 14px;
  border-top: 1px solid #e9ecef;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-content {
  width: 2000px;
  /* 固定宽度，不随窗口变化 */
  max-width: 95%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

}

.footer-column {
  width: 550px;
  margin-bottom: 20px;

}

.footer-column h3 {
  color: #343a40;
  font-size: 24px;
  margin-bottom: 15px;
}

.friend-links a {
  text-decoration: none;
  color: #343a40;
}

.quick-links li,
.contact-info li {
  margin-bottom: 10px;
  list-style: none;
}

.quick-links a,
.contact-info a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s;
}

.quick-links a:hover,
.contact-info a:hover {
  color: #007bff;
}

.contact-Copyright{
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  display: flex;
  justify-content: center;
  text-align: center;
  border-top: 1px solid #e9ecef;
  font-size: 12px;
  gap: 30px;
}

.site-info img {
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.keep {
  width: 100%;
  display: flex;
  justify-content: center;
}

.keep-day {
  width: 95%;
  max-width: 2000px;


}

























/* 返回顶部 */
.rocket-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 6px;
  background: #363636;
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, background 0.3s, color 0.3s;
  outline: none;
  padding: 0;
}

.rocket-btn:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.rocket-icon {
  width: 32px;
  height: 26px;

  background: url('svgs/向上图标.svg') no-repeat center center;
  background-size: contain;

  margin-top: 6px;
}

.rocket-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  user-select: none;
}




.loading-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  /* 覆盖整个视口 */
  top: 0;
  left: 0;
  z-index: 9999;
  /* 确保层级最高 */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  /* 背景色，覆盖页面内容 */
}

.pl {
  width: 6em;
  height: 6em;
}

.pl__ring {
  animation: ringA 2s linear infinite;
}

.pl__ring--a {
  stroke: #f42f25;
}

.pl__ring--b {
  animation-name: ringB;
  stroke: #f49725;
}

.pl__ring--c {
  animation-name: ringC;
  stroke: #255ff4;
}

.pl__ring--d {
  animation-name: ringD;
  stroke: #f42582;
}

/* Animations */
@keyframes ringA {

  from,
  4% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -330;
  }

  12% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -335;
  }

  32% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -595;
  }

  40%,
  54% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -660;
  }

  62% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -665;
  }

  82% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -925;
  }

  90%,
  to {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -990;
  }
}

@keyframes ringB {

  from,
  12% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -110;
  }

  20% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -115;
  }

  40% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -195;
  }

  48%,
  62% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  70% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  90% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -305;
  }

  98%,
  to {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -330;
  }
}

@keyframes ringC {
  from {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
  }

  8% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
  }

  28% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
  }

  36%,
  58% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  66% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  86% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
  }

  94%,
  to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
  }
}

@keyframes ringD {

  from,
  8% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
  }

  16% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
  }

  36% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
  }

  44%,
  50% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  58% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  78% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
  }

  86%,
  to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
  }
}