    .nav-item {
        display: flex;
        flex-direction: column; /* Icon on top, label below */
        align-items: center;
        color: #555; /* Default icon color */
        cursor: pointer;
        text-decoration: none;
    }

    .nav-item.active {
        color: #fff; /* Highlight active icon */
    }

    .nav-icon {
        font-size: 24px; /* Adjust icon size */
        margin-bottom: -2px; /* Space between icon and label */
    }

    .nav-label {
        font-size: 12px;
        font-weight: 500;
    }

    .nav-item.active .nav-label {
        font-weight: 700;
    }

    #search-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none; /* Hidden by default */
        z-index: 9999; /* Ensure it's on top */
        overflow-y: auto; /* Enable scrolling if content overflows */
        background: rgb(0 0 0 / 90%);
        -webkit-backdrop-filter: saturate(1) blur(20px) !important;
        -o-backdrop-filter: saturate(1) blur(20px) !important;
        -ms-backdrop-filter: saturate(1) blur(20px) !important;
        backdrop-filter: saturate(1) blur(20px) !important;
    }

    #search-modal.active {
        display: block;
    }

    #search-modal-content {
        margin: 20px; /* Initial margin */
        border-radius: 8px;
        transform: scale(0.9); /* Initial scale for smooth transition */
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease, margin 0.3s ease; /* Smooth transitions */
    }

    #search-modal.active #search-modal-content {
        transform: scale(1);
        opacity: 1;
        margin: 0; /* Expand to fill screen */
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    #search-modal-input {
        width: calc(100% - 60px); /* Adjust for close button */
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
        margin-left: 10px;
        margin-top: 12px;
    }

    #search-modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 20px;
        cursor: pointer;
    }

    /* Search Results Styles (inside the modal) */
    #search-results-modal {
        margin-top: 20px;
    }