.academy-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 2rem;
    padding-top:70px;
}

.hero-title {
    margin-top: 1rem;
    font-size: 3.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 2s ease forwards;
}

.hero-subtitle{
    max-width: 900px;
    opacity: 0;
    transform: translateY(20px);
    color: #666;
    font-size: 1rem;
    animation: fadeUp 1s ease forwards;
    animation-delay: 1s;
    text-align: center;
    padding-top: 10px;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.course-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.course-card a{
    color: var(--color-white)
}

.course-image {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.course-button:hover {
    background-color: #444;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .courses-container {
        padding: 2rem 1rem;
    }
}