/* Hero section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

/* Features section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.features h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Courses section */
.courses {
    padding: 5rem 0;
}

.courses h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.course-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}