body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", sans-serif;
  background: linear-gradient(to bottom, #fff 0%, #f0f8ff 100%);
}

.top-banner {
  height: 50px;
  background: linear-gradient(to right, #0084e9, #00c9d0, #02b2c4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-logo {
  height: 30px;
  width: auto;
}

.site-header {
  width: 100%;
  overflow: hidden;
}

.header-image {
  width: 100%;
  display: block;
}

.header-bar {
  height: 60px;
  background: #10a5b5;
  width: 100%;
}

.main-wrapper {
  width: 100%;
  background-image: url('b0.jpg');
  background-position: center 0;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
.main-wrapper{
  background-size: cover;
}
}
.header-banner h1 {
  font-size: 3em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

a{
  text-decoration: none;
  color: #333;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section-title {
  color: #0288d1;
  text-align: center;
  margin: 40px 0;
  font-size: 2em;
}

.section-title-image {
  text-align: center;
  margin: 40px 0 20px 0;
}

.title-image {
  max-width: 100%;
  height: auto;
}

.demo-title-image {
  text-align: center;
  margin: 40px 0;
}

.demo-title {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.highlight {
  color: #00bcd4;
}

.intro-content {
  padding: 20px;
  line-height: 30px;
  font-size: 16px;
}
.intro-content p{
text-align: justify;
}
.course-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin: 30px 0;
}

.course-item {
  text-align: left;
  position: relative;
  flex: 0 0 auto;
}

.course-item img {
  width: auto;
  height: auto;
  max-width: none;
  border-radius: 10px;
  transition: transform 0.3s;
}

.video-thumbnail {
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-left: 20px solid #0288d1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.image-slider {
  width: 1280px;
  position: relative;
  margin: 40px auto;
  padding: 0 40px;
  overflow: hidden; /* 添加这一行，确保内容不会溢出 */
}

.slider-container {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  transition: transform 0.5s ease;
  width: 100%; /* 确保容器宽度为100% */
}

.slider-container img {
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0; /* 防止图片被压缩 */
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.slider-button.prev {
  left: 0;
}

.slider-button.next {
  right: 0;
}

.slider-button.next {
  right: 0;
}

.action-button {
  text-align: center;
  margin: 40px 0;
}

.punch-card {
  background: url('btn.png') no-repeat center center;
  background-size: 100% 100%;
  color: #0e8cdb;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.punch-card:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

footer {
  text-align: center;
  padding: 20px;
  background: #00c2d2;
  color: #fff;
  line-height: 40px;
}

footer a{
      color:#fff; 
      text-decoration: none;
    }

.slider-button:disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none; /* 确保禁用时不响应点击 */
}

.le,
.ri{
cursor: pointer;
margin-top: 80px;
}
.le{
float: left;
}
.ri{
float: right;
}
.swiper-background {
  background: url('ba.png') no-repeat 0 0;
  width: 1133px;
  float: left;
  margin-left: 3%;
  padding: 10px;
  box-sizing: border-box;
}

#sw1 .swiper-container {
  width: 100%;
  float: none;
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .swiper-background {
      width: 90%;
      margin-left: 0;
      background: none;
  }
}

/* 基地地址横条样式 */
.address-bar {
  width: 1200px;
  background-color: #f39800;
  padding: 10px 20px;
  margin: 0 auto 40px auto;
  box-sizing: border-box;
}

.address-bar p {
  color: #fff;
  font-size: 18px;
  margin: 0;
  text-align: left;
}

.address-bar strong {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
.top-banner{
  height: auto;
  padding: 10px 0;
}
.header-bar{
  height: 20px;
}
.top-banner img{
  width: 80%;
  height: auto;
}
  main{
    padding: 10px;
  }
  .course-item{
    width: 100%;
  }
  .course-item img {
      max-width: 100%; /* 确保图片不会超出容器 */
      height: auto;
  }
  .intro-content {
      padding: 10px;
  }
  .slider-content {
      gap: 20px; /* 在移动设备上减小图片间距 */
  }
  .address-bar {
    width: 100%;
  }
  .image-slider{
    width: 100%;
    padding: 0;
    margin: 10px 0;
  }
  .demo-title-image{
    margin: 10px 0 20px;
  }
  .demo-title-image img{
    width: 80%;
    margin-top: 0;
  }
  .section-title-image{
    margin: 10px 0;
  }
  .section-title-image img{
    width: 80%;
  }
  #sw1 .le,
  #sw1 .ri{
    width: 5%;
  }
  #sw1 .le img,
  #sw1 .ri img{
    width: 100%;
  }
  #sw1 .swiper-container{
    width: 100%;
    margin: 0;
  }
  #sw1 .swiper-container img{
    width: 100%;
  } 
}

/* 打卡成功提示窗口样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-bg {
  max-width: 100%;
  max-height: 90vh;
}

.close-button {
  position: absolute;
  bottom: 20%;
  background: #f39800;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.close-button:hover {
  background: #e08700;
}

/* 登录模态框样式 */
.login-modal-content {
  position: relative;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-modal-content h2 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 16px;
  color: #333;
}

.form-group input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.verification-code-group {
  position: relative;
}

.send-code-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #00c2d2;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 14px;
  height: 41px;
}

.send-code-btn:hover {
  background: #00a8b7;
}

.send-code-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.form-error {
  color: #f00;
  font-size: 14px;
  min-height: 20px;
}

.login-submit-btn {
  background: #f39800;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.login-submit-btn:hover {
  background: #e08700;
}

.close-login-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.close-login-button:hover {
  color: #333;
}

@media screen and (max-width: 768px) {
  .modal-content {
      width: 95%;
  }
  
  .login-modal-content {
      width: 80%;
      padding: 20px;
  }
  
  .close-button {
      padding: 8px 20px;
      font-size: 1em;
  }
}<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2025-12-16 15:40:16" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->