/* ========================================
   CSS 变量定义
   ======================================== */
:root {
  /* ========== 颜色系统 ========== */
  /* 主色调 - 橙色系 */
  --color-primary: #FF6B00;
  --color-primary-dark: #E46C00;
  --color-primary-light: #FF8C00;
  --color-primary-lighter: #FFB366;

  /* 辅助色 - 黄绿色系 */
  --color-secondary: #C5D600;
  --color-secondary-dark: #A8B800;
  --color-secondary-light: #D4E157;

  /* 中性色 */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-bg-light: #F8F8F8;
  --color-bg-gray: #E8E8E8;

  /* 文字颜色 */
  --color-text-primary: #444444;
  --color-text-secondary: #666666;
  --color-text-tertiary: #999999;
  --color-text-placeholder: #CCCCCC;

  /* 边框颜色 */
  --color-border-light: #F0F0F0;
  --color-border: #E0E0E0;
  --color-border-dark: #D0D0D0;

  /* 功能色 */
  --color-success: #52C41A;
  --color-warning: #FAAD14;
  --color-error: #F5222D;
  --color-info: #1890FF;

  /* ========== 字体系统 ========== */
  /* 标题字号 */
  --font-size-h1: 48px;
  --font-size-h2: 36px;
  --font-size-h3: 28px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;

  /* 正文字号 */
  --font-size-large: 18px;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-mini: 12px;

  /* 行高 */
  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-loose: 1.8;

  /* 字重 */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ========== 间距系统 (8px基准) ========== */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  --spacing-xxxl: 80px;

  /* 区域间距 */
  --section-spacing: 80px;
  --container-padding: 60px;

  /* ========== 圆角 ========== */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ========== 阴影 ========== */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --shadow-xl: 0 12px 32px rgba(0,0,0,0.20);

  /* ========== 过渡动画 ========== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-all: all 0.3s ease;

  /* ========== Z轴层级 ========== */
  --z-index-dropdown: 100;
  --z-index-sticky: 500;
  --z-index-navbar: 1000;
  --z-index-modal-backdrop: 1500;
  --z-index-modal: 2000;
  --z-index-tooltip: 3000;

  /* ========== 断点 ========== */
  --breakpoint-xs: 576px;
  --breakpoint-sm: 768px;
  --breakpoint-md: 992px;
  --breakpoint-lg: 1200px;
  --breakpoint-xl: 1400px;

  /* ========== 渐变 ========== */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  --gradient-primary-hover: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* ========================================
   全局样式
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-dark); */
  /* 重要：背景色用于超宽屏时的左右留白区域 */
  /* background-color: #f5f5f5;
  margin: 0;
  padding: 0; */

  font: 12px / 150% tahoma, arial, Microsoft YaHei, Hiragino Sans GB, "\u5b8b\u4f53", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #666;
  background: #fff;
}

/* 桌面端：固定宽度设计，类似天猫/京东 */
@media (min-width: 1200px) {
  html {
    min-width: 1200px;
  }

  body {
    min-width: 1200px;
    overflow-x: auto;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 通用容器 - 用于非全宽内容 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* 页面主容器 */
.page-wrapper {
  width: 100%;
  background-color: var(--color-white);
}

/* ========================================
   按钮组件系统
   ======================================== */

/* 基础按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-all);
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

/* 主要按钮 - 橙色渐变 */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* 次要按钮 - 黄绿色 */
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* 边框按钮 */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* 文字按钮 */
.btn-text {
  background: transparent;
  color: var(--color-white);
  padding: var(--spacing-xs) var(--spacing-sm);
  box-shadow: none;
}

.btn-text:hover {
  color: var(--color-secondary);
  background: rgba(255, 107, 0, 0.05);
}

/* 按钮尺寸 */
.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-large);
  height: 56px;
}

.btn-medium {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  height: 48px;
}

.btn-small {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-small);
  height: 36px;
}

/* 圆形按钮 */
.btn-round {
  border-radius: var(--radius-full);
}

/* 圆形图标按钮 */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn-icon.btn-large {
  width: 56px;
  height: 56px;
}

.btn-icon.btn-small {
  width: 36px;
  height: 36px;
}

/* 禁用状态 */
.btn:disabled,
.btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* 全宽按钮 */
.btn-block {
  display: flex;
  width: 100%;
}

/* ========================================
   卡片组件系统
   ======================================== */

/* 基础卡片样式 */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-all);
}

/* 卡片阴影变体 */
.card-shadow-sm {
  box-shadow: var(--shadow-sm);
}

.card-shadow-md {
  box-shadow: var(--shadow-md);
}

.card-shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* 卡片悬停效果 */
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* 卡片边框 */
.card-bordered {
  border: 1px solid var(--color-border);
}

.card-bordered-primary {
  border: 2px solid var(--color-primary);
}

/* 卡片内边距 */
.card-padding-sm {
  padding: var(--spacing-sm);
}

.card-padding-md {
  padding: var(--spacing-md);
}

.card-padding-lg {
  padding: var(--spacing-lg);
}

/* 卡片可点击状态 */
.card-clickable {
  cursor: pointer;
}

