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

body {
    background-color: #121212;
    color: #EAEAEA;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 4rem; /* Reverted to 4rem for desktop spacing */
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Hero Section Styling --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    width: 100%;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #444;
}

.hero-header .header-left {
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-header .header-right {
    color: #999;
    font-size: 1rem;
}

/* --- UPDATED: Hero Image Container for a small, rounded image --- */
.hero-image-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin: 0 auto 2rem;
    background-color: #222;
    border: 3px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image-container img:hover {
    transform: scale(1.05);
}

/* --- Main Content Styling (Bio) --- */
.main-content {
    width: 100%;
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.main-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #D1D1D1;
}

/* --- Footer Styling (Social Links) --- */
.main-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    text-align: center;
}

.main-footer a {
    color: #999;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: #FFFFFF;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-header .header-right {
        margin-top: 0.5rem;
    }

    .hero-image-container {
        width: 150px;
        height: 150px;
    }

    .main-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
        padding-top: 1rem; /* Added to override the global padding on mobile */
    }

    .hero-header .header-left {
        font-size: 1.25rem;
    }

    .main-footer a {
        margin: 0 0.5rem;
        display: inline-block;
        margin-bottom: 0;
    }
}