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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero .location {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.hero .contact-info a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero .contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero .contact-info span {
    opacity: 0.7;
}

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-white);
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

section p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

section p:last-child {
    margin-bottom: 0;
}

.philosophy {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
    border-radius: 4px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-category li::before {
    content: "▸ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Experience Section */
.job {
    background-color: var(--bg-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.job:last-child {
    margin-bottom: 0;
}

.job h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.job .company {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.job .duration {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.job ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.job li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Education Section */
.education p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.education p:first-child {
    font-weight: 600;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.25rem;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.4rem;
    }

    section h2 {
        font-size: 2.25rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-info span {
        display: none;
    }

    .container {
        padding: 0 1rem;
    }
}