.card-clickable:active {
  transform: translateY(-2px);
}

/* ========================================
   顶部导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* 固定高度，配合浏览器缩放实现等比例效果 */
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  box-shadow: var(--shadow-md);
  z-index: var(--z-index-navbar);
  transition: var(--transition-base);
}

/* 桌面端：导航栏居中定位 */
@media (min-width: 1200px) {
  .navbar {
    left: 50%;
    transform: translateX(-50%);
    max-width: 1920px;
  }
}

/* .navbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
} */

.navbar-container {
  width: 100%;
  margin: 0 auto;
  /* 固定内边距 */
  padding: 0 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo区域 */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* 固定缩放比例 */
  /* transform: scale(1.1); */
  /* transition: var(--transition-base); */
}

.navbar-logo a {
  display: flex;
  align-items: center;
  /* 固定间距 */
  gap: 12px;
}

.logo-image {
  transition: var(--transition-base);
  object-fit: contain;
}

.logo-icon {
  /* 固定LOGO高度 */
  height: 60px;
  width: auto;
}

.logo-guanyou {
  /* 固定LOGO高度 */
  height: 60px;
}

.logo-xueshen {
  /* 固定LOGO高度 */
  height: 52px;
}

/* .navbar.scrolled .logo-icon,
.navbar.scrolled .logo-guanyou {
  height: 50px;
}

.navbar.scrolled .logo-xueshen {
  height: 42px;
} */

.logo-divider {
  color: var(--color-white);
  font-size: 40px;
  font-weight: var(--font-weight-light);
  line-height: 1;
  opacity: 0.5;
  margin: 0 var(--spacing-xs);
}

