/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a3a6b;
  --primary-light: #2b5ea7;
  --primary-dark: #0f2447;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --bg-gray: #eef1f5;
  --border: #e0e4e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 6px;
  --max-width: 1200px;
  --header-height: 110px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.hero-prev,
.hero-next {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dots .dot.active {
  background: #fff;
}

/* ===== Header ===== */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0 0 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-slogan {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 2px;
}

.logo-slogan .slogan-zh {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
}

.logo-slogan .slogan-en {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

.logo-text {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.header-contact svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ===== Navigation ===== */
.nav {
  background: var(--primary);
}

.nav-list {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 8px;
  padding: 0 16px;
}

.nav-item {
  flex: 0 0 auto;
}

.nav-item a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  transition: all 0.2s;
  position: relative;
  border-radius: 4px 4px 0 0;
  white-space: nowrap;
}

.nav-item a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-item a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent-light);
  border-radius: 2px 2px 0 0;
}

/* ===== Mobile Nav Toggle ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Home Layout (Banner + News) ===== */
.home-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.home-banner {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--bg-gray);
  border-radius: var(--radius);
}

.home-banner .banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-banner .banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-banner .banner-slide.active {
  opacity: 1;
}

.home-banner .banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-banner .banner-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  z-index: 5;
}

.home-banner .banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.home-banner .banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.home-banner .banner-dots .dot.active {
  background: #fff;
  transform: scale(1.2);
}

.home-banner .banner-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}

.home-banner .banner-arrows button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.home-banner .banner-arrows button:hover {
  background: rgba(255,255,255,0.45);
}

.home-news {
  display: flex;
  flex-direction: column;
  height: 480px;
}

/* ===== News Tabs ===== */
.news-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(26, 58, 107, 0.04);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.tab-content.active {
  display: block;
}

.news-list,
.updates-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li,
.updates-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.news-list li:last-child,
.updates-list li:last-child {
  border-bottom: none;
}

.news-list .date,
.updates-list .date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-light);
  min-width: 45px;
}

.news-list .title,
.updates-list .title {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-list .title:hover,
.updates-list .title:hover {
  color: var(--accent);
}

/* ===== Section ===== */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title .divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 10px;
}

/* ===== News & Updates (Two Column) ===== */
.news-updates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.news-block,
.updates-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
}

.block-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.block-header .more {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.block-header .more:hover {
  color: #fff;
}

.news-list,
.updates-list {
  padding: 8px 0;
}

.news-list li,
.updates-list li {
  display: flex;
  align-items: flex-start;
  padding: 12px 20px;
  border-bottom: 1px dashed var(--border);
  transition: background 0.2s;
}

.news-list li:last-child,
.updates-list li:last-child {
  border-bottom: none;
}

.news-list li:hover,
.updates-list li:hover {
  background: var(--bg-light);
}

.news-list .date,
.updates-list .date {
  flex-shrink: 0;
  width: 80px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 2px;
}

.news-list .title,
.updates-list .title {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list .title:hover,
.updates-list .title:hover {
  color: var(--accent);
}

/* ===== Business Segments ===== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.biz-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s;
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.biz-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.biz-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.biz-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Friend Links ===== */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.friend-links a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s;
}

.friend-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f0f6ff;
}

/* ===== Hotline ===== */
.hotline-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hotline-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hotline-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.hotline-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hotline-numbers {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  margin-bottom: 14px;
}

.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.8);
}

/* ===== Page Banner (Sub pages) ===== */
.page-banner {
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ===== Content Area ===== */
.content-area {
  padding: 50px 0;
}

.content-area .container {
  max-width: 1000px;
}

.content-text {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

.content-text p {
  margin-bottom: 20px;
  text-indent: 2em;
  line-height: 1.9;
}

.content-text .intro-lead {
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  text-indent: 2em;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.content-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  gap: 16px;
}

.content-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.content-divider svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.6;
}

.highlight-box {
  display: flex;
  gap: 20px;
  margin: 28px 0;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 58, 107, 0.3);
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.highlight-content {
  flex: 1;
}

.highlight-content h4 {
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 12px;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  text-indent: 0;
  color: #555;
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.feature-list li strong {
  color: var(--primary);
  font-weight: 600;
}

.content-text h2 {
  font-size: 22px;
  color: var(--primary);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  text-indent: 0;
}

.content-text h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 28px 0 12px;
  text-indent: 0;
}

.content-text ul,
.content-text ol {
  margin: 12px 0 20px 2em;
  /*list-style: disc;*/
}

.content-text li {
  margin-bottom: 8px;
}

.content-image {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

/* ===== Vision Page ===== */
.vision-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0fe 100%);
}

