* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f7f7f7;
    color: #333;
}

/* ======================
        HEADER
=========================*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #5a60f0;
}

/* Desktop Menu */
nav {
    display: flex;
    gap: 20px;
    white-space: nowrap;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
nav a:hover {
    color: #5a60f0;
}

/* Hamburger */
.menu-btn {
    display: none;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

/* ======================
      HERO
=========================*/
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format') 
                center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero button {
    margin-top: 20px;
    padding: 12px 25px;
    background: #5a60f0;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
}
.hero button:hover {
    background: #4349d3;
}

/* ======================
      ABOUT
=========================*/
.about {
    padding: 70px 50px;
    text-align: center;
}

/* ======================
     SERVICES
=========================*/
.services {
    background: #fff;
    padding: 70px 50px;
    text-align: center;
}

.service-box {
    background: #f1f1ff;
    padding: 25px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 10px;
}

/* ======================
        EBOOKS
=========================*/
.ebooks {
    padding: 70px 50px;
    background: #fafafa;
    text-align: center;
}

.ebook-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ebook {
    background: #fff;
    padding: 25px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ebook button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #5a60f0;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ======================
        CONTACT
=========================*/
.contact {
    padding: 70px 50px;
    text-align: center;
    background: #fff;
}

.contact form {
    max-width: 500px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact button {
    padding: 12px 25px;
    background: #5a60f0;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

/* ======================
        FOOTER
=========================*/
footer {
    text-align: center;
    padding: 20px;
    background: #5a60f0;
    color: #fff;
}

/* ===========================================
        MOBILE MENU RESPONSIVE FIXED
===========================================*/
@media (max-width: 900px) {

    /* Hide desktop menu by default */
    nav {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        background: #fff;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    /* Show menu when toggled */
    nav.show {
        display: flex !important;
    }

    nav a {
        padding: 12px 0;
        font-size: 16px;
    }

    .menu-btn {
        display: block;
    }

    header {
        padding: 15px 20px;
    }

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