.navbar-top {
    background: linear-gradient(135deg, #1E5BA8, #164791);
    color: var(--white);
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
}

.navbar-top-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.navbar-top-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-top-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.navbar-top-item:hover {
    opacity: 0.85;
}

.navbar-top-item i {
    font-size: 0.9rem;
}

.navbar-top-tagline {
    margin-left: auto;
    font-weight: 500;
    opacity: 0.95;
    white-space: nowrap;
    font-size: 0.9rem;
}

.navbar-top-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-top-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-top-social a:hover {
    opacity: 0.85;
}

.nav-mobile-actions {
    display: none;
}

.navbar-main {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1.2rem 2rem;
}

.navbar-main-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.navbar-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Google Sans Flex', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary-blue);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.navbar-signin {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 2px solid var(--primary-blue);
}

.navbar-signin:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.hire-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hire-btn:hover {
    background-color: #164791;
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.navbar-toggle:hover {
    color: var(--primary-blue);
}

@media (max-width: 1024px) {
    .nav-mobile-actions {
        display: flex;
        gap: 0.75rem;
        padding: 1rem 0 1.25rem;
    }

    .nav-mobile-actions .navbar-signin,
    .nav-mobile-actions .hire-btn {
        display: flex;
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .navbar-nav li.nav-mobile-actions a.navbar-signin {
        border-bottom: 2px solid var(--primary-blue);
    }

    .navbar-nav li.nav-mobile-actions a.hire-btn {
        border-bottom: none;
    }

    .navbar-top {
        padding: 0.5rem 1.5rem;
    }

    .navbar-top-content {
        gap: 1rem;
    }

    .navbar-top-left {
        gap: 1rem;
        padding-right: 1rem;
    }

    .navbar-top-item {
        font-size: 0.85rem;
    }

    .navbar-top-tagline {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.85rem;
    }

    .navbar-top-social {
        padding-left: 1rem;
        flex-shrink: 0;
    }

    .navbar-nav {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        gap: 0;
        background-color: var(--white);
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 1.5rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav li {
        width: 100%;
    }

    .navbar-nav a {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .navbar-nav li:last-child a {
        border-bottom: none;
    }

    .navbar-nav a::after {
        display: none;
    }

    .navbar-main-content {
        justify-content: space-between;
        position: relative;
    }

    .navbar-actions {
        gap: 0.5rem;
    }

    .navbar-signin {
        display: none;
    }

    .hire-btn {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar-top {
        padding: 0.5rem 1rem;
    }

    .navbar-top-tagline,
    .navbar-top-social {
        display: none;
    }

    .navbar-top-content {
        justify-content: space-between;
    }

    .navbar-top-left {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
        padding-right: 0;
        border-right: none;
    }

    .navbar-top-item {
        font-size: 0.9rem;
        min-width: 0;
        overflow: hidden;
    }

    .navbar-top-item span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-main {
        position: sticky;
    }

    .navbar-nav {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        gap: 0;
        background-color: var(--white);
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 1.5rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav li {
        width: 100%;
    }

    .navbar-nav a {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .navbar-nav li:last-child a {
        border-bottom: none;
    }

    .navbar-nav a::after {
        display: none;
    }

    .navbar-main-content {
        justify-content: space-between;
        position: relative;
    }

    .navbar-actions {
        gap: 0.5rem;
    }

    .navbar-signin {
        display: none;
    }

    .hire-btn {
        display: none;
    }

    .navbar-main {
        padding: 0.5rem 1.5rem;
    }

    .logo img {
        height: 42px;
    }

    .navbar-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar-top {
        padding: 0.4rem 0.75rem;
    }

    .navbar-top-item {
        font-size: 0.85rem;
    }

    .navbar-top-item[href^="mailto"] {
        flex-shrink: 1;
        min-width: 0;
    }

    .logo img {
        height: 40px;
    }

    .navbar-main-content {
        padding: 0.5rem 1rem;
    }

    .navbar-main {
        padding: 0.5rem 1rem;
    }

}