:root {
  --primary: #1A365D;
  --secondary: #C53030;
  --bg-color: #F7FAFC;
  --text-main: #2D3748;
  --text-muted: #718096;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo-icon {
  font-size: 28px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav a {
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #152c4a;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.7)), url('https://images.unsplash.com/photo-1499856871958-5b9627545d1a?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background: var(--secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -40px;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 40px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.stat-item p {
  font-weight: 500;
  color: var(--text-muted);
}

/* Courses */
.courses {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

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

.course-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

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

.course-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 32px;
}

.course-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-card h3 {
  font-size: 24px;
  margin: 12px 0;
}

.course-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.course-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.course-link:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer .logo-text strong {
  color: var(--white);
}

.footer .logo-text span {
  color: rgba(255,255,255,0.7);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

.mt {
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero h1 { font-size: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