/* 导航菜单 */
.navbar-menu {
  display: flex;
  align-items: center;
  /* 固定菜单间距 */
  gap: 32px;
  flex: 1;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.nav-item {
  /* 固定菜单字号 */
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  position: relative;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--color-secondary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width var(--transition-base);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item.active {
  color: var(--color-white);
  font-weight: 600;
}

/* 汉堡菜单按钮（移动端） */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  /* 固定汉堡菜单尺寸 */
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   轮播Banner区域
   ======================================== */
.hero-carousel {
  /* 固定上边距 */
  padding-top: 80px;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* 添加浅色背景 */
  background-color: #f8f8f8;
}

.hero-swiper {
  width: 100%;
  height: 720px;
  position: relative;
}

.swiper-slide {
  width: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #f4f9e1;
}

.banner-image {
  width: 100%;
  height: 100%;
  /* 使用cover填满容器，固定宽度设计下最佳选择 */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Swiper 自定义样式 */
.swiper-pagination {
  bottom: 40px !important;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  opacity: 0.5;
  transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 6px;
  opacity: 1;
  background-color: var(--color-secondary);
}

.swiper-button-prev,
.swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all var(--transition-base);
  z-index: 10;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  color: var(--color-white);
  font-weight: 700;
}

/* ========================================
   占位页面区域
   ======================================== */
.page-section {
  min-height: 600px;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-section:nth-child(even) {
  background-color: #f9f9f9;
}

.page-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
}

.page-section p {
  font-size: var(--font-size-md);
  color: var(--color-gray);
}

/* ========================================
   响应式设计
   ======================================== */

/* 超大屏幕 (> 1600px) - 确保不会过大 */
@media (min-width: 1600px) {
  .navbar-container {
    max-width: 1600px;
    margin: 0 auto; /* 超大屏居中 */
  }
}

/* 平板端 (768px - 1199px) */
@media (max-width: 1199px) {
  /* clamp已处理，无需额外设置 */
}

/* 平板端 (768px - 1024px) */
@media (max-width: 1024px) {
  .navbar {
    height: 70px;
  }

  .navbar-container {
    padding: 0 30px;
  }

  .logo-icon {
    height: 50px;
  }

  .logo-guanyou {
    height: 50px;
  }

  .logo-xueshen {
    height: 44px;
  }

  .hamburger {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
    max-width: none;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    color: var(--color-text-primary);
  }

  .nav-item::after {
    display: none;
  }

  .nav-item.active {
    background-color: #f9f9f9;
    color: var(--color-primary);
  }

  .hero-carousel {
    padding-top: 70px;
    background-color: transparent;
  }

  .hero-swiper {
    height: auto;
    aspect-ratio: 2.38;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* 移动端 (< 768px) */
@media (max-width: 767px) {
  /* 导航栏移动端样式 */
  .navbar {
    height: 60px;
  }

  .navbar-container {
    padding: 0 20px;
  }

  .logo-icon {
    height: 40px;
  }

  .logo-guanyou {
    height: 40px;
  }

  .logo-xueshen {
    height: 35px;
  }

  .hamburger {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    font-size: 16px;
  }

  .nav-item::after {
    display: none;
  }

  .nav-item.active {
    background-color: #f9f9f9;
  }

  /* 轮播区域移动端样式 */
  .hero-carousel {
    padding-top: 60px;
    background-color: transparent;
  }

  .hero-swiper {
    height: auto;
    aspect-ratio: 2.38;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .swiper-pagination {
    bottom: 20px !important;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .swiper-pagination-bullet-active {
    width: 20px;
  }

  /* 页面区域 */
  .page-section {
    min-height: 400px;
    padding: 60px 0;
  }

  .page-section h2 {
    font-size: 28px;
  }

  .page-section p {
    font-size: var(--font-size-base);
  }
}

/* 小屏移动端 (< 480px) */
@media (max-width: 479px) {
  .hero-swiper {
    height: auto;
    aspect-ratio: 2.38;
  }

  .swiper-slide {
    background-size: cover;
  }

  .swiper-pagination {
    bottom: 15px !important;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .swiper-pagination-bullet-active {
    width: 16px;
  }
}


/* ========================================
   机构介绍区域
   ======================================== */
.introduce-section {
  background-color: #FFFFFF;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.introduce-container {
  width: 100%;
  padding: 0;
}

/* 上部区域 - 左图片 + 右文字 */
.introduce-top {
  display: flex;
  align-items: stretch;
  background-color: #F9F6ED;
}

/* 左侧图片 - 固定尺寸设计 */
.introduce-left-image {
  flex: 0 0 auto;
  /* 固定宽度 */
  width: 40%;
  /* 使用图片实际宽高比 3346/1480 ≈ 2.26 */
  aspect-ratio: 2.26;
  background-color: #f4f9e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右侧文字内容 */
.introduce-right-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 35px 40px 60px;
  background-color: #f4f9e1;
}

.introduce-description {
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.introduce-description:last-of-type {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 0;
}

.introduce-description p {
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.highlight-text {
  color: #FF6B00;
  font-weight: 600;
}

.introduce-more {
  display: inline-block;
  font-size: 32px;
  font-weight: 500;
  color: #C5D600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all var(--transition-base);
  letter-spacing: 1px;
  cursor: default;
  flex-shrink: 0;
}

/* 资质按钮 - 使用标准按钮系统 */
.credential-badge {
  flex-shrink: 0;
  margin-left: auto;
}

/* 下部时间轴图片 - 固定尺寸设计 */
.introduce-bottom {
  width: 100%;
  /* 使用图片实际宽高比 4536/1480 ≈ 3.06 */
  aspect-ratio: 3.06;
  background-color: #f4f9e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-timeline-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1199px) {
  .introduce-right-content {
    padding: 40px 50px;
  }

  .introduce-description p {
    font-size: 16px;
  }
}

/* 平板端 */
@media (max-width: 1024px) {
  .introduce-left-image {
    width: 40%;
    aspect-ratio: 2.26;
  }

  .introduce-right-content {
    flex: 1;
    padding: 25px 20px;
    justify-content: center;
  }

  .introduce-description {
    margin-bottom: 20px;
  }

  .introduce-description p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .introduce-description:last-of-type {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
  }

  .introduce-more {
    font-size: 20px;
    white-space: nowrap;
  }

  .credential-badge {
    margin-left: 0;
    align-self: stretch;
    width: 100%;
  }

  .introduce-bottom {
    aspect-ratio: 3.06;
  }

  .bottom-timeline-image {
    object-fit: cover;
  }
}

/* 手机端 */
@media (max-width: 767px) {
  .introduce-top {
    flex-direction: column;
  }

  .introduce-left-image {
    width: 100%;
    aspect-ratio: 2.26;
  }

  .top-left-image {
    object-fit: cover;
  }

  .introduce-right-content {
    padding: 25px 20px;
  }

  .introduce-description p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .introduce-description:last-of-type {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .introduce-more {
    font-size: 18px;
  }

  .credential-badge {
    align-self: stretch;
    text-align: center;
  }

  .introduce-bottom {
    aspect-ratio: 3.06;
  }
}

/* 小屏手机 */
@media (max-width: 479px) {
  .introduce-left-image {
    aspect-ratio: 2.26;
  }

  .introduce-right-content {
    padding: 20px 15px;
  }

  .introduce-description p {
    font-size: 12px;
  }

  .introduce-more {
    font-size: 16px;
  }

  .introduce-bottom {
    aspect-ratio: 3.06;
  }
}


/* ========================================
   教学成果区域
   ======================================== */
.achievement-section {
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.achievement-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* 固定最大高度 */
  max-height: 700px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .achievement-container {
      padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .achievement-container {
      padding: 0 40px;
  }
}

/* ========================================
   师资力量区域
   ======================================== */
.teachers-section {
  background-color: #FFFFFF;
  /* padding-bottom: 80px; */
}

.teachers-container {
  width: 100%;
  padding: 0 60px;
}

/* 顶部标题 */
.teachers-header {
  text-align: center;
  width: 100%;
}

.teachers-title-image {
  /* 固定宽度 */
  max-width: 40%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 下部内容 */
.teachers-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* margin-top: 40px; */
}

/* 教师层级 - 使用标准卡片系统 */
.teacher-layer {
  padding: var(--spacing-lg);
}

/* 层级标题区 */
.layer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #E0E0E0;
}

.layer-title {
  font-size: 32px;
  font-weight: 600;
  color: #444444;
  margin: 0;
  flex: 1;
  /* display: flex; */
  text-align: center;
  align-items: center;
  gap: 8px;
}

.layer-subject {
  color: #FF6B00;
  font-weight: 700;
  font-size: 32px;
}

.layer-arrow {
  color: #FF6B00;
  font-weight: 400;
  font-size: 32px;
  margin-left: 4px;
}

/* 导航按钮 - 使用标准按钮系统 */
.layer-nav {
  display: flex;
  gap: var(--spacing-sm);
}

.nav-btn {
  color: var(--color-text-primary);
  font-size: 18px;
}

.nav-btn:hover {
  transform: scale(1.05);
}

.nav-btn:disabled {
  transform: scale(1);
}

/* 教师卡片容器 */
.layer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  padding: 10px 20px;
}

/* 单个教师卡片 */
.teacher-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 教师头像 - 完美椭圆形（使用固定尺寸和border-radius: 50%） */
.teacher-avatar {
  width: 200px;
  height: 230px;
  border: 1px solid #E8E8E8;
  border-radius: 40%; /* 完美的椭圆形 */
  overflow: hidden;
  margin-bottom: 15px;
  background: #E8E8E8;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 教师信息 */
.teacher-profile-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #444444;
}

.teacher-profile-name {
  font-size: 22px;
  font-weight: 700;
  /* color: #333333; */
  margin-bottom: 12px;
  text-align: center;
}

/* 教师详细信息 - 3行（教龄、职位、毕业学校） */
.teacher-profile-details {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  /* color: #666666; */
  text-align: left;
  padding: 0;
}

.teacher-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  line-height: (--line-height-base);
  white-space: nowrap;
}

.teacher-detail-row::before {
  content: '✓';
  color: #FF6B00;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 教学特点卡片 */
.teacher-feature-card {
  background: #FFFAEB;
  border-radius: 10px;
  padding: 12px 15px;
  text-align: left;
  position: relative;
  border: 1px solid #FFE8B3;
  margin: 8px auto 0;
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 160px;
}

/* 上部分：图标+文字 */
.feature-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(46%) sepia(93%) saturate(2476%) hue-rotate(360deg) brightness(102%) contrast(104%);
}

.feature-title {
  font-size: 13px;
  font-weight: 600;
  color: #FF6B00;
}

/* 中间部分：文字描述 */
.teacher-feature-text {
  font-size: 12px;
  line-height: 1.6;
  /* color: #333333; */
  margin: 0;
  /* text-align: left; */
  text-indent: 2em;
  word-break: break-word;
}

/* 分割线 */
.feature-divider {
  width: 100%;
  height: 1px;
  background: #E0E0E0;
  margin: 4px 0;
}

/* 下部分：英文 */
.feature-english {
  font-size: 10px;
  color: #999999;
  margin: 0;
  text-align: left;
  /* font-style: italic; */
}

/* 响应式 */
@media (max-width: 1199px) {
  .layer-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .teachers-container {
    padding: 0 40px;
  }

  .teachers-title-image {
    max-width: 60%;
  }

  .layer-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .layer-title {
    font-size: 26px;
  }

  .layer-subject {
    font-size: 26px;
  }

  .layer-arrow {
    font-size: 26px;
  }

  .teacher-layer {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .teachers-section {
    padding: 60px 0;
  }

  .teachers-container {
    padding: 0 20px;
  }

  .teachers-title-image {
    max-width: 80%;
  }

  .layer-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .layer-title {
    font-size: 20px;
  }

  .layer-subject {
    font-size: 20px;
  }

  .layer-arrow {
    font-size: 20px;
  }

  .layer-cards {
    grid-template-columns: 1fr;
  }

  .teacher-layer {
    padding: 20px;
  }
}

/* ========================================
   家长选课区域
   ======================================== */
.courses-section {
  background-color: #FFFFFF;
  /* padding: 80px 0; */
}

.courses-container {
  width: 100%;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 顶部标题 */
.subjects-title {
  text-align: center;
  /* margin-bottom: 20px; */
}

.subject-title-image {
  /* 固定宽度 */
  max-width: 35%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 下部左右布局 */
.courses-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* 左侧科目区域 */
.subjects-area {
  flex: 0 0 auto;
  width: 60%;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #444444;
  margin-bottom: 40px;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 科目卡片 - 使用标准卡片系统 */
.subject-card {
  display: flex;
  flex-direction: column;
}

.subject-card:hover {
  transform: translateY(-5px);
}

.subject-card.active {
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-primary) !important;
  transform: translateY(-3px);
}

.subject-card.active .subject-info {
  background: linear-gradient(135deg, #FFF5ED 0%, #FFFFFF 100%);
}

.subject-image {
  /* width: 100%; */
  /* 固定高度 */
  /* height: 200px; */
  object-fit: cover;
  display: block;
  background-color: #f5f5f5;
}

.subject-info {
  padding: 15px 20px;
  background: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.subject-name {
  font-size: 20px;
  font-weight: 600;
  color: #444444;
}

/* 科目按钮 - 使用标准按钮系统 */
.subject-btn {
  flex-shrink: 0;
  border-radius: var(--radius-full);
}

.subject-btn:hover {
  transform: scale(1.05);
}

/* 右侧教师推荐区域 */
.teachers-area {
  flex: 1;
  min-width: 0;
  border: 3px solid #f5f5f5;
}

.teachers-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  /* margin-bottom: 30px; */
  text-align: center;
  line-height: normal;
  background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
}

.teachers-title .highlight {
  color: #FF6B00;
}

.teachers-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 30px;
}

/* 教师推荐卡片 - 使用标准卡片系统 */
.teacher-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.teacher-card:hover {
  transform: translateY(-3px);
}

.teacher-photo {
  width: 130px;
  height: 150px;
  /* border-radius: 40%; */
  border: 1px solid #FF8C00 ;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #E8E8E8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.teacher-info {
  padding: 15px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.teacher-text {
  line-height: 1.6;
}

.teacher-name {
  font-size: 20px;
  font-weight: 700;
  color: #444444;
  margin: 0;
}

.teacher-subject {
  font-size: 16px;
  font-weight: 600;
  color: #666666;
  margin: 0;
}

.teacher-university {
  font-size: 16px;
  font-weight: 600;
  color: #666666;
  margin: 0;
}

.teacher-details {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.teacher-detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.teacher-detail-item::before {
  content: '✓';
  color: #FF6B00;
  font-weight: 700;
  margin-right: 6px;
}

/* ========================================
   教学地点区域
   ======================================== */
.campus-section {
  background-color: #FFFFFF;
  padding-top: 60px;
  overflow: hidden;
  width: 100%;
}

/* 上部标题 */
.campus-header {
  text-align: center;
  padding: 60px 0 40px;
  background-color: #FFFFFF;
}

.campus-title {
  font-size: 42px;
  font-weight: 700;
  color: #444444;
  margin: 0;
}

/* 中部轮播区域 */
.campus-carousel {
  background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
  padding: 40px 0 60px;
  position: relative;
  margin: 0 60px;
}

/* Tab切换 */
.campus-tabs {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

.campus-tab {
  background: transparent;
  border: none;
  color: #FFE4B5;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 20px;
  transition: all var(--transition-base);
  position: relative;
}

.campus-tab.active {
  color: #FFFFFF;
  font-weight: 700;
}

.campus-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #FFFFFF;
}

.campus-tab:hover {
  color: #FFFFFF;
}

/* Swiper轮播 */
.campus-swiper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

.campus-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.campus-swiper .swiper-slide img {
  width: 100%;
  max-width: 400px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 轮播箭头 - 使用标准按钮系统 */
.campus-prev,
.campus-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.campus-prev {
  left: 20px;
}

.campus-next {
  right: 20px;
}

.campus-prev:hover,
.campus-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.campus-prev::after,
.campus-next::after {
  color: var(--color-white);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}

/* 下部区域 */
.campus-bottom {
  background-color: #F9F9F9;
  padding: 60px 60px;
}

.campus-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 10%;
  align-items: stretch;
  height: 500px;
}

/* 左侧地点列表 */
.campus-locations {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  color: #000000;
  padding: 4px 0;
  transition: all var(--transition-base);
  cursor: default;
}

.location-item:not(.contact):hover {
  color: #FF6B00;
}

.location-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon svg {
  width: 100%;
  height: 100%;
}

.location-number {
  width: 40px;
  height: 40px;
  /* background-color: #FF6B00; */
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.location-name {
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.4;
}

.location-item.contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #DDDDDD;
}

.location-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.location-phone {
  font-size: 22px;
  font-weight: 700;
  color: #444444;
  white-space: nowrap;
}

/* 右侧地图 */
.campus-map {
  flex: 0 0 60%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 1199px) {
  .campus-title {
    font-size: 36px;
  }

  .campus-tabs {
    gap: 40px;
  }

  .campus-tab {
    font-size: 18px;
  }

  .campus-container {
    padding: 0 40px;
    gap: 50px;
  }

  .location-item {
    font-size: 17px;
  }

  .location-number {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .location-phone {
    font-size: 20px;
  }
}

/* 平板端 */
@media (max-width: 1024px) {
  .campus-header {
    padding: 50px 30px 35px;
  }

  .campus-title {
    font-size: 32px;
  }

  .campus-carousel {
    margin: 0 30px;
    padding: 35px 0 50px;
  }

  .campus-tabs {
    gap: 30px;
  }

  .campus-tab {
    font-size: 16px;
    padding: 10px 24px;
  }

  .campus-swiper {
    padding: 0 60px;
  }

  .campus-swiper .swiper-slide img {
    max-width: 100%;
    height: 240px;
  }

  .campus-prev,
  .campus-next {
    width: 45px;
    height: 45px;
  }

  .campus-prev {
    left: 15px;
  }

  .campus-next {
    right: 15px;
  }

  .campus-container {
    padding: 0 30px;
  }
}

/* 手机端 */
@media (max-width: 767px) {
  .campus-header {
    padding: 40px 20px 30px;
  }

  .campus-title {
    font-size: 24px;
    font-weight: 700;
  }

  .campus-carousel {
    margin: 0 20px;
    padding: 25px 0 35px;
  }

  .campus-tabs {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .campus-tab {
    font-size: 14px;
    padding: 8px 18px;
  }

  .campus-swiper {
    padding: 0 45px;
  }

  .campus-swiper .swiper-slide img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .campus-prev,
  .campus-next {
    width: 35px;
    height: 35px;
  }

  .campus-prev::after,
  .campus-next::after {
    font-size: 16px;
  }

  .campus-prev {
    left: 5px;
  }

  .campus-next {
    right: 5px;
  }

  .campus-bottom {
    padding: 40px 0;
  }

  .campus-container {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }

  .campus-locations {
    width: 100%;
  }

  .location-item {
    font-size: 16px;
  }

  .location-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .location-icon {
    font-size: 24px;
  }

  .location-phone {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .campus-header {
    padding: 40px 15px 25px;
  }

  .campus-title {
    font-size: 20px;
    font-weight: 700;
  }

  .campus-carousel {
    margin: 0 15px;
    padding: 20px 0 30px;
  }

  .campus-tabs {
    gap: 12px;
  }

  .campus-tab {
    font-size: 13px;
    padding: 6px 14px;
  }

  .campus-swiper {
    padding: 0 50px;
  }

  .campus-swiper .swiper-slide img {
    height: 180px;
  }

  .campus-prev,
  .campus-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* ========================================
   底部区域
   ======================================== */
.footer {
  background-color: #FFFFFF;
  width: 100%;
}

/* 上层：LOGO + 课程预约 */
.footer-top {
  background-color: #E8E8E8;
  padding: 50px 0;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 0 60px; */
}

.footer-top .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* 左侧LOGO */
.footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
}

.footer-logo-image {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-logo-icon {
  height: 20px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

/* 右侧课程预约 */
.footer-reservation {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 850px;
}

.reservation-icon {
  flex-shrink: 0;
}

.reservation-icon svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.reservation-form {
  flex: 1;
}

.reservation-header {
  margin-bottom: 20px;
}

.reservation-title-main {
  font-size: 24px;
  font-weight: 700;
  color: #FF6B00;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.reservation-title-sub {
  font-size: 20px;
  font-weight: 600;
  color: #444444;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.reservation-title-en {
  font-size: 10px;
  font-weight: 400;
  color: #999999;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

#reservationForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.form-input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 2px solid #D0D0D0;
  border-radius: 4px;
  font-size: 15px;
  color: #444444;
  background-color: #FFFFFF;
  transition: all var(--transition-base);
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:hover {
  border-color: #B0B0B0;
}

.form-input:focus {
  outline: none;
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  background-color: #FFFBF8;
}

.form-input::placeholder {
  color: #AAAAAA;
  font-size: 14px;
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
  .form-input {
    font-size: 16px;
  }

  .form-input::placeholder {
    font-size: 15px;
  }
}

/* 下拉框样式 */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  padding: 10px;
  font-size: 15px;
}

.form-select:hover {
  border-color: #FF6B00;
}

/* 提交按钮 - 使用标准按钮系统 */
.submit-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  /* 鼠标悬停时整体按钮效果由基础按钮样式控制 */
}

/* 下层：联系信息 */
.footer-bottom {
  background-color: #444444;
  padding: 30px 0;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-credential {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-label {
  font-size: 14px;
  color: #999999;
}

.info-value {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 500;
}

.info-value a,
a.info-value {
  color: #FFFFFF;
  text-decoration: none;
  transition: all var(--transition-base);
}

.info-value a:hover,
a.info-value:hover {
  color: #FF6B00;
  text-decoration: underline;
}

.info-divider {
  color: #666666;
  font-size: 14px;
}

.footer-copyright {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444444;
}

.footer-copyright p {
  font-size: 13px;
  color: #999999;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1199px) {
  .footer-top {
    padding: 30px 0;
  }

  .footer-top .footer-container {
    gap: 50px;
  }

  .footer-logo {
    min-width: 240px;
  }

  .footer-logo-image {
    height: 100px;
  }

  .reservation-icon svg {
    width: 70px;
    height: 70px;
  }

  .reservation-title-main {
    font-size: 22px;
  }

  .reservation-title-sub {
    font-size: 18px;
  }

  .reservation-title-en {
    font-size: 9px;
  }

  .form-input {
    height: 46px;
    font-size: 14px;
  }
}

/* 平板端优化 */
@media (max-width: 1024px) {
  .footer-top {
    padding: 40px 0;
  }

  .footer-container {
    padding: 0 40px;
  }

  .footer-top .footer-container {
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }

  .footer-logo {
    min-width: auto;
  }

  .footer-logo-image {
    height: 90px;
  }

  .footer-reservation {
    width: 100%;
    max-width: 600px;
    gap: 25px;
  }

  .reservation-icon {
    display: none;
  }

  .reservation-header {
    text-align: center;
  }

  .reservation-title-main {
    font-size: 20px;
  }

  .reservation-title-sub {
    font-size: 17px;
  }

  .form-input {
    height: 50px;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 6px;
  }

  .form-select {
    height: 50px;
    font-size: 16px;
    background-position: right 12px center;
    padding-right: 38px;
  }

  .submit-btn {
    height: 50px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 6px;
  }

  .footer-info {
    gap: 15px;
  }

  .footer-credential {
    gap: 15px;
  }

  .footer-logo-icon {
    height: 18px;
  }

  .info-label,
  .info-value {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: 30px 0;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-top .footer-container {
    flex-direction: column;
    gap: 25px;
  }

  .footer-logo {
    min-width: auto;
  }

  .footer-logo-image {
    height: 70px;
  }

  .footer-reservation {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }

  .reservation-icon {
    display: none;
  }

  .reservation-header {
    text-align: center;
    margin-bottom: 15px;
  }

  .reservation-title-main {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .reservation-title-sub {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .reservation-title-en {
    font-size: 8px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .form-input {
    width: 100%;
    height: 52px;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 8px;
    border-width: 2px;
  }

  .form-select {
    height: 52px;
    font-size: 16px;
    background-position: right 12px center;
    padding-right: 40px;
    background-size: 14px;
  }

  .submit-btn {
    height: 52px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 4px;
  }

  .footer-bottom {
    padding: 25px 0;
  }

  .footer-info {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .footer-credential {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .info-divider {
    display: none;
  }

  .info-item {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .info-label {
    font-size: 12px;
    color: #888888;
  }

  .info-value {
    font-size: 14px;
    font-weight: 600;
  }

  .footer-logo-icon {
    height: 16px;
    margin-right: 3px;
  }

  .info-value a,
  a.info-value {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-copyright {
    padding-top: 18px;
  }

  .footer-copyright p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* 小屏手机优化 */
@media (max-width: 479px) {
  .footer-top {
    padding: 25px 0;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-logo-image {
    height: 60px;
  }

  .reservation-header {
    margin-bottom: 12px;
  }

  .reservation-title-main {
    font-size: 16px;
  }

  .reservation-title-sub {
    font-size: 14px;
  }

  .form-input {
    height: 50px;
    font-size: 16px;
    padding: 0 14px;
  }

  .form-select {
    height: 50px;
    font-size: 16px;
  }

  .submit-btn {
    height: 50px;
    font-size: 16px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-credential {
    gap: 10px;
  }

  .footer-logo-icon {
    height: 14px;
    margin-right: 2px;
  }

  .info-label {
    font-size: 11px;
  }

  .info-value {
    font-size: 13px;
  }

  .info-value a,
  a.info-value {
    font-size: 13px;
  }

  .footer-copyright p {
    font-size: 10px;
  }
}

/* ========================================
   教师详情弹窗
   ======================================== */
.teacher-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-modal);
  display: none;
  align-items: center;
  justify-content: center;
}

.teacher-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 1200px;
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
  background: #FFFFFF;
  transform: rotate(90deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* 弹窗顶部标题 */
.modal-header {
  padding: 30px 40px 20px;
  border-bottom: 2px solid #E0E0E0;
  background: #FFFFFF;
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #444444;
  margin: 0;
  text-align: center;
}

.modal-title-highlight {
  color: #FF6B00;
}

/* 弹窗主体内容 */
.modal-body {
  display: flex;
  max-height: calc(90vh - 100px);
  overflow: hidden;
}

.modal-left {
  flex: 0 0 400px;
  background: #FFFFFF;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 60px;
  overflow-y: auto;
}

.modal-teacher-image {
  max-width: 100%;
  height: -webkit-fill-available;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.modal-right {
  flex: 1;
  padding: 30px 60px 60px 0px;
  overflow-y: auto;
  background: #FFFFFF;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  padding: 15px 20px;
  background: #F5F5F5;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
}

.schedule-item:hover {
  background: #EBEBEB;
}

.schedule-item.active {
  background: #FF8C00;
  color: #FFFFFF;
}

/* 年级 */
.schedule-grade {
  font-weight: 700;
  color: #444444;
  min-width: 50px;
  flex-shrink: 0;
}

.schedule-item.active .schedule-grade {
  color: #FFFFFF;
}

/* 分隔线 */
.schedule-divider {
  width: 2px;
  height: 30px;
  background: #D0D0D0;
  flex-shrink: 0;
  border-right: 2px dashed #D0D0D0;
  background: transparent;
}

.schedule-item.active .schedule-divider {
  border-right-color: rgba(255, 255, 255, 0.5);
}

/* 星期几数字图标 */
.schedule-day {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FF8C00;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.schedule-item.active .schedule-day {
  background: #FFFFFF;
  color: #FF8C00;
}

/* 课程名称（带橙色背景） */
.schedule-level {
  /* padding: 4px 12px; */
  /* background: #FF8C00; */
  color: #FF8C00;
  /* border-radius: 4px; */
  font-weight: 700;
  white-space: nowrap;
}

.schedule-course {
  /* padding: 4px 12px; */
  /* background: #FF8C00; */
  color: #444444;
  /* border-radius: 4px; */
  font-weight: 700;
  white-space: nowrap;
}

.schedule-item.active .schedule-level {
  /* background: #FFFFFF; */
  color: #c5d600;
}

/* 上下午标识 */
.schedule-period {
  font-weight: 700;
  color: #666666;
  /* min-width: 32px; */
}

.schedule-item.active .schedule-period {
  color: #FFFFFF;
}

/* 时间 */
.schedule-time {
  font-weight: 600;
  color: #444444;
}

.schedule-item.active .schedule-time {
  color: #FFFFFF;
}

/* 响应式 - 家长选课区域 */
@media (max-width: 1199px) {
  .courses-container {
    padding: 0 40px;
    gap: 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .teachers-title {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .subject-title-image {
    max-width: 50%;
  }

  .courses-content {
    flex-direction: column;
    gap: 40px;
  }

  .subjects-area {
    width: 100%;
  }

  .teachers-area {
    width: 100%;
  }

  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .subject-card {
    min-height: auto;
  }

  .subject-name {
    font-size: 18px;
  }

  .teachers-list {
    padding: 20px;
    gap: 20px;
  }

  .teacher-card {
    flex-direction: row;
  }

  .teacher-photo {
    width: 100px;
    height: 115px;
  }

  .teacher-info {
    padding: 10px 15px;
  }

  .teacher-name {
    font-size: 18px;
  }

  .teacher-subject {
    font-size: 14px;
  }

  .teacher-university {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .courses-section {
    padding: 60px 0;
  }

  .courses-container {
    padding: 0 20px;
    gap: 30px;
  }

  .subject-title-image {
    max-width: 70%;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .courses-content {
    gap: 30px;
  }

  .subjects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .subject-card {
    flex-direction: row;
    align-items: center;
  }

  .subject-image {
    width: 200px;
    height: 100px;
    object-fit: cover;
  }

  .subject-info {
    flex: 1;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .subject-name {
    font-size: 16px;
  }

  .subject-btn {
    font-size: 13px;
    padding: 6px 16px;
  }

  .teachers-area {
    border: none;
  }

  .teachers-title {
    font-size: 22px;
    padding: 12px 0;
  }

  .teachers-list {
    padding: 15px;
    gap: 15px;
  }

  .teacher-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .teacher-photo {
    width: 120px;
    height: 140px;
  }

  .teacher-info {
    width: 100%;
    padding: 15px;
    align-items: center;
  }

  .teacher-name {
    font-size: 16px;
  }

  .teacher-subject {
    font-size: 14px;
  }

  .teacher-university {
    font-size: 12px;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px 15px 15px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-title-highlight {
    font-size: 18px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .modal-body {
    flex-direction: column;
    max-height: calc(95vh - 70px);
  }

  .modal-left {
    flex: 0 0 auto;
    padding: 20px;
  }

  .modal-teacher-image {
    max-height: 300px;
    width: auto;
    object-fit: contain;
  }

  .modal-right {
    padding: 20px;
  }

  .schedule-list {
    gap: 12px;
  }

  .schedule-item {
    padding: 12px;
    font-size: 13px;
    gap: 8px;
  }

  .schedule-grade {
    font-size: 14px;
    min-width: 30px;
  }

  .schedule-day {
    font-size: 14px;
    min-width: 30px;
  }

  .schedule-course {
    font-size: 12px;
  }

  .schedule-level {
    font-size: 12px;
  }

  .schedule-period {
    font-size: 13px;
  }

  .schedule-time {
    font-size: 13px;
  }
}

/* ========================================
   资质证书弹窗
   ======================================== */
.credential-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-modal);
  display: none;
  align-items: center;
  justify-content: center;
}

.credential-modal.active {
  display: flex;
}

.credential-modal-content {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
}

.credential-title {
  color: #FF6B00;
  font-size: 28px;
  font-weight: 700;
}

.credential-highlight {
  color: #FF6B00;
  font-weight: 700;
  font-size: 32px;
}

.credential-image-container {
  padding: 20px;
  background: #FFFFFF;
  border-radius: 8px;
  height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
}

.credential-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式 */
@media (max-width: 1024px) {
  .credential-title {
    font-size: 22px;
  }

  .credential-highlight {
    font-size: 26px;
  }

  .credential-image-container {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .credential-title {
    font-size: 18px;
  }

  .credential-highlight {
    font-size: 20px;
  }

  .credential-modal-content {
    width: 95%;
  }

  .credential-image-container {
    height: 400px;
    padding: 15px;
  }
}

/* ========================================
   桌面端布局 - 固定宽度设计（类似天猫/京东）
   ======================================== */
@media (min-width: 1200px) {
  /* 主容器固定最大宽度并居中 */
  .page-wrapper,
  .hero-carousel,
  .introduce-container,
  .achievement-section,
  .teachers-container,
  .courses-container,
  .campus-section,
  .footer {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 页面容器添加阴影效果 */
  .page-wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  }
}

.b-slider-box {
    background-repeat: no-repeat;
    background-position: 50%;
    width: 100%;
    background-size: cover;
}