/* 主要内容区域样式 */
/* 公告样式 */
.pt {
  padding: 90px 0;
}

.main-title {
  text-align: center;
  margin-bottom: 28px;
}

.main-title h1 {
  font-size: 50px;
  font-weight: 700;
  padding: 24px 0;
}

.main-title h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.main-title h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.main-title h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.main-title p {
  color: #7d91aa;
}

#details .main-title {
  text-align: left;
}

#details .main-title h1{
  font-weight: 700;
}

#details .main-title h2{
  font-weight: 600;
}

#details .main-title h4{
  font-weight: 500;
}

#details .main-title h5{
  font-weight: 500;
}

#details .main-title p{
  font-weight: 400;
}

#details .main-title .main-top {
  background: #e8e9e9;
  padding: 36px 240px;
  border-bottom: 24px solid #fff;
}

#details .main-title .main-top p {
  color: #000;
  padding: 0px 0px 24px 0px;
}

#details .main-title .main-top p span {
  font-size: 18px;
  font-weight: 500;
}

#details .main-title .main-top  img {
  width: 100%;
  height: 720px;
  object-fit: cover;
}

#details .main-content {
  padding: 36px 360px 0 360px;
  border-top: 3px solid #e8e9e9;
}

#details .main-content p {
  color: #000;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  #details .main-title .main-top {
    padding: 24px 24px;
  }
  
  #details .main-content {
    padding: 24px;
  }
}

.container .title {
  position: relative;
  padding: 12px 24px;
}

.container .liver {
  color: #000;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
  font-size: 110px;
  line-height: 1.2;
  font-weight: 700;
  -webkit-transition: top 0.1s;
  -o-transition: top 0.1s;
  transition: top 0.1s;
  will-change: top;
}

.container .liver-content {
  padding: 0px 32px;
  position: relative;
  top: -24px;
}

.container .liver-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.container .liver-content .liver-title {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.container .liver-content p {
  font-size: 16px;
  font-weight: 300;
}

/* 首页大图 */
#home {
  height: auto;
  width: 100%;
  margin-top: 70px;
  position: relative;
}

#ad {
  margin: 20px 0;
}

#ad .swiper-container{
  height: 75px;
  overflow: hidden;
}
#ad .swiper-container-free-mode>.swiper-wrapper {
  transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
}

#ad .swiper-slide {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 0 35px;
}

#ad img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 我们的服务 */
.grid {
  display: grid;
  gap: 20px;
}

.grid-item {
  background: #0c022a;
  border-radius: 16px;
  border: 3px solid #000;
  min-height: 530px;
  position: relative;
}

.grid-item .grid-item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.grid-item:hover .grid-item-img {
  background-image: none !important;
  background-color: #fff;
}

.grid-item:hover .grid-item-img .arrow-circle {
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
  -webkit-transition: all 0.25s 0s;
  -o-transition: all 0.25s 0s;
  transition: all 0.25s 0s;
}

.grid-item:hover .grid-item-img span {
  color: #000;
}

.grid-item:hover .holder {
  display: block;
}

.grid-item .grid-item-img span {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.grid-item .grid-item-img .bottom {
  position: absolute;
  bottom: 24px;
}

.grid-item .grid-item-img .bottom .arrow-circle {
  display: block;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8e9e9;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.grid-item .grid-item-img .bottom .arrow-circle:after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  margin: -7px 0 0 -14px;
  width: 28px;
  height: 14px;
  -webkit-transition: background 0.3s;
  -o-transition: background 0.3s;
  transition: background 0.3s;
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: url("data:image/svg+xml,%3Csvg width='41' height='17' viewBox='0 0 41 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.39985 8.28999H39.4202M39.4202 8.28999L32.2381 1.02881M39.4202 8.28999L32.2381 15.4998' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    100% 50% no-repeat;
}

.grid-item:hover {
  box-shadow: 2px 2px 25px rgba(0, 0, 0, 0.15);
}

.grid-item .holder {
  position: absolute;
  padding: 12px 24px;
  top: 100px;
  display: none;
}

.grid-item .holder h3{
  font-size: 18px;
  padding: 10px 0;
}

.grid-item .holder p::before {
  content: "•"; /* 使用点符号 */
  color: black; /* 设置点的颜色 */
  margin-right: 5px; /* 点的右边距 */
}

.grid-item .holder p{
  padding-left: 24px;
  padding: 6px 20px;
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid {
    grid-template-columns: 1fr;
  }
  #ad .swiper-slide {
    padding: 0 5px;
  }
}

/* 我们的产品 */
#our-product .container {
  background-color: #000;
  color: #fff;
  border-radius: 16px;
}

#our-product .container .show {
  width: 100%;
  height: 100%;
}

#our-product .container .show h2{
  color: #fa198c;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  padding-left: 24px;
  padding-top: 32px;
}

/* pc */
/* 图片手风琴模式 */
#our-product .container .show .pc.container{
  /* 弹性布局 默认水平排列 */
  display: none;
  width: 80%;
  max-width: 100%;
  /* 溢出隐藏 */
  overflow: hidden;
  padding: 0px;
  background: #000;
  border: 3px solid #fff;
  margin-top: 24px;
}

