* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f8f9fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2e86de, #54a0ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: #2e86de;
  letter-spacing: 1px;
}

.logo-text span {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  color: #555;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #2e86de;
  border-bottom-color: #2e86de;
}

.header-contact {
  font-size: 13px;
  color: #888;
}

.header-contact strong {
  color: #2e86de;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #2e86de 0%, #48c6ef 50%, #6f86d6 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat-num {
  font-size: 36px;
  font-weight: 700;
}

.hero-stats .stat-label {
  font-size: 14px;
  opacity: 0.85;
}

/* Section common */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

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

.section-title h2 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.section-title p {
  font-size: 15px;
  color: #888;
}

/* Courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.course-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}

.course-img.bg1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.course-img.bg2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.course-img.bg3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.course-img.bg4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.course-img.bg5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.course-img.bg6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

.course-body {
  padding: 20px;
}

.course-body h3 {
  font-size: 17px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.course-body p {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.course-meta .price {
  color: #e74c3c;
  font-size: 16px;
  font-weight: 700;
}

/* Faculty */
.faculty-bg {
  background: #f0f4f8;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.faculty-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faculty-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
}

.faculty-card h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 4px;
}

.faculty-card .title {
  font-size: 13px;
  color: #2e86de;
  margin-bottom: 8px;
}

.faculty-card p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

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

.article-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e0e8f0;
}

.article-body {
  padding: 20px;
}

.article-body .date {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

.article-body h3 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.article-body p {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* Notice bar */
.notice-bar {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 32px;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

.notice-bar strong {
  color: #e67e22;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #ccc;
  padding: 48px 24px 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

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

.footer-col p,
.footer-col a {
  font-size: 13px;
  color: #aab;
  line-height: 2;
  display: block;
}

.footer-col a:hover {
  color: #54a0ff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #3d5068;
  text-align: center;
  font-size: 12px;
  color: #778;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }

  .main-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h2 { font-size: 24px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat-num { font-size: 24px; }

  .courses-grid,
  .articles-grid { grid-template-columns: 1fr; }

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

  .footer-inner { grid-template-columns: 1fr 1fr; }
}
