.mobile-menu-container {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-menu-item {
    margin: 10px;
    width: 100px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-link {
    display: block;
    width: 100%;
}

.menu-icon {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.menu-icon img {
    width: 100%;
    height: auto;
}

.hover-icon {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.menu-icon:hover .normal-icon {
    display: none;
}

.menu-icon:hover .hover-icon {
    display: inline-block;
}

/* Ensure the text wraps and doesn't overflow */
.menu-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    /* Ensure the title stays inside the set container */
    white-space: normal; 
}

/* Display hover icon on the current page */
.menu-icon .hover-icon {
    display: none;
}

.menu-icon .normal-icon {
    display: inline-block;
}

/* On hover, show the hover icon */
.menu-link:hover .normal-icon {
    display: none;
}

.menu-link:hover .hover-icon {
    display: inline-block;
}

/* Ensure hover icon is shown by default on the current page */
.menu-icon.current-page .hover-icon {
    display: inline-block;
}

.menu-icon.current-page .normal-icon {
    display: none;
}