.cta-button {
    background-color: #2e3a59;
    color: white;
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1f2b3b;
}

.courses-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

.courses-section .section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #2e3a59;
}

.course-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    width: 300px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2e3a59;
}

.card p {
    font-size: 16px;
    color: #6f7f99;
    margin-bottom: 20px;
}



/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .course-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}
