body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.heading-container {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.heading {
    font-weight: bold;
    color: #007bff; /* Blue color for headings */
    font-size: 2.5rem;
    padding-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

.heading-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('assets/heading-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.course-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    width: 100%; /* Make the card take full width of the container */
    max-width: 1000px; /* Set a maximum width for the card */
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Added border */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added box shadow */
    display: flex;
    flex-direction: row; /* Make the card layout horizontal */
}

.card-title {
    background-color: #007bff; /* Blue background for title */
    color: #fff;
    padding: 20px;
    margin: 0;
    border-radius: 10px 0 0 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body {
    padding: 20px;
    flex: 2;
}

.card-info {
    margin-bottom: 15px;
}

.card-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #666; /* Grayish color for additional information */
}

.card-info p strong {
    font-weight: bold;
    color: #333; /* Darker color for the headings */
}

.card-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #28a745; /* Green background for links */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.card-link:hover {
    background-color: #218838;
    color: #fff; /* Ensure the text color remains white */
    transform: scale(1.05); /* Slightly enlarge the button */
}
