/* General Page Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: #eaf5fe; /* light blue background as requested */
  color: #333;
  margin: 0;
  padding: 0;
}

.course-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* Top Section */
.course-card-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.course-content-main {
  flex: 1 1 500px;
}

.course-content-main h1 {
  font-size: 2.5rem;
  color: #2f378a; /* heading color as requested */
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.course-content-main p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Enroll Button */
.book-trial-btn {
  background: #1a73e8; /* button color as requested */
  color: #fff;
  padding: 14px 32px;
  border-radius: 16px; /* subtle rounded corners */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}

.book-trial-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.5);
}

/* Course Details Card */
.course-details-card {
  flex: 1 1 350px;
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #1a73e8; /* accent matches button */
  transition: all 0.3s ease;
}

.course-details-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.course-details-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #428cec; /* heading color */
  text-align: center;
}

.course-details-card .detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #555;
}

.course-details-card .detail strong {
  color: #1a73e8;
}

/* Course Outline */
.course-outline {
  margin-top: 50px;
  background: #f9fbff; /* match page background */
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.course-outline h2 {
  text-align: center;
  font-size: 2rem;
  color: #2f378a; /* heading color */
  margin-bottom: 30px;
}

.module {
  margin-bottom: 25px;
}

.module h3 {
  font-size: 1.4rem;
  color: #428cec; /* module heading color */
  margin-bottom: 12px;
}

.module ul {
  list-style: disc inside;
  margin-left: 20px;
  color: #555;
  line-height: 1.7;
}

/* Add subtle hover for list items */
.module ul li {
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 2px 0;
}

.module ul li:hover {
  color: #1a73e8;
  transform: scale(1.05);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .course-card-main {
    flex-direction: column;
    gap: 30px;
  }

  .course-details-card {
    flex: 1 1 auto;
  }
}
