/* Google Fonts in HTML: Playfair Display & Inter */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f3f6f9;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  background: #ffffff;
  padding: 20px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2e7dff;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

nav a:hover {
  color: #2e7dff;
}

/* Hero */
.hero {
  background: linear-gradient(to right, #e3f2fd, #f0f7ff);
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  color: #1a237e;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
}

/* Course List */
.course-list {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.course-list h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.course-card {
  background: #fff;
  border-left: 5px solid #2196f3;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.course-card h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1e88e5;
}

.course-card p {
  margin-bottom: 10px;
}

.course-card a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #2196f3;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 500;
}

.course-card a:hover {
  background: #1e88e5;
}

/* Course Detail */
.course-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.course-detail h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.video-wrapper {
  margin: 20px 0;
}

.progress-section {
  margin-top: 20px;
}

.progress-section label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

progress {
  width: 100%;
  height: 20px;
  appearance: none;
}

progress::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 10px;
}

progress::-webkit-progress-value {
  background-color: #2196f3;
  border-radius: 10px;
}

/* Footer */
footer {
  text-align: center;
  background: #1a1a1a;
  color: #ccc;
  padding: 20px;
  margin-top: 40px;
}

