/* online courses section styles */
.online-courses {
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
}

.online-courses .heading {
  text-align: center;
  margin-bottom: 50px;
}

.online-courses .row {
  justify-content: space-evenly;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap-reverse;
}

.online-courses .course {
  width: 500px;
  margin-bottom: 30px;
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--black);
  text-align: center;
}
.online-courses .course .courseBtn {
  width: 100%;
  text-align: right;
  padding-right: 10px;
  margin-bottom: 10px;
}
.online-courses .course .courseBtn a {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
}

/* .online-courses .course h3{
   margin-bottom: 1rem;
   margin-top: 1rem;
   font-size: 3.5rem;
   color:var(--white);
   line-height: 1;
   text-transform: none;
   text-align: center;
}
.online-courses .course h3 span{
   display: block;
   color:var(--green);
   text-transform: none;
} */
.online-courses .course img {
  width: 100%;
  height: 200px;
}

.online-courses .course p {
  height: 90px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  font-size: 1.8rem;
  text-align: left;
  color: var(--light-white);
  text-transform: none;
}
.online-courses .course p a {
  text-decoration: underline;
  color: white;
}
.online-courses .course a {
  margin-bottom: 10px;
  font-size: 2rem;
}

.classes {
  padding-top: 2rem;
  padding-left: 35px;
  padding-right: 35px;
}
.classes .card {
  display: flex;
  margin-bottom: 30px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--black);
  position: relative;
}
.classes img {
  width: 25%;
  height: 200px;
}
.classes .card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.classes .card-content h3 {
  color: var(--white);
  font-size: 3rem;
  margin-left: 1rem;
}
.classes .card-content p {
  margin-top: 10px;
  margin-right: 1rem;
  margin-left: 1rem;
  color: var(--light-white);
  font-size: 2rem;
  text-align: left;
  text-transform: none;
}
.classes .card-content .btn {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
  margin-top: auto; /* Adjust this line to make the button appear at the bottom */
  align-self: flex-end;
}

/* Styles for the new prices section */
.prices {
  padding-top: 2rem;
  padding-left: 35px;
  padding-right: 35px;
}
.price-table {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 2rem;
}
.price-table th {
  padding: 15px;
  color: var(--white);
  background-color: var(--black);
  text-align: left;
  text-transform: none;
}
.price-table tr {
  border-bottom: 1px solid var(--light-white);
  text-transform: none;
  text-transform: none;
}
.price-table td {
  padding: 15px;
  color: var(--white);
  text-align: left;
  text-transform: none;
}
.price-table td:nth-child(odd) {
  background-color: var(--black);
}
/* Media query for responsiveness */
@media (max-width: 1024px) {
  .online-courses .course p {
    height: 80px;
  }
}
@media (max-width: 768px) {
  .online-courses .course p {
    height: 60px;
  }
  .online-courses .course {
    width: 90%;
  }
  .online-courses .course img {
    width: 400px;
  }
}
@media (max-width: 480px) {
  .online-courses .course p {
    height: 50px;
  }
  p {
    font-size: 14px !important;
  }
  .classes .card {
    display: block;
  }
  .classes .card img {
    width: 100%;
  }
  .classes .card .card-content {
    margin-top: 20px;
  }
  .classes .card .card-content p {
    margin-bottom: 12px;
  }
  .online-courses .row .course {
    padding: 0px;
    width: 100%;
  }
  .online-courses .row .course img {
    width: 100%;
  }
  .online-courses .row .course .course-description {
    padding: 0px 20px;
  }
}