:root {
    /* BRAND PALETTE */
    --bg-dark: #0f172a;       /* Deep Corporate Navy */
    --text-white: #ffffff;
    --text-muted: #94a3b8;    /* Slate Grey */
    
    /* STRATEGIC TEAL (Professional, Serious) */
    --accent: #14b8a6;        
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* --- MAIN LAYOUT CONTAINER --- */
.split-layout {
    display: flex;
    min-height: 100vh; /* Full viewport height */
    width: 100%;
}

/* --- LEFT SIDE: IMAGE --- */
.image-pane {
    flex: 0 0 45%; /* Takes up 45% of the width */
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top;
    opacity: 0.9;
    transition: transform 1.5s ease;
}

.image-pane img:hover {
    transform: scale(1.03); /* Subtle zoom on hover */
}

/* --- RIGHT SIDE: CONTENT --- */
.content-pane {
    flex: 1; /* Takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically Center */
    padding: 0 8%; /* Horizontal padding */
    background: radial-gradient(circle at top right, #1e293b, var(--bg-dark));
    /*overflow-y: auto; */
    overflow: visible;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- TYPOGRAPHY --- */
.role {
    display: block;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px; 
    padding-top: 10px;
    border-top: 1px solid var(--accent);
}

h1 {
    font-size: 4rem; 
    font-weight: 400;      /* Sleek / Modern Weight */
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 300;
}

.bio strong {
    color: var(--text-white);
    font-weight: 600;
}

/* --- LINKS / BUTTONS (HORIZONTAL) --- */
.links-grid {
    display: flex;
    flex-direction: row;     /* aligned horizontally */
    flex-wrap: wrap;         /* wraps to next line on small mobile screens */
    gap: 14px;               /* space between buttons */
    width: 100%;
    max-width: 100%;         /* allow full width */
    margin-bottom: 20px;
}

/* Make buttons fit their text content naturally */
.btn {
    display: inline-flex;    /* Change from flex to inline-flex */
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;      /* Slightly tighter padding for horizontal layout */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;      /* Slightly smaller font to fit better */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);

    /* Prevent buttons from stretching too wide */
    flex: 0 0 auto;
}

/* Icon styling to ensure alignment */
.btn i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", sans-serif; 
    font-weight: 400;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
    display: inline-block;
}
.btn i.fa-solid { font-weight: 900; }

.btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark); /* Text turns dark on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(20, 184, 166, 0.3);
}

/* --- LOGO MARQUEE SECTION --- */
.logo-row {
    margin-top: 60px;
    margin-bottom: 20px;
    padding-top: 30px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
}

.logo-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.6;
}

.marquee-window {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scroll 25s linear infinite; /* Smooth, slow scroll */
}

.marquee-track img {
    height: auto;
    width: auto;
    max-width: 120px;
    /* Ghost Filter: Turns any logo to white */
    filter: grayscale(100%) brightness(1000%);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.marquee-window:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-window:hover img {
    opacity: 0.9;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

/* --- FOOTER --- */
.footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .image-pane {
        height: 50vh;
        width: 100%;
        flex: none;
    }
    .content-pane {
        padding: 60px 30px;
        width: 100%;
        flex: none;
        overflow: visible;
    }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 480px) {
    .image-pane { height: 40vh; }
    h1 { font-size: 2.2rem; }
    .role { font-size: 0.85rem; }
    .bio { font-size: 1rem; }
    .marquee-track { gap: 30px; }
}


/* LOGO SECTION */
.logo-row {
    margin-top: 60px;
    padding-top: 30px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
    padding-bottom: 30px;
    flex-shrink: 0;

    /* CHANGED: Add massive space below the logos */
    margin-bottom: 60px;
}

/* FOOTER - STICKY BOTTOM FIX */
.footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);

    /* CHANGED: This pushes the footer to the very bottom */

    /* CHANGED: Add breathing room at the bottom of the browser window */
    margin-bottom: 20px;
    padding-bottom: 20px;

    flex-shrink: 0;
}
