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

body {
    font-family: Arial, sans-serif;
    background: #0b1120;
    color: white;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #111a2e;
}

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

.logo span,
.section h2 span {
    color: #38bdf8;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar ul a:hover {
    color: #38bdf8;
}

.hero {
    min-height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 80px 8%;
}

.small-title {
    color: #38bdf8;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 52px;
    margin: 10px 0;
}

.hero h2 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.hero-content > p:not(.small-title) {
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #0284c7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.button:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.code-box {
    background: #111a2e;
    border: 1px solid #263651;
    padding: 30px;
    border-radius: 12px;
    color: #cbd5e1;
    min-width: 300px;
}

.code-box span {
    color: #c084fc;
}

.code-box .green {
    color: #4ade80;
    margin-top: 15px;
}

.section {
    padding: 65px 8%;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.description {
    max-width: 650px;
    margin: 0 auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #111a2e;
    border: 1px solid #263651;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.card h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.project-link {
    display: block;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.tag {
    display: inline-block;
    color: #7dd3fc;
    margin-top: 15px;
    font-size: 13px;
}

.github-text {
    color: #38bdf8;
    margin-top: 15px;
}

.contact {
    background: #111a2e;
}

footer {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .code-box {
        min-width: 0;
        width: 100%;
        overflow-wrap: anywhere;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}
