:root {
    --text-title: #5b6678;
    --text-body: #8a94a6;
    --text-heading: #6b778c;
    --bg-main: #f5f6f8;
    --bg-card: #ffffff;
    --bg-button: #eaecf0;
    --bg-icon: #eaecf0;
    --divider: #f0f2f5;
    --font-family: 'Inter', sans-serif;
    --radius-main: 10px;
    --radius-btn: 30px;
}

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

body {
    background-color: var(--bg-main);
    font-family: var(--font-family);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 1000px;
    height: auto;
    min-height: 800px;
    border-radius: var(--radius-main);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); /* very soft shadow */
    display: flex;
    overflow: hidden;
}

/* Left Half Image */
.image-section {
    flex: 1;
    position: relative;
    max-width: 48%; /* Adjust to match the exact ratio of the image */
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Half Content */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* push elements to top/middle/bottom smoothly */
}

/* Specific Content Blocks for padding */
.section-block {
    padding: 3.5rem 4rem;
}

/* Header */
.header-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.title {
    font-size: clamp(1.1rem, 3.5vw, 2.1rem);
    font-weight: 300;
    color: var(--text-title);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.divider {
    color: #cbd2d9;
    font-weight: 200;
    margin: 0 clamp(0.3rem, 1vw, 0.75rem);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    transform: translateY(-2px);
}

.subtitle {
    font-weight: 300;
}

.bio {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 300;
}

/* Shared Dividers */
.container-divider {
    height: 1px;
    background-color: var(--divider);
    width: 100%;
}

/* Middle Block */
.middle-block {
    flex-grow: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-title);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

/* Portfolio buttons */
.button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-button);
    color: var(--text-heading);
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-btn);
    font-size: 0.8rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
}

.portfolio-btn:hover {
    background-color: #dee1e6;
}

.portfolio-btn i {
    font-size: 0.75rem;
    color: #a0a8b5;
}

.btn-row {
    display: flex;
    gap: 1rem;
}

/* Bottom Block */
.bottom-block {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* Disclosure */
.disclosure-text {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-icon);
    color: var(--text-heading);
    text-decoration: none;
    font-size: 1.25rem;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background-color: #dee1e6;
}

/* Responsive */
@media (max-width: 900px) {
    body {
        padding: 1rem;
    }
    
    .container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .image-section {
        max-width: 100%;
        height: 300px;
    }

    .section-block {
        padding: 2.5rem 1.5rem;
    }
    
    .btn-row {
        flex-direction: column;
        width: 100%;
    }
    
    .portfolio-btn {
        width: fit-content;
    }
}