.vision-hero .vision-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-hero .vision-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.vision-hero h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.vision-hero .vision-text {
  font-size: 22px;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.vision-card {
  text-align: center;
  padding: 30px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.vision-card .card-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.vision-card h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.vision-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Course Cards ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.course-card-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-card-header .grade {
  font-size: 20px;
  font-weight: 700;
}

.course-card-header .price {
  font-size: 24px;
  font-weight: 700;
}

.course-card-header .price span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
}

.course-card-body {
  padding: 24px;
}

.course-card-body .course-section {
  margin-bottom: 18px;
}

.course-card-body .course-section:last-child {
  margin-bottom: 0;
}

.course-card-body .course-section h4 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-card-body .course-section h4::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}

.course-card-body .course-section p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Table ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.data-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tr:nth-child(even) {
  background: var(--bg-light);
}

.data-table tr:hover {
  background: #f0f6ff;
}

/* ===== FAQ ===== */
.faq-list {
  margin: 24px 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  background: var(--bg-light);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: #e8f0fe;
}

.faq-question .arrow {
  transition: transform 0.3s;
  font-size: 12px;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contact-info-item .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info-item .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* ===== Elective Courses ===== */
.elective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.elective-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.elective-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.elective-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.elective-info h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
}

.elective-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .logo img {
    height: 36px;
    max-width: 130px;
  }

  .logo-slogan .slogan-zh {
    font-size: 12px;
  }

  .logo-slogan .slogan-en {
    font-size: 10px;
  }

  .footer-brand .footer-logo img {
    height: 34px;
    max-width: 130px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    height: auto;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-item a {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-banner {
    height: 320px;
  }

  .home-news {
    height: auto;
  }

  .news-tabs {
    margin-bottom: 12px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .tab-content {
    max-height: 300px;
  }

  .news-updates {
    grid-template-columns: 1fr;
  }

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

  .course-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }

  .highlight-box {
    flex-direction: column;
    padding: 20px;
  }

  .highlight-icon {
    width: 40px;
    height: 40px;
  }

  .highlight-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 32px;
    max-width: 110px;
  }

  .logo-slogan .slogan-en {
    display: none;
  }

  .footer-brand .footer-logo img {
    height: 30px;
    max-width: 110px;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

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

  .friend-links {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== Article Detail Page ===== */
.article-detail {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: var(--shadow);
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.article-breadcrumb a:hover {
  color: var(--accent);
}

.article-breadcrumb .sep {
  margin: 0 8px;
  color: var(--border);
}

.article-header {
  text-align: center;
  margin-bottom: 28px;
}

.article-header h1 {
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.article-meta .meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.article-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-tags .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--accent);
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: 12px;
}

.article-cover {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

.article-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.article-body h2 {
  font-size: 20px;
  color: var(--primary);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  text-indent: 0;
}

.article-body h3 {
  font-size: 17px;
  color: var(--primary);
  margin: 24px 0 12px;
  text-indent: 0;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 18px 2em;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 6px;
  text-indent: 0;
  line-height: 1.9;
}

.article-body blockquote {
  margin: 20px 0;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--primary);
  font-size: 15px;
  text-indent: 0;
  line-height: 1.8;
}

.article-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.back-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-2px);
}

.share-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.share-links .share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.share-links .share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.share-links .share-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .article-detail {
    padding: 24px 18px;
  }

  .article-header h1 {
    font-size: 22px;
  }

  .article-meta {
    gap: 12px;
  }

  .article-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .back-link {
    justify-content: center;
  }
}
