/* --- GLOBAL RESETS --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- NEW: TOP BAR --- */
.top-bar {
    background-color: #0ca395; /* Teal */
    color: white;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2001;
}

.top-bar-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    margin-right: 5px;
}

/* --- MAIN HEADER --- */
header {
    position: fixed; 
    top: 40px; /* Starts below the top bar */
    left: 0; 
    width: 100%; 
    height: 80px;
    display: flex; 
    align-items: center; 
    z-index: 2000; 
    transition: all 0.3s ease;
    background: #ffffff; /* Solid white */
    border-bottom: 1px solid #e0e0e0;
}

/* When scrolled past the top bar */
header.scrolled {
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1300px; /* Widened slightly to fit new links */
    margin: 0 auto; 
    width: 100%;
    padding: 0 25px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

/* --- LOGO GROUP --- */
.logo-group {
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    gap: 15px;
}

.logo-icon {
    width: 48px; 
    height: 48px;
    background: white; 
    border: 2px solid #0ca395; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 2px #0ca395; 
}

.logo-icon .red-plus {
    color: #e30613; /* Exact red from your design */
    font-size: 1.6rem;
    font-weight: 900;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 1.4rem; 
    font-weight: 500; 
    color: #111; 
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #0ca395;
    font-weight: 500;
    margin-top: 2px;
}

/* --- NAVIGATION --- */
.nav-menu { 
    display: flex; 
    align-items: center; 
    list-style: none; 
    gap: 25px; 
}

.nav-link { 
    text-decoration: none; 
    color: #555; /* Dark gray text */
    font-weight: 400; 
    font-size: 0.95rem; 
    transition: color 0.2s; 
}

.nav-link:hover, .nav-link.active { 
    color: #0ca395 !important; /* Teal highlight */
}

/* --- CTA BUTTON --- */
.header-cta { 
    background: #0ca395; 
    color: white; 
    padding: 10px 22px; 
    border-radius: 6px; /* Squarer radius like the screenshot */
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

.header-cta:hover { 
    background: #098a7d; 
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle { 
    display: none; 
    cursor: pointer; 
    font-size: 1.6rem; 
    color: #333; 
    z-index: 2100; 
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .nav-menu { gap: 15px; }
}

@media (max-width: 992px) {
    .top-bar { display: none; } /* Hide top bar on very small screens for space */
    header { top: 0; }
    
    .mobile-toggle { display: block; }
    .nav-menu { 
        position: fixed; top: -100vh; left: 0; width: 100%; height: 100vh; 
        background: #ffffff; flex-direction: column; justify-content: center; 
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0); gap: 30px; 
    }
    .nav-menu.active { top: 0; }
    .nav-link { font-size: 1.5rem; color: #333 !important; }
    .nav-cta-item { width: 80%; }
    .header-cta { display: block; text-align: center; font-size: 1.2rem; padding: 15px; }
}