/* Custom styles for courses section */

@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800)

.customcourse-section {
    padding: 60px 0;
  }
  
  .customcourse-section-title h2 {
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    color: #333;
  }
  
  .customcourse-section-title p {
    font-size: 18px;
    text-align: center;
    color: #777;
    margin-bottom: 40px;
  }
  
  .customcourse-row {
    margin-bottom: 40px; /* Increased the margin between rows */
  }
  
  .customcourse-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .customcourse-card:hover {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .customcourse-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .customcourse-content {
    text-align: center;
    margin-top: 20px;
  }
  
  .customcourse-content h4 {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Raleway', Arial, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
  }
  
  .customcourse-content span {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Raleway', Arial, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #242323;
  }
  
  .customcourse-content p {
    font-size: 14px;
    font-family: 'Raleway', Arial, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #555;
    margin: 10px 0 20px 0;
  }
  
  .customcourse-price {
    font-size: 18px;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: bold;
    color: green; /* Make the price green and bold */
    margin-bottom: 20px;
  }
  
  .customcourse-price:focus {
    color: green;
  }
  
  .customcourse-enroll-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .customcourse-enroll-btn:hover {
    background-color: #218838;
  }
  /* Flexbox layout for price and button */
.customcourse-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.customcourse-price {
  font-size: 18px;
  font-weight: bold;
  color: green; /* Make the price green and bold */
  margin-right: 20px; /* Space between price and button */
}

.customcourse-enroll-btn {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.customcourse-enroll-btn:hover {
  background-color: #218838;
}
