
/* Global Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #07111f;
    color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
header {
    background: #0b1728;
    border-bottom: 1px solid #1c344b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: #00e676;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: #d5e1ee;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00e676;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.login-btn,
.register-btn,
.start-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.login-btn {
    color: #00e676;
    border: 1px solid #00e676;
}

.register-btn,
.start-btn {
    background: #00e676;
    color: #07111f;
}

/* Hero Section */
.hero {
    min-height: 520px;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #102c38, #07111f 70%);
}

.welcome-text {
    color: #00e676;
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #00e676;
}

.hero-description {
    max-width: 600px;
    color: #b5c4d5;
    margin-bottom: 35px;
    font-size: 17px;
}

.start-btn {
    padding: 14px 28px;
}

/* Courses Section */
.courses {
    max-width: 1200px;
    margin: auto;
    padding: 75px 25px;
    text-align: center;
}

.courses h2,
.about h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.courses > p {
    color: #aab9ca;
    margin-bottom: 35px;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.course-card {
    background: #101f32;
    border: 1px solid #203c50;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: left;
    transition: 0.3s;
}

.course-card:hover {
    border-color: #00e676;
    transform: translateY(-5px);
}

.course-card h3 {
    color: #00e676;
    margin-bottom: 12px;
}

.course-card p {
    color: #b5c4d5;
}

/* About Section */
.about {
    padding: 75px 25px;
    text-align: center;
    background: #0b1728;
}

.about p {
    max-width: 700px;
    margin: 15px auto 0;
    color: #b5c4d5;
}

/* Footer */
footer {
    padding: 25px;
    text-align: center;
    background: #050c16;
    color: #8fa2b8;
    border-top: 1px solid #203c50;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 18px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .course-container {
        grid-template-columns: 1fr;
    }
}
/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    color: #00e676;
    border: 1px solid #00e676;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.menu-open {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
