body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
}

header {
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    color: #fff;
    padding: 2rem 0 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h1 {
    margin: 0 0 0.3em 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    color: #e0e0e0;
}

.location {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 0.5em;
}

.github-link {
    display: inline-block;
    background: #24292f;
    color: #fff;
    padding: 0.4em 1em;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5em;
    transition: background 0.2s;
}
.github-link:hover {
    background: #0366d6;
}

main {
    padding: 2rem 0 3rem 0;
}

.projects {
    margin-bottom: 2.5rem;
}

.projects h2, .achievements h2, .contributions h2 {
    font-size: 1.5rem;
    margin-bottom: 1em;
    color: #232526;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.project {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.2em 1em;
    transition: transform 0.15s, box-shadow 0.15s;
}
.project:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.project h3 {
    margin: 0 0 0.3em 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.project p {
    margin: 0;
    color: #555;
    font-size: 0.98rem;
}

.more-projects {
    margin-top: 1.2em;
    text-align: right;
}
.more-projects a {
    color: #0366d6;
    text-decoration: none;
    font-weight: 500;
}
.more-projects a:hover {
    text-decoration: underline;
}

.achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em;
}
.achievements li {
    background: #e3eafc;
    color: #2d3a4a;
    padding: 0.5em 1.2em;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.contributions p {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
}

footer {
    background: #232526;
    color: #fff;
    padding: 1.2em 0;
    text-align: center;
    font-size: 1rem;
    margin-top: 2em;
}
footer a {
    color: #7ecfff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .container {
        width: 98%;
    }
    .project-list {
        grid-template-columns: 1fr;
    }
}
