* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    color: #16304e;
    overflow-x: hidden; /* Prevent horizontal scroll from offset borders */
}

/* Checkbox hidden */
.nav-toggle {
    display: none !important;
}

/* HEADER GRADIENT */
.main-header {
    background: linear-gradient(to right, 
        #9DB4C6 0%, 
        #9DB4C6 20%, 
        #274166 80%, 
        #274166 100%);
    width: 100%;
    position: relative;
    z-index: 2000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 5%;
}

.main-logo {
    height: 100px;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: -4px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.30rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.5;
}

.socials {
    display: flex;
    gap: 15px;
}

/* HERO AREA */
.content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-section {
    display: flex;
    width: 100%;
    max-width: 1400px; /* Moved from inline HTML */
    min-height: 700px;
    padding: 0 5%; /* Moved from inline HTML */
    align-items: center;
}

.image-side {
    flex: 1.2; 
    padding-right: 50px; /* Space between image and text on desktop */
}

.text-side {
    flex: 1; 
    display: flex;
    align-items: center;
    /* padding left removed, handled by flex gap/padding-right of neighbor */
}

.ready-to-meet {
    background-color: #9CB3C5;
    color: #264065;
    display: inline-block;
    padding: 0px 10px;
    font-size: clamp(2.5rem, 3.8vw, 3.5rem);
    font-weight: 900;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.name-signature {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 6vw, 6rem);
    color: #264065;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    margin-left: -5px;
}

.the-signature img {
    max-width: 360px;
    height: auto;
    margin-top: 8px;
    margin-bottom: 50px;
    pointer-events: none;
}

.description {
    border-left: 4px solid #263F64;
    padding-left: 20px;
}

.description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #264065;
    line-height: 1.5;
}

/* FOOTER */
.main-footer {
    background-color: #9CB3C5;
    padding: 15px 5%;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 1rem;
    color: #264065;
}

.main-footer a {
    color: inherit;
    text-decoration: none;
}

/* BURGER MENU ICON */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding-bottom: 5px;
}

.burger-menu .bar {
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

/* --- LOWER CONTENT CONTAINER --- */
.lower-content {
    background-color: #fff;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- BIOGRAPHY ROWS --- */
.bio-row {
    display: flex;
    align-items: center;
    gap: 8%;
}

.bio-row.reverse {
    flex-direction: row; /* Default desktop direction */
}

.bio-image-col, .bio-text-col {
    flex: 1;
}

/* --- OFFSET FRAME EFFECT --- */
.image-wrapper {
    position: relative;
    z-index: 0;
    /* Wrapper behaves normally on desktop */
			transform: scale(0.9);
			margin-left:-10px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #264065;
    z-index: 1;
    pointer-events: none;
}

/* Specific Frame Offsets */
.frame-top-left::before {
    top: -25px;
    left: -25px;
}

.frame-top-right::before {
    top: -25px;
    right: -25px;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

/* --- TYPOGRAPHY --- */
.bio-label {
    background-color: #9CB3C5;
    color: #264065;
    display: inline-block;
    padding: 6px 15px;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 0;
}

.bio-body p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #264065;
    margin-bottom: 20px;
}

.small-hand img {
    max-width: 350px;
    margin-top: 5px;
    margin-bottom: 50px;
}


/* --- CONTACT FORM --- */
.contact-form-container {
    position: relative;
    background: #E1E9F4;
    padding: 40px;
    border: 1px solid #ccc;
    z-index: 1;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: -25px; 
    left: -25px;
    width: 100%;
    height: 100%;
    border: 3px solid #263F64; 
    z-index: -1; 
    pointer-events: none; 
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #264065;
    background-color: #f9f9f9;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #4790C7;
    background-color: #fff;
}

.submit-btn {
    background-color: #264065;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #4790C7;
    transform: translateY(-2px);
}


/* ========================================= */
/* MOBILE / RESPONSIVE (Max-Width 1024px)    */
/* ========================================= */

@media (max-width: 1024px) {
	
	
.image-wrapper {
			transform: scale(1);
			margin-left:0px;
}
	
    /* -- 1. Global Structure Fixes -- */
    .site-wrapper {
        overflow-y: auto;
    }
    
    /* Allow header to flex naturally */
    .header-container {
        align-items: center; 
    }

    /* -- 2. Navigation -- */
    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #264065;
        flex-direction: column;
        padding: 30px 0;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    /* Hamburger Animation */
    .nav-toggle:checked + .burger-menu .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked + .burger-menu .bar:nth-child(2) { opacity: 0; }
    .nav-toggle:checked + .burger-menu .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


    /* -- 3. Hero Section -- */
    .hero-section {
        flex-direction: column;
        padding: 40px 5% 0 5%;
        min-height: auto; /* Remove fixed height constraint */
    }

    .image-side {
        width: 100%;
        flex: none;
        padding-right: 0; /* Reset desktop padding */
        margin-bottom: 50px; /* Space between image and text */
        display: block;
    }

    .text-side {
        width: 100%;
        flex: none;
        padding: 0;
    }

    /* -- 4. Image Standardization for Mobile -- */
    /* This applies to ALL image wrappers (Hero & Bio) */
    .image-wrapper {
        width: 85%; /* Slightly less than 100% to leave room for the offset border */
        margin: 30px auto; /* Center the image block */
        display: block;
        /* Ensure margins are cleared from previous definitions */
        margin-left: auto;
        margin-right: auto;

    }

    /* Adjust frame offset slightly if needed, or keep -25px. 
       With 85% width and centered margin, -25px should fit. */
    .frame-top-left::before {
        top: -20px;
        left: -20px;
    }
    .frame-top-right::before {
        top: -20px;
        right: -20px;
    }

    /* -- 5. Bio Rows / Content Flow -- */
    .lower-content {
        padding: 60px 5%; /* Reduced padding for mobile */
        gap: 80px;
    }

    .bio-row, 
    .bio-row.reverse {
        flex-direction: column; /* Always stack vertically on mobile */
        gap: 40px;
    }

    .bio-image-col, 
    .bio-text-col {
        width: 100%;
        padding: 0; /* Clean start */
        margin: 0;
    }

    /* If you prefer Image ON TOP for all sections on mobile: */
    .bio-row.reverse {
        flex-direction: column-reverse; 
    }

    /* -- 6. Images & Handwritten Elements -- */
    .the-signature img, 
    .small-hand img {
        max-width: 90%; /* Ensure they don't overflow */
        height: auto;
    }

    .ready-to-meet {
        margin-top: 0;
        font-size: 2.5rem; /* Ensure it fits */
    }

    /* -- 7. Footer -- */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .seperator {
        display: none; /* Hide pipes | on mobile lines */
    }
    
    .main-footer span, 
    .main-footer a {
        display: block;
        margin: 5px 0;
    }

    /* -- 8. Contact Form Mobile -- */
    .contact-form-container {
        width: 90%;
        margin: 30px auto; /* Center it */
    }
    
    .contact-form-container::before {
        top: -15px;
        left: -15px;
    }

    .submit-btn {
        width: 100%;
    }
}



.bleft {
	
	border-left: 4px solid #263F64;
    padding-left: 20px;
	
}