* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:verdana;
}

body {
    background: radial-gradient(circle, #0b1c3d, #020818);
    color: #ffffff;
}

/* NAVBAR */
.navbar {
    position: sticky;   /* makes it stick */
    top: 0;
    z-index: 1000;      /* stays above content */
    background: #020818;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0e1e46;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color:crimson;
}

.logo span {
    color: #ffffff;
}

.nav-links a {
    margin: 0 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.nav-actions .btn {
    margin-left: 10px;
}

/* BUTTONS */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.join {
    background: #4cc3ff;
    color: #000;
}

.login {
    background: orange;
    color: #fff;
    border-radius: 4px;
}

.primary {
    background: #4cc3ff;
    color: #000;
}

.secondary {
    border: 1px solid #4cc3ff;
    color: #4cc3ff;
}

/* HERO */

/* SPLIT HERO (RESEARCHGATE STYLE) */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    background: #f4f7f6;
    color: #0b1c3d;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-text {
    font-size: 12px;
    max-width: 500px;
    margin-bottom: 30px;
    color: #333;
}

.hero-btn {
    padding: 14px 50px;
    font-size: 16px;
    background-color: #020818;
    color: white;
    border-radius: 4px;
}

.hero-right {
    flex: 1;
    text-align: right;
}

.hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-text {
        margin: 0 auto 25px;
    }

    .hero-right {
        margin-top: 40px;
        text-align: center;
    }
}



/* SECTIONS */
.how-it-works,
.categories {
    padding: 70px 40px;
    text-align: center;
}

.how-list div {
    margin: 10px 0;
}

.sub-text {
    max-width: 700px;
    margin: 15px auto;
    opacity: 0.85;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #0b1c3d;
    padding: 35px;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* MOBILE NAV */
.menu-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.side-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100%;
    background: #020818;
    padding: 25px;
    transition: 0.3s;
    z-index: 999;
}

.side-nav a {
    display: block;
    padding: 15px 0;
    color: #fff;
    text-decoration: none;
}

.close-btn {
    font-size: 30px;
    cursor: pointer;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #020818;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }
}
