/* Scoped styles for the courses page */
.courses-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 20px;
  background-color: rgb(64, 1, 1); /* Sets the background for the courses section */
}

/* Overriding the default page background for the courses page specifically */
body {
  background-color: rgb(64, 1, 1);
}

.courses-page-wrapper .container {
  position: relative;
  background-color: #111;
  padding: 50px 40px;
  border-radius: 23px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s ease;
}

.courses-page-wrapper .logo {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 80px;
  height: 80px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.courses-page-wrapper .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.courses-page-wrapper h1 {
  margin-top: 20px;
  font-size: 24px;
}

.courses-page-wrapper p {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.courses-page-wrapper .btn {
  padding: 12px 30px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.courses-page-wrapper .btn:hover {
  background-color: white;
  color: #111;
}

.courses-page-wrapper .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 10px;
  padding-left: 120px;
}

.courses-page-wrapper .title {
  margin-top: 12px;
  font-size: 28px;
  color: white;
}

.courses-page-wrapper .divider {
  border: none;
  border-top: 1px solid white;
  margin: 20px 0;
}

.courses-page-wrapper .lessons {
  font-size: 14px;
  color: grey;
  text-align: left;
}

/* Scoped footer style for course cards */
.courses-page-wrapper .container .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
