.brand-section {
  position: relative;
  color: #fff;
  width: 100%;
}
.section-bg {
  inset: 0;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 90vh;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.first_box{
  width: 50%;
  padding: 9vh 0 11vh 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.first_title{
  font-weight: 500;
  font-size: 48px;
  color: #1F2937;
}
.first_desc{
  font-weight: 400;
  font-size: 20px;
  color: #4B5563;
  margin-top: 30px;
}
.first_list{
  margin-top: 60px;
}
.first_ul{
  display: flex;
  align-items: center;
}
.first_li{
  font-size: 28px;
  position: relative;
  padding-left: 14px;
}
.first_li .red{
  color: #E8390D;
}
.first_li .blue{
  color: #4B5563;
}
.first_li::before{
  content: '';
  display: block;
  width: 4px;
  height: 40px;
  background: #172B84;
  position: absolute;
  left: 0;
  top: 0;
}
.first_ul .first_li:last-child{
  margin-left: 80px;
}
.first_ul:last-child{
  margin-top: 60px;
}
.first_botton{
  flex: 1 0;
  display: flex;
  align-items: flex-end;
}
.button_red{
  padding: 19px 50px;
  border-radius: 10px;
  cursor: pointer;
  background-image: url('https://file-cloud.masterol.cn/nLdKxcZMll/20251125/h1r0t1041719642活动详情@1x.png,活动详情@1x.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: transparent;
}
.button_blue{
  padding: 19px 50px;
  border-radius: 10px;
  margin-left: 50px;
  cursor: pointer;
  background-image: url('https://file-cloud.masterol.cn/nLdKxcZMll/20251125/p514pt041719799我要报名@1x.png,我要报名@1x.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: transparent;
}
.session_brand{
  width: 100%;
  height: 100vh;
}
.session_content{
  width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.session_title{
  font-weight: 500;
  font-size: 36px;
  color: #1F2937;
}
.session_line{
  width: 120px;
  height: 4px;
  background: #E63A0C;
  margin-top: 20px;
}
.swiper-container-vertical,.swiper-container-horizontal{
  width: 100%;
  flex: 1;
  margin-top: 20px;
  overflow: hidden;
}
.swiper-container-horizontal{
  margin-top: 40px;
}
.swiper-pagination{
  position: absolute;
  top: unset !important;
  right: unset !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: 100% !important;
  margin: 0;
  height: 20px !important;
}
.session_banner{
  width: 100%;
  height: 100%;
}
.session_banner img{
  width: 100%;
  height: 100%;
  display: block;
}

/* 确保背景图片在移动端正确显示 */
@media (max-width: 768px) {
  .section-bg {
    background-size: cover !important;
    background-position: center !important;
  }
}
.strategy-section{
  width: 100%;
  height: 100vh;
}
.strategy-container{
  width: 1200px;
  margin: 0 auto;
}
.nav_list{
  background: #FFFFFF;
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.2);
  border-radius: 6px;
  position: fixed;
  right: 10px;
  top: 180px;
}
.nav-li{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px 5px;
  box-sizing: border-box;
  cursor: pointer;
  min-width: 88px;
}
.nav-icon{
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}
.nav-icon img{
  width: 100%;
  display: block;
}
.nav-name{
  font-weight: 500;
  font-size: 14px;
  color: #444444;
}
.nav-li:hover{
  background: linear-gradient( 225deg, #2A47CA 0%, #172B84 100%);
  border-radius: 6px;
}
.nav-li:hover .nav-name{
  color: #FFFFFF;
}
.nav-li.active{
  background: linear-gradient(225deg, #2A47CA 0%, #172B84 100%);
  border-radius: 6px;
}
.nav-li.active .nav-name{
  color: #FFFFFF;
}
.li-link{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.white-bg{
  background: #FFFFFF;
}
.gray-bg{
  background: #F7F7F9;
}

.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.custom-pagination-dot {
  width: 40px;
  height: 8px;
  border-radius: 8px;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}
.custom-pagination-dot.active {
  background: #007bff; /* 设计图里的蓝色，可根据实际色值调整 */
}
.swiper-auto{
  margin-left:auto !important;
  margin-right:auto !important;
}
.bg_color{
  background: #F3F8FF;
}
.notice_banner{
  width: 1200px;
  flex: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.notice-card{
  width: 422px;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
#signupForm{
  width: 740px;
  height: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border-radius: 10px;
}
.notice-header{
  background: #003366;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  border-radius: 10px 10px 0 0;
}
.notice-header-ul{
  line-height: 2;
  font-weight: 400;
  font-size: 18px;
  color: #444444;
  background: #fff;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 35px;
  box-sizing: border-box;
  margin-bottom: unset;
  border-radius: 0 0 10px 10px;
}
.notice-header-li{
  position: relative;
}
.li_dot{
  position: absolute;
  left: -15px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: #E63A0C;
  border-radius: 50%;
}
.form-group{
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}
.form-label{
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  width: 120px;
}
.star{
  color: red;
}
.form-input{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fff;
}
.form-textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-height: 130px;
  resize: vertical;
  color: #333;
  background: #fff;
}
.form-btn{
  width: 120px;
  padding: 10px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin: 0 auto;
}
/* ===== 弹窗样式 ===== */
.popup-mask {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-box {
  background: #fff;
  border-radius: 4px;
  padding: 20px 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  animation: fadeIn .3s;
  margin: 0 auto;
}
.popup-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.popup-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.popup-btn {
  padding: 8px 16px;
  background: #0b60d4;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.swiper-container-horizontal {
  width: 100%;
  height: 580px;
  overflow: hidden;
}

.swiper-container-horizontal .swiper-wrapper {
  height: auto;
  align-items: stretch;
}

.swiper-container-horizontal .swiper-slide {
  height: 186px;
  box-sizing: border-box;
}

.swiper-container-horizontal .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.custom-pagination-horizontal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.custom-pagination-horizontal .custom-pagination-dot {
  width: 40px;
  height: 8px;
  background: #D8D8D8;
  cursor: pointer;
  transition: all .3s;
}

.custom-pagination-horizontal .custom-pagination-dot.active {
  width: 40px;
  border-radius: 6px;
  background: #172B84;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .session_brand{
    height: unset;
  }
  /* 第一部分 - 背景区域 */
  .section-bg {
    height: auto;
    min-height: 80vh;
    background-size: cover !important;
    background-position: center !important;
    justify-content: center;
    padding: 20px;
  }
  
  .first_box {
    width: 100%;
    padding: 5vh 0;
  }
  
  .first_title {
    font-size: 32px;
    text-align: center;
  }
  
  .first_desc {
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
  }
  
  .first_list {
    margin-top: 30px;
  }
  
  .first_ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .first_li {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .first_ul .first_li:last-child {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .first_ul:last-child {
    margin-top: 30px;
  }
  
  .first_botton {
    flex: none;
    margin-top: 30px;
    justify-content: center;
  }
  
  .button_red,
  .button_blue {
    padding: 15px 40px;
    margin: 0 10px;
  }
  
  /* 第二部分 - 通用容器 */
  .session_content {
    width: 100%;
    padding: 30px 20px;
  }
  
  .session_title {
    font-size: 28px;
    text-align: center;
  }
  
  /* 第三部分 - 轮播 */
  .swiper-container-vertical,
  .swiper-container-horizontal {
    margin-top: 20px;
  }
  .swiper-container-vertical img{
    height: auto !important;
  }
  /* 隐藏hdcc-section */
  /* #hdcc-section {
    display: none;
  } */
  
  /* 第四部分 - 报名表单区域 */
  .notice_banner {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }
  
  /* 确保signup-section没有固定高度 */
  #signup-section {
    height: auto !important;
    min-height: auto !important;
  }
  
  /* 确保报名表单区域内容能完整显示 */
  #signup-section .session_content {
    height: auto !important;
    min-height: auto !important;
  }
  
  .notice-card {
    width: 100%;
    margin-bottom: 20px;
  }
  
  #signupForm {
    width: 100%;
    padding: 20px;
  }
  
  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-label {
    width: 100%;
    margin-bottom: 5px;
  }
  
  /* 第五部分 - 弹窗 */
  .popup-box {
    width: 90%;
    margin: 0 10px;
  }
  
  /* 第六部分 - 返回顶部按钮 */
  #scrollTopBtn {
    left: 20px;
    bottom: 60px;
    width: 40px;
    height: 40px;
  }
  
  /* 轮播调整 */
  .swiper-container-horizontal {
    height: auto;
  }
  
  .swiper-container-horizontal .swiper-slide {
    height: auto;
  }
  
  .custom-pagination-dot {
    width: 30px;
  }
  .swiper-container-horizontal .swiper-slide img {
    height: auto;
  }
  
  /* 在移动端隐藏垂直轮播图的分页器 */
  .custom-pagination-vertical {
    display: none !important;
  }
  
  /* 垂直轮播图移动端样式 */
  .swiper-container-vertical .swiper-slide {
    height: auto !important;
  }
  
  .swiper-container-vertical .swiper-slide img {
    height: auto !important;
    object-fit: contain;
  }
  
  /* 确保垂直轮播容器高度自适应 */
  .swiper-container-vertical {
    height: auto !important;
    min-height: 300px;
  }
  #ylxf{
    height: unset;
  }
}

@media (max-width: 480px) {
  .session_brand{
    height: unset;
  }
  .first_title {
    font-size: 28px;
  }
  
  .first_li {
    font-size: 18px;
  }
  
  .button_red,
  .button_blue {
    padding: 12px 30px;
    margin: 0 5px;
  }
  
  .session_title {
    font-size: 24px;
  }
  
  .notice-header-ul {
    font-size: 16px;
    padding: 15px 20px;
  }
  
  /* 轮播调整 */
  .swiper-container-horizontal .swiper-slide {
    height: 120px;
  }
  .swiper-container-horizontal .swiper-slide img {
    height: auto;
  }
}

