:root {
    --brand-blue: #0a192f;
    --accent-gold: #c5a059;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.7; 
    color: var(--text-main);
    padding-top: var(--nav-height); /* Prevent content from hiding under navbar */
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--brand-blue); }

/* --- NAVIGATION --- */
.navbar {
    height: var(--nav-height);
    background: var(--white);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--brand-blue);
}

.nav-logo span { color: var(--accent-gold); }

.nav-menu { display: flex; list-style: none; align-items: center; }

.nav-link {
    text-decoration: none;
    color: var(--brand-blue);
    margin-left: 2.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cta {
    background: var(--brand-blue);
    color: white !important;
    padding: 10px 22px;
    border-radius: 4px;
    margin-left: 2.5rem;
    text-decoration: none;
}

/* --- HERO SECTION --- */
.hero-lifestyle {
    height: 45vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('toronto.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.legacy-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* --- CONTACT LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.matrix-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-gold);
}

.matrix-label {
    display: block;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-group { margin-bottom: 20px; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-submit {
    width: 100%;
    background: var(--brand-blue);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* --- MOBILE RESPONSIVENESS --- */
.mobile-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.bar { width: 25px; height: 3px; background: var(--brand-blue); transition: 0.4s; }

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
    }

    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .nav-link, .btn-cta { margin: 0; font-size: 1.5rem; }

    .contact-layout { grid-template-columns: 1fr; }
}

.main-footer {
    background: var(--brand-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}
/* --- HERO CONTENT COLOR FIX --- */

/* Targets "Established 1991" */
.legacy-tag {
    color: var(--accent-gold); /* Sets the color to gold */
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Targets "Contact Us" */
.hero-content h1 {
    color: var(--white); /* Forces the heading to be white */
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

/* Targets "Strategic financial support located in Toronto." */
.hero-subtext {
    color: var(--white); /* Sets the subtext to white */
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 1; /* Ensures it is fully visible and not muted */
}
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        z-index: 1100; /* Must be higher than nav-menu's 1000 */
    }

    .nav-menu {
        /* ... your existing code ... */
        visibility: hidden; /* Hide it completely when not active */
        opacity: 0;
        pointer-events: none; /* Prevents invisible menu from blocking clicks */
    }

    .nav-menu.active {
        left: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: all; /* Re-enable clicks when visible */
    }
}