/* -----------------------------
   GLOBAL STYLES
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0b0b0b;
  color: #f2f2f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -----------------------------
   NAVBAR
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 140px;
  height: auto;
  display: block;
}

.navbar nav a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: #d4af37;
}

/* -----------------------------
   HERO
------------------------------ */
.hero {
  background: linear-gradient(to bottom,#000,#111);
  background-image: url('https://www.transparenttextures.com/patterns/dark-mosaic.png');
  background-blend-mode: overlay;
  text-align: center;
  padding: 7rem 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ccc;
}

/* -----------------------------
   CTA BUTTONS
------------------------------ */
.cta-btn,
.start-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #d4af37;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.cta-btn:hover,
.start-btn:hover {
  background: #fff;
}

/* -----------------------------
   SEARCH
------------------------------ */
.search-section {
  text-align: center;
  padding: 2rem;
}

#searchInput {
  width: 80%;
  max-width: 600px;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

#searchInput:focus {
  border-color: #d4af37;
  background: #111;
}

/* -----------------------------
   FEATURED COURSES
------------------------------ */
.featured-section {
  padding: 3rem 2rem;
  background: #0e0e0e;
}

.featured-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem;
}

.featured-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background: #121212;
}

.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-card .overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
  padding: 1rem;
  width: 100%;
  text-align: left;
}

.featured-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* -----------------------------
   COURSE GRID
------------------------------ */
.page-header {
  text-align: center;
  padding: 4rem 2rem;
  background: #101010;
  border-bottom: 1px solid #222;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

.course-card {
  background: #141414;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  border-top: 4px solid #d4af37;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(212,175,55,0.08);
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-info {
  padding: 1.5rem;
}

.course-info h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.course-info p {
  color: #aaa;
  margin-bottom: 1rem;
}

/* -----------------------------
   LESSON GRID
------------------------------ */
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: #0e0e0e;
}

.lesson-card {
  background: #1c1c1c;
  border-left: 4px solid #d4af37;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.lesson-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.lesson-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.lesson-info {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lesson-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.lesson-info p {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 1rem;
}

/* -----------------------------
   VIDEO CARD
------------------------------ */
.video-card {
  max-width: 800px;
  margin: 2rem auto;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-left: 6px solid #d4af37;
}

.video-card iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.video-card .video-info {
  padding: 1.5rem;
  color: #ccc;
}

.video-card .video-info h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #d4af37;
}

.video-card .video-info p {
  font-size: 1rem;
  line-height: 1.5;
}

/* -----------------------------
   QUIZ SECTION
------------------------------ */
.test-section {
  background: #141414;
  padding: 2rem;
  border-radius: 10px;
  margin: 3rem auto;
  max-width: 800px;
}

.test-section h2 {
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  text-align: center;
}

.question {
  margin-bottom: 2rem;
}

.question h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.question label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #ddd;
  cursor: pointer;
}

/*