/* 全局样式 */
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Banner样式 */
.research_banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.research_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-consult {
  display: inline-block;
  padding: 12px 36px;
  background-color: #4B0082;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-consult:hover {
  background-color: #6A0DAD;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #4B0082;
}

/* 夏校优势部分 */
.advantages-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.advantages-section h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.advantages-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4B0082;
}

.text-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-item {
  background-color: #fff;
  padding: 25px 30px;
  margin: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  width: calc(33.33% - 30px);
  min-width: 250px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.text-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  background-color: #4B0082;
  color: #fff;
}

/* 夏校OFFER展示部分 */
.scroll-container {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
}

.scroll-container h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.scroll-container h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4B0082;
}

.image-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: #4B0082 #f1f1f1;
}

.image-wrapper::-webkit-scrollbar {
  height: 8px;
}

.image-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.image-wrapper::-webkit-scrollbar-thumb {
  background: #4B0082;
  border-radius: 10px;
}

.image-wrapper img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-wrapper img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 知名夏校简介部分 */
.famous-school-intro {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.famous-school-intro h2 {
  font-size: 36px;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.famous-school-intro h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4B0082;
}

.famous-school-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.famous-school-group1, .famous-school-group2, .famous-school-group3, .famous-school-group4 {
  display: flex;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.famous-school-group2, .famous-school-group4 {
  flex-direction: row-reverse;
}

.famous-school-sub1, .famous-school-sub4, .famous-school-sub5, .famous-school-sub8 {
  flex: 1;
  padding: 40px;
}

.famous-school-sub2, .famous-school-sub3, .famous-school-sub6, .famous-school-sub7 {
  flex: 1;
  overflow: hidden;
}

.famous-school-sub2 img, .famous-school-sub3 img, .famous-school-sub6 img, .famous-school-sub7 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.famous-school-sub2 img:hover, .famous-school-sub3 img:hover, .famous-school-sub6 img:hover, .famous-school-sub7 img:hover {
  transform: scale(1.05);
}

.famous-school-sub1 h3, .famous-school-sub4 h3, .famous-school-sub5 h3, .famous-school-sub8 h3 {
  font-size: 24px;
  color: #4B0082;
  margin-bottom: 20px;
}

.famous-school-sub1 div, .famous-school-sub4 div, .famous-school-sub5 div, .famous-school-sub8 div {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.famous-school-sub1 div img, .famous-school-sub4 div img, .famous-school-sub5 div img, .famous-school-sub8 div img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  object-fit: contain;
}

.famous-school-sub1 div span, .famous-school-sub4 div span, .famous-school-sub5 div span, .famous-school-sub8 div span {
  font-size: 18px;
  color: #666;
}

.famous-school-sub1 p, .famous-school-sub4 p, .famous-school-sub5 p, .famous-school-sub8 p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.famous-school-consult {
  text-align: center;
  margin-top: 40px;
}

.famous-school-consult a {
  display: inline-block;
  padding: 12px 36px;
  background-color: #4B0082;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.famous-school-consult a:hover {
  background-color: #6A0DAD;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .text-item {
    width: calc(50% - 30px);
  }
  
  .famous-school-group1, .famous-school-group2, .famous-school-group3, .famous-school-group4 {
    flex-direction: column;
  }
  
  .famous-school-sub2, .famous-school-sub3, .famous-school-sub6, .famous-school-sub7 {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
  
  .text-item {
    width: 100%;
    min-width: auto;
  }
  
  .famous-school-sub1, .famous-school-sub4, .famous-school-sub5, .famous-school-sub8 {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .research_banner {
    height: 400px;
  }
  
  .hero-content h2 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .btn-consult {
    padding: 10px 25px;
    font-size: 16px;
  }
  
  .advantages-section h2, .scroll-container h2, .famous-school-intro h2 {
    font-size: 28px;
  }
  
  .famous-school-sub1 h3, .famous-school-sub4 h3, .famous-school-sub5 h3, .famous-school-sub8 h3 {
    font-size: 20px;
  }
}