/* ===============================
   GLOBAL RESET
=================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f8f9fb;
}


/* ===============================
   NAVBAR
=================================*/
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.nav-links li a:hover {
    color: #0077cc;
}


/* ===============================
   HERO SECTION
=================================*/
.hero-container {
    position: relative;
    width: 100%;
   height: 100vh; /* Changed from calc(100vh - 70px) */
    overflow: hidden;
    display: flex;
    align-items: center;
}


/* Background Image */
.image-side {
    position: absolute;
    inset: 0; /* shorthand for top:0 left:0 right:0 bottom:0 */
    z-index: 1;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Change this from 35% to 0% or 'top' to show the top of the photo */
    object-position: center top; 
    display: block;
}


/* Optional subtle overlay for better text contrast */
.image-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0) 70%
    );
}


/* Floating White Card */
.content-side {
    position: relative;
    z-index: 2;
    background-color: #fff;
    width: 650px;
    margin-left: 8%;
    padding: 2.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.content-side:hover {
    transform: translateY(-4px);
}


/* ===============================
   TYPOGRAPHY
=================================*/
.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.name {
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
}

.bio-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #111;
}

.bio-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.bio-section p:last-child {
    margin-bottom: 0;
}


/* ===============================
   MOBILE RESPONSIVE
=================================*/
@media (max-width: 992px) {

    .content-side {
        width: 420px;
    }

}

@media (max-width: 768px) {

    .navbar {
        height: auto;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-container {
        height: auto;
        flex-direction: column;
    }

    .image-side {
        position: relative;
        height: 320px;
    }

    .image-side img {
        object-position: center 30%;
    }

    .content-side {
        width: 100%;
        margin: 0;
        padding: 2rem;
        box-shadow: none;
        border-radius: 0;
    }

    .main-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .content-side {
        padding: 1.5rem;
    }

    .main-title {
        font-size: 1.8rem;
    }
}