:root {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --background-color: #f5f6fa;
    --text-color: #2d3436;
    --card-background: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    background-color: var(--card-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-content a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-content a:hover,
.nav-content a.active {
    color: var(--secondary-color);
    background-color: rgba(9, 132, 227, 0.1);
}

main {
    margin-top: 4rem;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--card-background);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.about {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 8px;
    scroll-margin-top: 80px;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about p {
    margin-bottom: 1.5em;
}

.repositories {
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 120px;
}

.repositories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.repo-card {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.repo-card:hover {
    transform: translateY(-5px);
}

.repo-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.repo-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0873c4;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-background);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

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

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

.profile-about-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 4rem auto 2rem auto;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    min-height: 280px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.profile-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, #e3f0fc 0%, #f5f6fa 100%);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    z-index: 1;
    pointer-events: none;
}

.profile-about-left {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 2rem 1.5rem 2.5rem;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: relative;
    z-index: 2;
    min-height: 280px;
    height: 100%;
}

.profile-about-left-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 22%;
}

.profile-img-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic.overlap {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    object-fit: cover;
    position: relative;
    left: 0;
    top: 0;
    transform: translate(0, 0);
    box-shadow: 0 4px 16px rgba(9,132,227,0.08);
    background: #fff;
    z-index: 3;
    display: block;
}

.profile-about-left h1 {
    font-size: 2.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-align: center;
}

.profile-about-left .tagline {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.profile-about-left .social-links {
    margin-top: 1rem;
    text-align: center;
}

.profile-about-left .social-links a {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.profile-about-right {
    flex: 2 1 400px;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    background: #fff;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    min-height: 280px;
    z-index: 1;
    position: relative;
    box-shadow: -8px 0 24px -16px rgba(9,132,227,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-about-right h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.profile-about-right p {
    margin-bottom: 1.5em;
    font-size: 1.08rem;
    color: #333;
}

@media (max-width: 900px) {
    .profile-about-section {
        flex-direction: column;
        min-height: unset;
        height: unset;
        box-shadow: none;
        border-radius: 0;
        position: static;
    }
    .profile-about-section::before {
        display: none;
    }
    .profile-about-left {
        width: 100%;
        min-height: unset;
        height: unset;
        border-radius: 0;
        box-shadow: none;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        background: linear-gradient(120deg, #e3f0fc 0%, #f5f6fa 100%);
        position: static;
        z-index: auto;
    }
    .profile-about-left-inner {
        margin-top: 0 !important;
    }
    .profile-img-wrapper {
        width: 140px;
        height: 140px;
        margin-bottom: 0;
    }
    .profile-pic.overlap {
        width: 140px;
        height: 140px;
        left: 0;
        transform: none;
    }
    .profile-about-left h1 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.6rem;
    }
    .profile-about-right {
        width: 100%;
        min-height: unset;
        height: unset;
        border-radius: 0;
        box-shadow: none;
        padding: 1.5rem 1.2rem 2rem 1.2rem;
        background: #f8fafc;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .profile-about-section {
        margin: 2rem 0 1rem 0;
    }
    .profile-about-left, .profile-about-right {
        padding: 1.2rem 0.7rem;
    }
    .profile-about-left h1 {
        margin-top: 4.5rem;
    }
} 