/* === BASIC SETUP & VARIABLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
}

:root {
    --primary-color: #1fa3a3; /* Dark Blue / Teal */
    --primary-dark: #157979; /* For gradients */
    --accent-color: #D4AF37; /* Gold */
    --accent-light: #f5d66e;
    --text-color: #333333;
    
    /* Replaced stark whites with warm approachable off-whites */
    --bg-light: #FDFCF8; 
    --warm-white: #FFFAF4;
    --white: #FFFFFF;
    
    /* A subtle gold-tinted shadow for warmth */
    --warm-shadow: 0 12px 35px rgba(212, 175, 55, 0.08);
    --transition: all 0.3s ease;
}

/* === MAIN PROFILE CONTAINER === */
/* This is the core of the split-screen layout */
.profile-container {
    display: flex;
    width: 100%;
    min-height: 90vh; /* Tries to fill most of the screen vertically */
    background-color: var(--warm-white);
}

/* --- 1. THE IMAGE PANE (LEFT SIDE) --- */
.profile-image-pane {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}

.profile-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container perfectly without distortion */
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- 2. THE CONTENT PANE (RIGHT SIDE) --- */
.profile-content-pane {
    flex: 1; /* Takes up the other half of the width */
    display: flex;       /* Use flex to... */
    align-items: center; /* ...vertically center... */
    padding: 3rem;
}

.content-wrapper {
    max-width: 550px; /* Constrains the text width for better readability */
}

.profile-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.profile-name {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.separator {
    border: 0;
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 1.5rem 0 2rem 0;
}

.profile-bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
}

.profile-bio-text p:not(:last-child) {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #26cfcf;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === RESPONSIVE DESIGN FOR MOBILE === */
@media (max-width: 992px) {
    .profile-container {
        flex-direction: column; /* Stack the panes vertically */
    }

    .profile-image-pane {
        min-height: 0; /* Reset min-height for mobile */
        height: auto;
        padding: 2rem 1.5rem 0 1.5rem;
        display: flex;
        justify-content: center;
    }

    .profile-image-pane img {
        width: 100%;
        max-width: 400px; /* Prevents the image/logo from getting giant on tablet sizes */
        height: auto;
        aspect-ratio: 1 / 1; /* Maintains a clean square aspect ratio */
    }

    .profile-content-pane {
        padding: 2.5rem 1.5rem; /* Adjust padding for smaller screens */
    }

    .content-wrapper {
        width: 100%;
        text-align: center; /* Center-align text on mobile */
    }

    .separator {
        margin: 1.5rem auto 2rem auto; /* Center the separator line */
    }
}