:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-main: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --bg-body: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.header h3 {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sections */
.section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Lists */
ul {
    list-style: none;
}

ul li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

ul li strong {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Contact Section Specifics */
.contact ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact li {
    background: var(--bg-body);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

/* Experience & Projects */
.experience-item,
.project-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child,
.project-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.experience-item h3,
.project-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.experience-item ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.experience-item ul li {
    margin-bottom: 0.5rem;
}

/* Skills */
.skills-section ul li {
    background: var(--bg-body);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}


/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 640px) {
    .header {
        padding: 3rem 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 1.5rem;
    }

    .contact ul {
        grid-template-columns: 1fr;
    }
}