* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    padding: 60px 20px;
}

.intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.course-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.course-excerpt {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

footer {
    background: #2d3748;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .courses-grid {
        grid-template-columns: 1fr;
    }
}