#our-product .container .show .pc.container .item{
  /* 相对定位 */
  position: relative;
  width: 160px;
  cursor: pointer;
  /* 保持原有尺寸比例，裁切长边 */
  background-size: cover;
  /* 定位背景图像为正中间 */
  background-position: center;
  /* 过渡效果：时长 贝塞尔曲线 */
  transition: 0.5s cubic-bezier(0.05,0.61,0.41,0.95);
  overflow: hidden;
}

#our-product .container .show .pc.container .item:hover .content .bg-image{
  filter: brightness(100%);
}

#our-product .container .show .pc.container .item .content{
  height: 580px;
}

#our-product .container .show .pc.container .item .content .bg-image{
  content: '';
  position: absolute;
  width: 160px;
  height: 580px;
  background-position: 50% 50%;
  -webkit-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(60%);
}

#our-product .container .show .pc.container .item .content .bg-image div {
  width: 100%;
  position: absolute;
  bottom: 25px;
  font-size: 24px;
  font-weight: 700;
  writing-mode: sideways-lr;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 选中态样式 */
#our-product .container .show .pc.container .item.active{
  flex: 1;
  margin: 0;
  border-radius: 40px;
}
#our-product .container .show .pc.container .item.active .bg-image {
  display: none;
}

#our-product .container .show .pc.container .item.active .content-img {
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#our-product .container .show .pc.container .item .content-img {
  display: none;
}

#our-product .container .show .pc.container .item .content-img img {
  width: 320px;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

#our-product .container .show .pc.container .item .content-img .text {
  margin-left: 50px;
  width: 100%;
  opacity: 0;
  animation: appear 2s forwards;
}

@keyframes appear {
  to {
    opacity: 1; /* 动画结束时，文本完全可见 */
  }
}

#our-product .container .show .pc.container .item .content-img h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

#our-product .container .show .pc.container .item .content-img p {
  font-size: 14px;
  font-weight: 300;
}

/* h5 */
/* 图片手风琴模式 */
#our-product .container .show .h5.container{
  /* 弹性布局 默认水平排列 */
  display: block;
  width: 100%;
  max-width: 100%;
  /* 溢出隐藏 */
  overflow: hidden;
  padding: 0px;
  background: #000;
  border: 3px solid #fff;
  margin-top: 24px;
}

#our-product .container .show .h5.container .item{
  /* 相对定位 */
  position: relative;
  height: 60px;
  cursor: pointer;
  /* 保持原有尺寸比例，裁切长边 */
  background-size: cover;
  /* 定位背景图像为正中间 */
  background-position: center;
  overflow: hidden;
}

#our-product .container .show .h5.container .item:hover .content .bg-image{
  filter: brightness(100%);
}

#our-product .container .show .h5.container .item .content .bg-image{
  content: '';
  position: absolute;
  width: 100%;
  height: 60px;
  background-position: 50% 50%;
  -webkit-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

#our-product .container .show .h5.container .item .content .bg-image div {
  padding-left: 24px;
  line-height: 60px;
  font-size: 18px;
  font-weight: 700;
}

/* 选中态样式 */
#our-product .container .show .h5.container .item.active{
  flex: 1;
  margin: 0;
  border-radius: 40px;
  height: 100%;
}
#our-product .container .show .h5.container .item.active .bg-image {
  display: none;
}

#our-product .container .show .h5.container .item.active .content-img {
  display: block;
  align-items: center;
}

#our-product .container .show .h5.container .item .content-img {
  padding: 12px;
  display: none;
}

#our-product .container .show .h5.container .item .content-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

#our-product .container .show .h5.container .item .content-img .text {
  margin: 12px;
  width: 100%;
  opacity: 0;
  animation: appear 2s forwards;
}

@keyframes appear {
  to {
    opacity: 1; /* 动画结束时，文本完全可见 */
  }
}

#our-product .container .show .h5.container .item .content-img h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

#our-product .container .show .h5.container .item .content-img p {
  font-size: 14px;
  font-weight: 300;
}


.grid-product {
  display: grid;
  gap: 30px;
  /* 网格项之间的间距 */
  padding: 10px;
  /* 容器内边距 */
  grid-template-columns: 1fr;
}

.grid-product-item {
  width: 100%;
}

.product-img {
  cursor: pointer;
  height: 188px;
  position: relative;
}

.product-img-hover:hover {
  opacity: 100;
}

.product-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: #232639;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img-btn {
  background-color: #fff;
  padding: 0px 25px;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
}

.product-img-btn:hover {
  background-color: #000;
  color: #fff;
}

.product-title h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 15px 0 5px;
}

.product-title p {
  color: #6d7784;
}

@media (min-width: 768px) {
  .grid-product {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-img {
    height: 260px;
  }

  #our-product .container .show .pc.container{
    display: flex;
  }
  
  #our-product .container .show .h5.container{
    display: none;
  }
}

/* 关于我们 */
.about-us {
  position: relative;
  margin-bottom: 60px;
}

.about-bg {
  width: 100%;
  height: 184px;
}

