
.sooncourse {
    position: relative;
    display: inline-block;
}

.soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family:alk;
    font-size: 14vh;
    transform: translate(-50%, -50%);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2; /* Ensure the text is on top of the overlay */
}

.sooncourse:before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 200%;
    background-color: rgba(42, 140, 206, 0.7);
    z-index: 1; /* Ensure the overlay is on top of the content */
}  
  .filter {
    margin-bottom: 30px;
    font-family: alk;

  }

  .coursea{
    all: unset;
    cursor: pointer;
    height: 100%;
    }
  
  .filter label {
    font-weight: bold;
    font-family: alk;
    margin-right: 10px;
  }
  
  .filter select {
    margin-top: 10px;
    padding: 8px;
    font-family: alk;
    font-size: 16px;
  }
  
.course-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Adjust the minimum width and responsiveness */
  grid-gap: 20px;
}

/* Show three cards per row */
@media (min-width: 768px) {
  .course-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: inline-block;
  flex-direction: column;
  overflow: hidden;
  min-height: 250px; /* Set a minimum height for the course card */
}

  .course-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    height: auto;
    object-fit: cover;
    max-height: 300px;
  }
  
  .course-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    overflow: hidden;
    line-height: 20px;
    word-wrap: break-word;
    font-family: alk;
  }
  
  .course-card p {
    font-size: 14px;
    word-wrap: break-word;
    font-family: alk;
    color: rgb(61, 61, 61);
    font-style: italic;
    font-weight: 900;
    margin-bottom: 6px;
  }
.datetext{
    color:#FB4141 !important;
    font-family: alk;
    font-style: normal !important;
}
  
  .coursesbox{
    width: 90%;
    display: block;
    margin: auto;
    margin-top: 40px;
  }