:root {
  --primary-color: #f31d51;
  --primary-light: rgba(243, 29, 81, 0.1);
  --primary-dark: #d10b3f;
  --promo-primary: #ff6b9d;
  --promo-secondary: #ff8a6c;
  --promo-text: #666;
  --promo-bg: #f9f9f9;
  --promo-white: #fff;
}

/* 基础样式 */
.mymain {width: 1200px; margin: 0 auto; overflow: hidden;}
.mymain1 {width: 1200px; margin: 0 auto;}
.mytitle {width: 100%; margin: 60px 0 40px; overflow: hidden;}
.mytitle h1 {display: block; font-size: 45px; font-weight: bold; color: #ff4d7d; line-height: 1; margin: 0 0 15px; text-align: center;}
.mytitle p {display: block; font-size: 24px; color: #0e0e0e; text-align: center; line-height: 30px;}
.myzx {width: 300px; margin: 40px auto 0;}
.myzx a {display: inline-block; width: 100%; line-height: 60px; border-radius: 30px; text-align: center; background: var(--primary-color); color: #fff; font-size: 24px; box-shadow: 0 4px 12px rgba(243, 32, 83, 0.2); overflow: hidden; transition: all 0.3s ease;}
.myzx a:hover {background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(243, 29, 81, 0.4);}

/* 顶部横幅 */
.mytpic {display:flex; justify-content: center; align-items: center; text-align: center; width: 100%; overflow: hidden;}
.mytpic a {display: block; width: 100%; overflow: hidden;}

/* 公告栏 */
.h_notice {display: table; width: 100%; align-items: center; background-color: var(--primary-color); padding: 10px; overflow: hidden; border-bottom: 1px solid #999;}
.message-icon {display: table-cell; margin-right: 10px; vertical-align: middle;}
.message-icon img {width: 40px; height: 30px; animation: shake 1s ease-in-out infinite alternate;}
.message-scroll {display: table-cell; vertical-align: middle; flex: 1; overflow: hidden;}
.message-text {white-space: nowrap; animation: scroll 20s linear infinite; font-size: 18px; color: #fff;}
.highlight {color: #fffc00; font-weight: bold;}

/* 轮播图 */
.banner {position: relative; width: 100%; overflow: hidden; margin: 0 auto;}
.banner_slider {display: flex; transition: transform 0.5s ease;}
.banner_slide {min-width: 100%; position: relative;}
.banner_img {width: 100%; height: auto; display: block;}
.banner_nav {position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(0,0,0,0.5); border: none; border-radius: 50%; color: #fff; cursor: pointer; transition: all 0.3s ease; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.2);}
.banner_nav:hover {background: rgba(0,0,0,0.8); transform: translateY(-50%) scale(1.1); box-shadow: 0 3px 8px rgba(0,0,0,0.3);}
.banner_nav::before {content: ""; display: block; width: 12px; height: 12px; border: 2px solid currentColor; border-width: 2px 2px 0 0; transform-origin: center;}
.banner_nav-prev {left: 200px;}
.banner_nav-prev::before {transform: rotate(-135deg); margin-left: 4px;}
.banner_nav-next {right: 200px;}
.banner_nav-next::before {transform: rotate(45deg); margin-right: 4px;}
.banner_pagination {position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 10; pointer-events: none;}
.banner_pagination-inner {display: flex; gap: 8px; padding: 6px 12px; border-radius: 20px; pointer-events: auto;}
.banner_page-item {padding: 6px 12px; background: rgba(0, 0, 0, 0.5); border-radius: 5px; cursor: pointer; font-size: 14px; transition: all 0.3s ease; color: white; border: none; font-family: 'Microsoft YaHei', sans-serif; white-space: nowrap;}
.banner_page-item.active {background: var(--primary-color); color: white;}
.banner_page-item:hover {background: rgba(0, 0, 0, 0.7);}

/* 用户优势 */
.h_yh {width: 100%; background:url(../images/ys_bg.jpg) no-repeat; background-size: cover; padding: 60px 0; overflow: hidden;}
.h_yh ul {display: flex; width: 100%; justify-content: center; align-items: center; text-align: center; overflow: hidden; flex-wrap: wrap;}
.h_yh ul li {width: 25%; text-align: center; font-size: 20px; color: #111; overflow: hidden;}
.h_yh ul li img {width:92px; height: 92px; margin: 0 auto;}
.h_yh ul li .s1 {font-size: 45px; color: var(--primary-color); font-weight: bold;}

/* 课程展示 */
.h_course {width: 100%; padding-bottom: 60px; background: #fff; overflow: hidden;}
.h_course .main {width: 1200px; margin: 0 auto;}
.h_course .showpic {overflow: hidden; margin-bottom: 45px; display: table; width: 48%; float: left;}
.h_course .showpic:nth-child(2n+2) {float: right;}
.h_course .showpic:nth-child(3), .h_course .showpic:nth-child(4) {margin-bottom: 0}
.h_course .text {display: table-cell; vertical-align: middle; text-align: center; padding: 0 15px;}
.h_course .pic {width: 50%; border-radius: 5px; overflow: hidden; display: table-cell; vertical-align: middle;}
.h_course .pic img {width: 100%;}
.h_course .text h2 {font-size: 28px; font-weight: bold;}
.h_course .text img {width: 100%; padding: 8px 0;}
.h_course .text p {display: block; font-size: 16px; line-height: 24px; color: #333;}
.h_course .text a {display: inline-block; font-size: 16px; padding: 8px 15px; margin: 0 5px; background: var(--primary-color); color: #fff; border-radius: 5px; overflow: hidden; margin-top: 10px; transition: all 0.3s ease;}
.h_course .text a:hover {background: var(--primary-dark);transform: translateY(-3px);}

/* 报名表单 */
.h_bm {width: 100%; background: #f4f4f4; overflow: hidden;}
.h_bm .main {width: 1200px; margin: 0 auto;}
.h_bm h2 {display: block; font-size: 35px; font-weight: normal; text-align: center; overflow: hidden;}
.myinput {width: 100%; padding: 0 90px; overflow: hidden;}
.myinput .inputbox {width: 352px; float: left; line-height: 45px; overflow: hidden; font-size: 14px;}
.myinput .inputbox:first-child {margin-right: 20px;}
.myinput .inputs {width: 350px; line-height: 45px; border-radius: 5px; padding-left: 10px; border: 1px solid #d4d4d4;}
.mybtn .anbtn {display: block; width: 265px; float: right; line-height: 45px; background: var(--primary-color); color: #fff; font-size: 16px; text-align: center; border-radius: 5px; overflow: hidden; border: none; transition: all 0.3s ease;}
.mybtn .anbtn:hover {background: var(--primary-dark);}
.bm_bg {display: flex; justify-content: center; align-items: center; text-align: center; margin: 25px 0;}
.bm_bg img {width: 100%;}
.bm_list {display: block; width: 100%;}
.bm_list li {width: 22%; float: left; margin-right: 4%; margin-bottom: 25px; border-radius: 5px; box-shadow: 0 0 15px #e2e2e2; overflow: hidden; transition: all 0.3s ease;}
.bm_list li:nth-child(4n) {margin-right: 0;}
.bm_list li:hover { transform: translateY(-5px);}
.bm_list li a {display: block; text-align: center; line-height: 45px; background: #fff; font-size: 16px; color: #111;}
.bm_list li a:hover {background: var(--primary-color); color: #fff;}

/* 学员展示 */
.h_xh {width: 100%; padding-top: 30px; background: #f4f4f4; position: relative; z-index: 1; overflow: hidden;}
.h_xh:before {content: ''; display: block; width: 100%; height: 155px; background: var(--primary-color); position: absolute; z-index: 2; bottom: 0; left: 0;}
.h_xh .xh_list {width: 100%; position: relative; z-index: 3;}
.h_xh .showpic {width: 20%; float: left; text-align: center; overflow: hidden;}
.h_xh .showpic img {width: 150px; height: 150px; border-radius: 75px; margin: 0 auto; transition: transform 0.5s ease; overflow: hidden;}
.h_xh .showpic img:hover {transform: rotate(45deg);}
.h_xh .showpic a {display: inline-block; font-size: 18px; color: #fffc00; padding-top: 15px;}
.h_xh .showpic p {display: block; font-size: 18px; color: #fff; padding-bottom: 15px;}

/* 报名列表 */
.h_bmlb {width: 100%; padding: 40px 0 60px 0; background: #f4f4f4; overflow: hidden;}
.h_bmlb .fl {width: 545px; float: left; overflow: hidden;}
.h_bmlb .fl h2 {display: block; width: 100%; font-size: 30px; color: var(--primary-color); text-align: center; overflow: hidden;}
.h_bmlb .fl p {display: block; width: 100%; text-align: center; font-size: 20px; color: #111; padding: 15px 0; overflow: hidden;}
.table-tt {background: var(--primary-color); border-radius: 5px 5px 0 0; overflow: hidden;}
.table-tt span {display: block; float: left; line-height: 50px; text-align: center; color: #fff; font-size: 18px;}
.from-table span {display: block; float: left; line-height: 45px; text-align: center; color: #111; font-size: 16px;}
.from-right {width: 49%; float: right; overflow: hidden;}
.from-right .span1 {width: 30%;}
.from-right .span2 {width: 40%;}
.from-right .span3 {width: 30%;}
.from-table{ width:100%; border-radius: 0 0 5px 5px; overflow:hidden; position:relative; border:1px solid #dbd9d9; background: #ffebeb;}
.from-table .bd{ padding:21px; overflow: hidden;}
.from-table .infoList li{width: 100%; line-height:35px; border-bottom: 1px dashed #dbd9d9; overflow: hidden;}

/* 师资团队 */
.h_teacher {
  width: 100%;
  padding: 50px 0;
  background: #fff;
  overflow: hidden;
}

/* 师资优势卡片 */
.teacher-advantages {
  width: 100%;
  margin: 0 auto 50px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.advantages-left {
  width: 40%;
  background: linear-gradient(135deg, #ffb6c1, #f31d51);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.advantages-left:before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.advantages-left h3 {
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.advantages-left p {
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.advantages-right {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
}

.advantage-item {
  width: 50%;
  padding: 15px 25px;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.advantage-item:nth-child(2n) {
  border-right: none;
}

.advantage-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.advantage-icon {
  font-size: 32px;
  color: #f31d51;
  margin-bottom: 15px;
}

.advantage-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.advantage-item p {
  font-size: 14px;
  color: #666;
}

/* 师资分类导航 */
.teacher-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.teacher-category {
  padding: 12px 25px;
  margin: 0 10px 15px;
  font-size: 18px;
  color: #333;
  background: #f5f5f5;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.teacher-category:hover {
  background: #e0e0e0;
}

.teacher-category.active {
  background: #f31d51;
  color: white;
  box-shadow: 0 4px 12px rgba(243, 29, 81, 0.3);
}

/* 师资轮播 */
.teacher-carousel-container {
  width: 100%;
  position: relative;
  padding: 10px;
  overflow: hidden;
}

.teacher-slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.teacher-slider:active {
  cursor: grabbing;
}

.teacher-slide {
  flex: 0 0 auto;
  width: 280px;
  margin-right: 25px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.teacher-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.teacher-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-slide:hover .teacher-img img {
  transform: scale(1.05);
}

.teacher-info {
  padding: 20px;
  text-align: center;
}

.teacher-info h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 5px;
}

.teacher-info .title {
  color: #f31d51;
  font-weight: bold;
  margin-bottom: 15px;
}

.teacher-detail-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #f31d51;
  color: white;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.teacher-detail-btn:hover {
  background: #d10b3f;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(243, 29, 81, 0.3);
}

/* 师资描述 */
.teacher-desc {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 导航按钮 */
.teacher-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #f31d51;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.teacher-nav:hover {
  background: #f31d51;
  color: white;
}

.teacher-nav-prev {
  left: 0;
}

.teacher-nav-next {
  right: 0;
}

.teacher-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .teacher-slide {
    width: 240px;
  }
  
  .teacher-img {
    height: 240px;
  }
}

@media (max-width: 576px) {
  .teacher-carousel-container {
    padding: 0 30px;
  }
  
  .teacher-slide {
    width: 200px;
  }
  
  .teacher-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .advantage-item {
    width: 100%;
    border-right: none;
  }
  
  .teacher-grid {
    grid-template-columns: 1fr;
  }
  
  .teacher-img {
    height: 200px;
  }
}

/* 环境展示 */
.h_hj {width: 100%; padding-bottom: 60px; background: var(--primary-color); overflow: hidden;}
.h_hj .main {width: 1250px; margin: 0 auto; overflow: hidden;}
.h_hj .main .mytitle h1, .h_hj .main .mytitle p {color: #fff;}
.h_hj .showimg {width: 100%; display: table; overflow: hidden;}
.h_hj .showimg .img {display: table-cell; width: 1110px; border: 5px solid #fff; border-radius: 10px; text-align: center; vertical-align: middle; overflow: hidden;}
.h_hj .showimg .show {display: table-cell; padding-left: 25px; text-align: left; vertical-align: middle;}
.h_hj .showimg .show p {font-size: 16px; color: #fff; line-height: 24px;}
.h_hj .showimg .myzx {width: 250px;}
.h_hj .showimg .myzx a {line-height: 45px; font-size: 20px; background: #fff; color: var(--primary-color);}

/* 作品展示 */
.h_zp {width: 100%; padding-bottom: 60px; overflow: hidden;}
.portfolio-container {max-width: 1200px; margin: 0 auto; background: white; border-radius: 10px; overflow: hidden;}
.portfolio-header {display: flex; padding: 0 20px 20px 20px; justify-content: center; gap: 15px; flex-wrap: wrap;}
.portfolio-btn {width: 210px; height: 55px; background: white; border: 1px solid #333; border-radius: 5px; cursor: pointer; font-size: 20px; font-weight: 600; color: #333; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;}
.portfolio-btn:hover {background: #f8f8f8;}
.portfolio-btn.active {background: var(--primary-color); border-color: var(--primary-color); color: white;}
.portfolio-content-wrapper {position: relative; min-height: 800px; overflow: hidden;}
.portfolio-content {position: absolute; top: 0; left: 0; width: 100%; padding: 20px; opacity: 0; transform: translateX(100%); transition: all 0.5s ease;}
.portfolio-content.active {opacity: 1; transform: translateX(0); z-index: 1;}
.portfolio-content.left {transform: translateX(-100%);}
.portfolio-content.right {transform: translateX(100%);}
.portfolio-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px;}
.portfolio-item {width: 280px; height: 367px; border-radius: 5px; overflow: hidden; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease;}
.portfolio-item:hover {transform: translateY(-5px);}
.portfolio-item img {width: 100%; height: 100%; object-fit: cover;}

/* 客服工具 */
.h_kf {width: 100%; padding: 60px 0; background: #f4f4f4; overflow: hidden;}
.consultation-tools {max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 30px;}
.tool-item {width: 23%; text-align: center; padding: 20px 15px; transition: all 0.3s ease; cursor: pointer; border-radius: 6px;}
.tool-item:hover {transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); background-color: #f9f9f9;}
.tool-item a {text-decoration: none; color: inherit; display: block;}
.tool-icon {width: 80px; height: 70px; margin: 0 auto 15px; background-size: contain; background-repeat: no-repeat; background-position: center;}
.tool-title {font-size: 18px; color: #333; margin-bottom: 10px; font-weight: bold;}
.tool-desc {font-size: 14px; color: #666; line-height: 1.5;}
.tool-phone {font-size: 16px; color: var(--primary-color); font-weight: bold; margin-top: 5px;}

/* 视频展示 */
.h_sp {overflow: hidden; padding-bottom: 60px;}
.video-showcase {display: flex; width: 1200px; margin: 20px auto; background-color: #fff; flex-wrap: wrap;}
.video-player {width: 885px; height: 480px; position: relative; background-color: #000; cursor: pointer;}
.main-video {width: 100%; height: 100%; border: none; display: none;}
.video-poster {position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 2;}
.play-button {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background-color: rgba(0, 0, 0, 0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3;}
.play-button::before {content: "▶"; color: white; font-size: 40px; margin-left: 5px;}
.video-overlay {position: absolute; bottom: -60px; left: 0; width: 100%; height: 60px; background-color: var(--primary-color); display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0.9; transition: opacity 0.3s;}
.video-player:hover .video-overlay {opacity: 1;}
.video-title {color: #fff; font-size: 24px; font-weight: bold; padding: 0 20px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;}
.video-list-container {width: 300px; height: 540px; background-color: #f9f9f9; overflow: hidden;}
.video-list {height: 100%; overflow-y: auto; padding: 10px; margin: 0;}
.video-list li {margin-bottom: 10px;}
.video-list li:last-child {margin-bottom: 0;}
.video-link {display: block; width: 100%; aspect-ratio: 16/9; position: relative; cursor: pointer; transition: all 0.3s; text-decoration: none;}
.video-link:hover {transform: scale(1.02);}
.video-thumbnail {width: 100%; height: 100%; object-fit: cover; border-radius: 4px;}
.video-link:not(.active)::after {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); border-radius: 4px;}
.video-link:not(.active)::before {content: "▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 30px; z-index: 2; width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.video-link.active {box-shadow: 0 0 0 3px var(--primary-color);}

/* 新闻资讯 */
.gdbmh-news-section {background: #f4f4f4; padding: 60px 0; font-family: 'Helvetica Neue', Arial, sans-serif;}
.gdbmh-news-section .mytitle {margin-top:0;}
.gdbmh-news-container {width: 1200px; margin: 0 auto; position: relative;}
.gdbmh-news-tabs {display: flex; gap: 20px; margin-bottom: 25px; flex-wrap: wrap;}
.gdbmh-news-tab {padding: 8px 20px; font-size: 16px; color: #666; cursor: pointer; border-radius: 5px; transition: all 0.3s ease;}
.gdbmh-news-tab:hover {color: var(--primary-dark);}
.gdbmh-news-tab.active {background-color: var(--primary-color); color: white;}
.gdbmh-news-content {display: none; animation: fadeIn 0.5s ease;}
.gdbmh-news-content.active {display: flex; gap: 30px; flex-wrap: wrap;}
.gdbmh-news-grid {width: 62%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;}
.gdbmh-news-card {background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s;}
.gdbmh-news-card:hover {transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1);}
.gdbmh-news-card-img {width: 100%; height: 180px; object-fit: cover; display: block;}
.gdbmh-news-card-body {padding: 15px;}
.gdbmh-news-card-title {font-size: 16px; color: #333; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 44px;}
.gdbmh-news-list {width: 35%; background: white; border-radius: 8px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);}
.gdbmh-news-list-item {padding: 12px 0; border-bottom: 1px dashed #eee; display: flex;}
.gdbmh-news-list-item:last-child {border-bottom: none;}
.gdbmh-news-list-date {color: #999; font-size: 14px; width: 100px; flex-shrink: 0;}
.gdbmh-news-list-title {color: #666; font-size: 16px; flex-grow: 1; transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.gdbmh-news-list-title:hover {color: var(--primary-dark);}

/* 学员展示 */
.h_xy {width: 100%; padding-bottom: 60px; background: #f4f4f4; overflow: hidden;}
.h_xy .main {width: 1200px; margin: 0 auto;}
.h_xy .xy_list {width: 100%;}
.h_xy .xy_list li {width: 22%; background: #fff; padding: 10px; border-radius: 5px; float: left; text-align: center; margin-right: 4%; box-shadow: 0 0 15px rgba(0,0,0,0.08); transition: all 0.3s ease; cursor: pointer; overflow: hidden;}
.h_xy .xy_list li:last-child {margin-right: 0;}
.h_xy .xy_list li p {display: block; font-size: 14px; color: #111; padding-top: 10px;}
.h_xy .xy_list li:hover {transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); background-color: #f9f9f9;}

/* 校企合作 */
.h_xqhz {width: 100%; padding-bottom: 60px; }
.h_xqhz .container {width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px;}
.cooperation-benefits {display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 60px;}
.benefit-card {width: 265px; background: white; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); padding: 15px 10px; text-align: center; transition: all 0.3s ease;}
.benefit-card:hover {transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.12);}
.benefit-icon {width: 100%; margin: 0 auto 25px;}
.benefit-icon img {width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease;}
.benefit-card h3 {color: var(--primary-color); margin-bottom: 15px; font-size: 20px; font-weight: 600;}
.benefit-card p {color: #666; font-size: 15px; line-height: 1.6;}
.partners-section {background: white; border-radius: 12px;}
.partners-intro {text-align: center; margin-bottom: 40px; padding: 0 20px;}
.partners-intro h2 {color: var(--primary-color); font-size: 24px; margin-bottom: 15px;}
.partners-intro p {color: #666; font-size: 16px; line-height: 1.8; max-width: 900px; margin: 0 auto;}
.partners-grid {display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px;}
.partner-card {background: #fff; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; height: 100px; border: 1px solid #f0f0f0;}
.partner-card:hover {transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: #f8bbd0;}
.partner-logo {max-width: 100%; max-height: 100%; transition: all 0.3s ease;}
.partner-card:hover .partner-logo {filter: grayscale(0%) contrast(1);}

/* 左侧弹窗容器 */
.ms-promo-container {position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 999; width: 200px; font-family: 'Microsoft YaHei', Arial, sans-serif; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: transform 0.3s ease, opacity 0.3s ease; will-change: transform;}
.ms-promo-close { position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; background: rgba(255,255,255,0.3); color: var(--promo-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font: bold 16px/1 sans-serif; transition: all 0.2s ease;}
.ms-promo-close:hover { background: rgba(255,255,255,0.5); transform: scale(1.1);}
.ms-promo-header { background: linear-gradient(135deg, var(--promo-primary), var(--promo-secondary)); color: var(--promo-white); padding: 15px; text-align: center; border-radius: 0 8px 0 0;}
.ms-promo-title { font: bold 18px/1.2 sans-serif; margin-bottom: 5px;}
.ms-promo-subtitle { font-size: 12px; opacity: 0.9;}
.ms-promo-content { background: var(--promo-white); padding: 15px;}
.ms-promo-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #eee;}
.ms-promo-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0;}
.ms-promo-item-title {
  color: var(--promo-primary);
  font: bold 16px/1.2 sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.ms-promo-item-title::before {
  content: "✨";
  margin-right: 5px;
  font-size: 14px;
}
.ms-promo-item-desc {
  font: 13px/1.5 sans-serif;
  color: var(--promo-text);
}
.ms-promo-footer {
  background: var(--promo-bg);
  padding: 12px;
  text-align: center;
  border-radius: 0 0 8px 0;
}
.ms-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--promo-primary), var(--promo-secondary));
  color: var(--promo-white);
  padding: 8px 20px;
  border-radius: 20px;
  font: bold 14px/1 sans-serif;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ms-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(255,107,157,0.3);
}

/* 弹窗样式 */
.modal-overlay {position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; display: flex; justify-content: center; align-items: center;}
.modal-container {position: relative; width: 680px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; animation: modalFadeIn 0.4s ease-out;}
.modal-image {width: 100%; height: auto; position: relative;}
.discount-img {display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden;}
.discount-badge {position: absolute; top: 20px; left: 20px; background: var(--primary-color); color: white; padding: 8px 15px; border-radius: 20px; font-weight: bold; font-size: 18px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); animation: pulse 2s infinite; z-index: 5;}
.fire-icon {width: 15px; height: 24px; display: inline-block; margin: 0 5px; vertical-align: middle; background: url("../images/sy_huo.png") no-repeat center center; background-size: contain;}
.marketing-content {padding: 25px; background: #fff; text-align: center;}
.limited-offer {color: var(--primary-color); font-size: 22px; font-weight: bold; margin-bottom: 20px; text-shadow: 0 1px 2px rgba(0,0,0,0.1);}
.countdown {background: var(--primary-light); padding: 12px; border-radius: 6px; font-size: 18px; color: var(--primary-color); font-weight: bold; border: 1px dashed var(--primary-color); display: inline-block; min-width: 300px;}
.countdown span {font-size: 24px; margin: 0 3px;}
.modal-buttons {display: flex; padding: 20px; justify-content: space-between; background: white; border-top: 1px solid #f0f0f0; flex-wrap: wrap;}
.modal-link {flex: 1; padding: 14px 0; border-radius: 30px; font-size: 17px; font-weight: bold; cursor: pointer; transition: all 0.3s; margin: 0 10px; position: relative; overflow: hidden; text-align: center; display: block; min-width: 200px;}
.modal-link:hover {transform: translateY(-3px); box-shadow: 0 5px 15px rgba(243, 29, 81, 0.3); text-decoration: none;}
.modal-link:active {transform: translateY(1px);}
.link-consult {background: white; color: var(--primary-color); border: 2px solid var(--primary-color);}
.link-consult:hover {background: var(--primary-light);}
.link-apply {background: linear-gradient(to right, var(--primary-color), var(--primary-dark)); color: white;}
.modal-close {position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; background: white; border-radius: 50%; color: var(--primary-color); display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 20px; font-weight: bold; transition: all 0.3s; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); z-index: 10; border: 1px solid var(--primary-color);}
.modal-close:hover {background: var(--primary-color); color: white; transform: rotate(90deg);}

/* 动画定义 */
@keyframes scroll {
  0% {transform: translateX(100%);}
  100% {transform: translateX(-100%);}
}
@keyframes shake {
  0% {transform: translateX(0);}
  100% {transform: translateX(5px);}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-50px) scale(0.9);}
  to {opacity: 1; transform: translateY(0) scale(1);}
}
@keyframes pulse {
  0% {transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 29, 81, 0.4);}
  70% {transform: scale(1.05); box-shadow: 0 0 0 10px rgba(243, 29, 81, 0);}
  100% {transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 29, 81, 0);}
}

/* 响应式设计 */
@media (max-width: 1240px) {
  .h_xqhz .container {padding: 40px;}
  .partners-grid {grid-template-columns: repeat(3, 1fr); gap: 20px;}
}
@media (max-width: 992px) {
  .tool-item {width: 48%; margin-bottom: 20px;}
  .gdbmh-news-content.active {flex-direction: column;}
  .gdbmh-news-grid, .gdbmh-news-list {width: 100%;}
  .portfolio-grid {grid-template-columns: repeat(2, 1fr);}
  .video-showcase {flex-direction: column;}
  .video-player, .video-list-container {width: 100%;}
}
@media (max-width: 768px) {
  .banner_nav {width: 36px; height: 36px;}
  .banner_nav::before {width: 10px; height: 10px;}
  .banner_page-item {padding: 4px 8px; font-size: 12px;}
  .gdbmh-news-grid {grid-template-columns: 1fr;}
  .gdbmh-news-tabs {flex-wrap: wrap; gap: 10px;}
  .h_yh ul li {width: 50%;}
  .h_course .showpic {width: 100%; float: none; margin-bottom: 20px;}
  .h_course .showpic:nth-child(2n+2) {float: none;}
  .myinput {padding: 0;}
  .myinput .inputbox {width: 100%; float: none; margin-bottom: 15px;}
  .myinput .inputbox:first-child {margin-right: 0;}
  .bm_list li {width: 48%; margin-right: 4%;}
  .bm_list li:nth-child(4n) {margin-right: 4%;}
  .bm_list li:nth-child(2n) {margin-right: 0;}
  .h_xh .showpic {width: 50%; margin-bottom: 20px;}
  .h_xy .xy_list li {width: 48%; margin-right: 4%;}
  .h_xy .xy_list li:nth-child(2n) {margin-right: 0;}
  .partners-grid {grid-template-columns: repeat(2, 1fr);}
  .partner-card {padding: 15px; height: 80px;}
  .benefit-card {width: 100%; max-width: 350px;}
  .modal-container {width: 95%;}
  .modal-buttons {flex-direction: column;}
  .modal-link {margin: 5px 0;}
  .countdown {min-width: auto; width: 100%; font-size: 16px;}
  .countdown span {font-size: 20px;}
}
@media (max-width: 576px) {
  .tool-item {width: 100%;}
  .portfolio-grid {grid-template-columns: 1fr;}
  .portfolio-item {width: 100%;}
  .h_yh ul li {width: 100%;}
  .h_xh .showpic {width: 100%;}
  .h_xy .xy_list li {width: 100%; margin-right: 0;}
}