@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --base-text: #111111;
    --muted-text: #4a4a4a;
    --surface: #f5f5f5;
    --border: rgba(17, 17, 17, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 2rem 1.25rem 4rem;
    font-family: 'Poppins', sans-serif;
    background: var(--surface);
    color: var(--base-text);
    line-height: 1.7;
}

section {
    max-width: 960px;
    margin: 0 auto 2.5rem;
}

h1, h2, h3, h4, p, li, a {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin: 0 0 1rem;
    font-weight: 600;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p,
li,
a {
    font-size: 1rem;
    font-weight: 400;
}

p {
    margin: 0 0 1rem;
    color: var(--muted-text);
}

ul {
    margin: 0;
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.75rem;
}

.header,
.Bio,
.skills,
.stack,
.projects,
.volunteern-and-poltics,
.proffessional-experience,
.extracurricular,
.contact,
footer {
    padding: 1rem 0;
}

.projects ul,
.proffessional-experience ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.projects li,
.proffessional-experience li {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    margin: 0;
}

.projects h3,
.proffessional-experience h3 {
    margin-top: 0;
}

.badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: var(--base-text);
    border: 1px solid var(--border);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.projects p,
.proffessional-experience p {
    margin-bottom: 0;
}

.contact a,
footer a {
    color: var(--base-text);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

footer {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

@media (max-width: 640px) {
    body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .projects ul,
    .proffessional-experience ul {
        grid-template-columns: 1fr;
    }
}
