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

body {
    font-family: 'Avenir Next', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: .5rem;
    background: transparent;
    border: none;
}


.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
}

.hero-parallax {
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)),
                url('data:image/svg+xml,%3Csvg width="1200" height="800" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e9ecef" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)"/%3E%3C/svg%3E');
    background-attachment: fixed;
    padding: 4rem 0 1rem 0;
    margin-bottom: 0;
}

.header {
    text-align: center;
    margin-bottom: 1rem;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 1rem;
    display: inline-block;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #212529;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: #212529;
    color: white;
    border: 2px solid #212529;
}

.btn-secondary {
    background: white;
    color: #212529;
    border: 2px solid #212529;
}

.btn:hover {
    background: #495057;
    border-color: #495057;
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #212529;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.work-section {
    margin: 0 0 .5rem 0;
    padding: 0.5rem 0 0.5rem 0;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 100%;
}

.work-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.work-card:hover {
    border-color: #495057;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.work-card-logo {
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card-logo img {
    max-height: 100%;
    max-width: 180px;
    object-fit: contain;
}

.work-card h3 {
    font-size: 1.2rem;
    color: #212529;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.work-card-role {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.work-card-years {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.work-card-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .work-cards {
        grid-template-columns: 1fr;
    }

    .work-section {
        margin-top: 2rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}