/* Default Style (for larger screens) */
.navbar-brand {
    font-size: 24px; /* Adjust as needed */
}

/* Ensure navbar-header uses flexbox */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the content */
}

/* Ensure the navbar toggle button stays on the right */
.navbar-toggle {
    order: 2; /* Make sure toggle button stays on the right */
    margin-left: auto; /* Push the toggle button to the far right */
}

/* Specific style for extremely small screens (320px) */
@media (max-width: 320px) {
    .navbar-header {
        display: flex;
        justify-content: space-between; /* Ensure the brand and button are aligned */
        align-items: center;
    }

    .navbar-brand {
        font-size: 13px !important; /* Smaller font size for very small screens */
        white-space: nowrap !important;
        margin-left: 5px !important; /* Adjust left margin if needed */
    }

    .navbar-toggle {
        margin-right: 5px; /* Adjust right margin if needed */
    }
}