
/* 视差容器 - 高度适中 */
.parallax-section {
  position: relative;
  height: 500px; /* 可根据需要调整，比如 60vh / 500px */
  
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* 关键：背景不动 */
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 半透明遮罩层 */
.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 黑色半透明遮罩 */
  z-index: 1;
}

/* 前景内容 - 完全静止，不随滚动变化 */
.parallax-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 20px;
  max-width: 800px;
}

.parallax-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.parallax-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto 20px;
  color: #ddd;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.parallax-content .btn-primary {
  display: inline-block;
  padding: 12px 36px;
  background: #da0003;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.parallax-content .btn-primary:hover {
  background: #da0003;
}







    .services {
      padding: 60px 20px;
      background-color: #fafafa;
    }
.panel-item i {
  font-size: 20px;
}
.theme-dropdown {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
}
.panel-toggle {
  background: #ff6700 !important;
  color: white !important;
}
.panel-toggle:hover {
  background: #e05a00 !important;
}



        .about-container {
            padding: 20px;
            background-color: #f9f9f9;
        }

        .image-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
.image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 100%; /* 新增 */
}


/* 通用内容区块 */
.content-block {
  position: relative;
  padding: 80px 0;
  overflow: hidden; /* 粒子超出隐藏 */
}

/* 标题区域：居中对齐 */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10; /* 确保在粒子上方 */
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: #333; /* 可根据背景调整 */
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



.section-titlex {
    display: block;
    width: 50px;
    height: 1px;
    background: #d80000;
    margin: 15px auto;
}


.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.video-container video{width:100%;}


/* 统计数据容器 */
.stats-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

/* 每个统计项 */
.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* 大数字 - 蓝色突出 */
.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 10px;
}

/* 小标题 - 黑色文字 */
.stat-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}
/* 师资轮播专属样式 */
.teachers-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}
































/* 移动端隐藏 */
@media (max-width: 768px) {
      
        .contact-card{display:none!important;}
  .floating-panel {
    display: none;
  }
  
  
  
  
  
  
  
  
  .aboutus{flex-direction: column;}
.image-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .image-item img {
    width: 100%;
    height: auto;
  }




.layui-container{padding: 0 5px;}
    .slide-content h1 {
      font-size: 2.2rem;
    }
    .slide-content p {
      font-size: 1.1rem;
    }
  }



}