.fwyzc2 {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translate(0px);
  }

  50% {
    transform: translate(-1px);
  }

  100% {
    transform: translate(0px);
  }
}



.fdj {
  height: 60%;
}

/* 画廊按钮样式 */
.gallery-button-container1 {
  width: 33%;
  position: absolute;
  top: 350px;
  left: 15%;
  text-align: left;
  z-index: 50;
}



.gallery-button-container2 {
  width: 33%;
  position: absolute;
  top: 450px;
  left: 15%;
  text-align: left;
  z-index: 50;
}

.gallery-button {
  text-align: center;
  width: 25%;
  height: 50px;
  position: relative;
  display: inline-block;
  padding: 1%;
  /* background-color: rgba(32, 101, 58, 1);  */
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gallery-button:hover {
  background-color: #0077cc;
  /* box-shadow: 0 6px 16px rgba(0, 112, 201, 0.4); */
  transform: translateY(-2px);
}

.gallery-button:active {
  transform: translateY(1px);
}

.button-mask {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  pointer-events: none;
  z-index: 1;
  background: #000;
  color: #ffffff;
  transition: background 5s ease;
}

.gallery-button:hover .button-mask {
  transition: background 5s ease;
}

.gallery-button .fdj {
  position: relative;
  z-index: 2;
}

.gallery-button span,
.gallery-button img,
.gallery-button div:not(.button-mask) {
  position: relative;
  z-index: 2;
}

.jmtj {
  width: 25%;
  text-align: center;
}

/* 添加默认文字样式 */
.jmtj a {
  color: rgba(109, 109, 109, 1);
  transition: color 0.5s ease;
}

/* 添加图片悬停增亮效果 */
.jmtj .bzh {
  transition: all 0.5s ease;
  /* filter: brightness(10%); */
  filter: grayscale(100%)
}

.jmtj .bzh:hover {
  /* filter: brightness(100%); */
  filter: grayscale(0%)
}

/* 添加容器悬停效果 */
.jmtj:hover .bzh {
  filter: grayscale(0%);
}

.jmtj:hover .circle {
  border-color: rgba(51, 112, 255, 1);
}

.jmtj:hover a {
  color: rgba(51, 112, 255, 1);
}

.bzh {
  width: 100px;
  height: 100px;
}

.circle {
  position: relative;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(109, 109, 109, 1);
  z-index: -1;
  transition: border-color 0.5s ease;
}

.circle img {
  position: relative;
  top: 25%;
}

.lctext {
  margin: 15px 35px;
  text-align: center;
  font-size: 20px;
  margin-bottom: 80px;
  width: 7%;
}

.bzh-title {
  line-height: 1.5;
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
  color: black;
}

.bzh-text {
  margin: -80px;
  text-align: left;
  font-size: 17px;
  width: 21%;
}

.fwbzh-img {
  width: 80%;
}

.tree-mb {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 1;
  z-index: 2;
  will-change: transform, height, opacity;
  /* 优化性能 */
}

.tree-mb.animate {
  animation: tree-mb 1.2s ease forwards;
}

@keyframes tree-mb {
  0% {
    height: 100%;
    opacity: 1;
    -webkit-filter: blur(0px);
  }

  /* 50% {
    height: 50%;
    opacity: 1;
    -webkit-filter: blur(2px);
    filter: blur(2px);
  } */

  100% {
    height: 0%;
    opacity: 1;
    -webkit-filter: blur(0px);
  }
}

.fwbzh-text {
  font-weight: bold;
}


.fwbzh-text-img {
  z-index: 5;
  display: flex;
  position: relative;
}

.fwbzh-img2 {
  width: 60px;
  height: 60px;
}

.card-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.card {
  flex: 1;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
  text-align: center;
  height: 285px;
  overflow: hidden;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  text-align: center;
  padding: 20px;
  color: #000;
  transition: color 0.3s ease;
}

.card-title {
  margin-bottom: 10px;
  color: rgba(51, 112, 255, 1);
  font-weight: 500;
}

.card-text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(51, 112, 255, 0.7);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: height 0.4s ease;
  border-radius: 10px 10px 0 0;
}

.card:hover .card-overlay {
  height: 100%;
}

.card:hover .card-title,
.card:hover .card-text {
  color: white;
}

.card:hover .card-content {
  color: white;
  z-index: 2;
  position: relative;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.card:hover .overlay-content {
  top: 30%;
  opacity: 1;
}


/* 响应式设计 */
@media (max-width: 1024px) {
  .card-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .card {
    flex: 0 0 100%;
    max-width: 300px;
  }
}

.erkai-img {
  width: 110px;
  height: 110px;
}

.jietiu-img {
  position: relative;
  z-index: 9;
  display: flex;
}

.jietiu-img:hover img {
  transform: scale(1.2);
}

/* .jietiu-img:hover .jieti-text {
  opacity: 1;
} */
.jieti-text {
  margin-left: 25px;
  margin-right: 25px;
  /* opacity: 0; */
}

.jieti-xuhao {
  margin-left: 25px;
  color: red;
  font-weight: bold;
  text-align: center;
}


.line {
  height: 30px;
  background: black;
  width: 1.5px;
}

.hytz {
  transition: all 0.3s ease-in-out;
}

.hytz a {
  font-weight: 500;
  font-size: 20px;
  color: black;
  transition: all 0.3s ease-in-out;
  transform: translateZ(0);
  /* 启用硬件加速 */
  display: inline-block;
  /* 确保transform可以正常工作 */
  cursor: pointer;
}

.hytz:hover a {
  font-size: 20px;
  color: #0249CB;
  font-weight: 600;
  transform: translateX(5px);
  /* 添加轻微的位移效果 */
}

.first-list {
  background: #93b7c50f;
  box-shadow: 0 1px 3px #8080803d;
  position: absolute;
  bottom: 0;
  margin-top: 30px;
  border: 1px solid white;
  box-sizing: border-box;
  padding: 10px 14%;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: space-between;
}