.header-navbar {
    transition: all 0.3s ease;
    padding: 0.8rem 0;
}

.header-navbar-brand {
    font-weight: 700;
    color: #2c7be5 !important;
    display: flex;
    align-items: center;
}

.header-navbar-brand:hover {
    color: #1a68d1 !important;
}

.header-navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    margin: 0;
}

.header-navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.header-navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(44, 123, 229, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

.header-nav-item {
    margin: 0 0.3rem;
}

.header-nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-link:hover,
.header-nav-link:focus {
    color: #2c7be5 !important;
    background-color: rgba(44, 123, 229, 0.1);
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #2c7be5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-nav-link:hover::after {
    width: 70%;
}

@media (max-width: 767.98px) {
    .header-navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 1000;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        border-radius: 0 0 0.5rem 0.5rem;
        padding: 0.5rem 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .header-navbar-nav {
        padding: 0.5rem 0;
    }

    .header-nav-item {
        margin: 0.2rem 0;
    }

    .header-nav-link {
        padding: 0.75rem 1rem !important;
    }
}