:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --border-color: #e0e0e0;
    --bg-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-intro h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-intro h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.contact-links a,
.contact-links span {
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-links a:hover {
    color: var(--accent-color);
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Summary */
#summary p {
    margin-bottom: 1rem;
}

#summary ul {
    list-style-position: inside;
    margin-left: 1rem;
}

#summary li {
    margin-bottom: 0.5rem;
}

/* Experience & Education */
.job-item,
.edu-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.job-item:last-child,
.edu-item:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.job-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.date {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

.company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Skills */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skills-list span {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.portfolio-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.portfolio-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .job-header {
        flex-direction: column;
    }

    .date {
        margin-top: 0.2rem;
    }
}