* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    color: #2563eb;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.nav-btn {
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 25px;
}

.hero-buttons a {
    margin: 10px;
}

/* Buttons */
.btn-primary {
    background: #facc15;
    color: black;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline {
    border: 2px solid white;
    padding: 8px 18px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
}

/* STATS */
.stats {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stats h2 {
    color: #2563eb;
    font-size: 28px;
}

/* COURSES */
.courses-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    color: #1e3a8a;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
}

.course-body {
    padding: 25px;
}

.price {
    margin-top: 15px;
    font-weight: bold;
    color: #dc2626;
}

.course-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.btn-register {
    background: #16a34a;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-join {
    background: #2563eb;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

/* ABOUT */
.about {
    background: #f1f5f9;
    padding: 80px 0;
}

.about-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.about-grid div {
    flex: 1;
    min-width: 250px;
}

/* CONTACT */
.contact {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
}