#course {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

#course h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: left;
    position: relative;
    padding-bottom: 50px;
}

.slide img:hover {
    filter: grayscale(1);
}

.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.course-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slide h3 {
    font-size: 24px;
    color: #000000;
    padding: 20px 20px 10px 20px;

}

.slide p {
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.features {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-direction: column;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.feature span {
    font-size: 16px;
    color: #333;
}

.slide:hover .feature-icon {
    color: #014288;
}

.btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
    text-shadow: 0 3px 3px rgb(0, 0, 0);
}

.btn:hover {
    background-color: #0056b3;
    box-shadow: -8px 8px 1px rgb(78, 175, 255);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.wrapper .slide {
    animation: fadeIn 0.5s ease-in-out forwards;
    opacity: 0;
}

.wrapper .slide:nth-child(1) {
    animation-delay: 0.2s;
}

.wrapper .slide:nth-child(2) {
    animation-delay: 0.4s;
}

.wrapper .slide:nth-child(3) {
    animation-delay: 0.6s;
}

.wrapper .slide:nth-child(4) {
    animation-delay: 0.8s;
}

.wrapper .slide:nth-child(5) {
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
    }
}