@charset "UTF-8";
:root {
  --c-bg: #0a0f1a;
  --c-bg2: #111827;
  --c-bg3: #0f1729;
  --c-blue: #2563eb;
  --c-blue2: #3b82f6;
  --c-blue3: #60a5fa;
  --c-blue-glow: rgba(37,99,235,0.15);
  --c-text: #f1f5f9;
  --c-text2: #94a3b8;
  --c-text3: #64748b;
  --c-card: #ffffff;
  --c-border: rgba(255,255,255,0.08);
  --font: 'Microsoft YaHei','PingFang SC','Helvetica Neue',sans-serif;
}
body { font-family: var(--font); color: #1e293b; background: #fff; }

/* ===== Common Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--c-bg); letter-spacing: 1px; margin-bottom: 8px; }
.section-header .sub { font-size: 14px; color: var(--c-text3); letter-spacing: 4px; text-transform: uppercase; font-weight: 300; }
.section-header .line { width: 48px; height: 3px; background: linear-gradient(90deg, var(--c-blue), var(--c-blue3)); margin: 16px auto 0; border-radius: 2px; }
.section-header.light h2 { color: #fff; }
.section-header.light .sub { color: rgba(255,255,255,0.5); }

/* ===== Hero Banner ===== */
.hero-wrap { position: relative; height: 92vh; min-height: 520px; overflow: hidden; background: var(--c-bg); }
.hero-slider { position: absolute; inset: 0; }
.hero-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .swiper-slide { position: relative; }
.hero-slider .swiper-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,15,26,0.85) 0%, rgba(37,99,235,0.25) 50%, rgba(10,15,26,0.6) 100%); }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 5; }
.hero-content { text-align: center; color: #fff; padding: 0 24px; max-width: 900px; }
.hero-content .hero-badge { display: inline-block; padding: 6px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: 2px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content h1 span { background: linear-gradient(135deg, var(--c-blue3), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 600px; margin: 0 auto 32px; }
.hero-content .btn-hero { display: inline-block; padding: 16px 48px; background: linear-gradient(135deg, var(--c-blue), #7c3aed); color: #fff !important; border-radius: 50px; font-size: 15px; font-weight: 500; letter-spacing: 1px; text-decoration: none; box-shadow: 0 4px 20px var(--c-blue-glow); }
.hero-content .btn-hero:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.3); transform: translateY(-2px); }
.hero-wrap .ipages { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; z-index: 10; }
.hero-wrap .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; margin: 0 6px; opacity: 1; }
.hero-wrap .swiper-pagination-bullet-active { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.5); width: 28px; border-radius: 5px; }

/* ===== Section Spacing ===== */
.site-section { padding: 100px 0; }

/* ===== About Section ===== */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 16px; overflow: hidden; min-height: 400px; background-size: cover; background-position: center; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-image .about-tag { position: absolute; bottom: 30px; left: 30px; right: 30px; padding: 20px 24px; background: rgba(10,15,26,0.85); backdrop-filter: blur(8px); border-radius: 12px; color: #fff; }
.about-image .about-tag h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.about-image .about-tag p { font-size: 13px; color: rgba(255,255,255,0.6); }
.about-content h2 { font-size: 32px; font-weight: 700; color: var(--c-bg); margin-bottom: 20px; line-height: 1.3; }
.about-content p { color: #475569; line-height: 1.9; font-size: 15px; margin-bottom: 16px; }
.about-content .btn-about { display: inline-block; padding: 14px 40px; background: var(--c-blue); color: #fff !important; border-radius: 50px; font-size: 14px; font-weight: 500; letter-spacing: 1px; margin-top: 8px; }
.about-content .btn-about:hover { background: var(--c-blue2); }

/* ===== Courses Section ===== */
.courses-section { background: #f8fafc; }
.courses-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.course-card { background: #fff; border-radius: 16px; overflow: hidden; transition: transform .35s, box-shadow .35s; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.course-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.course-card .thumb { overflow: hidden; }
.course-card .thumb img { width: 100%; display: block; transition: transform .5s; }
.course-card:hover .thumb img { transform: scale(1.06); }
.course-card .info { padding: 20px 16px; text-align: center; }
.course-card .info h3 { font-size: 16px; font-weight: 600; color: #1e293b; margin: 0; }
.course-card .info .tag { display: inline-block; padding: 2px 10px; background: var(--c-blue-glow); color: var(--c-blue); border-radius: 4px; font-size: 11px; font-weight: 500; margin-bottom: 8px; }

/* ===== Showcase Section (Dark) ===== */
.showcase-section { background: linear-gradient(135deg, var(--c-bg), var(--c-bg3)); position: relative; overflow: hidden; }
.showcase-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%); pointer-events: none; }
.showcase-section::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%); pointer-events: none; }
.showcase-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; z-index: 1; }
.showcase-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: transform .35s, box-shadow .35s; }
.showcase-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); border-color: rgba(37,99,235,0.3); }
.showcase-card .thumb { overflow: hidden; }
.showcase-card .thumb img { width: 100%; display: block; transition: transform .5s; }
.showcase-card:hover .thumb img { transform: scale(1.05); }
.showcase-card .info { padding: 16px; }
.showcase-card .info h3 { font-size: 14px; font-weight: 500; color: var(--c-text); line-height: 1.4; }
.showcase-more { text-align: center; margin-top: 48px; position: relative; z-index: 1; }
.showcase-more a { display: inline-block; padding: 14px 44px; border: 1px solid rgba(255,255,255,0.15); color: #fff !important; border-radius: 50px; font-size: 14px; font-weight: 500; letter-spacing: 1px; transition: all .3s; }
.showcase-more a:hover { background: var(--c-blue); border-color: var(--c-blue); }

/* ===== Partners Section ===== */
.partners-section { background: #fff; padding: 60px 0; }
.partners-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 32px; align-items: center; }
.partners-grid a { opacity: 0.45; transition: opacity .3s; display: flex; align-items: center; justify-content: center; }
.partners-grid a:hover { opacity: 1; }
.partners-grid img { max-height: 64px; display: block; }

/* ===== News Section ===== */
.news-section { background: #f8fafc; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 14px; overflow: hidden; transition: transform .35s, box-shadow .35s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); }
.news-card .thumb { overflow: hidden; }
.news-card .thumb img { width: 100%; display: block; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .info { padding: 20px; }
.news-card .info .date { font-size: 12px; color: var(--c-text3); display: block; margin-bottom: 8px; }
.news-card .info h3 { font-size: 16px; font-weight: 600; color: #1e293b; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .info h3 { color: var(--c-blue); }
.news-more { text-align: center; margin-top: 48px; }
.news-more a { display: inline-block; padding: 14px 44px; background: var(--c-blue); color: #fff !important; border-radius: 50px; font-size: 14px; font-weight: 500; letter-spacing: 1px; }
.news-more a:hover { background: var(--c-blue2); }

/* ===== Inner page hero ===== */
.page-hero { position: relative; padding: 120px 0 60px; background: linear-gradient(135deg, var(--c-bg), var(--c-bg3)); text-align: center; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.5); letter-spacing: 3px; text-transform: uppercase; position: relative; z-index: 1; }

/* ===== Footer ===== */
.footer { background: var(--c-bg) !important; border-top: none !important; }
.footer-top { padding: 60px 0 !important; }
.footer-top li h3 a { color: #f1f5f9 !important; font-weight: 600; }
.footer-top .sub-box a { color: var(--c-text3) !important; }
.footer-top .sub-box a:hover { color: var(--c-blue3) !important; }
.friendlink { background: rgba(255,255,255,0.03) !important; }
.friendlink a { color: var(--c-text3) !important; }
.friendlink a:hover { color: var(--c-blue3) !important; }
.foot-Copyright { color: var(--c-text3) !important; }

/* ===== Back to Top ===== */
.zdsbacktop { background: var(--c-bg) !important; border: none !important; }
.zdsbacktop:hover { background: var(--c-blue) !important; }

/* ===== Pagination ===== */
.pages ul li.thisclass { background: var(--c-blue) !important; border-color: var(--c-blue) !important; }
.pages ul li.thisclass a { color: #fff !important; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .hero-content h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-grid { grid-template-columns: repeat(2,1fr); }
  .partners-grid { grid-template-columns: repeat(3,1fr); gap: 24px; }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .site-section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .hero-wrap { height: 70vh; min-height: 400px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .hero-content .btn-hero { padding: 14px 32px; font-size: 14px; }
  .courses-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .site-section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 24px; }
  .about-image { min-height: 280px; }
  .about-image .about-tag { left: 16px; right: 16px; bottom: 16px; }
}
