/* Add your existing CSS styles here */

.courses-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 5%;
}

.course {
    width: calc(33.33% - 40px);
    margin: 20px;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

@media (max-width: 992px) {
    .course {
        width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .course {
        width: 100%;
    }
}

.course:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #1F2641;
}

.course img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
}

.course-content {
    padding: 15px;
}

.course-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #F75842;
}

.poppins-font {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.course-content  p {
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #F75842;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #1F2641;
}