* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f2f2f2;
  padding: 20px;
}

/* Header styling */
.header {
  background-color: #007BFF;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  gap: 20px;
  flex-wrap: nowrap; /* Prevent stacking */
  overflow-x: auto;  /* Prevent overflow on very small screens */
}

.header .academy-name,
.header  {
  font-weight: bold;
  font-size: 1.2rem;
  white-space: nowrap;
}

.header .course-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  flex: 1;
  white-space: nowrap;
}

/* Course content box */
.course-box {
  background-color: #ffffff;
  margin-top: 30px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.course-box h2 {
  color: #007BFF;
  margin-bottom: 15px;
}

.course-description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 25px;
}

/* Chapter styling */
.chapter-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  border-left: 5px solid #007BFF;
}

.chapter-title {
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.chapter-detail {
  color: #555;
  font-size: 0.96rem;
}

/* Responsive design (not changing header layout now) */
@media (max-width: 768px) {
  .course-description,
  .chapter-detail {
    font-size: 1rem;
    text-align: justify;
  }
}

/* Link styling */
a {
  text-decoration: none;
  color: inherit;
}
