.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .navbar-logo {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .navbar-toggler {
        position: absolute !important;
        right: 15px;
        top: 15px;
    }

    .text-white.position-absolute {
        display: none;
    }
} 
@media (max-width: 1024px) {
    .brand-text {
        display: none;
    }
    .navbar-logo {
        margin-right: 0;
    }
}