:root {
    --primary: #ffffff;
    --accent: #0078d7;
    --bg: #7cc8fe;
    --text: #222;
    --border: #eaeaea;
    --radius: 10px;
    --font: 'Segoe UI', 'Inter', Arial, sans-serif;
    --shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}



.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    background: #003366;
    border-bottom: 1px solid var(--border);
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-photo-large {
    display: flex;
    justify-content: flex-start;
    margin: 2.5rem 0 1.5rem 0;
}

.profile-photo-large img {
    width: 450px;
    height: 450px;
    max-width: 100%;
    max-height: 60vw;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    background: #f4f4f4;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.25em 0.5em;
    border-radius: 5px;
}

nav a:hover {
    color: var(--accent);
    background: #f3f8fd;
}

main {
    padding: 2.5rem 0;
}

section {
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.03);
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 500;
}

.resume-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5em 1em;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    box-shadow: var(--shadow);
}

.resume-link:hover {
    background: #005fa3;
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.projects-list li {
    margin-bottom: 1.5rem;
    padding: 1.2rem 1rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}

.projects-list li:hover {
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
}

.projects-list a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.skills-list,
.contact-list,
.languages ul,
.education ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.skills-list li,
.contact-list li,
.languages ul li,
.education ul li {
    margin-bottom: 0.5rem;
}

.experience-item {
    margin-bottom: 1.5rem;
}

.exp-date {
    color: #888;
    font-size: 0.95em;
    margin-left: 0.5em;
}
.connect-section {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.03);
    padding: 2rem 1.5rem;
}

.connect-section h2 {
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.connect-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1rem;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f8fd;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.03);
}

.icon-link:hover {
    background: #e6f0fa;
    box-shadow: 0 4px 16px 0 rgba(0,120,215,0.10);
}

.icon-link svg {
    display: block;
}

footer {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.95rem;
    color: #888;
    background: #003366;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    header h1 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    nav ul {
        flex-direction: row; 
        gap: 0.5rem;
        margin: 0.5rem 0 0 0;
        flex-wrap: wrap; 
    }
    .profile-photo-large {
        justify-content: center;
        margin: 1.5rem 0 1rem 0;
    }
    .profile-photo-large img {
        width: 180px;
        height: 180px;
    }
    .container {
        padding: 0 0.5rem;
    }
    section {
        padding: 1rem 0.5rem;
    }
    .connect-section {
        padding: 1.2rem 0.5rem;
    }
    .connect-icons {
        gap: 1.2rem;
    }
}
