.coursesIntro{
    margin-top: 2em;
    padding-right: 10em !important;
}
.coursesIntro h2{
    border-bottom: 3px solid rgb(161, 37, 47);
    font-size: larger;
    font-weight: bold;
}
/* Course Cards Styling with Updated Color Theme */
.course-card {
    background-color: #f0ffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: space-between;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .course-icon {
    font-size: 40px;
    color: #a1252f; /* Updated icon color to match the theme */
    margin-bottom: 15px;
  }
  
  h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333333; /* Updated heading color */
  }
  
  p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 15px;
  }
  
  .course-link {
    display: inline-block;
    background-color: #a1252f; /* Updated button color to match the theme */
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .course-link:hover {
    background-color: #801d26; /* Darker shade for hover effect */
  }
.courseSection{
    display: flex;
    justify-content: center;
}  

@media screen and (max-width: 780px){
  .coursesIntro{
    padding-right: 0rem !important;
    padding: .5rem !important;
  }

}