/* Starry background and glowing cursor styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ecf0f1;
  background: linear-gradient(135deg, #1a202c, #141a20);
  overflow-y: scroll;
  height: 100vh;
}

header {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
  background: linear-gradient(to bottom, #b2dfdb, #00bcd4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: 900;
}

.logo {
  width: 50px;
  height: auto;
  margin-right: 15px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
  color: #00bcd4;
  transform: scale(1.1);
}

.course-info {
  text-align: center;
  margin-bottom: 2rem;
}

.course-info h1 {
  font-size: 3.5rem;
  color: #00bcd4;
  margin-bottom: 10px;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.status {
  font-size: 1.2rem;
  color: #00bcd4;
  font-weight: bold;
}

.curriculum {
  background: rgba(0, 0, 0, 0.8);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

.module-header {
  background: #003366;
  color: #fff;
  padding: 1rem;
  font-size: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
}

.module-content {
  display: none;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 200px;
  height: 200px;
  background-color: rgba(250, 250, 250, 0.7);
  border-radius: 90%;
  pointer-events: none;
  filter: blur(70px);
  transform: translate(-50%, -70%);
  transition: transform 0.05s ease-out;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  opacity: 0.8;
}

.module-content ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #00c6f8; /* Initial color */
  transition: color 0.3s ease; /* Smooth color transition */
}

.module-content ul li:hover {
  color: #ff6347; /* Change to a new color (e.g., tomato) on hover */
}
