
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

#cent-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.wrapper {
    display: grid;
    gap: 20px;
    justify-items: center;
    padding: 20px 0;
    align-content: center;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .wrapper {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}


.course-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-10px);
}

.course-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    padding: 30px;
}

.course-item h3 {
    font-size: 1.8em;
    text-align: center;
    margin: 15px 0;
    color: #2d3e50;
}

.course-item p {
    font-size: 1.1em;
    color: #555;
    padding: 0 20px;
    line-height: 1.5;
}

.course-item .btn-container {
    text-align: center;
    margin: 20px 0;
}

.course-item .btn {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.course-item .btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {

    .course-item {
        max-width: 100%;
    }
}
