/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  background: url('../img/bg.jpg') no-repeat top center #DDE8FD;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}


.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  width: 1300px;
  margin-top: 20px;
}


.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*flex-wrap: wrap;*/
}

.nav a {
  color: #FFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.nav a:hover {
  text-decoration: underline;
}

.nav a img {
  width: 40px;
  height: 40px;
  background-color: #f7f8ff;
  margin-right: 10px;
  border-radius: 5px;
}

.nav a.nav-a2 img {
  background-color: #1056db;
}

/* 标题样式 */
.header {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 80px;
}

.main-title {
  font-size: 46px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sub-title {
  font-size: 58px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tertiary-title {
  font-size: 58px;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 视频容器样式 */
.video-container {
  position: relative;
  width: 1300px;
  max-width: 1300px;
  height: 631px;
  margin: 60px auto 80px;
  /* 增加底部边距，为分页器留出空间 */
  overflow: visible;
}

.swiper-container {
  overflow-x: hidden;
}

/* Swiper 样式 */
.swiper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 1128px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
  transform: scale(1);
  z-index: 5;
}

.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.9);
  z-index: 4;
}

.slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  position: relative;
}

.play-button {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.slide-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Swiper 分页和导航按钮样式 */
.swiper-pagination {
  position: absolute;
  bottom: 0 !important;
  z-index: 20;
}

.swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  background-color: #FFF;
  margin: 0 5px !important;
  transition: all 0.3s ease;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #3B6EF9;
  width: 30px;
  border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: none;
  text-align: center;
  line-height: 30px;
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
  background: none;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

/* 城市区域样式 */
.city-section {
  margin-bottom: 40px;
  width: 1300px;
}

.city-title {
  font-size: 30px;
  margin-bottom: 20px;
  color: #4179f8;
  position: relative;
  display: inline-block;
}

/* 案例网格样式 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-item {
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.case-item:hover {
  transform: translateY(-5px);
}

.case-image {
  width: 306px;
  background-color: #ffffff;
  border-radius: 10px;
}

.case-image img {
  display: block;
  width: 100%;
}

.case-caption {
  padding: 10px;
  text-align: center;
  color: #424242;
  font-size: 16px;
  text-align: left;
}

.case-description {
  font-size: 14px;
  padding: 0 10px;
  color: #999;
}

.edupf-footer {
  width: 100%;
  min-width: 1410px;
  height: 160px;
  background: #626262;
  font: 14px/1.2 "Microsoft YAHEI", \\5B8B\4F53;
  box-sizing: border-box
}

.edupf-footer .wrapper {
  width: 1410px;
  min-width: 1410px;
  height: 100%;
  margin: 0 auto;
  position: relative
}

.edupf-footer .info {
  padding-top: 55px;
  box-sizing: border-box
}

.edupf-footer p {
  width: 100%;
  color: #FFF;
  line-height: 24px;
  font-size: 13px;
  box-sizing: border-box
}

.edupf-footer p a {
  color: #fff;
  -webkit-transition: all .3s;
  transition: all .3s;
  text-decoration: none;
}

.edupf-footer p a:hover {
  text-decoration: underline;
}

.edupf-footer p span {
  margin-left: 20px
}

.edupf-footer p span:first-child {
  margin: 0
}

.edupf-footer p .phone {
  margin-left: 100px
}

.edupf-footer p .link {
  margin-left: 20px;
  color: #999;
  -webkit-transition: all .3s;
  transition: all .3s
}

.edupf-footer p .link:hover {
  color: #fff
}

.footer-container {
  text-align: center;
  padding-top: 36px;
  color: #FFF
}

.footer-content {
  display: inline-block;
  text-align: left;
}

.footer-left {
  margin-right: 10%;
}

.footer-text {
  color: #EBEBEB;
  margin-bottom: 10px;
}

.footer-links a {
  color: #EBEBEB;
  text-decoration: none;
}

/* 悬浮按钮样式 */
.scroll-box {
  position: fixed;
  bottom: 180px;
  right: 30px;
  width: 90px;
}

.scroll-switch {
  display: none;
}

.scroll-button li {
  list-style: none;
  width: 90px;
  height: 30px;
  overflow: hidden;
  line-height: 30px;
  border-radius: 50px;
  padding: 0px 15px;
  background-color: #FFF;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.scroll-button li a {
  color: #FFF;
  text-decoration: none;
  color: #000;
  width: 100%;
}



/* 响应式样式 */
@media (max-width: 992px) {
  .container {
    width: 100%;
    overflow: hidden;
  }

  .nav {
    width: 100%;
  }

  .video-container {
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
  }

  .swiper {
    width: 100%;
    left: 0;
    transform: translateX(0);
    height: 300px;
  }

  .play-button {
    width: 100px;
    height: 100px;
    background: none;
  }

  .play-button img {
    width: 100%;
    height: 100%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }

  .swiper-pagination {
    bottom: 20px !important;
  }

  .swiper-pagination-bullet {
    box-shadow: 5px -2px 10px rgba(0, 0, 0, 0.3);
  }

  .city-section {
    width: 100%;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-image {
    width: 100%;
    height: auto;
  }

  .case-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .case-caption {
    font-size: 14px;
    padding: 5px;
  }

  .case-description {
    font-size: 11px;
    padding: 0 5px;
  }

  .edupf-footer {
    width: 100%;
    min-width: 0;
    height: auto;
    padding-bottom: 36px;
  }

  .edupf-footer .wrapper {
    width: 100%;
    font-size: 14px;
    min-width: 0;
  }

  .edupf-footer p {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  .edupf-footer .footer-links {
    display: none;
  }

}

@media (max-width: 576px) {
  .container {
    padding-top: 0px;
  }

  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .nav a {
    width: 50%;
    font-size: 14px;
    margin-bottom: 10px;
    padding-right: 15px;
  }

  .nav a img {
    width: 35px;
    height: 35px;
    margin-right: 5px;
    ;
  }

  .header {
    margin-top: 20px;
  }

  .main-title {
    font-size: 22px;
  }

  .sub-title {
    font-size: 24px;
  }

  .tertiary-title {
    font-size: 24px;
  }

  .video-container {
    padding-bottom: 75%;
  }


  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }

  .slide-title {
    font-size: 14px;
    bottom: 30px;
    padding: 10px;
  }


  .scroll-box {
    display: none;
    right: 20px;
  }

  .scroll-box .scroll-switch {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FFF;
    margin: 0 auto;
    text-align: center;
    line-height: 30px;
    right: 0px;
    top: 50%;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 20px;
    margin-bottom: 10px;
  }

  .scroll-box .active {
    right: 0;
    position: fixed;
    border-radius: 50% 0 0 50%;
  }
}
