*{
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
} 

/* --- Header & Navbar --- */
header {
  background: rgb(11, 4, 97);
  color: white;
  padding: 12px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}
header img {
  height: 90px;
} 
 
 .courses {
  padding: 60px 20px;
  
  text-align: center;
}
.courses h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.course-grid {
  display: flex;
  flex-wrap: wrap;    
  gap: 10px;
}
.course-card {
  flex-grow: 1;
  width: 400px;
  background: rgb(240, 240, 240);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.course-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}
.course-card p {
  font-size: 15px;
  margin-bottom: 15px;
  color: #666;
}
.course-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.18), 0 1.5px 6px rgba(60, 60, 60, 0.10);
  transition: box-shadow 0.3s;  
}
.course-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #ffcc00;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.course-card a:hover {
  background: #ffaa00;
}
.back-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffcc00;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

.back-btn:hover {
  background: #ffaa00;
  transform: translateY(-2px);
}