.about-box {
  background-color: #232639;
  top: -40px;
  width: 100%;
  color: #fff;
  padding: 30px 20px;
}

.about-box h2 {
  font-size: 36px;
}

.about-en {
  line-height: 60px;
}

.about-l {
  height: 6px;
  width: 50px;
  background: #fff;
  margin-bottom: 30px;
}

.about-btn {
  color: #fff;
  background: #bd0e72;
  display: inline-block;
  padding: 0 30px;
  line-height: 40px;
  height: 40px;
  margin-top: 30px;
  cursor: pointer;
  border-radius: 5px;
}

.about-btn:hover {
  filter: brightness(1.3);
}

/* 优化按钮悬停效果 */
.about-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-btn:hover::before {
  left: 0;
}

/* 优化按钮悬停效果 */
.connect-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.connect-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.connect-btn:hover::before {
  left: 0;
}

.about-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.about-item {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.about-item img {
  width: 52px;
  height: 52px;
}

.about-item h3 {
  font-size: 24px;
  line-height: 70px;
  font-weight: 600;
  margin: 5px 0;
}

.about-item div {
  line-height: 27px;
}

@media (min-width: 1024px) {
  .about-bg {
    height: 150px;
  }

  .about-item h3 {
    font-size: 30px;
  }
}

@media (min-width: 1200px) {

  .head_box {
    max-width: 1300px;
  }

  .about-main {
    display: flex;
  }

  .about-content,
  .about-box {
    width: 300px;
  }

  .about-box {
    position: absolute;
  }

  .about-item {
    width: 25%;
  }
}

/* 文章 */
#article {
  margin-bottom: 60px;
}

#article .container .liver {
  color: #fff;
  -webkit-text-stroke: 1px #000;
}

#article .container .liver-content {
  padding: 0px 88px;
}

#article .container .liver-content .liver-title {
  font-size: 40px;
  padding-top: 12px;
}

.team-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.team-swiper .swiper-slide {
  background-color: #fff;
  color: #000;
  border-radius: 16px;
  border: 3px solid #000;
}

.team-btn-next {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  color: #fff;
  cursor: pointer;
}

.team-btn-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  color: #fff;
  cursor: pointer;
}

.team-swiper .inner {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
}

.team-swiper .inner .img {
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
}

.team-swiper .inner img {
  transition: transform 0.3s ease; /* 平滑过渡效果 */
  object-fit: cover;
  width: 100%; /* 确保图片宽度适应容器 */
  overflow: hidden; /* 防止内容溢出 */
  height: 400px;
}

.team-swiper .swiper-slide:hover .inner img {
  transform: scale(1.1);
}

.team-swiper .swiper-slide:hover {
  background: #000;
}

.team-swiper .swiper-slide:hover .text .text-top span {
  color: #fff;
}

.team-swiper .swiper-slide:hover .text .text-bottom {
  color: #fff;
}

.team-swiper .text {
  padding: 24px;
  height: 250px;
}

.team-swiper .text .text-top span {
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 800;
  line-height: 1.2;
  margin-right: 16px;
}

.team-swiper .text .text-top span.btn {
  padding: 8px;
  background: #000;
  font-size: 10px;
  color: #fff;
}

.team-swiper .text .text-bottom {
  margin-top: 16px;
}

.team-swiper .text .text-bottom h3 {
  font-size: 20px;
  font-weight: 700;
}

.team-swiper .text .text-bottom p {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 300;
}

/* 我们的文化 */
.culture-col {
  height: 100%;
  padding: 0 15px;
}

.culture-main .inner {
  margin: 15px 0;
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
}

.culture-main .inner img {
  width: 100%;
}

.culture-right {
  display: flex;
  flex-wrap: wrap;
}

.right-item {
  width: 100%;
  padding: 0 15px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .culture-right .right-item {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .culture-main {
    height: 360px;
  }
}

/* 常见问题解答 */
.accordion-item {
  padding: 15px;
  background-color: #fff;
  color: #000;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 20px;
}

/* .accordion-item:hover {
  background-color: #232639;
  color: #fff;
} */
.accordion-head {
  display: flex;
  justify-content: space-between;
}

.accordion-svg {
  width: 20px;
  height: 20px;
}

.accordion-svg.collapsed {
  display: none;
}

.accordion-svg.expanded {
  display: block;
}

.question-svg {
  width: 20px;
  height: 20px;
}

.question-svg.collapsed {
  display: none;
}

.question-svg.expanded {
  display: block;
}

.accordion-box {
  padding-top: 12px;
}

.contact_left div {
  line-height: 27px;
}

.accordion-itemq {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  color: #000;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  border: 1px solid #000;
}

.accordion-headerq {
  display: flex;
  justify-content: space-between;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-itemq:hover {
  background-color: #232639;
  color: #fff;
}

.accordion-contentq {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-itemq.openq {
  background-color: #232639;
  color: #fff;
}

.accordion-contentq.openq {
  max-height: 100px;
  padding: 15px 0;
  background-color: #232639;
  color: #fff;
}
.collapsed {
  display: inline; /* 展开时显示 */
}

.expanded {
  display: none; /* 默认隐藏展开图标 */
}
