* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #f4f4f4;
    background: #0d1117;
    line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid #30363d;
}

header h1 {
    margin: 0;
    font-size: 1.4rem;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: #f4f4f4;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #58a6ff;
}

.hero {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 6%;
    text-align: center;
    background:
        radial-gradient(circle at top, #18365f 0%, #0d1117 55%);
}

.label {
    margin: 0;
    color: #58a6ff;
    font-weight: bold;
    letter-spacing: 4px;
}

.hero h2 {
    margin: 10px 0;
    font-size: clamp(3rem, 9vw, 6rem);
}

.intro {
    max-width: 650px;
    margin: 0;
    font-size: 1.2rem;
    color: #b7c0cc;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 25px;
    color: white;
    background: #238636;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.button:hover {
    background: #2ea043;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 6%;
}

.section h2 {
    margin-top: 0;
    text-align: center;
    font-size: 2.2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.project-card {
    padding: 28px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
}

.project-card h3 {
    margin-top: 0;
    color: #58a6ff;
}

#about p {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: #b7c0cc;
}

footer {
    padding: 30px 6%;
    text-align: center;
    color: #8b949e;
    background: #090c10;
    border-top: 1px solid #30363d;
}

@media (max-width: 750px) {
    header {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        gap: 15px;
    }

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

    .hero {
        min-height: 70vh;
    }
}